/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --teal: #1A4D5A;
    --teal-light: #23687A;
    --teal-dark: #0F2F38;
    --gold: #C9983A;
    --gold-light: #E2B960;
    --cream: #FAF8F5;
    --cream-dark: #F0ECE4;
    --text: #1E1E1E;
    --text-mid: #555;
    --text-light: #888;
    --white: #fff;
    --border: #E0DCD4;
    --success: #2E7D52;
    --error: #C62828;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 2px 12px rgba(0,0,0,.07);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-light); }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; font-weight: 600; font-size: .9rem;
    padding: 10px 22px; border-radius: var(--radius-sm);
    border: 2px solid transparent; cursor: pointer;
    transition: all .2s ease; text-decoration: none;
}
.btn-primary {
    background: var(--teal); color: var(--white); border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); color: var(--white); }
.btn-outline {
    background: transparent; color: var(--teal); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--teal); }
.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
}
.logo-icon {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, var(--teal-light), var(--teal-dark));
    color: var(--white);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 3px rgba(15,47,56,.25);
}
.logo-icon svg { width: 23px; height: 23px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-weight: 700; font-size: .95rem; color: var(--teal-dark); }
.logo-sub { font-size: .65rem; color: var(--text-light); letter-spacing: .05em; text-transform: uppercase; }

.main-nav { display: flex; gap: 24px; }
.main-nav a {
    font-size: .88rem; font-weight: 500; color: var(--text-mid);
    padding: 4px 0; border-bottom: 2px solid transparent;
    transition: all .2s;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--teal); border-bottom-color: var(--teal);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
    position: relative; color: var(--text);
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background .2s;
}
.cart-btn:hover { background: var(--cream); color: var(--teal); }
.cart-count {
    position: absolute; top: 0; right: 0;
    width: 18px; height: 18px; font-size: .65rem; font-weight: 700;
    background: var(--gold); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 20px; flex-direction: column; justify-content: space-between;
}
.mobile-toggle span {
    display: block; height: 2px; background: var(--text); border-radius: 2px;
    transition: all .3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal), var(--teal-light));
    color: var(--white); padding: 80px 0;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,152,58,.15), transparent 70%);
    border-radius: 50%;
}
.hero .container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-content { flex: 1; }
.hero-badge {
    display: inline-block; padding: 6px 16px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px; font-size: .78rem; font-weight: 500;
    margin-bottom: 20px; letter-spacing: .03em;
}
.hero h1 {
    font-family: 'DM Serif Display', serif; font-size: 3.2rem;
    font-weight: 400; line-height: 1.15; margin-bottom: 18px;
}
.hero p { font-size: 1.05rem; line-height: 1.7; opacity: .88; margin-bottom: 28px; max-width: 480px; }
.hero .btn-primary {
    background: var(--gold); border-color: var(--gold); color: var(--teal-dark); font-weight: 700;
}
.hero .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.hero-visual { flex: 0 0 320px; display: flex; justify-content: center; }
.hero-book-stack { position: relative; width: 200px; height: 280px; }
.hero-book {
    position: absolute; width: 160px; height: 220px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    border-radius: 4px 12px 12px 4px;
    box-shadow: 4px 4px 20px rgba(0,0,0,.3);
    display: flex; align-items: flex-end; padding: 16px;
    color: rgba(255,255,255,.9); font-size: .75rem; font-weight: 600;
}
.hero-book:nth-child(1) { top: 30px; left: 0; transform: rotate(-6deg); z-index: 1; }
.hero-book:nth-child(2) { top: 10px; left: 40px; transform: rotate(2deg); z-index: 2; }
.hero-book:nth-child(3) { top: 25px; left: 80px; transform: rotate(8deg); z-index: 3; }

/* ===== PRODUCT GRID ===== */
.products-section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400;
    margin-bottom: 10px; color: var(--teal-dark);
}
.section-header p { color: var(--text-mid); max-width: 500px; margin: 0 auto; }

.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}
.product-grid-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.product-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.product-cover {
    display: flex; align-items: center; justify-content: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 15%, var(--cream)),
                                       color-mix(in srgb, var(--c2) 10%, var(--cream-dark)));
}
.product-cover-sm { padding: 24px 16px; }

.book-visual {
    width: 140px; height: 190px;
    background: linear-gradient(150deg, var(--c1), var(--c2));
    border-radius: 3px 10px 10px 3px;
    box-shadow: 3px 3px 15px rgba(0,0,0,.2), inset -2px 0 4px rgba(255,255,255,.1);
    display: flex; flex-direction: column; justify-content: center;
    padding: 16px 14px; color: var(--white); text-align: center;
    position: relative; overflow: hidden;
    transition: transform .3s;
}
.product-card:hover .book-visual { transform: scale(1.03); }
.book-visual::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 8px;
    background: linear-gradient(to right, rgba(0,0,0,.15), transparent);
}
.book-visual-lg { width: 200px; height: 270px; padding: 24px 20px; }
.book-visual-xs { width: 70px; height: 95px; padding: 6px; }
.book-visual-xs .book-title { font-size: .5rem; }

.book-category {
    font-size: .55rem; text-transform: uppercase; letter-spacing: .12em;
    opacity: .8; margin-bottom: 8px; font-weight: 600;
}
.book-title {
    font-family: 'DM Serif Display', serif; font-size: .95rem;
    line-height: 1.25; margin-bottom: 6px;
}
.book-visual-lg .book-title { font-size: 1.3rem; }
.book-subtitle { font-size: .6rem; opacity: .75; margin-bottom: 12px; }
.book-author { font-size: .5rem; opacity: .5; letter-spacing: .08em; text-transform: uppercase; }

.product-info { padding: 18px 20px 20px; }
.product-category {
    display: inline-block; font-size: .68rem; font-weight: 600;
    color: var(--teal); text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 6px;
}
.product-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; line-height: 1.35; }
.product-info h3 a { color: var(--text); }
.product-info h3 a:hover { color: var(--teal); }
.product-subtitle { font-size: .82rem; color: var(--text-mid); margin-bottom: 8px; }
.product-meta {
    display: flex; gap: 12px; font-size: .72rem; color: var(--text-light);
    margin-bottom: 14px;
}
.product-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 14px; border-top: 1px solid var(--border);
}
.product-price {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem; color: var(--teal-dark);
}

/* ===== TRUST STRIP ===== */
.trust-strip {
    background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 36px 0;
}
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--teal-dark); }
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { font-size: .85rem; }
.trust-item span { font-size: .72rem; color: var(--text-light); }

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding: 40px 0 60px; }
.back-link {
    display: inline-block; font-size: .85rem; color: var(--text-mid);
    margin-bottom: 24px;
}
.back-link:hover { color: var(--teal); }

.product-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.product-detail-cover {
    display: flex; align-items: center; justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 12%, var(--cream)),
                                       color-mix(in srgb, var(--c2) 8%, var(--cream-dark)));
    border-radius: var(--radius);
}
.product-detail-info { padding-top: 10px; }
.product-detail-info h1 {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400;
    line-height: 1.2; margin-bottom: 6px;
}
.product-detail-subtitle { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 16px; }
.product-detail-price {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem; color: var(--teal-dark); margin-bottom: 18px;
}
.product-detail-desc { color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }

.product-detail-meta {
    display: flex; gap: 20px; margin-bottom: 28px;
    padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 2px; }
.meta-value { font-weight: 600; font-size: .9rem; }

/* ===== PRODUCT EXTRAS ===== */
.product-extra { padding: 0 0 80px; }
.extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.extra-block { background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.extra-block h3 {
    font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400;
    margin-bottom: 18px; color: var(--teal-dark);
}
.feature-list { list-style: none; }
.feature-list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; font-size: .9rem; color: var(--text-mid);
    border-bottom: 1px solid var(--cream-dark);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }

.toc-list { list-style: none; counter-reset: none; }
.toc-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; font-size: .9rem; color: var(--text-mid);
    border-bottom: 1px solid var(--cream-dark);
}
.toc-list li:last-child { border-bottom: none; }
.toc-num {
    font-family: 'DM Serif Display', serif; font-size: .85rem;
    color: var(--gold); font-weight: 400; min-width: 24px;
}

.related-products { padding: 0 0 80px; }
.related-products h2 {
    font-family: 'DM Serif Display', serif; font-size: 1.5rem; font-weight: 400;
    margin-bottom: 28px; color: var(--teal-dark);
}

/* ===== CART ===== */
.cart-section { padding: 40px 0 80px; }
.cart-section h1 {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400;
    margin-bottom: 30px;
}

.empty-state {
    text-align: center; padding: 80px 20px;
    color: var(--text-mid);
}
.empty-state svg { color: var(--border); margin-bottom: 16px; }
.empty-state h2 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text); }
.empty-state p { margin-bottom: 24px; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }

.cart-item {
    display: flex; align-items: center; gap: 16px;
    padding: 20px; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 12px;
}
.cart-item-cover {
    display: flex; align-items: center; justify-content: center;
    width: 80px; height: 80px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    border-radius: var(--radius-sm);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h3 { font-size: .92rem; margin-bottom: 2px; }
.cart-item-info h3 a { color: var(--text); }
.cart-item-sub { font-size: .75rem; color: var(--text-light); }
.cart-item-price-mobile { display: none; font-size: .8rem; color: var(--teal-dark); font-weight: 600; margin-top: 4px; }

.cart-item-qty select {
    padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: .85rem; background: var(--white);
    cursor: pointer;
}
.cart-item-subtotal { font-weight: 700; font-size: 1rem; min-width: 70px; text-align: right; }

.btn-remove {
    background: none; border: none; cursor: pointer;
    color: var(--text-light); padding: 4px;
    transition: color .2s;
}
.btn-remove:hover { color: var(--error); }

.cart-summary {
    background: var(--white); padding: 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); position: sticky; top: 84px;
}
.cart-summary h3 {
    font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-weight: 400;
    margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.summary-lines { margin-bottom: 14px; }
.summary-line {
    display: flex; justify-content: space-between;
    font-size: .85rem; padding: 6px 0; color: var(--text-mid);
}
.summary-shipping { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.free-tag { color: var(--success); font-weight: 600; }
.summary-total {
    display: flex; justify-content: space-between;
    font-size: 1.15rem; font-weight: 700;
    padding: 16px 0; margin: 12px 0 20px;
    border-top: 2px solid var(--teal-dark);
}
.cart-summary .btn { margin-bottom: 10px; }
.cart-summary .btn:last-child { margin-bottom: 0; }

/* ===== CHECKOUT ===== */
.checkout-section { padding: 40px 0 80px; }
.checkout-section h1 {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400;
    margin-bottom: 30px;
}
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

.checkout-form-wrap {
    background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.checkout-form-wrap h2 {
    font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400;
    margin-bottom: 4px;
}
.form-note { font-size: .82rem; color: var(--text-mid); margin-bottom: 24px; }
.form-note-sm { font-size: .75rem; color: var(--text-light); margin-top: 12px; text-align: center; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.req { color: var(--error); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: .9rem;
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
}
.form-group input:focus {
    outline: none; border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26,77,90,.1);
}
.form-hint { font-size: .72rem; color: var(--text-light); margin-top: 4px; display: block; }

.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] {
    margin-top: 3px; width: 16px; height: 16px; accent-color: var(--teal); flex-shrink: 0;
}
.form-check label { font-size: .82rem; font-weight: 400; color: var(--text-mid); cursor: pointer; }
.form-check label a { text-decoration: underline; }

.checkout-summary {
    background: var(--white); padding: 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); position: sticky; top: 84px;
}
.checkout-summary h3 {
    font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-weight: 400;
    margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.summary-items { margin-bottom: 14px; }
.summary-product {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--cream-dark);
}
.summary-product:last-child { border-bottom: none; }
.summary-product-cover {
    width: 40px; height: 52px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    border-radius: 2px 5px 5px 2px;
}
.summary-product-info { flex: 1; }
.summary-product-info strong { font-size: .82rem; display: block; line-height: 1.3; }
.summary-product-info span { font-size: .72rem; color: var(--text-light); }
.summary-product-price { font-weight: 600; font-size: .85rem; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .88rem; }
.alert-error { background: #FFEBEE; border: 1px solid #FFCDD2; color: var(--error); }
.alert ul { margin: 8px 0 0 18px; }
.alert li { margin-bottom: 2px; }

/* ===== THANK YOU ===== */
.thankyou-section { padding: 60px 0 80px; }
.thankyou-card {
    max-width: 600px; margin: 0 auto;
    background: var(--white); padding: 48px 40px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); text-align: center;
}
.thankyou-icon { color: var(--success); margin-bottom: 20px; }
.thankyou-card h1 {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400;
    margin-bottom: 12px;
}
.thankyou-msg { font-size: 1rem; color: var(--text-mid); margin-bottom: 8px; }
.thankyou-delivery { font-size: .9rem; color: var(--text-mid); margin-bottom: 32px; }

.order-details {
    text-align: left; border: 1px solid var(--border);
    border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 24px;
}
.order-header {
    display: flex; justify-content: space-between;
    padding: 16px 20px; background: var(--cream);
    border-bottom: 1px solid var(--border);
}
.order-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); display: block; }
.order-id { color: var(--teal); }
.order-items { padding: 0 20px; }
.order-item {
    display: flex; justify-content: space-between;
    padding: 12px 0; font-size: .88rem;
    border-bottom: 1px solid var(--cream-dark);
}
.order-item:last-child { border-bottom: none; }
.order-item-shipping { color: var(--text-light); }
.order-total {
    display: flex; justify-content: space-between;
    padding: 14px 20px; font-weight: 700; font-size: 1.05rem;
    background: var(--teal-dark); color: var(--white);
}

.thankyou-policies { margin-bottom: 28px; }
.thankyou-policies p { font-size: .82rem; color: var(--text-mid); margin-bottom: 6px; }
.thankyou-policies a { text-decoration: underline; }

/* ===== POLICY PAGES ===== */
.policy-section { padding: 40px 0 80px; }
.policy-container { max-width: 780px; }
.policy-section h1 {
    font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400;
    margin-bottom: 6px;
}
.policy-updated { font-size: .82rem; color: var(--text-light); margin-bottom: 36px; }
.policy-content h2 {
    font-size: 1.05rem; font-weight: 700; margin: 32px 0 10px;
    color: var(--teal-dark);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.policy-content address {
    margin-top: 8px; padding: 16px 20px;
    background: var(--cream); border-radius: var(--radius-sm);
    color: var(--text-mid); line-height: 1.8;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--teal-dark); color: rgba(255,255,255,.7);
    padding: 56px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px; padding-bottom: 40px;
}
.footer-logo { margin-bottom: 14px; }
.footer-logo .logo-icon { background: rgba(255,255,255,.15); }
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,.4); }
.footer-about p { font-size: .84rem; line-height: 1.7; }
.footer-col h4 {
    color: var(--white); font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .84rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-size: .84rem; line-height: 1.8; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0; text-align: center; font-size: .78rem;
}

/* ===== HOW IT WORKS ===== */
.how-section { padding: 76px 0; background: var(--white); border-top: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
    position: relative; text-align: center;
    background: var(--cream); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px 28px 32px;
    transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-card .step-num {
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gold); color: var(--white);
    font-family: 'DM Serif Display', serif; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(201,152,58,.35);
}
.step-card > svg { color: var(--teal); margin-bottom: 16px; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--teal-dark); }
.step-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }

/* ===== CATEGORIES ===== */
.category-section { padding: 76px 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px 28px;
    box-shadow: var(--shadow); color: var(--text);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.category-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--teal);
}
.category-card.cat-health::before { background: linear-gradient(90deg, #2E8B57, #1A5632); }
.category-card.cat-intimacy::before { background: linear-gradient(90deg, #C2185B, #880E4F); }
.category-card.cat-massage::before { background: linear-gradient(90deg, #7B1FA2, #4A148C); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.category-card svg { color: var(--teal); margin-bottom: 14px; }
.category-card.cat-health svg { color: #2E8B57; }
.category-card.cat-intimacy svg { color: #C2185B; }
.category-card.cat-massage svg { color: #7B1FA2; }
.category-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.25rem; font-weight: 400; margin-bottom: 8px; color: var(--teal-dark); }
.category-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.category-link { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--teal); }
.category-card:hover .category-link { color: var(--teal-light); }

/* ===== FEATURED ===== */
.featured-section { padding: 20px 0 76px; }
.featured-card {
    display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 12%, var(--cream)),
                                        color-mix(in srgb, var(--c2) 8%, var(--cream-dark)));
    border: 1px solid var(--border);
    border-radius: 16px; padding: 44px;
    box-shadow: var(--shadow);
}
.featured-cover { display: flex; justify-content: center; }
.featured-info h2 {
    font-family: 'DM Serif Display', serif; font-size: 1.9rem; font-weight: 400;
    line-height: 1.2; margin: 10px 0 4px; color: var(--teal-dark);
}
.featured-tag {
    display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--gold);
    background: rgba(201,152,58,.12); border: 1px solid rgba(201,152,58,.3);
    padding: 4px 12px; border-radius: 20px;
}
.featured-sub { font-size: 1.02rem; color: var(--text-mid); margin-bottom: 14px; }
.featured-desc { font-size: .92rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 20px; }
.featured-meta {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    font-size: .82rem; color: var(--text-light); margin-bottom: 24px;
}
.featured-meta .featured-price {
    font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--teal-dark);
    margin-left: auto;
}
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== TESTIMONIALS ===== */
.testimonial-section { padding: 76px 0; background: var(--white); border-top: 1px solid var(--border); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px 26px;
}
.testimonial-card .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card blockquote {
    font-size: .92rem; color: var(--text); line-height: 1.7; margin-bottom: 20px;
    font-style: italic;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial-card .t-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: var(--teal); color: var(--white);
    font-family: 'DM Serif Display', serif; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
}
.testimonial-card figcaption span span,
.testimonial-card figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial-card figcaption strong { font-size: .85rem; color: var(--text); }
.testimonial-card figcaption em { font-size: .72rem; color: var(--text-light); font-style: normal; }

/* ===== FAQ ===== */
.faq-section { padding: 76px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); margin-bottom: 12px;
    box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; cursor: pointer; list-style: none;
    font-size: .95rem; font-weight: 600; color: var(--teal-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
    content: ''; position: absolute; background: var(--gold); border-radius: 2px;
    transition: transform .25s;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: scaleY(0); }
.faq-item[open] summary { color: var(--teal); }
.faq-item p {
    padding: 0 22px 20px; font-size: .89rem; color: var(--text-mid); line-height: 1.7;
}

/* ===== CTA BAND ===== */
.cta-band {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal), var(--teal-light));
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; bottom: -60%; left: -8%; width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(201,152,58,.16), transparent 70%);
    border-radius: 50%;
}
.cta-inner { text-align: center; padding: 66px 20px; position: relative; z-index: 1; }
.cta-inner h2 {
    font-family: 'DM Serif Display', serif; font-size: 2.1rem; font-weight: 400;
    color: var(--white); margin-bottom: 12px;
}
.cta-inner p { color: rgba(255,255,255,.85); font-size: 1.02rem; margin-bottom: 28px; }
.cta-btn { background: var(--gold); border-color: var(--gold); color: var(--teal-dark); font-weight: 700; }
.cta-btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--teal-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; gap: 34px; }
    .category-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .featured-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; text-align: center; }
    .featured-cover { order: -1; }
    .featured-meta { justify-content: center; }
    .featured-meta .featured-price { margin-left: 0; width: 100%; }
    .featured-actions { justify-content: center; }
    .featured-info h2 { font-size: 1.6rem; }
}
@media (max-width: 900px) {
    .hero .container { flex-direction: column; text-align: center; }
    .hero p { margin: 0 auto 28px; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 2.4rem; }

    .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .extra-grid { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .main-nav {
        display: none; position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 16px 20px; gap: 12px;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .mobile-toggle { display: flex; }

    .hero { padding: 48px 0; }
    .hero h1 { font-size: 1.85rem; }
    .hero p { font-size: .92rem; }

    .product-grid { grid-template-columns: 1fr; }
    .trust-items { flex-direction: column; gap: 20px; align-items: flex-start; }

    .product-detail-cover { padding: 40px 20px; }

    .cart-item { flex-wrap: wrap; gap: 12px; }
    .cart-item-cover { width: 60px; height: 60px; }
    .cart-item-subtotal { display: none; }
    .cart-item-price-mobile { display: block; }

    .checkout-form-wrap { padding: 24px 18px; }
    .checkout-summary { padding: 20px; }
    .thankyou-card { padding: 32px 20px; }
    .order-header { flex-direction: column; gap: 8px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { font-size: .72rem; }
}

@media (max-width: 400px) {
    .container { padding: 0 14px; }
    .hero h1 { font-size: 1.6rem; }
    .product-detail-info h1 { font-size: 1.5rem; }
    .product-detail-price { font-size: 1.5rem; }
    .btn-lg { padding: 12px 20px; font-size: .9rem; }
}
