:root {
  --navy: #142b49;
  --navy-deep: #0b1e35;
  --blue: #3478f6;
  --blue-dark: #2362d7;
  --ice: #f5f7fa;
  --white: #fff;
  --ink: #13233a;
  --muted: #607087;
  --line: #dce3ec;
  --radius: 14px;
  --container: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Poppins", sans-serif; font-size: 16px; line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.topbar { padding: 7px 20px; background: var(--navy); color: #dce9ff; font-size: .82rem; text-align: center; letter-spacing: .015em; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,43,73,.1); backdrop-filter: blur(14px); }
.header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark { width: 43px; height: 43px; }
.brand-copy { display: flex; flex-direction: column; font-family: "Poppins", sans-serif; line-height: .96; color: var(--navy); }
.brand-copy strong { font-size: 1.26rem; font-weight: 800; letter-spacing: -.055em; }
.brand-copy span { margin-top: 5px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: 20px; font-weight: 600; }
.desktop-nav > a, .nav-dropdown > button { position: relative; padding: 26px 0 24px; border: 0; background: none; cursor: pointer; }
.desktop-nav > a::after, .nav-dropdown > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.desktop-nav > a:hover::after, .desktop-nav > a.active::after, .nav-dropdown > button:hover::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; align-items: center; gap: 7px; }
.nav-dropdown > button span { font-size: 1.1rem; transition: transform .2s; }
.nav-dropdown.open > button span { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: 64px; left: -22px; width: 520px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 45px rgba(10,33,61,.14); opacity: 0; visibility: hidden; transform: translateY(-5px); transition: .2s; }
.nav-dropdown.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { padding: 9px 10px; border-radius: 7px; color: #344760; font-size: .9rem; }
.dropdown-panel a:hover { color: var(--blue); background: var(--ice); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-box { width: 226px; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 13px; background: var(--ice); border: 1px solid transparent; border-radius: 9px; transition: .2s; }
.search-box:focus-within { background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52,120,246,.1); }
.search-box svg { width: 19px; fill: none; stroke: #52657e; stroke-width: 1.8; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: #738198; }
.account-button { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--navy); border-radius: 9px; background: var(--white); font-weight: 700; cursor: pointer; transition: .2s; }
.account-button:hover { color: var(--white); background: var(--navy); }
.account-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.account-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.account-copy > span { white-space: nowrap; }
.account-copy small { max-width: 112px; margin-top: 3px; overflow: hidden; color: currentColor; font-size: .64rem; font-weight: 500; line-height: 1; text-overflow: ellipsis; white-space: nowrap; opacity: .7; }
.mobile-menu .account-copy small { max-width: min(260px, 75vw); font-size: .68rem; }
.cart-button { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); font-weight: 700; }
.cart-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count { min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; color: var(--white); background: var(--blue); font-size: .7rem; }
.auth-pending { visibility: hidden; }
.header-logout { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: var(--white); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.header-logout:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.header-logout svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-logout[hidden], .mobile-auth-logout[hidden] { display: none; }
.menu-toggle { width: 42px; height: 42px; padding: 10px; display: none; flex-direction: column; justify-content: center; gap: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.menu-toggle span { width: 100%; height: 2px; background: var(--navy); transition: .2s; }
.mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero-banner { display: block; width: 100%; height: auto; }
.hero-banner-cta { position: absolute; left: 5.8%; top: 62.7%; width: 19.8%; height: 8.5%; border-radius: 14px; }
.hero-banner-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.text-link { color: var(--white); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.5); }

.section { padding: 88px 0; }
.section-heading { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-heading h2, .combo-copy h2, .how-heading h2 { margin: 0; font-family: "Poppins", sans-serif; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.12; letter-spacing: -.045em; color: var(--navy); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: .2s; }
.carousel-controls button:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.product-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); grid-template-rows: 1fr; gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.product-track::-webkit-scrollbar { display: none; }
.product-card { min-width: 0; scroll-snap-align: start; background: var(--navy); border: 0; border-radius: var(--radius); overflow: hidden; transition: transform .22s; }
.product-card:hover { transform: translateY(-4px); border-color: #aebcd0; }
.product-card-link { height: 100%; display: block; color: inherit; }
.product-card-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius); }
.book-cover { position: relative; aspect-ratio: 4/4.7; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 20px 18px; overflow: hidden; color: var(--white); background: var(--cover-bg); }
.catalog-book-cover { padding: 0; background-color: #eef3fb; background-image: var(--cover-image); background-position: center; background-repeat: no-repeat; background-size: contain; }
.gallery-card-cover { padding: 0; background-color: var(--navy); background-image: linear-gradient(180deg, rgba(5,22,42,.02) 58%, rgba(7,27,50,.28) 100%), var(--gallery-image); background-position: center, var(--gallery-position, center); background-repeat: no-repeat; background-size: cover, var(--gallery-size, cover); transition: background-size .35s ease; }
.product-card-cover { padding: 0; background-size: cover; background-position: center; }
.product-card-cover.gallery-card-cover { background-size: cover, var(--gallery-size, cover); background-position: center, var(--gallery-position, center); }
.product-card-overlay, .ebook-cover-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,22,42,.02) 34%, rgba(7,27,50,.94) 100%); }
.product-card-content { position: absolute; inset: 0; z-index: 2; min-height: 310px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: var(--white); }
.product-card h3 { max-width: 220px; margin: 0; font-family: "Poppins", sans-serif; font-size: 1.12rem; line-height: 1.25; letter-spacing: -.025em; }
.product-card .price { margin-top: 8px; color: #d9e6fb; font-size: .78rem; font-weight: 600; }
.product-card .view-button { min-height: 38px; margin-top: 10px; padding: 8px 0; display: inline-flex; align-items: center; gap: 5px; border: 0; color: var(--white); }
.product-card .view-button:hover { color: #9ec2ff; background: transparent; }
.cover-kicker { position: relative; z-index: 1; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: .84; }
.cover-title { position: relative; z-index: 1; max-width: 94%; font-family: "Poppins", sans-serif; font-size: clamp(1.1rem, 1.8vw, 1.48rem); font-weight: 800; line-height: 1.03; letter-spacing: -.04em; }
.card-body { padding: 18px; }
.card-category { display: block; margin-bottom: 7px; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-body h3 { min-height: 48px; margin: 0 0 14px; font-family: "Poppins", sans-serif; font-size: 1rem; line-height: 1.4; letter-spacing: -.02em; }
.card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { display: flex; flex-direction: column; color: var(--muted); font-size: .7rem; }
.price strong { color: var(--navy); font-family: "Poppins", sans-serif; font-size: 1.17rem; }
.view-button { padding: 8px 11px; border: 1px solid var(--navy); border-radius: 7px; background: transparent; color: var(--navy); font-size: .78rem; font-weight: 800; cursor: pointer; }
.view-button:hover { color: var(--white); background: var(--navy); }
.admin-pdf-review { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.admin-pdf-review label { display: grid; gap: 6px; padding-top: 14px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.admin-pdf-review select, .admin-pdf-review button { width: 100%; min-height: 38px; border: 1px solid #b8c5d8; border-radius: 7px; font: inherit; }
.admin-pdf-review select { padding: 7px 9px; color: var(--navy); background: var(--white); }
.admin-pdf-review button { margin-top: 9px; padding: 8px 10px; color: var(--white); background: var(--navy); cursor: pointer; font-size: .75rem; font-weight: 800; }
.admin-pdf-review button:disabled { opacity: .6; cursor: wait; }
.admin-pdf-review span { display: block; min-height: 18px; margin-top: 6px; color: var(--muted); font-size: .68rem; }

.combo-section { padding-block: 88px; }
.combo-card { min-height: 380px; position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; padding: 58px 64px; overflow: hidden; color: var(--white); background: var(--navy); border-radius: 20px; }
.combo-card::before, .combo-card::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(103,158,255,.22); }
.combo-card::before { width: 360px; height: 360px; right: -120px; top: -190px; box-shadow: 0 0 0 55px rgba(52,120,246,.06), 0 0 0 110px rgba(52,120,246,.04); }
.combo-card::after { width: 160px; height: 160px; left: 42%; bottom: -120px; box-shadow: 0 0 0 42px rgba(52,120,246,.06); }
.combo-copy { position: relative; z-index: 1; }
.combo-copy h2 { color: var(--white); }
.combo-copy > p:not(.eyebrow) { max-width: 540px; margin: 20px 0 28px; color: #c8d6e8; }
.button-white { color: var(--navy); background: var(--white); }
.button-white:hover { background: #eaf1ff; }
.discount-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: end; }
.discount-steps div { min-height: 165px; padding: 20px 9px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; text-align: center; }
.discount-steps div:nth-child(2) { min-height: 185px; }
.discount-steps div:nth-child(3) { min-height: 205px; }
.discount-steps div:nth-child(4) { min-height: 225px; }
.discount-steps div.best { min-height: 255px; background: var(--blue); border-color: #6ca2ff; }
.discount-steps span { font-size: .76rem; color: #cbd8e9; }
.discount-steps strong { display: block; margin-top: 5px; font-family: "Poppins", sans-serif; font-size: 1.08rem; }
.discount-steps em { margin-top: 10px; font-size: .63rem; font-style: normal; text-transform: uppercase; letter-spacing: .05em; }

.categories-section { background: var(--ice); }
.categories-intro { align-items: center; margin-bottom: 52px; }
.categories-intro > p { max-width: 360px; color: var(--muted); }
#category-sections { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.category-card { position: relative; min-height: 280px; overflow: hidden; border-radius: var(--radius); background: var(--navy); isolation: isolate; }
.category-card-image { position: absolute; inset: 0; z-index: -2; background-image: var(--category-image, url("assets/category-grid.png")); background-size: var(--category-size, 500% 200%); background-position: var(--sprite-x) var(--sprite-y); transition: transform .35s ease; }
.category-card-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,22,42,.02) 20%, rgba(7,27,50,.9) 100%); }
.category-card-content { height: 100%; min-height: 280px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: var(--white); }
.category-card h3 { margin: 0 0 7px; font-family: "Poppins", sans-serif; font-size: 1.12rem; line-height: 1.2; letter-spacing: -.03em; }
.category-card-link { color: #d9e6fb; font-size: .78rem; font-weight: 700; }
.category-card:hover .category-card-image { transform: scale(1.045); }
.category-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.category-card[hidden] { display: none; }
.empty-state { padding: 60px; border: 1px dashed #b8c5d8; border-radius: 14px; text-align: center; background: var(--white); }
.empty-state strong { font-size: 1.25rem; }
.empty-state p { margin: 5px 0 0; color: var(--muted); }

.how-section { background: var(--white); }
.how-heading { max-width: 560px; margin-bottom: 44px; }
.steps-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; }
.steps-list li { position: relative; min-height: 250px; padding: 28px 30px; border: 1px solid var(--line); border-right: 0; }
.steps-list li:first-child { border-radius: 14px 0 0 14px; }
.steps-list li:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.steps-list li > span { position: absolute; right: 22px; top: 16px; color: #dfe6ef; font-family: "Poppins", sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 42px; color: var(--blue); background: #edf3ff; border-radius: 12px; font-size: 1.8rem; }
.pix-icon { font-size: 1.35rem; }
.steps-list h3 { margin: 0 0 9px; font-family: "Poppins", sans-serif; font-size: 1.08rem; }
.steps-list p { margin: 0; color: var(--muted); font-size: .91rem; }

.site-footer { color: #d5dfeb; background: #0d223d; }
.footer-main { padding: 64px 0 52px; display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 60px; }
.brand-footer .brand-copy { color: var(--white); }
.footer-brand p { max-width: 330px; margin: 22px 0 0; color: #aebdd0; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h3 { margin: 4px 0 12px; color: var(--white); font-family: "Poppins", sans-serif; font-size: .93rem; }
.footer-column a, .footer-column button { padding: 0; color: #aebdd0; background: none; border: 0; font-size: .88rem; cursor: pointer; text-align: left; }
.footer-column a:hover, .footer-column button:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #8395aa; font-size: .78rem; }
.footer-bottom p { margin: 0; }

.faq-section { background: var(--white); border-top: 1px solid #e7ecf2; }
.faq-container { max-width: 980px; }
.faq-heading { max-width: 700px; margin: 0 auto 38px; text-align: center; }
.faq-heading h2 { margin: 5px 0 12px; color: var(--navy); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -.045em; }
.faq-heading > p:last-child { margin: 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item h3 button { width: 100%; min-height: 72px; padding: 19px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 0; color: var(--navy); background: transparent; font-size: 1rem; font-weight: 700; text-align: left; cursor: pointer; }
.faq-item h3 button:hover { color: var(--blue); }
.faq-item h3 button:focus-visible { outline: 3px solid rgba(52,120,246,.2); outline-offset: 4px; border-radius: 6px; }
.faq-icon { width: 30px; height: 30px; position: relative; flex: 0 0 auto; border: 1px solid #cbd5e2; border-radius: 50%; transition: border-color .25s, background .25s, transform .25s; }
.faq-icon i { width: 12px; height: 2px; position: absolute; left: 8px; top: 13px; background: var(--blue); border-radius: 2px; transition: transform .25s, opacity .25s; }
.faq-icon i:last-child { transform: rotate(90deg); }
.faq-item.open .faq-icon { border-color: var(--blue); background: #edf4ff; transform: rotate(180deg); }
.faq-item.open .faq-icon i:last-child { opacity: 0; transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { max-width: 820px; margin: 0; padding: 0 54px 22px 4px; color: var(--muted); font-size: .94rem; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; padding: 12px 18px; color: var(--white); background: var(--navy); border-radius: 9px; box-shadow: 0 10px 30px rgba(10,31,56,.2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateY(0); }

.mobile-category-links { display: none; }
.catalog-hero { padding: 64px 0 58px; color: var(--white); background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #afc1d8; font-size: .85rem; }
.breadcrumbs a:hover { color: var(--white); }
.catalog-title-row { display: flex; align-items: center; gap: 18px; }
.catalog-title-icon { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.08); font-size: 1.65rem; }
.catalog-hero h1 { margin: 0; font-family: "Poppins", sans-serif; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.catalog-hero p { max-width: 600px; margin: 18px 0 0 76px; color: #cbd8e8; }
.catalog-content { background: var(--ice); }
.catalog-summary { margin-bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-summary h2 { margin: 0; font-family: "Poppins", sans-serif; font-size: 1.65rem; letter-spacing: -.035em; }
.catalog-summary span { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-grid .book-cover { min-height: 310px; aspect-ratio: auto; }
.subcategory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.subcategory-card { position: relative; min-height: 310px; overflow: hidden; border-radius: var(--radius); background: var(--navy); isolation: isolate; }
.subcategory-card-image { position: absolute; inset: 0; z-index: -2; background: url("assets/recipe-subcategories.png") var(--sprite-x) var(--sprite-y) / 400% 300% no-repeat; transition: transform .35s ease; }
.subcategory-card-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,22,42,.02) 28%, rgba(7,27,50,.94) 100%); }
.subcategory-card-content { min-height: 310px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); }
.subcategory-card-content strong { max-width: 220px; font-size: 1.12rem; line-height: 1.25; }
.subcategory-card-content span { margin-top: 8px; color: #d9e6fb; font-size: .78rem; font-weight: 600; }
.subcategory-card-content b { color: var(--white); font-size: 1rem; }
.subcategory-card:hover .subcategory-card-image { transform: scale(1.045); }
.subcategory-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.subcategory-card[hidden] { display: none; }
.subcategory-empty { grid-column: 1 / -1; }
.subcategory-empty .button { margin-top: 22px; }
.route-empty { min-height: 58vh; display: grid; place-items: center; text-align: center; }
.route-empty h1 { font-family: "Poppins", sans-serif; }
.route-empty .button { margin-top: 18px; }

.ebook-page { padding: 64px 0 90px; background: var(--ice); }
.ebook-page .breadcrumbs { color: var(--muted); }
.ebook-layout { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 70px; align-items: start; }
.ebook-preview .book-cover { aspect-ratio: 4/5; border-radius: 16px; }
.ebook-preview .recipe-book-cover { position: relative; overflow: hidden; background-image: linear-gradient(180deg, rgba(5,22,42,.12) 18%, rgba(7,27,50,.9) 100%), var(--cover-image); background-size: cover, 400% 300%; background-position: center, var(--sprite-x) var(--sprite-y); }
.ebook-product-cover { padding: 0; justify-content: flex-end; background-size: cover; background-position: center; }
.ebook-product-cover.gallery-card-cover { background-size: cover, var(--gallery-size, cover); background-position: center, var(--gallery-position, center); }
.ebook-cover-title { z-index: 2; max-width: 88%; margin: 0 24px 24px; color: var(--white); }
.ebook-info h1 { margin: 10px 0 14px; font-family: "Poppins", sans-serif; font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.05em; color: var(--navy); }
.ebook-lead { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.package-heading { margin: 36px 0 14px; font-family: "Poppins", sans-serif; font-size: 1.1rem; }
.package-options { display: grid; gap: 10px; }
.package-option { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.package-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(52,120,246,.12); }
.package-option input { accent-color: var(--blue); }
.package-option strong { display: block; color: var(--navy); }
.package-quantity { font-weight: 600; }
.package-option small { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.package-price { font-family: "Poppins", sans-serif; font-weight: 800; color: var(--navy); }
.purchase-row { margin-top: 22px; display: flex; align-items: center; gap: 20px; }
.purchase-row .button { white-space: nowrap; }
.ebook-admin-pdf-review { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.ebook-admin-pdf-review span { color: var(--muted); font-size: .75rem; }
.cart-feedback { margin: 14px 0 0; color: #176b45; font-size: .9rem; font-weight: 600; }
.purchase-total { display: flex; flex-direction: column; color: var(--muted); font-size: .78rem; }
.purchase-total strong { color: var(--navy); font-family: "Poppins", sans-serif; font-size: 1.55rem; }
.cart-page { min-height: 65vh; padding: 54px 0 90px; background: var(--ice); }
.cart-item-cover.recipe-book-cover { background-image: linear-gradient(180deg,transparent,rgba(7,27,50,.8)),var(--cover-image); background-size: cover,400% 300%; background-position: center,var(--sprite-x) var(--sprite-y); }
#pix-image { width: 240px; margin: 16px auto; }
#pix-code { min-height: 110px; width: 100%; padding: 12px; resize: vertical; overflow-wrap: anywhere; font: inherit; border: 1px solid var(--line); border-radius: 8px; }
#checkout-totals dd { white-space: nowrap; }
.checkout-page .cart-item-info { min-width: 0; overflow-wrap: anywhere; }
.checkout-page .cart-item-info p { margin: 0 0 12px; color: var(--muted); }
.checkout-item-price { color: var(--navy); font-family: "Poppins", sans-serif; font-size: 1.18rem; }
.checkout-page .cart-summary { min-width: 0; }
.checkout-page .cart-summary > p { margin: 0; font-size: .8rem; color: var(--muted); }
.checkout-page .button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
@media (max-width: 430px) {
  .checkout-site .header-inner { gap: 8px; }
  .checkout-site .cart-button > span { display: none; }
  .checkout-site .cart-button { padding-inline: 8px; gap: 5px; }
}
.cart-heading h1 { margin: 0; color: var(--navy); font-family: "Poppins", sans-serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.cart-heading p:last-child { color: var(--muted); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; margin-top: 28px; }
.cart-items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.cart-item-cover { aspect-ratio: 4/4.7; padding: 14px 12px 12px; border-radius: 8px; }
.cart-item-cover .cover-title { font-size: 1rem; }
.cart-item-info h2 { margin: 3px 0 14px; color: var(--navy); font-size: 1.12rem; }
.cart-package-label { display: grid; gap: 5px; color: var(--muted); font-size: .78rem; }
.cart-package-select { width: min(100%, 360px); height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cart-item-price { color: var(--navy); font-size: 1.2rem; }
.cart-remove { padding: 7px 10px; border: 0; border-radius: 7px; background: #fff1f1; color: #9b3c3c; font-weight: 700; cursor: pointer; }
.cart-summary { position: sticky; top: 100px; display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.cart-summary h2 { margin: 0; color: var(--navy); font-size: 1.12rem; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.cart-total-row strong { color: var(--navy); font-size: 1.35rem; }
.cart-summary > a { color: var(--blue); font-size: .86rem; font-weight: 700; text-align: center; }
.cart-progress { padding-bottom: 8px; }
.cart-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; }
.cart-progress-head strong { color: var(--blue); font-size: 1rem; }
.cart-progress > p { min-height: 42px; margin: 8px 0 14px; color: #31527e; font-size: .78rem; }
.cart-totals { display: grid; gap: 8px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.cart-totals > div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .86rem; }
.cart-totals dd { margin: 0; color: var(--ink); font-weight: 600; }
.cart-totals .cart-grand-total { margin-top: 5px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--navy); font-size: 1rem; font-weight: 800; }
.cart-totals .cart-grand-total dd { color: var(--navy); font-size: 1.2rem; }
.cart-empty { margin-top: 32px; padding: 48px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-align: center; }
.cart-empty h2 { color: var(--navy); }
.cart-empty p { margin-bottom: 22px; color: var(--muted); }

.combo-page { background: var(--ice); }
.combo-page-hero { padding: 56px 0 62px; color: var(--white); background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.combo-page-hero h1 { max-width: 760px; margin: 10px 0 18px; font-family: "Manrope", sans-serif; font-size: clamp(2.7rem, 5.8vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.combo-page-hero h1 span { color: #78a9ff; }
.combo-page-hero > .container > p:last-child { max-width: 620px; margin: 0; color: #cbd8e8; font-size: 1.05rem; }
.combo-progress-section { position: sticky; top: 76px; z-index: 20; padding: 22px 0 25px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.combo-progress-heading { margin-bottom: 15px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.combo-progress-heading > div { display: flex; align-items: baseline; gap: 12px; }
.combo-progress-label { color: var(--muted); font-size: .83rem; }
.combo-progress-heading strong { color: var(--blue); font-family: "Poppins", sans-serif; font-size: 1.35rem; }
.combo-progress-heading p { margin: 0; color: var(--muted); font-size: .88rem; text-align: right; }
.combo-progress-track { height: 9px; overflow: hidden; background: #dce5f1; border-radius: 999px; }
.combo-progress-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), #6da4ff); border-radius: inherit; transition: width .3s ease; }
.combo-progress-tiers { position: relative; height: 34px; margin-top: -9px; }
.combo-progress-tier { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; color: #8b98aa; transform: translateX(-50%); }
.combo-progress-tier span { width: 11px; height: 11px; margin-bottom: 3px; border: 2px solid var(--white); border-radius: 50%; background: #b8c4d3; box-shadow: 0 0 0 1px #b8c4d3; }
.combo-progress-tier strong { font-size: .75rem; line-height: 1; }
.combo-progress-tier small { margin-top: 2px; font-size: .62rem; }
.combo-progress-tier.reached { color: var(--blue); }
.combo-progress-tier.reached span { background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.combo-shop { padding-top: 60px; }
.combo-shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px; align-items: start; }
.combo-catalog-heading { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.combo-catalog-heading h2 { margin: 0; font-family: "Poppins", sans-serif; font-size: 2rem; letter-spacing: -.04em; }
.combo-catalog-heading > span { color: var(--muted); font-size: .85rem; }
.combo-filters { margin-bottom: 22px; display: grid; grid-template-columns: 1fr 260px; gap: 12px; }
.combo-search, .combo-category-filter { height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 14px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.combo-search:focus-within, .combo-category-filter:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52,120,246,.1); }
.combo-search svg { width: 19px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.combo-search input, .combo-category-filter select { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.combo-category-filter { position: relative; padding-right: 38px; }
.combo-category-filter::after { content: "⌄"; position: absolute; right: 14px; top: 10px; color: var(--muted); pointer-events: none; }
.combo-category-filter select { appearance: none; }
.combo-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.combo-product-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; transition: border-color .2s, transform .2s; }
.combo-product-card:hover { transform: translateY(-2px); border-color: #aab9cc; }
.combo-product-card.selected { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(52,120,246,.1); }
.combo-product-cover { position: relative; aspect-ratio: 1.5/1; padding: 15px; display: flex; align-items: flex-end; justify-content: flex-end; overflow: hidden; color: var(--white); background: var(--cover-bg); }
.combo-product-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,25,47,.55)); }
.combo-product-cover.catalog-book-cover::after { display: none; }
.combo-product-cover.gallery-card-cover { background-color: var(--navy); background-image: linear-gradient(180deg, rgba(5,22,42,.02) 58%, rgba(7,27,50,.28) 100%), var(--gallery-image); background-position: center, var(--gallery-position, center); background-repeat: no-repeat; background-size: cover, var(--gallery-size, cover); }
.combo-product-cover.catalog-book-cover { background-color: #eef3fb; background-image: var(--cover-image); background-position: center; background-repeat: no-repeat; background-size: contain; }
.combo-product-cover.recipe-book-cover, .combo-summary-thumb.recipe-book-cover { background-image: linear-gradient(180deg, rgba(5,22,42,.02), rgba(7,27,50,.28)), var(--cover-image); background-position: center, var(--sprite-x) var(--sprite-y); background-size: cover, 400% 300%; }
.combo-product-cover strong { position: relative; z-index: 1; }
.combo-product-cover strong { max-width: 72%; font-family: "Poppins", sans-serif; font-size: .94rem; line-height: 1.12; text-align: right; }
.combo-pdf-test-button { width: 100%; min-height: 38px; margin-top: 8px; padding: 8px 10px; border: 1px solid #b8c5d8; border-radius: 8px; color: var(--navy); background: var(--white); font: inherit; font-size: .72rem; font-weight: 800; cursor: pointer; }
.combo-pdf-test-button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue-dark); background: #f7faff; }
.combo-pdf-test-button:disabled { opacity: .58; cursor: not-allowed; }
.combo-pdf-test-status { display: block; min-height: 16px; margin-top: 4px; color: var(--muted); font-size: .66rem; text-align: center; }

/* Access and customer area */
.auth-page { min-height: 680px; padding: 72px 24px 88px; display: grid; place-items: center; background: linear-gradient(145deg, #eef3f9, #fff 58%); }
.auth-card { width: min(100%, 510px); padding: 42px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.auth-card-wide { width: min(100%, 700px); }
.auth-heading { margin-bottom: 28px; }
.auth-heading h1 { margin: 5px 0 10px; color: var(--navy); font-size: clamp(2rem, 5vw, 2.65rem); line-height: 1.1; letter-spacing: -.045em; }
.auth-heading p { margin: 0; color: var(--muted); }
.auth-kicker, .account-kicker { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.form-field { display: grid; gap: 7px; margin-bottom: 18px; color: var(--navy); font-size: .9rem; font-weight: 700; }
.form-field > input, .password-field { width: 100%; min-height: 50px; border: 1px solid #cfd8e5; border-radius: 9px; background: var(--white); }
.form-field > input { padding: 0 14px; outline: 0; }
.form-field > input:focus, .password-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52,120,246,.11); }
.password-field { display: flex; align-items: center; overflow: hidden; }
.password-field input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent; }
.password-field button { align-self: stretch; padding: 0 14px; border: 0; background: transparent; color: var(--blue); font-size: .8rem; font-weight: 800; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-assist { margin: -7px 0 18px; text-align: right; }
.form-assist a, .auth-footer a { color: var(--blue); font-weight: 700; }
.auth-submit { width: 100%; }
.form-notice { margin: 15px 0 0; padding: 11px 13px; color: #244465; background: #edf4ff; border-radius: 8px; font-size: .82rem; }
.auth-footer { margin-top: 24px; color: var(--muted); text-align: center; font-size: .9rem; }
.demo-account-link { margin-top: 16px; display: block; color: var(--navy); font-size: .82rem; font-weight: 700; text-align: center; text-decoration: underline; text-underline-offset: 3px; }

.account-page { min-height: 700px; padding-bottom: 92px; background: var(--ice); }
.account-hero { padding: 50px 0; color: var(--white); background: var(--navy); }
.account-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.account-hero h1 { margin: 3px 0 5px; font-size: clamp(2.15rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -.05em; }
.account-hero p { margin: 0; color: #cdd9e8; }
.demo-badge { padding: 8px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #dce8f8; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.account-layout { padding-top: 38px; display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-sidebar, .account-panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.account-sidebar { position: sticky; top: 104px; overflow: hidden; }
.account-person { padding: 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.account-person > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-size: .8rem; font-weight: 800; }
.account-person div { min-width: 0; }
.account-person strong, .account-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-person small { color: var(--muted); font-size: .7rem; }
.account-nav { padding: 9px; display: grid; gap: 3px; }
.account-nav button, .account-nav a { width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; color: #40536a; background: transparent; font-size: .86rem; font-weight: 600; text-align: left; cursor: pointer; }
.account-nav button:hover, .account-nav button.active { color: var(--blue); background: #edf4ff; }
.account-nav #account-logout { margin-top: 6px; color: #a43636; border-top: 1px solid var(--line); border-radius: 0; }
.account-panel { padding: 30px; }
.panel-heading { margin-bottom: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.panel-heading h2 { margin: 4px 0 5px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -.04em; }
.panel-heading p { margin: 0; color: var(--muted); }
.library-count { padding: 7px 11px; color: var(--blue); background: #edf4ff; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.library-group + .library-group { margin-top: 34px; }
.library-group-heading { margin-bottom: 13px; padding-bottom: 9px; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.library-group-heading h3 { margin: 0; color: var(--navy); font-size: 1rem; }
.library-group-heading span { color: var(--muted); font-size: .78rem; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.library-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.library-cover { aspect-ratio: 1.38/1; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: var(--cover-bg); }
.library-cover span { font-size: .57rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.library-cover strong { max-width: 90%; font-size: .98rem; line-height: 1.15; }
.library-body { padding: 16px; }
.library-combo { color: var(--blue); font-size: .63rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.library-body h3 { margin: 5px 0 6px; color: var(--navy); font-size: 1rem; line-height: 1.25; }
.library-body p { margin: 0 0 15px; color: var(--muted); font-size: .76rem; }
.library-actions { display: grid; grid-template-columns: 1fr; }
.download-button { width: 100%; min-height: 38px; padding: 0 12px; border: 1px solid var(--blue); border-radius: 8px; color: var(--white); background: var(--blue); font-size: .74rem; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s; }
.download-button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.purchase-list { display: grid; gap: 12px; }
.purchase-card { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid var(--line); border-radius: 11px; }
.purchase-date { color: var(--muted); font-size: .72rem; }
.purchase-card h3 { margin: 3px 0; color: var(--navy); font-size: 1rem; }
.purchase-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.purchase-total { display: grid; justify-items: end; gap: 7px; }
.status-paid { padding: 5px 9px; color: #17623f; background: #eaf8f1; border-radius: 999px; font-size: .66rem; font-weight: 800; white-space: nowrap; }
.purchase-total strong { color: var(--navy); }
.account-form { max-width: 590px; }
.account-form > .button { min-width: 190px; }
.account-empty { padding: 54px 24px; text-align: center; border: 1px dashed #bdcada; border-radius: 12px; }
.empty-mark { width: 55px; height: 55px; margin: 0 auto 15px; display: grid; place-items: center; color: var(--white); background: var(--navy); border-radius: 12px; font-size: 1.4rem; font-weight: 800; }
.account-empty h3 { margin: 0 0 7px; color: var(--navy); }
.account-empty p { max-width: 500px; margin: 0 auto 20px; color: var(--muted); }

@media (max-width: 920px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-person { display: none; }
  .account-nav { grid-template-columns: repeat(4, minmax(max-content, 1fr)); overflow-x: auto; }
  .account-nav #account-logout { margin: 0; border: 0; border-radius: 8px; }
  .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .auth-page { min-height: 0; padding: 35px 16px 55px; }
  .auth-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .account-page { padding-bottom: 55px; }
  .account-hero { padding: 34px 0; }
  .account-hero-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .account-layout { width: min(calc(100% - 28px), var(--container)); padding-top: 20px; gap: 18px; }
  .account-nav { display: flex; }
  .account-nav button, .account-nav a { width: auto; flex: 0 0 auto; }
  .account-panel { padding: 21px 16px; }
  .panel-heading { align-items: flex-start; flex-direction: column; }
  .library-grid { grid-template-columns: 1fr; }
  .purchase-card { align-items: flex-start; flex-direction: column; gap: 15px; }
  .purchase-total { width: 100%; justify-items: start; }
  .faq-heading { margin-bottom: 25px; text-align: left; }
  .faq-item h3 button { min-height: 64px; padding: 16px 0; gap: 15px; font-size: .91rem; }
  .faq-answer p { padding: 0 44px 18px 0; font-size: .86rem; }
}
.combo-product-info { padding: 15px; }
.combo-product-info h3 { min-height: 44px; margin: 5px 0 13px; font-family: "Poppins", sans-serif; font-size: .93rem; line-height: 1.35; }
.combo-package-label { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; }
.combo-package { width: 100%; height: 38px; margin-top: 5px; padding: 0 28px 0 9px; appearance: none; color: var(--ink); background: var(--ice); border: 1px solid var(--line); border-radius: 7px; font-size: .76rem; }
.combo-package-description { min-height: 34px; margin: 7px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.35; }
.combo-add-button { width: 100%; min-height: 40px; margin-top: 10px; color: var(--white); background: var(--navy); border: 0; border-radius: 7px; font-size: .8rem; font-weight: 800; cursor: pointer; }
.combo-add-button:hover { background: var(--blue); }
.combo-add-button.remove { color: #a03232; background: #fff1f1; }
.combo-no-results { padding: 60px 20px; text-align: center; color: var(--muted); }
.combo-no-results strong { color: var(--navy); font-size: 1.15rem; }
.combo-no-results p { margin: 4px 0 0; }
.combo-summary { position: sticky; top: 226px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 14px 40px rgba(18,43,73,.08); }
.combo-summary-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.combo-summary-title h2 { margin: 0; font-family: "Poppins", sans-serif; font-size: 1.35rem; letter-spacing: -.035em; }
.combo-count-badge { width: 34px; height: 34px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-weight: 800; }
.combo-summary-items { max-height: 210px; margin: 20px 0 16px; overflow-y: auto; border-block: 1px solid var(--line); }
.combo-empty { margin: 0; padding: 22px 4px; color: var(--muted); font-size: .85rem; text-align: center; }
.combo-summary-item { padding: 12px 2px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.combo-summary-item:last-child { border-bottom: 0; }
.combo-summary-item strong { max-width: 190px; display: block; font-size: .82rem; line-height: 1.25; }
.combo-summary-item span { color: var(--muted); font-size: .72rem; }
.combo-summary-product { min-width: 0; display: flex; align-items: center; gap: 9px; }
.combo-summary-product > div:last-child { min-width: 0; }
.combo-summary-thumb { width: 42px; height: 42px; flex: 0 0 auto; overflow: hidden; border-radius: 7px; background-color: var(--navy); background-position: center; background-repeat: no-repeat; background-size: cover; }
.combo-summary-actions { display: flex; align-items: center; gap: 7px; }
.combo-summary-item b { color: var(--navy); font-size: .78rem; white-space: nowrap; }
.combo-summary-item button { width: 26px; height: 26px; color: #9b3c3c; background: #fff1f1; border: 0; border-radius: 50%; cursor: pointer; }
.combo-summary-next { padding: 11px 12px; color: #31527e; background: #edf3ff; border-radius: 8px; font-size: .78rem; line-height: 1.4; }
.combo-totals { margin: 16px 0; }
.combo-totals > div { margin-bottom: 7px; display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .84rem; }
.combo-totals dd { margin: 0; color: var(--ink); font-weight: 700; }
.combo-totals .savings dd { color: #15814a; }
.combo-totals .grand-total { margin-top: 13px; padding-top: 13px; align-items: flex-end; border-top: 1px solid var(--line); color: var(--navy); font-weight: 800; }
.combo-totals .grand-total dd { font-family: "Poppins", sans-serif; font-size: 1.55rem; }
.combo-checkout { width: 100%; }
.combo-checkout:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.combo-summary > small { display: block; margin-top: 10px; color: var(--muted); font-size: .67rem; text-align: center; }

@media (max-width: 1250px) {
  .header-logout { width: 42px; padding: 0; justify-content: center; }
  .header-logout span { display: none; }
}

@media (max-width: 1100px) {
  .desktop-nav, .header-actions > .search-box, .account-button { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 76px; padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 4px; background: var(--white); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: .25s; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .mobile-menu > a, .mobile-menu > button { padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-weight: 700; }
  .mobile-category-links { padding: 6px 0 12px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px; }
  .mobile-category-links a { color: var(--muted); font-size: .82rem; }
  .mobile-search { width: 100%; margin-bottom: 10px; }
  .combo-card { grid-template-columns: 1fr; gap: 42px; }
  .discount-steps { max-width: 680px; }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .steps-list li:nth-child(2) { border-right: 1px solid var(--line); border-radius: 0 14px 0 0; }
  .steps-list li:nth-child(3) { border-top: 0; border-radius: 0 0 0 14px; }
  .steps-list li:first-child { border-radius: 14px 0 0 0; }
  .steps-list li:last-child { border-top: 0; border-radius: 0 0 14px 0; }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-column:last-child { grid-column: 2; }
  #category-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid, .subcategory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ebook-layout { gap: 40px; }
  .combo-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .combo-shop-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
}

@media (max-width: 900px) {
  .combo-progress-section { top: 68px; }
  .combo-shop-layout { grid-template-columns: 1fr; }
  .combo-summary { position: static; grid-row: 1; }
  .combo-summary-items { max-height: 170px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .topbar { font-size: .72rem; }
  .header-inner { height: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 1.1rem; }
  .header-logout { width: 42px; padding: 0; justify-content: center; }
  .header-logout span { display: none; }
  .mobile-menu { top: 68px; }
  .section { padding: 66px 0; }
  .section-heading { align-items: center; }
  .section-heading h2, .combo-copy h2, .how-heading h2 { font-size: 2rem; }
  .product-track, .category-row .product-track { grid-auto-columns: 76vw; }
  .combo-section { padding-block: 0; }
  .combo-card { width: 100%; padding: 54px 16px; border-radius: 0; }
  .combo-copy { width: min(calc(100% - 16px), 560px); margin-inline: auto; }
  .discount-steps { gap: 5px; align-items: end; overflow-x: auto; padding-bottom: 5px; }
  .discount-steps div, .discount-steps div:nth-child(2), .discount-steps div:nth-child(3), .discount-steps div:nth-child(4), .discount-steps div.best { min-width: 88px; min-height: 150px; }
  .discount-steps div:nth-child(2) { min-height: 165px; }
  .discount-steps div:nth-child(3) { min-height: 180px; }
  .discount-steps div:nth-child(4) { min-height: 195px; }
  .discount-steps div.best { min-height: 215px; }
  .categories-intro { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }
  #category-sections { width: min(calc(100% - 32px), var(--container)); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card, .category-card-content { min-height: 230px; }
  .category-card-content { padding: 17px; }
  .category-card h3 { font-size: 1rem; }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li:first-child, .steps-list li:nth-child(2), .steps-list li:nth-child(3), .steps-list li:last-child { min-height: auto; padding: 24px; border: 1px solid var(--line); border-bottom: 0; border-radius: 0; }
  .steps-list li:first-child { border-radius: 14px 14px 0 0; }
  .steps-list li:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .step-icon { margin-bottom: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .catalog-hero { padding: 42px 0; }
  .catalog-hero p { margin-left: 0; }
  .product-grid, .subcategory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-grid .book-cover, .product-card-content { min-height: 260px; }
  .subcategory-card, .subcategory-card-content { min-height: 260px; }
  .ebook-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; grid-row: 1; }
  .ebook-preview { max-width: 360px; margin-inline: auto; }
  .combo-page-hero { padding: 42px 0 48px; }
  .combo-page-hero h1 { font-size: 2.75rem; }
  .combo-progress-section { position: static; }
  .combo-progress-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .combo-progress-heading p { text-align: left; }
  .combo-progress-tier small { display: none; }
  .combo-filters, .combo-products { grid-template-columns: 1fr; }
  .combo-catalog-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .cart-button { padding-inline: 8px; }
  .cart-button > span { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .button-primary { width: 100%; }
  .carousel-controls { display: none; }
  .product-track, .category-row .product-track { grid-auto-columns: 84vw; }
  #category-sections, .product-grid, .subcategory-grid { grid-template-columns: 1fr; }
  .product-grid .book-cover, .product-card-content { min-height: 280px; }
  .subcategory-card, .subcategory-card-content { min-height: 280px; }
  .category-card, .category-card-content { min-height: 255px; }
  .mobile-category-links { grid-template-columns: 1fr; max-height: 180px; overflow-y: auto; }
  .purchase-row { align-items: stretch; flex-direction: column; }
  .cart-item { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cart-item-info h2 { font-size: .98rem; }
  .cart-item-cover { padding: 9px; }
  .cart-item-cover .cover-kicker { font-size: .48rem; }
  .cart-item-cover .cover-title { font-size: .77rem; }
  .cart-item-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-column:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.whatsapp-support {
  position: fixed; z-index: 60;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: #137a43; color: #fff;
  box-shadow: 0 4px 16px rgba(10,31,56,.24);
}
.whatsapp-support svg { width: 28px; height: 28px; }
.whatsapp-support:hover { background: #0d6335; }
.whatsapp-support:focus-visible { outline: 3px solid #142B49; outline-offset: 3px; }
@media (max-width: 600px) {
  .whatsapp-support { right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
  .whatsapp-support svg { width: 26px; height: 26px; }
}

/* Prévia editorial da loja */
.ebook-preview { padding-block: clamp(48px, 7vw, 92px); background: #f0f5fc; color: #142b49; }
.ebook-preview-heading { max-width: 660px; margin-inline: auto; text-align: center; }
.ebook-preview-heading h2 { margin: .3em 0; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.12; letter-spacing: -.035em; }
.ebook-preview-heading > p:last-child, .ebook-preview-footer p { color: #415873; }
.ebook-preview-hint { display: none; }
.ebook-preview-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.5vw, 28px); max-width: 940px; list-style: none; padding: 4px 4px 12px; margin: 24px auto 0; }
.ebook-preview-pages:focus-visible { outline: 2px solid #3478f6; outline-offset: 3px; }
.ebook-preview-pages figure { margin: 0; background: #fff; border: 1px solid #d5e2f1; border-radius: 17px; overflow: hidden; box-shadow: 0 6px 16px #142b4912; }
.ebook-preview-pages img { display: block; width: 100%; height: auto; aspect-ratio: 760 / 1075; object-fit: contain; background: #f8faff; }
.ebook-preview-pages figcaption { display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid #e1eaf5; font-size: .9rem; font-weight: 700; }
.ebook-preview-pages figcaption span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #dce8fa; color: #142b49; font-size: .78rem; }
.ebook-preview-footer { margin: 16px auto 0; max-width: 600px; text-align: center; }
.ebook-preview-footer .button { margin-top: 12px; }
@media (max-width: 650px) {
  .ebook-preview-hint { display: block; text-align: center; margin: 18px 0 0; font-size: .85rem; color: #415873; }
  .ebook-preview-pages { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #7595bd #dce8fa; margin-top: 10px; padding-bottom: 14px; }
  .ebook-preview-pages li { scroll-snap-align: start; }
}

/* No celular, o texto do banner não encolhe junto com a arte. */
.hero-mobile-copy { display: none; }
.hero-banner-picture { display: block; }
@media (max-width: 800px) {
  .hero-image-only { background: linear-gradient(150deg, #041a38, #021127 64%); }
  .hero-mobile-copy { display: block; position: relative; z-index: 1; width: min(100% - 36px, 550px); margin-inline: auto; padding: clamp(28px, 6vw, 48px) 0 15px; color: #fff; text-align: center; }
  .hero-mobile-eyebrow { margin: 0 0 12px; color: #93c0ff; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
  .hero-mobile-copy h1 { margin: 0; color: #fff; font-size: clamp(1.65rem, 6.2vw + .55rem, 3.25rem); line-height: 1.12; letter-spacing: -.04em; }
  .hero-mobile-copy h1 span { color: #79b4ff; }
  .hero-mobile-description { margin: 13px auto 17px; max-width: 36ch; font-size: 1rem; line-height: 1.5; color: #e1edff; }
  .hero-mobile-copy .hero-mobile-button { min-height: 48px; border-radius: 12px; background: #175bc7; color: #fff; }
  .hero-mobile-benefits { margin: 13px 0 0; color: #d7e8ff; font-size: .82rem; line-height: 1.55; }
  .hero-banner-picture { width: min(calc(100% - 36px), 570px); margin: 0 auto 26px; border: 1px solid #17345a; border-radius: 12px; overflow: hidden; }
  .hero-image-only .hero-banner-cta { display: none; }
}

/* Ajuda opcional para quem quer comprar com orientação. */
.purchase-help { background: #f0f5fc; padding-block: clamp(34px, 6vw, 74px); scroll-margin-top: 96px; }
.purchase-help-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px 44px; padding: clamp(22px, 5vw, 54px); background: #fff; border: 1px solid #cddff3; border-radius: 22px; box-shadow: 0 8px 28px #142b4910; }
.purchase-help-copy h2 { margin: .3em 0 .45em; color: #142b49; font-size: clamp(1.55rem, 4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.16; }
.purchase-help-copy > h2 + p { margin: 0; max-width: 58ch; color: #304764; font-size: 1rem; line-height: 1.65; }
.purchase-help-actions { display: grid; gap: 9px; text-align: center; }
.purchase-help-whatsapp { min-height: 54px; padding-inline: 17px; background: #116442; color: #fff; text-align: center; font-size: 1rem; line-height: 1.3; border-radius: 10px; }
.purchase-help-whatsapp:hover { background: #0b5034; }
.purchase-help-continue { min-height: 44px; display: grid; place-items: center; padding-block: 5px; color: #164c9a; font-size: .94rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.purchase-help a:focus-visible { outline: 3px solid #3478f6; outline-offset: 4px; }
@media (max-width: 760px) {
  .purchase-help-card { grid-template-columns: 1fr; }
}

.purchase-tutorial { grid-column: 1 / -1; min-width: 0; border: 1px solid #cddff3; border-radius: 14px; background: #f0f5fc; color: #142b49; }
.purchase-tutorial > summary { display: flex; align-items: center; gap: .7rem; padding: 10px 15px; min-height: 50px; color: #164c9a; font-weight: 700; cursor: pointer; list-style: none; }
.purchase-tutorial > summary::-webkit-details-marker { display: none; }
.purchase-tutorial > summary:focus-visible { outline: 3px solid #3478f6; outline-offset: 3px; border-radius: 14px; }
.purchase-tutorial-icon { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #dce8fa; font-size: .7rem; }
.purchase-tutorial-content { padding: 0 14px 16px; text-align: center; }
.purchase-tutorial-content p { margin: 4px auto 12px; color: #304764; max-width: 60ch; }
.purchase-tutorial-content video { display: block; width: min(100%, 324px, 45dvh); height: auto; aspect-ratio: 9/16; margin-inline: auto; background: #142b49; border-radius: 12px; }

/* Tutorial desktop: painel compacto */
@media (min-width: 900px) {
  .purchase-help-card:has(.purchase-tutorial[open]) {
    grid-template-columns: minmax(0,1fr) minmax(0,420px);
    grid-template-rows: 1fr 1fr;
    column-gap: clamp(26px,5vw,72px);
    row-gap: 16px;
  }
  .purchase-help-card:has(.purchase-tutorial[open]) .purchase-help-copy { grid-column: 1; grid-row: 1; align-self: end; }
  .purchase-help-card:has(.purchase-tutorial[open]) .purchase-help-actions { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; }
  .purchase-tutorial[open] { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .purchase-tutorial-content video { width: min(100%,390px,56dvh); }
}

.purchase-help-guide { display: none; }
@media (min-width: 900px) {
  .purchase-help-card:has(.purchase-tutorial[open]) { grid-template-rows: auto auto; align-content: center; }
  .purchase-help-card:has(.purchase-tutorial[open]) .purchase-help-copy { align-self: end; }
  .purchase-help-card:has(.purchase-tutorial[open]) .purchase-help-guide {
    display: grid; gap: 10px; margin: 22px 0 4px; padding: 0; list-style: none;
  }
  .purchase-help-guide li {
    display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 12px;
    padding: 11px 13px; border: 1px solid #dce8fa; border-radius: 12px; background: #f0f5fc;
  }
  .purchase-help-guide-number {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: #dce8fa; color: #164c9a; font-weight: 750;
  }
  .purchase-help-guide strong { display: block; color: #142b49; font-size: 1rem; }
  .purchase-help-guide p { margin: 2px 0 0; color: #304764; font-size: .88rem; line-height: 1.4; }
}

/* Fundo leve da ajuda */
.purchase-help {
  background-color: #f0f5fc;
  background-image: radial-gradient(ellipse at 15% 24%, #dceaffaa, transparent 54%), radial-gradient(ellipse at 90% 92%, #dce9fb95, transparent 50%), radial-gradient(circle, #164c9a13 1px, transparent 1.5px);
  background-size: auto, auto, 20px 20px;
}

.package-option .package-bonus-badge { display:block; margin:.18rem 0; color:#11573b; font-weight:750; }
.package-bonus-preview { padding:10px 13px; margin:-3px 0 3px; background:#eef5ff; border:1px solid #cddff3; border-radius:10px; color:#142b49; }
.package-bonus-preview summary { cursor:pointer; color:#164c9a; font-weight:700; }
.package-bonus-preview summary:focus-visible { outline:2px solid #3478f6; outline-offset:3px; }
.package-bonus-preview strong { display:block; margin-top:8px; }
.package-bonus-preview p { margin:4px 0 0; font-size:.9rem; line-height:1.55; }
.library-bonus-card { border-color:#bdd4f7; background:#f0f5fc; }
.library-bonus-mark { display:grid; place-items:center; align-self:start; min-height:42px; padding:0 8px; border-radius:10px; background:#dce8fa; color:#142b49; font-size:.84rem; font-weight:750; }

/* Previa ampliada da home */
#modelo-do-ebook {
  max-width: none;
  margin-inline: 0;
  padding-block: clamp(32px, 4.1vw, 62px);
}
#modelo-do-ebook > .container { width: min(calc(100% - 40px), 1280px); max-width: none; }
#modelo-do-ebook .ebook-preview-pages {
  max-width: none;
  gap: clamp(12px,1.55vw,22px);
  margin-top: clamp(18px,2.2vw,30px);
  padding: 0 0 10px;
}
#modelo-do-ebook .ebook-preview-footer { margin-top: 12px; }
@media (max-width: 760px) {
 #modelo-do-ebook > .container { width: calc(100% - 26px); }
 #modelo-do-ebook .ebook-preview-pages { grid-auto-columns: min(92%,440px); margin-top: 10px; padding-bottom: 14px; }
}


/* Destaque do brinde dentro do banner */
.hero-gift {
 box-sizing: border-box; display: flex; flex-direction: column; justify-content: center;
 margin: 0; padding: clamp(5px,.55vw,10px) clamp(7px,.7vw,14px);
 border: 1px solid #ffe39c; border-radius: clamp(8px,.7vw,13px);
 background: linear-gradient(145deg,#ffedbd,#ffd298); color:#142b49; text-align:center;
 box-shadow: 0 4px 16px #00112e55; line-height:1.2;
}
.hero-gift span { font-size: clamp(.6875rem,.82vw,1rem); font-weight: 650; }
.hero-gift strong { font-size: clamp(.8125rem,1.18vw,1.45rem); font-weight: 850; text-transform: uppercase; }
.hero-gift-desktop { position:absolute; z-index:1; left:26.9%; top:61.65%; width:16.35%; min-height:8.7%; }
.hero-gift-mobile { display:none; }
@media(max-width:800px){
 .hero-gift-desktop{display:none;}
 .hero-gift-mobile{display:flex;width:min(100%,360px);margin:0 auto 16px;padding:10px 12px;}
 .hero-gift-mobile span{font-size:.88rem;}
 .hero-gift-mobile strong{font-size:1.04rem;}
}

/* Ritmo vertical da home */
.home-main {
 --home-spacing: clamp(24px, 3.4vw, 44px);
}
.home-main > section.section { padding-block: var(--home-spacing); }
.home-main > .categories-section .categories-intro { margin-bottom: clamp(22px, 2.3vw, 34px); }
.home-main > .faq-section { padding-block-end: clamp(30px, 3.6vw, 48px); }
@media (max-width:800px) {
 .home-main > .hero .hero-banner-picture { margin-bottom: 18px; }
}

/* Menos respiro antes do titulo da galeria */
#modelo-do-ebook { padding-block-start: clamp(22px, 2.5vw, 36px); }
