:root {
    --green-900: #1f4d36;
    --green-800: #275c41;
    --green-600: #3f7f5a;
    --green-100: #e6efd9;
    --cream: #faf6ee;
    --cream-dark: #f1ebdd;
    --ink: #1d2a22;
    --muted: #6b766f;
    --line: #e8e1d2;
    --gold: #f1c866;
    --radius: 14px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--ink);
    font-size: 15px;
}

h1, h2, h3, .brand { font-family: 'Cormorant Garamond', serif; }
h2 { font-weight: 700; font-size: 1.9rem; color: var(--ink); }
a { text-decoration: none; color: inherit; }

/* Top bar */
.topbar { background: var(--green-900); color: #e8f0e4; font-size: 12.5px; padding: 8px 0; }
.topbar a:hover { color: #fff; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, .3); }

/* Navigation */
.site-nav { background: var(--cream); padding: 10px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 2rem; font-weight: 600; letter-spacing: .08em; color: var(--ink); }
.brand-logo { height: 34px; width: auto; }
.site-nav .nav-link { font-weight: 500; font-size: 13.5px; color: var(--ink); padding: 8px 14px; }
.site-nav .nav-link:hover { color: var(--green-600); }
.site-nav .dropdown-menu { border: 1px solid var(--line); background: var(--cream); border-radius: 10px; font-size: 14px; }
.site-nav .dropdown-item:hover { background: var(--green-100); }
.nav-actions a { font-size: 1.05rem; position: relative; }
@media (min-width: 1200px) { .site-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; } }

/* Buttons */
.btn-brand { background: var(--green-900); color: #fff; border-radius: 8px; padding: 10px 22px; font-weight: 500; font-size: 14px; border: 0; }
.btn-brand:hover { background: var(--green-800); color: #fff; }
.btn-outline-brand { border: 1px solid var(--green-900); color: var(--green-900); border-radius: 8px; padding: 10px 22px; font-weight: 500; font-size: 14px; }
.btn-outline-brand:hover { background: var(--green-900); color: #fff; }

/* Gradient image placeholders (replace with real photos later) */
.tone-hero { background: #f6f1e4 url('../images/hero-turmeric-latte.webp') right center / cover no-repeat; }
.tone-turmeric { background: linear-gradient(135deg, #7a4a12, #d68a14 55%, #e9b23a); }
.tone-ginger { background: linear-gradient(135deg, #d9c39a, #f0e2bd); }
.tone-berry { background: linear-gradient(135deg, #2b3a6b, #5c4a8c); }
.tone-chamomile { background: linear-gradient(135deg, #a8c27a, #f3e8a8); }
.tone-mint { background: linear-gradient(135deg, #4f8a52, #b8d9a2); }
.tone-seeds { background: linear-gradient(135deg, #3a352e, #8a8170); }
.tone-forest { background: linear-gradient(135deg, #2f5a34, #a5b76a); }
.tone-lemon { background: linear-gradient(135deg, #f1d86a, #f8efc0); }
.tone-matcha { background: linear-gradient(135deg, #6c8f2f, #c3d98b); }
.tone-sunrise { background: linear-gradient(135deg, #e6935a, #f5cf91); }
.tone-olive { background: linear-gradient(135deg, #7d8a3a, #d8c46a); }

/* Hero */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; min-height: 340px; }
.hero-content { max-width: 520px; position: relative; z-index: 2; }
.eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 600; color: var(--green-900); margin-bottom: 18px; }
.lead-text { max-width: 380px; margin-bottom: 26px; }
.hero-badge {
    position: absolute; right: 0; top: -30px; width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255, 255, 255, .6); flex-direction: column; align-items: center; justify-content: center;
    font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; gap: 4px; z-index: 2;
}
.hero-badge i { color: var(--green-600); font-size: 1.3rem; margin-bottom: 4px; }

/* Feature strip */
.feature-strip { background: var(--cream-dark); border-bottom: 1px solid var(--line); }
.feature-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 10px; font-size: 13px; border-right: 1px solid var(--line); }
.feature-item:last-child { border-right: 0; }
.feature-item i { color: var(--green-600); font-size: 1.5rem; }

.section { padding-top: 40px; padding-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.link-arrow { font-size: 13px; font-weight: 500; }
.link-arrow i { margin-left: 8px; }

.badge-category { display: inline-block; background: var(--green-100); color: var(--green-900); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.article-meta { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); align-items: center; }
.article-meta i { margin-right: 4px; }
.round-arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.small-arrow { width: 24px; height: 24px; background: transparent; border: 1px solid var(--green-900); color: var(--green-900); font-size: 10px; }

/* Featured card */
.featured-card { position: relative; display: flex; align-items: flex-end; min-height: 100%; height: 100%; min-height: 295px; border-radius: var(--radius); overflow: hidden; color: #fff; padding: 22px; }
.featured-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent 70%); }
.featured-content { position: relative; }
.featured-card h3 { font-size: 1.9rem; line-height: 1.1; margin: 12px 0 8px; font-weight: 600; }
.featured-card p { font-size: 13px; margin-bottom: 14px; }
.featured-card .badge-category { background: #fff; }
.featured-card .article-meta { color: #eee; }
.featured-card .round-arrow { position: absolute; right: 20px; bottom: 20px; }

/* Side cards */
.side-card { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; flex: 1; }
.side-thumb { width: 108px; flex-shrink: 0; }
.side-body { padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.side-body h4 { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.3; }
.side-card:hover, .article-card:hover { box-shadow: 0 6px 18px rgba(31, 77, 54, .12); }

/* Ebook card */
.ebook-card { position: relative; background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 20px; height: 100%; }
.badge-new { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #5a4300; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 6px; }
.ebook-top { display: flex; gap: 10px; margin-top: 26px; }
.ebook-label { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; margin-bottom: 2px; }
.ebook-card h3 { font-size: 1.6rem; line-height: 1.1; font-weight: 600; }
.ebook-device { width: 90px; flex-shrink: 0; background: var(--cream); color: var(--green-600); border-radius: 12px; border: 3px solid #222; display: grid; place-items: center; font-size: 2rem; transform: rotate(5deg); min-height: 130px; }
.ebook-list { list-style: none; padding: 14px 0 0; margin: 14px 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 12.5px; }
.ebook-list li { margin-bottom: 4px; }
.ebook-list i { margin-right: 6px; }
.btn-ebook { display: block; background: var(--green-800); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; font-weight: 600; font-size: 13.5px; padding: 10px; }
.btn-ebook:hover { background: #fff; color: var(--green-900); }

/* Topics */
.topic-card { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; height: 100%; min-height: 88px; padding: 12px 8px; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12.5px; }
.topic-card i { color: var(--green-600); font-size: 1.4rem; margin-bottom: 2px; }
.topic-card small { color: var(--muted); }
.topic-card.active, .topic-card:hover { background: var(--green-100); }

/* Article cards */
.article-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.article-thumb { height: 74px; position: relative; }
.article-thumb .badge-category { position: absolute; left: 10px; bottom: 8px; background: rgba(255, 255, 255, .92); }
.article-body { padding: 10px 12px 12px; }
.article-body h3 { font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; line-height: 1.3; margin: 0 0 10px; min-height: 36px; }

/* Newsletter */
.newsletter { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(90deg, #cfdcb3, #e9e8cf 40%, #e4e6cf); border-radius: var(--radius); padding: 24px 32px; }
.newsletter-icon { font-size: 3rem; color: var(--green-900); }
.newsletter-text { flex: 1 1 260px; }
.newsletter-text h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; }
.newsletter-form { display: flex; gap: 12px; flex: 1 1 380px; }
.newsletter-form .form-control { border-radius: 8px; border-color: var(--line); font-size: 13px; }

/* Footer */
.site-footer { padding: 40px 0 24px; border-top: 1px solid var(--line); }
.footer-title { font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.site-footer a:hover { color: var(--green-600); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--green-900); color: #f4efe2; font-size: 17px; transition: background .15s, transform .15s; }
.footer-social a:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); }

@media (max-width: 991px) {
    .hero { padding: 40px 0 50px; background-position: 70% center; }
    .hero-content { background: rgba(250, 246, 238, .75); padding: 16px; border-radius: var(--radius); }
    .feature-item { border-right: 0; }
}

/* Product cards (PDF e-books) */
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: 0 8px 22px rgba(31, 77, 54, .14); transform: translateY(-2px); }
.product-cover { display: grid; place-items: center; padding: 22px 0; }
.product-book { width: 92px; height: 124px; border-radius: 4px 10px 10px 4px; background: rgba(255, 255, 255, .92); border-left: 6px solid rgba(0, 0, 0, .18); display: grid; place-items: center; font-size: 2rem; color: var(--green-800); box-shadow: 6px 8px 16px rgba(0, 0, 0, .25); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.product-format { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.product-format i { color: #c2453a; margin-right: 3px; }
.product-body h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.product-body p { font-size: 12.5px; color: var(--muted); flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.product-price { font-weight: 700; font-size: 1.1rem; color: var(--green-900); }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--gold); color: #5a4300; font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.product-card.featured { border: 2px solid var(--green-900); }
.product-card.featured .product-price { color: var(--green-600); }

/* Waitlist dropdown (e-shop under construction) */
.waitlist-panel { padding: 18px; }
.waitlist-panel h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.waitlist-badge { display: inline-block; background: var(--gold); color: #5a4300; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 6px; margin-bottom: 8px; }
.waitlist-form .form-check-input:checked { background-color: var(--green-900); border-color: var(--green-900); }

/* Inner pages */
.page-hero { background: linear-gradient(100deg, #f6f1e4, #e4e6cf); padding: 48px 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 600; color: var(--green-900); }
.waitlist-card { max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* E-book detail page */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.check-list i { color: var(--green-600); margin-right: 10px; }
.buy-box { position: sticky; top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.buy-price { font-size: 2rem; font-weight: 700; color: var(--green-900); margin: 4px 0 12px; }
.product-body h3 a:hover { color: var(--green-600); }

/* Generated cover images */
.product-cover.has-image { padding: 0; display: block; }
.product-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.buy-box .product-cover img { border-radius: var(--radius); }
.discount-badge { background: var(--green-900); color: #fff; margin-left: 4px; }

/* Legal pages and disclaimers */
.legal-content { max-width: 800px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.legal-content h2 { font-size: 1.5rem; margin-top: 1.6rem; }
.legal-content li { margin-bottom: 6px; }
.disclaimer-box { background: var(--green-100); border-left: 4px solid var(--green-900); border-radius: 8px; padding: 14px 18px; margin: 16px 0; font-size: 14px; }
.footer-disclaimer { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }

/* Articles */
.has-image { background-size: cover; background-position: center; }
.featured-card.has-image { background-size: cover; background-position: center; }
.side-thumb.has-image, .article-thumb.has-image { background-size: cover; background-position: center; }
.article-thumb { height: 130px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: #fffdf8; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 500; }
.chip small { color: var(--muted); }
.chip:hover, .chip.active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.chip.active small, .chip:hover small { color: #dcebdc; }
.page-hero a:hover { color: var(--green-600); }
.article-content { font-size: 17px; line-height: 1.75; }
.article-content h2 { font-size: 1.9rem; margin: 2.2rem 0 .8rem; color: var(--green-900); }
.article-content h3 { font-size: 1.4rem; margin-top: 1.6rem; }
.article-content a { color: var(--green-600); text-decoration: underline; }
.article-content ul, .article-content ol { padding-left: 1.3rem; }
.article-content li { margin-bottom: .4rem; }
.article-cover { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1.6rem; aspect-ratio: 3 / 2; object-fit: cover; }
.ebook-cta { display: flex; gap: 20px; align-items: center; background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 20px; margin: 2.2rem 0; font-size: 15px; line-height: 1.5; }
.ebook-cta h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; margin: 8px 0 4px; }
.ebook-cta p { margin-bottom: 12px; opacity: .9; }
.ebook-cta .product-price { color: var(--gold); }
.ebook-cta .btn-brand { background: #fff; color: var(--green-900); }
.ebook-cta .btn-brand:hover { background: var(--gold); }
.ebook-cta-cover { flex: 0 0 120px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; min-height: 160px; font-size: 2.4rem; }
.ebook-cta-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.faq .accordion-button:not(.collapsed) { background: var(--green-100); color: var(--green-900); }
@media (max-width: 575px) { .ebook-cta { flex-direction: column; text-align: center; } .ebook-cta-cover { flex-basis: auto; width: 140px; } }

/* Search */
.search-toggle { background: none; border: 0; font-size: 1.05rem; color: var(--ink); padding: 4px 6px; }
.search-toggle:hover { color: var(--green-600); }
.search-panel { background: var(--cream-dark); border-bottom: 1px solid var(--line); padding: 14px 0; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 10px; position: relative; }
.search-form > .fa-magnifying-glass { position: absolute; left: 14px; color: var(--muted); }
.search-form .form-control { padding-left: 38px; border-radius: 8px; border-color: var(--line); }
.search-close { background: none; border: 0; font-size: 1.2rem; color: var(--muted); padding: 4px 8px; }
.search-form-page { max-width: 560px; }

/* Contact + about + newsletter fields */
.contact-card, .contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card > i { font-size: 1.8rem; color: var(--green-600); margin-bottom: 8px; }
.contact-card a { color: var(--green-900); font-weight: 600; }
.about-content h2 { font-size: 1.7rem; color: var(--green-900); }
.newsletter-form { flex-direction: column; gap: 0; }
.newsletter-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-fields .form-control { flex: 1 1 160px; }
.newsletter-form .form-check-input:checked { background-color: var(--green-900); border-color: var(--green-900); }

/* Article share bar */
.share-bar { margin: 1.4rem 0; }
.share-label { display: block; font-size: 14px; font-weight: 600; color: var(--green-900); margin-bottom: 10px; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; background: #fffdf8; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.share-btn:hover { background: var(--green-100); border-color: var(--green-600); }
.share-btn[hidden] { display: none; }
.share-native { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.share-native:hover { background: var(--green-800); color: #fff; }
.share-bottom { padding: 18px 20px; background: var(--cream-dark); border-radius: var(--radius); }
.share-top { margin: 0 0 1.6rem; }
.share-top .share-btn { padding: 6px 12px; font-size: 13px; }
@media (max-width: 575px) { .share-btn { flex: 1 1 calc(50% - 8px); justify-content: center; } }

/* Sticky header + one-line mobile tagline */
html { scroll-padding-top: 84px; }
.site-header-sticky { position: sticky; top: 0; z-index: 1030; background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.topbar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 575px) { .topbar { font-size: 12px; } .topbar > .container { justify-content: center !important; } }

/* Floating share bar: right edge on desktop, bottom edge on phones */
.share-floating { position: fixed; z-index: 1020; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; margin: 0; }
.share-floating.is-visible { opacity: 1; pointer-events: auto; }
.share-floating .share-text { display: none; }
.share-floating .share-buttons { gap: 6px; }
.share-floating .share-btn { padding: 0; width: 42px; height: 42px; justify-content: center; font-size: 17px; background: #fff; box-shadow: 0 2px 8px rgba(31, 77, 54, .12); }
.share-floating .share-native { background: var(--green-900); }
@media (min-width: 1200px) {
    .share-floating { right: 22px; top: 50%; transform: translateY(-50%) translateX(12px); }
    .share-floating.is-visible { transform: translateY(-50%); }
    .share-floating .share-buttons { flex-direction: column; }
}
@media (max-width: 1199px) {
    .share-floating { left: 0; right: 0; bottom: 0; transform: translateY(100%); background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(31, 77, 54, .1); }
    .share-floating.is-visible { transform: translateY(0); }
    .share-floating .share-buttons { flex-wrap: nowrap; justify-content: space-around; }
    .share-floating .share-btn { flex: 1 1 0; max-width: 64px; box-shadow: none; background: transparent; border-color: transparent; }
    .share-floating .share-native { background: var(--green-900); }
    body.has-share-bar { padding-bottom: 64px; }
}
.share-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(8px); background: var(--green-900); color: #fff; padding: 9px 16px; border-radius: 8px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 1060; max-width: 90vw; text-align: center; }
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Eight menu items: keep each on one line and tighten spacing on mid-width desktops */
.site-nav .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) { .site-nav .nav-link { padding: 8px 8px; font-size: 12.5px; } .site-nav .brand { font-size: 1.7rem; } }

/* Author byline + box */
.byline { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.byline-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(31, 77, 54, .2); background: var(--cream-dark); }
.byline-text { display: flex; flex-direction: column; line-height: 1.25; }
.byline-text strong { font-size: 14.5px; color: var(--green-900); }
.byline-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.author-box { display: flex; gap: 18px; align-items: flex-start; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 2rem 0 1rem; font-size: 15px; line-height: 1.55; }
.author-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(31, 77, 54, .18); background: var(--cream-dark); }
.author-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin: 2px 0 6px; color: var(--green-900); }
.author-box p { margin-bottom: 8px; color: #3d4a42; }
.author-box a { color: var(--green-600); text-decoration: underline; }
.author-updated { font-size: 12.5px; color: var(--muted) !important; }
@media (max-width: 575px) { .author-box { flex-direction: column; align-items: center; text-align: center; } }

/* Home promo card: real e-book cover instead of the placeholder phone */
.ebook-card h3 a { color: #fff; }
.ebook-card h3 a:hover { text-decoration: underline; }
.ebook-device.ebook-cover { display: block; width: 96px; min-height: 0; background: transparent; border: 0; padding: 0; transform: rotate(4deg); box-shadow: 6px 8px 18px rgba(0, 0, 0, .35); border-radius: 4px 8px 8px 4px; overflow: hidden; align-self: flex-start; }
.ebook-device.ebook-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }

/* Article rating */
.rating-box { margin: 2rem 0 1rem; padding: 22px 20px; text-align: center; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); }
.rating-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--green-900); margin: 0 0 14px; }
.rating-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rating-btn { display: inline-flex; align-items: center; gap: 9px; min-width: 132px; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.rating-btn i { font-size: 18px; color: var(--green-600); }
.rating-btn:hover:not(:disabled) { background: var(--green-100); border-color: var(--green-600); transform: translateY(-1px); }
.rating-btn:disabled { cursor: default; opacity: .55; }
.rating-btn.is-selected { opacity: 1; background: var(--green-900); border-color: var(--green-900); color: #fff; }
.rating-btn.is-selected i { color: #fff; }
.rating-thanks { margin: 12px 0 0; font-size: 14px; color: var(--green-800); font-weight: 500; }
.rating-thanks[hidden] { display: none; }
@media (max-width: 575px) { .rating-btn { flex: 1 1 100%; } }

/* Rating: optional "why?" feedback */
.rating-feedback { max-width: 520px; margin: 16px auto 0; text-align: left; }
.rating-feedback[hidden] { display: none; }
.rating-feedback label { display: block; font-size: 14px; font-weight: 500; color: var(--green-900); margin-bottom: 8px; }
.rating-feedback textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14.5px; background: #fff; resize: vertical; }
.rating-feedback textarea:focus { outline: 2px solid rgba(47, 107, 75, .25); border-color: var(--green-600); }
.rating-feedback-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.rating-skip { background: none; border: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; cursor: pointer; }

/* Transparent book mockups (*-book.webp): our own backdrop + drop shadow, whole book visible */
.product-cover.is-book { background: radial-gradient(ellipse at 50% 35%, #fcf9f1 0%, #f1ebda 62%, #e8e1cc 100%); }
.product-cover.is-book img { aspect-ratio: 3 / 4; object-fit: contain; box-sizing: border-box; padding: 8% 10% 10%; border-radius: 0; filter: drop-shadow(0 16px 14px rgba(45, 38, 20, .28)) drop-shadow(0 3px 4px rgba(45, 38, 20, .2)); transition: transform .25s; }
.product-card:hover .product-cover.is-book img { transform: translateY(-4px) scale(1.02); }
.buy-box .product-cover.is-book { overflow: hidden; }
.ebook-cta-cover.is-book { background: transparent; }
.ebook-cta-cover.is-book img { aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45)); }
.ebook-device.ebook-cover.is-book { transform: none; box-shadow: none; border-radius: 0; overflow: visible; width: 104px; }
.ebook-device.ebook-cover.is-book img { aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .45)); }

/* Product cards: keep price and button tidy in narrow 5-column layout */
.product-price { white-space: nowrap; }
.product-footer .btn { white-space: nowrap; }
.product-footer { flex-wrap: wrap; row-gap: 8px; }

/* Voice intro on e-book pages */
.voice-intro { display: flex; gap: 16px; align-items: center; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 1.8rem; }
.voice-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(31, 77, 54, .25); }
.voice-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.voice-body strong { color: var(--green-900); font-size: 1.05rem; }
.voice-note { font-size: 12.5px; color: var(--muted); }
.voice-body audio { width: 100%; height: 38px; margin-top: 4px; }
@media (max-width: 575px) { .voice-intro { flex-direction: column; text-align: center; } .voice-body { width: 100%; } }

/* E-shop teaser (what we are preparing) */
.shop-teaser-img { border-radius: var(--radius); border: 1px solid var(--line); }
.shop-teaser-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.shop-teaser-list li:last-child { border-bottom: 0; }
.shop-teaser-list i { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--green-900); color: #f4efe2; font-size: 16px; }
.shop-teaser-list strong { display: block; color: var(--green-900); }
.shop-teaser-list span { display: block; font-size: 14px; color: var(--muted, #667); }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 1080; width: min(440px, calc(100vw - 32px)); }
.cookie-banner[hidden] { display: none; }
.cookie-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 16px; box-shadow: 0 14px 40px rgba(31, 77, 54, .18); }
.cookie-title { font-size: 17px; font-weight: 600; color: var(--green-900); margin: 0 0 6px; }
.cookie-text { font-size: 13.5px; color: #3c4a42; margin: 0 0 12px; line-height: 1.5; }
.cookie-text a { color: var(--green-600); text-decoration: underline; }
.cookie-panel { border-top: 1px solid var(--line); margin: 4px 0 12px; }
.cookie-option { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cookie-option strong { display: block; font-size: 13.5px; color: var(--green-900); }
.cookie-option span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-btn { flex: 1 1 130px; background: var(--green-900); color: #fff; border: 0; border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-btn:hover { background: var(--green-600); }
.cookie-link { background: none; border: 0; color: var(--green-900); font-size: 13.5px; font-weight: 600; text-decoration: underline; padding: 6px 4px; cursor: pointer; }
.cookie-save { flex-basis: 100%; }
.cookie-banner .form-check-input:checked { background-color: var(--green-600); border-color: var(--green-600); }
@media (max-width: 575px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; } }
@media (prefers-reduced-motion: no-preference) { .cookie-banner:not([hidden]) { animation: cookie-in .25s ease-out; } }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
