:root {
  --ink: #171713;
  --ink-soft: #2b2b25;
  --paper: #f5f1e9;
  --paper-2: #ece6da;
  --white: #fffdf8;
  --muted: #77736a;
  --line: #dcd5c8;
  --gold: #b9914b;
  --gold-2: #e4c98e;
  --sage: #516c5c;
  --danger: #b94b45;
  --success: #3f7456;
  --info: #456985;
  --shadow: 0 18px 60px rgba(34, 30, 23, .11);
  --shadow-sm: 0 8px 24px rgba(34, 30, 23, .08);
  --radius: 22px;
  --radius-sm: 13px;
  --serif: "Poppins", Arial, sans-serif;
  --sans: "Poppins", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.serif { font-family: var(--serif); }
.nowrap { white-space: nowrap; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(840px, calc(100% - 40px)); }
.section { padding: 86px 0; }
.section.sm { padding: 52px 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.alt { background: var(--paper-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head h2 { margin: 0; font: 700 clamp(30px, 4vw, 48px)/1.07 var(--serif); letter-spacing: -.03em; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 620px; }
.section.dark .section-head p { color: rgba(255,255,255,.65); }
.eyebrow { margin: 0 0 13px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.display { margin: 0; font: 700 clamp(46px, 7vw, 86px)/.98 var(--serif); letter-spacing: -.055em; }
.lead { font-size: 18px; color: var(--muted); max-width: 670px; }

.announcement { background: var(--ink); color: #eee8dc; font-size: 13px; }
.announcement .container { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.announcement b { color: var(--gold-2); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,241,233,.92); border-bottom: 1px solid rgba(220,213,200,.8); backdrop-filter: blur(18px); }
.header-row { height: 76px; display: grid; grid-template-columns: auto minmax(240px, 1fr) auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold-2); font: 700 21px var(--serif); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.brand-word { font: 700 27px var(--serif); letter-spacing: -.03em; }
.nav { display: flex; justify-content: center; gap: 26px; }
.nav a { position: relative; padding: 10px 0; font-size: 14px; font-weight: 600; color: #4a4841; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; min-width: 42px; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.45); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .2s ease; }
.icon-btn:hover { transform: translateY(-1px); background: var(--white); border-color: #c5bdaF; }
.icon-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; right: -3px; top: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--gold); color: var(--white); font-size: 10px; font-weight: 800; }
.menu-btn { display: none; }
.mobile-nav { display: none; padding: 8px 0 18px; border-top: 1px solid var(--line); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 12px 0; font-weight: 600; }

.btn { min-height: 48px; border: 1px solid transparent; border-radius: 999px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 24px rgba(23,23,19,.2); }
.btn.primary:hover { background: #292922; }
.btn.gold { background: var(--gold); color: var(--white); }
.btn.outline { border-color: var(--line); background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--white); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; padding-inline: 10px; }
.btn.danger { background: #f7e6e4; color: var(--danger); border-color: #e9c4c0; }
.btn.small { min-height: 38px; padding: 0 15px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.link-arrow::after { content: "→"; transition: .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.hero { position: relative; overflow: hidden; padding: 72px 0 92px; background: radial-gradient(circle at 80% 10%, #e3dac8 0, transparent 34%), var(--paper); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.hero-copy .lead { margin: 26px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-art { min-height: 560px; position: relative; }
.hero-book { position: absolute; width: 250px; border-radius: 10px; overflow: hidden; box-shadow: 0 35px 70px rgba(28,24,18,.24); transform-origin: bottom center; }
.hero-book img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.hero-book.one { right: 102px; top: 0; transform: rotate(2deg); z-index: 3; }
.hero-book.two { right: 292px; top: 90px; transform: rotate(-10deg) scale(.84); z-index: 2; }
.hero-book.three { right: -35px; top: 115px; transform: rotate(10deg) scale(.78); z-index: 1; }
.hero-seal { position: absolute; right: 18px; bottom: 25px; width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); background: rgba(245,241,233,.9); font: 600 17px/1.15 var(--serif); text-align: center; transform: rotate(-7deg); box-shadow: var(--shadow-sm); z-index: 5; }
.hero-seal::after { content: "✦"; position: absolute; top: 16px; color: var(--gold); }

.stats-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { min-height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.stat { padding: 15px 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat b { display: block; font: 700 26px var(--serif); }
.stat span { color: var(--muted); font-size: 13px; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { min-height: 175px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.44); transition: .25s ease; }
.category-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow-sm); border-color: #cfc4b1; }
.category-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-size: 18px; }
.category-card h3 { margin: 0 0 8px; font: 700 20px var(--serif); }
.category-card p { margin: 0; color: var(--muted); font-size: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product-cover-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; border-radius: 9px; background: #ddd; box-shadow: 0 14px 30px rgba(25,22,17,.16); }
.product-cover-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-cover-wrap img { transform: scale(1.035); }
.product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: rgba(255,253,248,.92); backdrop-filter: blur(10px); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; min-height: 44px; border: 0; border-radius: 999px; background: rgba(23,23,19,.94); color: white; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.product-card:hover .quick-add { opacity: 1; transform: none; }
.product-info { padding: 16px 4px 2px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.rating { color: #7c6539; letter-spacing: 0; }
.product-card h3 { margin: 0; font: 700 20px/1.2 var(--serif); letter-spacing: -.02em; }
.product-card h3 a:hover { color: #6f582f; }
.product-card .short { margin: 8px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price { font: 700 21px var(--serif); }
.old-price { color: #999289; font-size: 12px; text-decoration: line-through; }
.installment { margin-top: 3px; color: var(--muted); font-size: 11px; }

.feature-panel { padding: 54px; border-radius: 34px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; overflow: hidden; }
.feature-panel h2 { margin: 0 0 18px; font: 700 clamp(36px,5vw,60px)/1.03 var(--serif); letter-spacing: -.04em; }
.feature-panel p { color: rgba(255,255,255,.65); }
.feature-list { display: grid; gap: 13px; margin: 28px 0; }
.feature-list div { display: flex; gap: 11px; align-items: center; }
.feature-list i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(228,201,142,.15); color: var(--gold-2); font-style: normal; font-size: 12px; }
.feature-visual { position: relative; min-height: 420px; }
.feature-visual img { position: absolute; width: 225px; border-radius: 8px; box-shadow: 0 28px 55px rgba(0,0,0,.35); }
.feature-visual img:first-child { right: 130px; top: 10px; transform: rotate(-6deg); z-index: 2; }
.feature-visual img:last-child { right: 0; top: 78px; transform: rotate(8deg) scale(.9); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote .stars { color: var(--gold); letter-spacing: 2px; }
.quote blockquote { margin: 18px 0 24px; font: 600 20px/1.45 var(--serif); }
.quote footer { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 13px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-weight: 800; }

.newsletter { padding: 54px; border: 1px solid var(--line); border-radius: 32px; background: var(--white); display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 50px; }
.newsletter h2 { margin: 0 0 12px; font: 700 38px/1.08 var(--serif); }
.newsletter p { margin: 0; color: var(--muted); }
.inline-form { display: flex; gap: 10px; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--ink); outline: none; transition: .2s; }
.input, .select { min-height: 48px; padding: 0 15px; }
.textarea { min-height: 110px; resize: vertical; padding: 14px 15px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,145,75,.12); }
.label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.form-grid .full { grid-column: 1 / -1; }
.form-help { margin-top: 6px; color: var(--muted); font-size: 11px; }

.site-footer { margin-top: 80px; background: var(--ink); color: rgba(255,255,255,.75); }
.footer-grid { padding: 65px 0 45px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.site-footer .brand-word { color: var(--white); }
.footer-about { max-width: 320px; margin: 20px 0; color: rgba(255,255,255,.55); font-size: 14px; }
.footer-title { margin: 0 0 18px; color: var(--white); font: 700 15px var(--serif); }
.footer-links { display: grid; gap: 11px; font-size: 13px; }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom { min-height: 72px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: rgba(255,255,255,.45); }
.payment-icons { display: flex; align-items: center; gap: 7px; }
.payment-icons span { min-width: 43px; height: 25px; padding: 0 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 800; }

.page-hero { padding: 62px 0 44px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.35), transparent); }
.page-hero h1 { margin: 0; font: 700 clamp(40px,6vw,68px)/1 var(--serif); letter-spacing: -.045em; }
.page-hero p { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span:not(:last-child)::after { content: "/"; margin-left: 7px; color: #bbb4a7; }

.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 42px; }
.filters { position: sticky; top: 105px; align-self: start; }
.filter-group { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.filter-list { display: grid; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 9px; color: #4e4b44; font-size: 14px; cursor: pointer; }
.check-row input { accent-color: var(--ink); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range-row input { min-width: 0; }
.catalog-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.search-box { position: relative; flex: 1; max-width: 480px; }
.search-box input { padding-left: 43px; }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.catalog-count { color: var(--muted); font-size: 13px; }
.empty-state { padding: 80px 30px; border: 1px dashed #c6bdad; border-radius: var(--radius); text-align: center; }
.empty-state h2 { margin: 0 0 8px; font: 700 30px var(--serif); }
.empty-state p { color: var(--muted); }

.product-page { padding: 60px 0 80px; }
.product-detail { display: grid; grid-template-columns: minmax(300px, .85fr) 1.15fr; gap: 76px; align-items: start; }
.product-gallery { position: sticky; top: 110px; }
.product-main-cover { max-width: 430px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 34px 65px rgba(27,23,17,.2); }
.product-main-cover img { width: 100%; }
.product-copy h1 { margin: 10px 0 12px; font: 700 clamp(43px,5vw,67px)/1.02 var(--serif); letter-spacing: -.045em; }
.product-subtitle { margin: 0 0 18px; color: var(--muted); font-size: 20px; }
.product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 13px; }
.product-rating .stars { color: var(--gold); }
.product-description { color: #565149; font-size: 16px; }
.product-buy-box { margin: 28px 0; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.product-price { display: flex; align-items: baseline; gap: 12px; }
.product-price strong { font: 700 38px var(--serif); }
.product-price del { color: var(--muted); }
.product-buy-box .installment { margin: 4px 0 18px; font-size: 13px; }
.buy-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.buy-actions .icon-btn { width: 50px; height: 50px; }
.secure-note { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; }
.product-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 25px 0; }
.fact { padding: 15px 10px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.fact b { display: block; font-size: 13px; }
.fact span { color: var(--muted); font-size: 11px; }
.benefit-list { display: grid; gap: 11px; padding: 0; list-style: none; }
.benefit-list li { display: flex; gap: 10px; }
.benefit-list li::before { content: "✓"; color: var(--success); font-weight: 800; }
.product-long { margin-top: 75px; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; }
.product-long h2 { font: 700 34px var(--serif); }
.chapter-list { counter-reset: chapter; display: grid; gap: 8px; padding: 0; list-style: none; }
.chapter-list li { counter-increment: chapter; padding: 15px; border-bottom: 1px solid var(--line); display: flex; gap: 15px; }
.chapter-list li::before { content: counter(chapter, decimal-leading-zero); color: var(--gold); font-weight: 800; }
.guarantee-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.guarantee-card h3 { margin: 0 0 10px; font: 700 26px var(--serif); }
.guarantee-card p { color: rgba(255,255,255,.62); }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 390px; gap: 42px; align-items: start; }
.cart-list { display: grid; gap: 12px; }
.cart-item { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); display: grid; grid-template-columns: 82px 1fr auto; gap: 18px; align-items: center; }
.cart-item img { width: 82px; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-sm); }
.cart-item h3 { margin: 0 0 5px; font: 700 19px var(--serif); }
.cart-item p { margin: 0; color: var(--muted); font-size: 12px; }
.item-controls { display: flex; flex-direction: column; align-items: end; gap: 14px; }
.qty { height: 36px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; }
.qty span { min-width: 28px; text-align: center; font-size: 13px; }
.remove-link { border: 0; background: transparent; color: var(--danger); font-size: 12px; }
.summary-card { position: sticky; top: 105px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.summary-card h2 { margin: 0 0 22px; font: 700 27px var(--serif); }
.summary-row { display: flex; justify-content: space-between; gap: 20px; margin: 11px 0; font-size: 14px; }
.summary-row.total { padding-top: 17px; margin-top: 17px; border-top: 1px solid var(--line); font-size: 18px; }
.summary-row.total strong { font: 700 24px var(--serif); }
.coupon-row { display: flex; gap: 8px; margin: 20px 0; }
.coupon-row .input { min-width: 0; }
.summary-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.cart-empty { padding: 80px 20px; text-align: center; }
.cart-empty .empty-icon { width: 80px; height: 80px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--paper-2); font-size: 30px; }
.cart-empty h2 { font: 700 34px var(--serif); }

.checkout-steps { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 25px 0 45px; }
.checkout-step { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.checkout-step i { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.checkout-step.active { color: var(--ink); font-weight: 700; }
.checkout-step.active i, .checkout-step.done i { background: var(--ink); border-color: var(--ink); color: var(--white); }
.checkout-step.done { color: var(--success); }
.step-line { width: 48px; height: 1px; background: var(--line); }
.checkout-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.checkout-card + .checkout-card { margin-top: 18px; }
.checkout-card h2 { margin: 0 0 21px; font: 700 27px var(--serif); }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.payment-option { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; transition: .2s; }
.payment-option:hover, .payment-option.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,145,75,.1); }
.payment-option input { position: absolute; opacity: 0; }
.payment-option b { display: block; margin-bottom: 4px; }
.payment-option span { color: var(--muted); font-size: 12px; }
.payment-icon { width: 40px; height: 40px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 10px; background: var(--paper-2); font-size: 18px; }
.checkout-items { display: grid; gap: 12px; margin-bottom: 18px; }
.checkout-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; }
.checkout-item img { width: 48px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.checkout-item b { font-size: 12px; }
.checkout-item span { color: var(--muted); font-size: 11px; }

.payment-page { padding: 42px 0 80px; }
.payment-panel { max-width: 850px; margin: 0 auto; padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.payment-panel h1 { margin: 0; font: 700 42px var(--serif); }
.pix-grid { margin-top: 30px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.fake-qr { width: 280px; aspect-ratio: 1; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 14px; display: grid; grid-template-columns: repeat(17, 1fr); gap: 2px; }
.qr-cell { background: transparent; }
.qr-cell.dark { background: var(--ink); }
.pix-code { margin: 20px 0; padding: 13px; border: 1px dashed #b9b1a3; border-radius: 10px; background: var(--paper); color: #59554d; font: 12px/1.5 monospace; word-break: break-all; }
.countdown { display: inline-flex; gap: 7px; padding: 8px 12px; border-radius: 999px; background: #f1ede5; color: var(--muted); font-size: 12px; }
.card-preview { position: relative; width: min(100%, 390px); aspect-ratio: 1.586; margin: 0 auto 30px; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, #1b1b17, #494436); color: white; box-shadow: 0 25px 45px rgba(0,0,0,.22); overflow: hidden; }
.card-preview::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(228,201,142,.25); border-radius: 50%; right: -100px; top: -110px; }
.card-chip { width: 48px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, var(--gold-2), #a47b35); }
.card-number { margin: 40px 0 22px; font-size: 22px; letter-spacing: .13em; }
.card-bottom { display: flex; justify-content: space-between; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; }
.card-bottom b { display: block; margin-top: 4px; font-size: 13px; }
.success-box { text-align: center; }
.success-icon { width: 86px; height: 86px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: #dfece3; color: var(--success); font-size: 36px; }
.success-box h1 { font: 700 48px var(--serif); }
.success-box p { color: var(--muted); }
.order-code { display: inline-block; margin: 18px 0; padding: 10px 16px; border-radius: 999px; background: var(--paper-2); font-weight: 800; }

.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; }
.account-nav { position: sticky; top: 105px; align-self: start; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); display: grid; gap: 4px; }
.account-nav a { padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.account-nav a:hover, .account-nav a.active { background: var(--paper-2); }
.account-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.account-header h1 { margin: 0; font: 700 42px var(--serif); }
.order-list { display: grid; gap: 13px; }
.order-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.order-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.order-id { font-weight: 800; }
.order-meta { color: var(--muted); font-size: 12px; }
.order-products { display: flex; gap: 8px; }
.order-products img { width: 45px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; }
.status { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.status.pago, .status.ativo { background: #deece2; color: #35654a; }
.status.pendente { background: #f5ead4; color: #866326; }
.status.cancelado, .status.inativo { background: #f5dfdd; color: #9b403a; }
.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.library-card { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.library-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 7px; }
.library-card h3 { margin: 12px 0; font: 700 17px var(--serif); }
.profile-card { max-width: 700px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }

.admin-shell { min-height: 100vh; background: #efede7; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px; background: var(--ink); color: rgba(255,255,255,.72); display: flex; flex-direction: column; }
.admin-sidebar .brand { padding: 4px 8px 28px; color: white; }
.admin-sidebar .brand-mark { background: var(--gold); color: white; }
.admin-menu { display: grid; gap: 4px; }
.admin-menu a { padding: 11px 13px; border-radius: 10px; display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 600; }
.admin-menu a:hover, .admin-menu a.active { background: rgba(255,255,255,.09); color: white; }
.admin-menu .menu-icon { width: 20px; text-align: center; color: var(--gold-2); }
.admin-sidebar-bottom { margin-top: auto; padding-top: 20px; }
.admin-sidebar-bottom a { color: rgba(255,255,255,.62); }
.admin-main { min-width: 0; }
.admin-topbar { height: 74px; padding: 0 34px; border-bottom: 1px solid #d9d5cc; background: rgba(255,255,255,.7); backdrop-filter: blur(15px); display: flex; justify-content: space-between; align-items: center; }
.admin-topbar h1 { margin: 0; font: 700 25px var(--serif); }
.admin-user { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.admin-content { padding: 30px 34px 60px; }
.admin-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-actions h2 { margin: 0; font: 700 34px var(--serif); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 24px; }
.kpi { padding: 20px; border: 1px solid #ddd8cf; border-radius: 16px; background: white; }
.kpi span { color: var(--muted); font-size: 12px; }
.kpi b { display: block; margin-top: 7px; font: 700 29px var(--serif); }
.kpi small { color: var(--success); }
.admin-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.panel { padding: 22px; border: 1px solid #ddd8cf; border-radius: 17px; background: white; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font: 700 22px var(--serif); }
.mini-chart { height: 220px; display: flex; align-items: end; gap: 11px; padding: 20px 4px 0; border-bottom: 1px solid var(--line); }
.bar-wrap { flex: 1; height: 100%; display: flex; align-items: end; }
.bar { width: 100%; min-height: 7%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--gold), #d8bd85); position: relative; }
.bar:hover::after { content: attr(data-value); position: absolute; left: 50%; top: -30px; transform: translateX(-50%); padding: 4px 7px; background: var(--ink); color: white; border-radius: 5px; font-size: 10px; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 10px; }
.activity-list { display: grid; gap: 15px; }
.activity { display: grid; grid-template-columns: 35px 1fr; gap: 11px; }
.activity-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; background: var(--paper-2); }
.activity b { display: block; font-size: 12px; }
.activity span { color: var(--muted); font-size: 11px; }
.table-wrap { overflow: auto; border: 1px solid #ddd8cf; border-radius: 16px; background: white; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.admin-table th, .admin-table td { padding: 13px 15px; border-bottom: 1px solid #ebe7df; text-align: left; font-size: 12px; }
.admin-table th { color: var(--muted); background: #faf9f6; text-transform: uppercase; letter-spacing: .07em; font-size: 10px; }
.admin-table tr:last-child td { border: 0; }
.table-product { display: flex; align-items: center; gap: 11px; }
.table-product img { width: 34px; aspect-ratio: 2/3; object-fit: cover; border-radius: 3px; }
.table-actions { display: flex; gap: 6px; }
.table-btn { width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.table-btn:hover { background: var(--paper); }
.admin-form { max-width: 760px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.danger-zone { margin-top: 25px; padding: 20px; border: 1px solid #e7c7c4; border-radius: 15px; background: #fff7f6; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; padding: 20px; background: rgba(20,20,17,.66); backdrop-filter: blur(6px); display: grid; place-items: center; }
.modal { width: min(640px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; padding: 28px; border-radius: 22px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.modal-head h2 { margin: 0; font: 700 28px var(--serif); }
.modal-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; }
.modal-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px; }

#toast-root { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 9px; }
.toast { min-width: 280px; max-width: 390px; padding: 14px 16px; border-radius: 13px; background: var(--ink); color: white; box-shadow: var(--shadow); animation: toast-in .25s ease; font-size: 13px; }
.toast.success { background: #2f6648; }
.toast.error { background: #9d403b; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 1050px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-row { grid-template-columns: auto 1fr auto; gap: 16px; }
  .hero-grid { gap: 35px; }
  .hero-art { transform: scale(.9); transform-origin: center right; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-panel { gap: 30px; }
  .catalog-layout { grid-template-columns: 200px 1fr; gap: 28px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 340px; gap: 25px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container, .container.narrow { width: min(100% - 28px, 1180px); }
  .section { padding: 62px 0; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-art { min-height: 480px; transform: scale(.84); transform-origin: center top; margin-bottom: -70px; }
  .hero-book.one { right: calc(50% - 125px); }
  .hero-book.two { right: calc(50% + 55px); }
  .hero-book.three { right: calc(50% - 320px); }
  .hero-seal { right: calc(50% - 270px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-panel, .newsletter { grid-template-columns: 1fr; }
  .feature-visual { min-height: 360px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
  .filter-group { padding: 16px; margin: 0; border: 1px solid var(--line); border-radius: 14px; }
  .product-detail { grid-template-columns: 1fr; gap: 45px; }
  .product-gallery { position: static; }
  .product-main-cover { max-width: 390px; }
  .product-long { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .pix-grid { grid-template-columns: 1fr; }
  .fake-qr { margin: auto; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow: auto; }
  .account-nav a { white-space: nowrap; }
  .admin-shell { grid-template-columns: 76px 1fr; }
  .admin-sidebar { padding-inline: 10px; }
  .admin-sidebar .brand-word, .admin-menu .menu-label, .admin-sidebar-bottom .menu-label { display: none; }
  .admin-sidebar .brand { justify-content: center; padding-inline: 0; }
  .admin-menu a { justify-content: center; }
  .admin-content { padding-inline: 20px; }
  .admin-topbar { padding-inline: 20px; }
  .admin-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .announcement .container { min-height: 44px; font-size: 11px; }
  .header-row { height: 66px; }
  .brand-word { font-size: 23px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions .account-label { display: none; }
  .display { font-size: 46px; }
  .hero { padding-top: 38px; }
  .hero-art { min-height: 390px; transform: scale(.68); margin: 0 -20px -110px; }
  .stats-grid { min-height: 0; }
  .stat { padding: 20px 12px !important; text-align: center; }
  .category-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .category-card { grid-column: span 2; min-height: 150px; }
  .product-card h3 { font-size: 16px; }
  .product-card .short { display: none; }
  .product-info { padding-top: 10px; }
  .quick-add { opacity: 1; transform: none; font-size: 11px; min-height: 38px; }
  .price { font-size: 18px; }
  .old-price { display: none; }
  .feature-panel { padding: 30px 22px; border-radius: 24px; }
  .feature-visual { transform: scale(.8); transform-origin: left top; min-height: 300px; width: 125%; }
  .newsletter { padding: 30px 22px; }
  .inline-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { padding: 20px 0; flex-direction: column; align-items: start; }
  .catalog-topbar { align-items: stretch; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .product-copy h1 { font-size: 42px; }
  .product-facts { grid-template-columns: repeat(2,1fr); }
  .buy-actions { grid-template-columns: 1fr; }
  .buy-actions .icon-btn { width: 100%; }
  .cart-item { grid-template-columns: 65px 1fr; align-items: start; }
  .cart-item img { width: 65px; }
  .item-controls { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .checkout-steps { gap: 4px; }
  .checkout-step span { display: none; }
  .step-line { width: 30px; }
  .form-grid, .payment-options { grid-template-columns: 1fr; }
  .payment-panel { padding: 25px 18px; }
  .fake-qr { width: 230px; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; flex-direction: row; align-items: center; overflow: auto; padding: 8px; }
  .admin-sidebar .brand { display: none; }
  .admin-menu { display: flex; }
  .admin-sidebar-bottom { margin: 0; padding: 0; display: flex; }
  .admin-menu a, .admin-sidebar-bottom a { min-width: 44px; padding: 11px; }
  .admin-topbar { height: auto; padding-block: 15px; }
  .admin-content { padding: 20px 12px 50px; }
  .admin-actions { align-items: stretch; flex-direction: column; }
  .admin-actions .btn { width: 100%; }
  .account-header { align-items: start; flex-direction: column; }
  .section-head { align-items: start; flex-direction: column; }
}

/* Extensões da versão PHP. A identidade visual original foi preservada. */
body { font-weight: 400; letter-spacing: -.01em; }
.display, .section-head h2, .page-hero h1, .brand-word, .product-info h3, .footer-title,
.product-summary h1, .admin-actions h2, .admin-topbar h1 { font-family: var(--sans); }
.display, .page-hero h1, .product-summary h1 { font-weight: 800; }
.display em { color: var(--gold); font-style: italic; }
.quick-add-form { position: absolute; left: 9px; right: 9px; bottom: 9px; z-index: 4; }
.quick-add-form .quick-add { position: static; width: 100%; }
.cover-link { display: block; width: 100%; height: 100%; }
.cover-link img { width: 100%; height: 100%; object-fit: cover; }
.filter-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; color: #4e4b44; font-size: 13px; }
.filter-list a:hover, .filter-list a.active { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.filter-list a span { color: var(--muted); font-size: 11px; }
.catalog-sort .select { min-width: 210px; }
.catalog-products { grid-template-columns: repeat(3, 1fr); }
.product-page-hero { padding-bottom: 22px; }
.detail-cover { position: relative; max-width: 430px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 34px 65px rgba(27,23,17,.2); }
.detail-cover img { width: 100%; }
.format-strip { max-width: 430px; margin: 18px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 11px; }
.format-strip span { display: inline-flex; align-items: center; gap: 6px; }
.product-summary h1 { margin: 8px 0 10px; font-size: clamp(42px,5vw,66px); line-height: 1.02; letter-spacing: -.055em; }
.product-summary .subtitle { margin: 0 0 18px; color: var(--muted); font-size: 20px; }
.detail-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 23px; font-size: 12px; }
.detail-rating a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.detail-description { color: #565149; font-size: 16px; }
.detail-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin: 24px 0; }
.detail-facts span { padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 10px; text-align: center; }
.detail-facts b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 12px; }
.detail-price { margin: 24px 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.detail-price .price { font-size: 38px; }
.detail-price small { display: block; margin-top: 6px; color: var(--muted); }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.security-list { display: grid; gap: 7px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.detail-content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.detail-content-grid h2 { margin: 0 0 24px; font-size: clamp(34px,4vw,50px); line-height: 1.08; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefit-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); display: flex; gap: 10px; }
.benefit-card i { color: var(--success); font-style: normal; font-weight: 800; }
.chapter-card { padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.chapter-card h3 { margin: 0 0 18px; font-size: 25px; }
.chapter-card ol { margin: 0; padding: 0; list-style: none; counter-reset: chapter; display: grid; gap: 4px; }
.chapter-card li { counter-increment: chapter; display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); font-size: 13px; }
.chapter-card li::before { content: counter(chapter, decimal-leading-zero); color: var(--gold-2); font-weight: 800; }
.author-panel { padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); display: grid; grid-template-columns: 90px 1fr; gap: 28px; align-items: center; }
.author-panel h2 { margin: 0 0 10px; font-size: 34px; }
.author-avatar { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-weight: 800; }
.author-avatar.large { width: 86px; height: 86px; margin: 0 auto 18px; font-size: 22px; }
.rating-summary { display: grid; justify-items: end; }
.rating-summary b { font-size: 38px; }
.rating-summary small { color: var(--muted); }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.how-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); }
.how-card > span { color: var(--gold); font-weight: 800; font-size: 12px; }
.how-card h3 { margin: 28px 0 8px; font-size: 21px; }
.how-card p { margin: 0; color: var(--muted); font-size: 14px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.blog-card > a { display: block; height: 230px; overflow: hidden; background: var(--paper-2); }
.blog-card > a img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: .4s; }
.blog-card:hover > a img { transform: scale(1.04); }
.blog-card > div { padding: 22px; }
.blog-card h2, .blog-card h3 { margin: 6px 0 10px; line-height: 1.25; }
.blog-card h2 { font-size: 24px; }
.blog-card h3 { font-size: 19px; }
.blog-card p { color: var(--muted); font-size: 13px; }
.blog-index { grid-template-columns: repeat(2,1fr); }
.flash-stack { position: relative; z-index: 40; display: grid; gap: 8px; padding-top: 12px; }
.flash { padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); font-size: 13px; }
.flash.success { border-color: #b8d6c1; background: #edf7f0; color: var(--success); }
.flash.error { border-color: #e7c7c4; background: #fff0ee; color: var(--danger); }
.flash.info { border-color: #c5d5e2; background: #eff6fb; color: var(--info); }
.qty-control { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.qty-control form:first-child { height: 34px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-control form:first-child button { width: 32px; height: 100%; border: 0; background: transparent; }
.qty-control form:first-child span { min-width: 25px; text-align: center; }
.summary-row.success { color: var(--success); }
.summary-total { margin: 18px 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.summary-total b { font-size: 26px; }
.coupon-form { margin: 18px 0; }
.coupon-form > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.summary-security { display: flex; justify-content: center; gap: 9px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.checkout-section { padding-top: 0; }
.card-fields[hidden] { display: none !important; }
.secure-notice { margin: 12px 0 20px; padding: 13px 15px; border-radius: 13px; background: var(--paper-2); display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11px; }
.terms-check { display: flex; gap: 10px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.terms-check input { margin-top: 3px; accent-color: var(--ink); }
.terms-check a { text-decoration: underline; }
.checkout-submit { min-height: 56px; }
.guarantee-mini { margin-top: 18px; padding: 15px; border-radius: 13px; background: var(--paper-2); display: grid; gap: 3px; }
.guarantee-mini span { color: var(--muted); font-size: 11px; }
.payment-status-icon { width: 82px; height: 82px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 35px; font-weight: 700; }
.payment-status-icon.pending { background: #f5ead4; color: #866326; }
.payment-status-icon.success { background: #deece2; color: var(--success); }
.payment-status-icon.error { background: #f5dfdd; color: var(--danger); }
.payment-lead { margin: 15px auto 26px; }
.pix-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center; max-width: 620px; margin: 28px auto; text-align: left; }
.pix-qr { width: 260px; aspect-ratio: 1; padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: white; display: grid; grid-template-columns: repeat(21,1fr); gap: 1px; }
.pix-info { display: grid; gap: 9px; }
.pix-info span, .pix-info small { color: var(--muted); }
.pix-info b { font-size: 35px; }
.copy-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.payment-actions { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.payment-actions.centered { justify-content: center; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.library-meta { display: flex; justify-content: space-between; gap: 8px; margin: -5px 0 12px; color: var(--muted); font-size: 10px; }
.account-nav form button { width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--danger); text-align: left; font-weight: 600; }
.token-library { margin-top: 24px; }
.auth-body { background: var(--paper); }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(360px,560px) 1fr; }
.auth-panel { padding: 50px clamp(28px,6vw,80px); background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.auth-brand { margin-bottom: 48px; align-self: flex-start; }
.auth-panel h1 { margin: 0 0 10px; font-size: clamp(38px,5vw,58px); line-height: 1.05; }
.auth-form { display: grid; gap: 10px; margin-top: 24px; }
.auth-row { display: flex; justify-content: space-between; gap: 15px; margin: 5px 0 12px; color: var(--muted); font-size: 11px; }
.auth-row input { accent-color: var(--ink); }
.auth-switch { margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch a { color: var(--ink); font-weight: 700; }
.auth-art { position: relative; overflow: hidden; padding: 70px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; justify-content: space-between; }
.auth-art h2 { margin: 0; max-width: 650px; font-size: clamp(40px,6vw,80px); line-height: .98; letter-spacing: -.055em; }
.auth-art p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.65); }
.auth-books { height: 330px; position: relative; }
.auth-books img { position: absolute; width: 180px; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.auth-books img:first-child { left: 16%; bottom: -30px; transform: rotate(-9deg); }
.auth-books img:last-child { left: 45%; bottom: 15px; transform: rotate(7deg); }
.demo-credentials { margin-top: 24px; padding: 15px; border-radius: 13px; background: var(--paper-2); display: grid; gap: 4px; color: var(--muted); font-size: 10px; }
.demo-credentials b { color: var(--ink); }
.category-grid.expanded { grid-template-columns: repeat(4,1fr); }
.category-card small { display: block; margin-top: 12px; color: var(--gold); font-weight: 700; }
.author-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.author-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; transition: .2s; }
.author-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.author-card h3 { margin: 0 0 8px; font-size: 21px; }
.author-card p { color: var(--muted); font-size: 13px; }
.author-card small { color: var(--gold); font-weight: 700; }
.article-hero { padding: 75px 0 38px; background: linear-gradient(180deg,rgba(255,255,255,.42),transparent); }
.article-hero h1 { margin: 16px 0; font-size: clamp(42px,7vw,78px); line-height: 1.02; letter-spacing: -.055em; }
.article-cover { width: 100%; max-height: 480px; object-fit: cover; object-position: center 35%; border-radius: 24px; box-shadow: var(--shadow); }
.article-content { padding: 45px 0; font-size: 17px; line-height: 1.85; }
.article-content h2 { margin: 38px 0 12px; font-size: 32px; line-height: 1.2; }
.article-cta { padding: 35px; border-radius: 25px; background: var(--ink); color: var(--white); }
.article-cta h2 { margin: 0 0 10px; font-size: 34px; }
.article-cta p { color: rgba(255,255,255,.65); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-layout h2 { margin: 0 0 12px; font-size: 42px; }
.contact-cards { margin-top: 28px; display: grid; gap: 10px; }
.contact-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); display: grid; gap: 4px; }
.contact-card span, .contact-card a { color: var(--muted); font-size: 13px; }
.track-form .btn { margin-top: 20px; }
.track-result { margin-top: 20px; }
.empty-state.compact { margin-top: 20px; padding: 40px 20px; }
.order-item-list { display: grid; gap: 12px; margin: 18px 0; }
.legal-content { font-size: 16px; line-height: 1.8; }
.legal-content h2 { margin: 34px 0 10px; font-size: 30px; line-height: 1.2; }
.legal-content h2:first-child { margin-top: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.value-grid div { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); display: grid; gap: 6px; }
.value-grid span { color: var(--muted); font-size: 13px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { color: var(--muted); }
.search-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 12vh; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; border: 0; background: rgba(23,23,19,.72); backdrop-filter: blur(8px); }
.search-dialog { position: relative; width: min(720px,calc(100% - 28px)); padding: 38px; border-radius: 26px; background: var(--paper); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.search-dialog h2 { margin: 0 0 25px; font-size: 38px; line-height: 1.12; }
.search-close { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 23px; }
.search-form-large { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.search-suggestions a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 11px; font-weight: 600; }
.admin-mobile-menu { display: none; border: 0; background: transparent; }
.inline-status-form .select { min-width: 130px; min-height: 36px; padding: 0 9px; }
.table-actions form { margin: 0; }
.table-btn { display: inline-grid; place-items: center; padding: 0; color: var(--ink); }
.admin-product-form { max-width: none; margin-bottom: 18px; }
.settings-grid .full { grid-column: 1/-1; }
.admin-checks { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.admin-checks input { accent-color: var(--ink); }
.admin-inline-create { margin-bottom: 18px; display: grid; grid-template-columns: repeat(4,1fr) auto; gap: 12px; align-items: end; }
.admin-inline-create .grow { grid-column: span 2; }
.admin-form.wide { max-width: 1000px; }
.admin-form h3 { margin: 5px 0 18px; font-size: 22px; }
.admin-form h3:not(:first-child) { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.seo-checklist { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.seo-checklist span { padding: 12px; border-radius: 11px; background: var(--paper-2); color: var(--success); font-size: 12px; font-weight: 600; }
.admin-user .muted { font-size: 10px; }

@media (max-width: 1050px) {
  .catalog-products { grid-template-columns: repeat(2,1fr); }
  .blog-grid, .author-grid { grid-template-columns: repeat(2,1fr); }
  .admin-inline-create { grid-template-columns: repeat(2,1fr); }
  .admin-inline-create .grow { grid-column: span 1; }
}
@media (max-width: 820px) {
  .detail-content-grid, .contact-layout { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .category-grid.expanded { grid-template-columns: repeat(2,1fr); }
  .author-grid { grid-template-columns: repeat(2,1fr); }
  .pix-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pix-info { justify-items: center; }
  .admin-inline-create { grid-template-columns: 1fr 1fr; }
  .seo-checklist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .detail-actions, .benefit-grid, .detail-facts, .copy-field, .search-form-large { grid-template-columns: 1fr; }
  .author-panel { grid-template-columns: 1fr; text-align: center; }
  .author-panel .author-avatar { margin: auto; }
  .category-grid.expanded, .author-grid { grid-template-columns: 1fr; }
  .catalog-products { grid-template-columns: 1fr 1fr; }
  .blog-index { grid-template-columns: 1fr; }
  .pix-qr { width: 230px; }
  .payment-actions { justify-content: center; }
  .value-grid { grid-template-columns: 1fr; }
  .search-dialog { padding: 30px 20px; }
  .search-dialog h2 { font-size: 29px; }
  .admin-inline-create, .seo-checklist { grid-template-columns: 1fr; }
  .admin-inline-create .btn { width: 100%; }
}
.contact-admin-list{display:grid;gap:16px}.contact-admin-card p{line-height:1.75;max-width:920px}.contact-admin-card .table-actions{margin-top:18px}.admin-product-form input[type=file]{padding:10px;background:var(--paper)}
