/* ===================================================
   STACKED — Premium Research Peptides
   Design System & Styles
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Earthtone Wellness Palette */
    --sage: #7C8C6E;
    --sage-light: #A4B396;
    --sage-dark: #5A6B4E;
    --taupe: #B8A99A;
    --taupe-light: #D4C8BC;
    --taupe-dark: #8A7D70;
    --terracotta: #C4735B;
    --terracotta-light: #D99A86;
    --terracotta-dark: #A85D47;
    --cream: #F5F0EB;
    --cream-dark: #EDE5DD;
    --warm-white: #FAFAF7;
    --charcoal: #2C2C2C;
    --charcoal-light: #4A4A4A;
    --text-primary: #2C2C2C;
    --text-secondary: #6B6B6B;
    --text-muted: #9A9A9A;
    --border: #E5DDD5;
    --border-light: #F0EAE3;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-pad: 6rem;
    --card-radius: 12px;
    --btn-radius: 8px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Password Gate --- */
.pw-gate {
    position: fixed;
    inset: 0;
    background: linear-gradient(165deg, var(--warm-white) 0%, var(--cream) 55%, var(--cream-dark) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}

.pw-gate::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -18%;
    width: 65%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(124, 140, 110, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.pw-gate::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -15%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(184, 169, 154, 0.20) 0%, transparent 62%);
    pointer-events: none;
}

.pw-gate.hidden { display: none; }

.pw-gate-inner {
    text-align: center;
    max-width: 440px;
    width: 100%;
    padding: 3.5rem 2.75rem;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 22px;
    box-shadow: 0 30px 70px -28px rgba(44, 44, 44, 0.22);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.pw-seal {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.75rem;
    color: var(--sage-dark);
    opacity: 0.85;
}

.pw-seal svg { width: 100%; height: 100%; display: block; }

.pw-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--charcoal);
    margin-bottom: 0.65rem;
    line-height: 1.05;
}

.pw-tagline {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--sage-dark);
    margin-bottom: 2.25rem;
    letter-spacing: 0.03em;
}

.pw-divider {
    width: 44px;
    height: 1.5px;
    background: var(--sage);
    margin: 0 auto 2.25rem;
    opacity: 0.7;
}

.pw-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.pw-form {
    display: flex;
    gap: 0.6rem;
}

.pw-input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.9rem 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: var(--warm-white);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s var(--ease);
}

.pw-input::placeholder { color: var(--text-muted); }

.pw-input:focus {
    border-color: var(--sage);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.16);
}

.pw-btn {
    flex-shrink: 0;
    padding: 0.9rem 1.75rem;
}

.pw-error {
    font-size: 0.8rem;
    color: var(--terracotta-dark);
    margin-top: 1rem;
}

.pw-footer {
    margin-top: 2.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pw-footer-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pw-footer-item svg { color: var(--sage); }

@media (max-width: 480px) {
    .pw-gate-inner { padding: 2.5rem 1.5rem; }
    .pw-logo { font-size: 1.9rem; }
    .pw-form { flex-direction: column; }
    .pw-footer { gap: 1rem; }
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section Styles --- */
.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sage);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--charcoal);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--sage);
    color: white;
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 140, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-outline:hover {
    background: var(--charcoal);
    color: white;
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: white;
    color: var(--charcoal);
    transform: translateY(-1px);
}

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--charcoal);
    color: white;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* --- Navigation --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s var(--ease);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 450;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover {
    color: var(--charcoal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--sage);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    position: relative;
    padding: 0.25rem;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--terracotta);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s var(--ease);
}

.mobile-menu {
    display: none;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 450;
    color: var(--text-secondary);
}

/* --- Hero --- */
.hero {
    position: relative;
    background: var(--cream);
    overflow: hidden;
    padding: 5rem 0 6rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sage);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.hero-accent {
    color: var(--sage);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 450;
    color: var(--text-secondary);
}

.trust-item svg {
    color: var(--sage);
}

/* Hero Product Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 3/4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-product-img {
    width: 100%;
    height: 100%;
}

.hero-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(124, 140, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* --- How It Works --- */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--warm-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    background: white;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: var(--sage-light);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--cream-dark);
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    line-height: 1;
}

.step-icon {
    color: var(--sage);
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Filter Bar --- */
.filter-bar {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.filter-btn:hover {
    border-color: var(--sage);
    color: var(--sage);
}

.filter-btn.active {
    background: var(--sage);
    border-color: var(--sage);
    color: white;
}

/* --- Products Grid --- */
.peptides {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.product-card.hidden {
    display: none;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--terracotta);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    z-index: 2;
}

.product-img {
    aspect-ratio: 1;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-img-link {
    display: block;
}

.product-title a {
    color: var(--charcoal);
    transition: color 0.2s;
}

.product-title a:hover {
    color: var(--sage);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 0.4rem;
    display: block;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-retail {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--charcoal);
}

.price-member {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sage);
    background: rgba(124, 140, 110, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.price-member em {
    font-style: normal;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.product-buttons {
    display: flex;
    gap: 0.5rem;
}

.product-buttons .btn-product {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.65rem 0.5rem;
}

.btn-product {
    width: 100%;
}

/* --- Stacks --- */
.stacks {
    padding: var(--section-pad) 0;
    background: var(--warm-white);
}

.stacks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stack-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
}

.stack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.stack-visual {
    overflow: hidden;
    min-height: 200px;
}

.stack-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.stack-card:hover .stack-visual img {
    transform: scale(1.05);
}

.stack-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stack-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--charcoal);
}

.stack-contents {
    font-size: 0.8rem;
    color: var(--sage);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.stack-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.stack-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.price-was {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* --- Build Your Stack CTA --- */
.build-stack-cta {
    margin-top: 3rem;
}

.build-stack-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, var(--charcoal) 0%, #3a3a3a 100%);
    border-radius: var(--card-radius);
    padding: 2.5rem 3rem;
}

.build-stack-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
}

.build-stack-text p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 480px;
}

.build-stack-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .build-stack-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

/* --- Membership Tiers --- */
.membership {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.tier-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
    position: relative;
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.tier-featured {
    border: 2px solid var(--sage);
    box-shadow: 0 8px 32px rgba(124, 140, 110, 0.15);
    transform: scale(1.02);
}

.tier-featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 20px 56px rgba(124, 140, 110, 0.2);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sage);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    white-space: nowrap;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.tier-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.tier-amount {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}

.tier-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.tier-features {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.tier-features svg {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-tier {
    width: 100%;
}

/* --- About --- */
.about {
    padding: var(--section-pad) 0;
    background: var(--warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--sage);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 450;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-img-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: var(--cream);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about-badge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 320px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-light);
}

.trust-badge svg {
    color: var(--sage);
}

.trust-badge span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--section-pad) 0;
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.testimonial-stars {
    display: flex;
    gap: 0.15rem;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sage);
}

.testimonial-author strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
    padding: var(--section-pad) 0;
    background: var(--warm-white);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--sage);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    color: var(--sage);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: var(--section-pad) 0;
    background: linear-gradient(160deg, var(--sage) 0%, var(--sage-dark) 100%);
}

.cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: white;
    margin-bottom: 1rem;
}

.cta-inner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: white;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: white;
}

.footer-links-group h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-group a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.footer-disclaimer {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-product-card {
        max-width: 300px;
        aspect-ratio: 3/4;
    }

    .stacks-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content .section-title {
        text-align: center !important;
    }

    .about-content {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 4rem;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .tier-featured {
        transform: none;
    }

    .tier-featured:hover {
        transform: translateY(-4px);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .stack-card {
        grid-template-columns: 1fr;
    }

    .stack-visual {
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-buttons {
        flex-direction: column;
    }

    .hero-product-card {
        max-width: 240px;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   WooCommerce Page Styles — STACKED Brand
   =================================================== */

/* --- General WooCommerce Pages --- */
.woocommerce-page .site-main {
    padding-top: 2rem;
    padding-bottom: 4rem;
    min-height: 60vh;
}

.woocommerce-page .container {
    max-width: 1200px;
}

/* Page content styling */
.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.page-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
    margin: 0.75rem 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.page-content li {
    margin-bottom: 0.4rem;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
}

.page-content table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.page-content table tr:last-child td {
    border-bottom: none;
}

.page-content strong {
    color: var(--charcoal);
}

/* --- WooCommerce Notices --- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    border-radius: var(--btn-radius);
    margin-bottom: 1.5rem;
    border: none;
    list-style: none;
}

.woocommerce-message {
    background: rgba(124, 140, 110, 0.1);
    color: var(--sage-dark);
    border-left: 4px solid var(--sage);
}

.woocommerce-info {
    background: rgba(138, 155, 170, 0.1);
    color: var(--charcoal-light);
    border-left: 4px solid #8A9BAA;
}

.woocommerce-error {
    background: rgba(196, 115, 91, 0.06);
    color: var(--terracotta-dark);
    border-left: 4px solid var(--terracotta);
}

.woocommerce-error li {
    font-size: 0.85rem;
    line-height: 1.6;
    list-style: none;
}

/* Validation errors on checkout */
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select {
    border-color: var(--terracotta) !important;
}

.woocommerce form .form-row.woocommerce-validated .input-text,
.woocommerce form .form-row.woocommerce-validated select {
    border-color: var(--sage) !important;
}

.woocommerce-message a,
.woocommerce-info a {
    color: var(--sage);
    font-weight: 500;
}

/* --- Cart Page --- */
.woocommerce-cart .woocommerce {
    padding: 2rem 0;
}

.woocommerce table.shop_table {
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.woocommerce table.shop_table th {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: var(--cream);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce table.shop_table td {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.woocommerce table.shop_table .product-name a {
    color: var(--charcoal);
    font-weight: 500;
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--sage);
}

.woocommerce table.shop_table img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce .quantity .qty {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    width: 60px;
    text-align: center;
}

.woocommerce a.remove {
    color: var(--terracotta) !important;
    font-size: 1.25rem;
}

.woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

/* --- Buttons (WooCommerce) --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    background: var(--sage);
    color: white;
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 140, 110, 0.3);
    color: white;
}

.woocommerce a.button.checkout-button,
.woocommerce button.checkout-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

.woocommerce button[name="update_cart"] {
    background: var(--charcoal) !important;
    color: white !important;
    opacity: 1 !important;
}

.woocommerce button[name="update_cart"]:hover {
    background: var(--charcoal-light) !important;
}

.woocommerce button[name="update_cart"]:disabled {
    background: var(--border) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===================================================
   STACKED Checkout v3 — Shopify-inspired
   =================================================== */

/* Hide ALL default WooCommerce checkout chrome */
.sc .woocommerce-form-coupon-toggle,
.sc .woocommerce-form-coupon,
.sc .woocommerce-checkout-review-order-table,
.sc h3#ship-to-different-address,
.sc .woocommerce-additional-fields,
.sc .woocommerce-billing-fields__field-wrapper,
.sc .woocommerce-shipping-fields,
.sc #payment > ul,
.sc #payment > .form-row.place-order {
    display: none !important;
}

/* Remove the ::after badge injection from old CSS */
.payment_method_peptipay_cc label::after,
.payment_method_peptipay_apple label::after,
.payment_method_peptipay_google label::after,
.payment_method_coinbase_commerce label::after {
    content: none !important;
    display: none !important;
}
/* --- Layout --- */
.sc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .sc-grid { grid-template-columns: 1fr; }
    .sc-sidebar { order: -1; }

    .sc-express-buttons {
        flex-wrap: wrap;
    }

    .sc-express-btn {
        flex: 1 1 45%;
        font-size: 0.78rem;
        padding: 0.65rem 0.75rem;
    }

    .sc-field-row-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .sc-express-btn {
        flex: 1 1 100%;
    }

    .sc-field-row {
        grid-template-columns: 1fr;
    }

    .sc-field-row-3 {
        grid-template-columns: 1fr;
    }

    .sc-contact-form .sc-field-row {
        grid-template-columns: 1fr;
    }

    .sc-item-name {
        font-size: 0.78rem;
    }

    .sc-coupon {
        flex-direction: column;
    }

    .sc-coupon-btn {
        width: 100%;
    }

    .stacked-checkout-trust,
    .sc-trust-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.stacked-checkout-section {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.stacked-checkout-heading {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Order Items with Thumbnails --- */
.stacked-order-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.stacked-order-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.stacked-order-item-img {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--cream);
}

.stacked-order-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stacked-order-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--sage);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.stacked-order-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.stacked-order-item-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
}

.stacked-order-item-price {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
}

/* --- Coupon Row --- */
.stacked-coupon-row {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.stacked-coupon-input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: var(--cream);
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.2s;
}

.stacked-coupon-input:focus {
    border-color: var(--sage);
    background: white;
}

.stacked-coupon-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.6rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.stacked-coupon-btn:hover {
    border-color: var(--sage);
    color: var(--sage);
}

/* --- Order Totals --- */
.stacked-order-totals {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stacked-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.stacked-total-row.stacked-discount {
    color: var(--sage);
}

.stacked-total-final {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--charcoal);
}

/* --- Payment Method Cards --- */
.stacked-pm-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stacked-pm-list li {
    list-style: none;
}

.stacked-pm-card {
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s var(--ease);
    background: white;
}

.stacked-pm-card.stacked-pm-active,
.stacked-pm-card:has(input:checked) {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.1);
}

.stacked-pm-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    cursor: pointer;
    transition: background 0.15s;
}

.stacked-pm-label:hover {
    background: rgba(124, 140, 110, 0.02);
}

/* Custom radio circle */
.stacked-pm-radio-input {
    display: none !important;
}

.stacked-pm-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.stacked-pm-radio-input:checked ~ .stacked-pm-radio-circle {
    border-color: var(--sage);
}

.stacked-pm-radio-input:checked ~ .stacked-pm-radio-circle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--sage);
}

.stacked-pm-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.stacked-pm-icon .pm-logo {
    display: block;
}

.stacked-pm-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.stacked-pm-name {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--charcoal);
}

.stacked-pm-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.stacked-pm-badges {
    margin-left: auto;
    display: flex;
    gap: 0.3rem;
    flex-shrink: 0;
}

.stacked-pm-badge {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    background: var(--cream);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* Expandable billing/description area */
.stacked-pm-expand {
    border-top: 1px solid var(--border-light);
    padding: 1.25rem;
    background: var(--cream);
}

.stacked-pm-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.stacked-pm-desc p {
    margin: 0;
}

.stacked-pm-fields {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stacked-billing-fields .form-row {
    margin-bottom: 0.85rem;
}

.stacked-billing-fields label {
    font-size: 0.78rem !important;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.3rem;
    display: block;
}

.stacked-billing-fields .input-text,
.stacked-billing-fields select {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: white;
    width: 100%;
}

.stacked-billing-fields .input-text:focus,
.stacked-billing-fields select:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.08);
}

.stacked-no-methods {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

/* --- Shipping Fields --- */
.stacked-shipping-fields .form-row {
    margin-bottom: 0.85rem;
}

.stacked-shipping-fields label,
.stacked-email-field label {
    font-size: 0.78rem !important;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.3rem;
    display: block;
}

.stacked-shipping-fields .input-text,
.stacked-shipping-fields select,
.stacked-email-field .input-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: white;
    width: 100%;
}

.stacked-shipping-fields .input-text:focus,
.stacked-shipping-fields select:focus,
.stacked-email-field .input-text:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.08);
}

/* Place Order Section */
.stacked-place-order-section {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.stacked-place-order-section .place-order {
    margin: 0;
    padding: 0;
}

.stacked-place-order {
    width: 100%;
    text-align: center;
    padding: 1rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    background: var(--sage) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--btn-radius) !important;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.stacked-place-order:hover {
    background: var(--sage-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 140, 110, 0.3);
}

/* Trust badges */
.stacked-checkout-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0 0;
    margin-top: 0.5rem;
}

.stacked-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
}

.stacked-trust-badge svg {
    color: var(--sage);
}

/* Order summary sticky sidebar */
.stacked-order-summary-card {
    position: sticky;
    top: 90px;
}

/* RUO notice at bottom of order summary */
.stacked-order-ruo-notice {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.stacked-order-ruo-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--text-muted);
}

.stacked-order-ruo-notice a {
    color: var(--sage);
    font-weight: 500;
}

/* Continue shopping link */
.stacked-continue-shopping {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    transition: color 0.2s;
}

.stacked-continue-shopping:hover {
    color: var(--sage);
}

/* Sidebar billing form */
.stacked-checkout-sidebar .form-row label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--charcoal);
}

.stacked-checkout-sidebar .form-row .input-text,
.stacked-checkout-sidebar .form-row select {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: var(--cream);
    width: 100%;
    transition: all 0.2s;
}

.stacked-checkout-sidebar .form-row .input-text:focus,
.stacked-checkout-sidebar .form-row select:focus {
    outline: none;
    border-color: var(--sage);
    background: white;
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.08);
}

/* Hide default WC checkout elements we've replaced */
.stacked-checkout .woocommerce-checkout-review-order-table,
.stacked-checkout .woocommerce-form-coupon-toggle,
.stacked-checkout .checkout_coupon.woocommerce-form-coupon {
    display: none !important;
}

/* WC terms text */
.stacked-payment-methods .woocommerce-terms-and-conditions-wrapper {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.stacked-payment-methods .woocommerce-terms-and-conditions-wrapper a {
    color: var(--sage);
}

/* --- Cards --- */
.sc-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.sc-heading {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc-heading-badges {
    margin-left: auto;
    display: flex;
    gap: 0.25rem;
}

.sc-badge {
    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    background: var(--cream);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
}

/* --- Express Checkout --- */
.sc-express {
    text-align: center;
}

.sc-express-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.sc-express-buttons {
    display: flex;
    gap: 0.5rem;
}

.sc-express-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: var(--btn-radius);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
    border: none;
}

.sc-express-btn input { display: none; }

.sc-express-apple {
    background: #000;
}
.sc-express-apple:hover { background: #222; }

.sc-express-google {
    background: var(--charcoal);
}
.sc-express-google:hover { background: var(--charcoal-light); }

.sc-express-crypto {
    background: #0052FF;
}
.sc-express-crypto:hover { background: #0040cc; }

.sc-express-cc {
    background: var(--sage);
}
.sc-express-cc:hover { background: var(--sage-dark); }

.sc-express-active {
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.3);
    transform: scale(0.97);
}

/* divider removed — all payment methods in one row */

/* --- Form Fields --- */
.sc-field {
    margin-bottom: 0.65rem;
}

.sc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.sc-field-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.sc-input {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: white;
    color: var(--charcoal);
    width: 100%;
    transition: all 0.2s;
    -webkit-appearance: none;
}

.sc-input:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.08);
}

.sc-input::placeholder {
    color: var(--text-muted);
}

.sc-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

/* --- CC Section --- */
.sc-pm-selector {
    display: flex;
    margin-bottom: 0.75rem;
}

.sc-pm-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1.5px solid var(--sage);
    border-radius: var(--btn-radius);
    background: rgba(124, 140, 110, 0.06);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
}

.sc-pm-option input { display: none; }

.sc-cc-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- Submit Button --- */
.sc-place-order {
    margin-top: 0.5rem;
}

.sc-submit {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--sage);
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    letter-spacing: 0.02em;
}

.sc-submit:hover {
    background: var(--sage-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 140, 110, 0.3);
}

.sc-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.sc-trust-row svg {
    color: var(--sage);
}

/* --- WC Terms --- */
.sc-place-order .woocommerce-terms-and-conditions-wrapper {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-align: center;
}

.sc-place-order .woocommerce-terms-and-conditions-wrapper a {
    color: var(--sage);
}

/* --- Sidebar / Order Summary --- */
.sc-summary {
    position: sticky;
    top: 90px;
}

.sc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-light);
}

.sc-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sc-item-img {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--cream);
}

.sc-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-item-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--sage);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.sc-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sc-item-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-item-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.sc-item-price {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Coupon */
.sc-coupon {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin: 0.85rem 0;
}

.sc-coupon-input {
    flex: 1;
    background: var(--cream) !important;
    font-size: 0.82rem !important;
    padding: 0.6rem 0.75rem !important;
}

.sc-coupon-btn {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: white;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.sc-coupon-btn:hover {
    border-color: var(--sage);
    color: var(--sage);
}

/* Totals */
.sc-totals {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sc-total-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.sc-discount {
    color: var(--sage);
}

.sc-shipping-free {
    color: var(--sage);
    font-weight: 500;
}

.sc-total-final {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    padding-top: 0.65rem;
    margin-top: 0.35rem;
    border-top: 2px solid var(--charcoal);
}

.sc-ruo {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sc-ruo a {
    color: var(--sage);
    font-weight: 500;
}

/* RUO Acknowledgment Checkbox */
.sc-ruo-checkbox {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: var(--btn-radius);
    border: 1px solid var(--border-light);
}

.sc-ruo-checkbox .woocommerce-form__label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.sc-ruo-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    accent-color: var(--sage);
}

.sc-ruo-checkbox a {
    color: var(--sage);
    font-weight: 500;
}

.sc-ruo-checkbox .required {
    color: var(--terracotta);
}

/* --- Contact Form --- */
.sc-contact-form {
    max-width: 600px;
    margin: 1.5rem 0 2rem;
}

.sc-contact-form .sc-field {
    margin-bottom: 0.75rem;
}

.sc-contact-form .sc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sc-contact-form textarea.sc-input {
    resize: vertical;
    min-height: 120px;
}

.sc-contact-success {
    background: rgba(124, 140, 110, 0.1);
    border: 1px solid var(--sage-light);
    border-radius: var(--btn-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--sage-dark);
    font-size: 0.9rem;
}

.sc-contact-success p {
    margin: 0;
    color: var(--sage-dark);
}

/* --- Related Products on Single Product Page --- */
.stacked-related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.stacked-related-products .container {
    padding: 0;
}

.stacked-related-products .section-title {
    margin-bottom: 2.5rem;
}

/* --- Member Dashboard --- */
.stacked-member-dashboard h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.smd-status {
    margin-bottom: 1.5rem;
}

.smd-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.smd-badge-starter { background: rgba(124,140,110,0.1); color: var(--sage-dark); }
.smd-badge-pro { background: var(--sage); color: white; }
.smd-badge-elite { background: var(--charcoal); color: white; }

.smd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
    .smd-grid { grid-template-columns: 1fr; }
}

.smd-card {
    background: var(--cream);
    border-radius: var(--card-radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.smd-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 500;
}

.smd-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sage);
}

.smd-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.smd-renewal {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.smd-renewal a {
    color: var(--sage);
}

/* --- COA Button (single product pages) --- */
.stacked-coa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

/* --- WC Checkout Page Base --- */
.woocommerce-checkout .woocommerce {
    padding: 1rem 0 3rem;
}

.woocommerce form .form-row {
    margin-bottom: 1.25rem;
}

.woocommerce form .form-row label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
    display: block;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    background: white;
    color: var(--charcoal);
    width: 100%;
    transition: border-color 0.2s;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(124, 140, 110, 0.1);
}

.woocommerce-checkout h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce-checkout #payment {
    background: white;
    border-radius: var(--card-radius);
    padding: 0;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 0;
    margin: 0;
    border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.5rem;
    transition: background 0.15s;
}

.woocommerce-checkout #payment ul.payment_methods li label:hover {
    background: var(--cream);
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--sage);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Payment method logos */
.woocommerce-checkout #payment ul.payment_methods li label::after {
    content: '';
    margin-left: auto;
    flex-shrink: 0;
    width: auto;
    height: 24px;
    opacity: 0.7;
}

/* Credit Card — Visa/MC logos */
.payment_method_peptipay_cc label::after {
    content: '💳 Visa / Mastercard' !important;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
    height: auto !important;
    display: flex;
    align-items: center;
}

/* Apple Pay */
.payment_method_peptipay_apple label::after {
    content: '' !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M17.05 20.28c-.98.95-2.05.88-3.08.4-1.09-.5-2.08-.48-3.24 0-1.44.62-2.2.44-3.06-.4C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E") no-repeat center/contain;
    width: 20px;
    height: 24px !important;
}

/* Google Pay */
.payment_method_peptipay_google label::after {
    content: '' !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 01-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") no-repeat center/contain;
    width: 20px;
    height: 24px !important;
}

/* Coinbase / Crypto */
.payment_method_coinbase_commerce label::after {
    content: '' !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%230052FF'/%3E%3Cpath d='M12 5.5a6.5 6.5 0 100 13 6.5 6.5 0 000-13zm0 10.75a4.25 4.25 0 110-8.5 4.25 4.25 0 010 8.5z' fill='white'/%3E%3C/svg%3E") no-repeat center/contain;
    width: 22px;
    height: 24px !important;
}

.woocommerce-checkout #payment .payment_box {
    background: var(--cream);
    border-radius: 0;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: none;
    border-top: 1px solid var(--border-light);
}

.woocommerce-checkout #payment .payment_box::before {
    display: none;
}

.woocommerce-checkout #payment .place-order {
    padding-top: 1rem;
}

.woocommerce #place_order {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* --- Order Received / Thank You --- */
.woocommerce-order-received .woocommerce {
    padding: 2rem 0;
}

.woocommerce-thankyou-order-received {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--sage);
    margin-bottom: 1.5rem;
}

/* --- My Account --- */
.woocommerce-account .woocommerce {
    padding: 2rem 0;
}

.woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    max-width: 240px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0.25rem;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--btn-radius);
    transition: all 0.2s;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--cream);
    color: var(--sage);
    font-weight: 500;
}

.woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

@media (min-width: 769px) {
    .woocommerce-account .woocommerce {
        display: flex;
        gap: 3rem;
    }
    .woocommerce-MyAccount-navigation {
        flex-shrink: 0;
    }
    .woocommerce-MyAccount-content {
        flex: 1;
    }
}

/* --- Shop Page (WooCommerce Archive) --- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    padding: 0;
    margin: 0;
    transition: all 0.3s var(--ease);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.woocommerce ul.products li.product a img {
    margin: 0;
    width: 100%;
    height: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: 1rem 1rem 0.25rem;
}

.woocommerce ul.products li.product .price {
    padding: 0 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
}

.woocommerce ul.products li.product .button {
    margin: 0.75rem 1rem 1rem;
    width: calc(100% - 2rem);
    text-align: center;
}

/* --- Single Product --- */
.woocommerce div.product {
    padding: 2rem 0;
}

.woocommerce div.product .product_title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--charcoal);
}

.woocommerce div.product p.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sage);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Checkout Coupon Banner --- */
.woocommerce-form-coupon-toggle .woocommerce-info {
    text-align: left;
    background: var(--cream);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--sage);
    border-radius: var(--btn-radius);
    padding: 0.85rem 1.25rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: var(--sage);
    font-weight: 500;
}

.checkout_coupon.woocommerce-form-coupon {
    border: 1px solid var(--border-light) !important;
    border-radius: var(--card-radius) !important;
    padding: 1.25rem !important;
    background: white !important;
    margin-bottom: 1.5rem;
}

.checkout_coupon .form-row-first {
    width: 65% !important;
}

.checkout_coupon .form-row-last {
    width: 30% !important;
}

/* --- Coupon Field --- */
.woocommerce .coupon {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.woocommerce .coupon .input-text {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 0.6rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--btn-radius);
    width: 180px;
    min-width: 0;
}

.woocommerce .coupon .button {
    font-size: 0.8rem !important;
    padding: 0.6rem 1rem !important;
    white-space: nowrap;
}

/* --- Empty Cart --- */
.woocommerce-cart .cart-empty,
.woocommerce .woocommerce-info {
    font-family: var(--font-sans);
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--card-radius);
    border-left: none;
    display: block;
}

.woocommerce-cart .cart-empty::before,
.woocommerce-cart .woocommerce-info::before {
    content: '';
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    padding: 2rem 0;
}

.woocommerce-cart .return-to-shop a {
    display: inline-block;
    margin-top: 0;
}
