:root {
  --ink: #151923;
  --muted: #6d665d;
  --line: #e6ddd0;
  --paper: #fbf7ef;
  --soft: #f2eadf;
  --accent: #8f2635;
  --accent-dark: #5f1b28;
  --gold: #c69445;
  --green: #1f9d5a;
  --danger: #b92f2f;
  --shadow: 0 18px 50px rgba(21, 25, 35, .12);
  --mobile-nav-top: 78px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  max-width: 100%;
  overflow-x: hidden;
}
body.panel-open { overflow: hidden; }
body.panel-open .quick-contact { display: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.announcement-bar {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 54px);
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(21, 25, 35, .08);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(18px);
}
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; box-shadow: none; font-weight: 900; }
.brand-picture { display: inline-flex; width: 54px; height: 54px; flex: 0 0 auto; }
.brand-logo {
  width: auto;
  height: 54px;
  max-width: 260px;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
.site-header .brand-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.brand-logo[hidden] { display: none; }
.brand-text { display: inline-flex; flex-direction: column; gap: 2px; white-space: nowrap; line-height: 1; }
.brand-name { color: var(--ink); font-size: 22px; font-weight: 900; letter-spacing: 0; }
.brand-sub { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 22px; color: #34302b; font-weight: 800; font-size: 13px; text-transform: uppercase; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn, .menu-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.cart-icon {
  width: 19px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}
.cart-icon::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 15px;
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
}
.menu-btn { display: none; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }
.mobile-nav {
  position: fixed;
  top: var(--mobile-nav-top);
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr 1fr;
  max-height: calc(100dvh - var(--mobile-nav-top));
  overflow: auto;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 18px 34px rgba(21, 25, 35, .12);
}
.mobile-nav a { padding: 15px 20px; background: #fff; font-weight: 700; }
.mobile-nav.open { display: grid; }

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 450px;
  max-height: 470px;
  min-height: 0;
  scroll-margin-top: 88px;
  overflow: hidden;
  background: #151923;
}
.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21,25,35,.8) 0%, rgba(21,25,35,.52) 46%, rgba(21,25,35,.14) 100%),
    radial-gradient(circle at 82% 18%, rgba(198,148,69,.16), transparent 28%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 36px clamp(22px, 6vw, 74px);
  color: #fff;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}
h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.05; letter-spacing: 0; }
.hero-content h1 { max-width: 660px; font-size: clamp(32px, 3.9vw, 48px); line-height: 1.05; }
.hero-copy { max-width: 540px; margin: 12px 0 0; color: rgba(255,255,255,.8); font-size: 14px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-actions .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21,25,35,.16); }
.btn.primary { color: #fff; background: var(--accent); }
.btn.secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.hero-controls {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 22px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.slider-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}
.slider-dots {
  position: absolute;
  left: clamp(22px, 6vw, 74px);
  bottom: 31px;
  z-index: 5;
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
}
.slider-dots button.active { width: 28px; background: #fff; }

.quick-categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  gap: 16px;
  overflow: hidden;
  padding: 20px clamp(18px, 4vw, 56px) 10px;
  background: #fff;
}
.quick-categories a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 8px;
  min-width: 0;
  min-height: 150px;
  padding: 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(21,25,35,.08), rgba(21,25,35,.58)),
    var(--cat-img),
    linear-gradient(135deg, #6d2e3a, #151923);
  background-size: cover;
  background-position: center center;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.quick-categories a:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(21,25,35,.12); filter: saturate(1.04); }
.quick-categories span { font-size: 11px; font-weight: 900; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.quick-categories strong { margin-top: 4px; font-size: 16px; line-height: 1.15; overflow-wrap: anywhere; }

.neyno-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,248,236,.94)),
    radial-gradient(circle at 86% 18%, rgba(244,207,133,.48), transparent 26%),
    #fff8ec;
}
.neyno-copy { max-width: 720px; }
.neyno-copy h2 { max-width: 680px; }
.neyno-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.neyno-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.neyno-visual { display: flex; justify-content: center; min-width: 0; }
.neyno-card {
  width: min(330px, 100%);
  padding: 14px;
  border: 1px solid rgba(198,148,69,.42);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(143,38,53,.12);
}
.neyno-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #fff8ec;
}
.neyno-card span {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.shop-shortcuts {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px clamp(18px, 4vw, 56px) 8px;
  background: #fff;
}
.shop-shortcuts a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.shop-shortcuts a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.trend-showcase {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 56px);
  background: #fff;
}
.trend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.book-feature-card {
  overflow: hidden;
  border: 1px solid rgba(120, 80, 40, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(30, 20, 10, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.book-feature-card:hover { transform: translateY(-4px); box-shadow: 0 22px 52px rgba(30, 20, 10, .12); }
.book-feature-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  padding: 24px;
  background: linear-gradient(135deg, #f8efe2, #fffaf2);
}
.book-feature-cover img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.18));
}
.book-feature-content { display: grid; gap: 12px; padding: 22px; }
.book-feature-category { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.book-feature-content h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.book-feature-content p { min-height: 66px; margin: 0; color: var(--muted); line-height: 1.55; }
.book-feature-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.book-feature-bottom strong { font-size: 20px; font-weight: 900; }
.book-feature-bottom .small-btn { min-width: 112px; padding: 0 14px; }

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust-band article { padding: 24px clamp(18px, 3vw, 38px); background: #fff; }
.trust-band strong { display: block; margin-bottom: 5px; }
.trust-band span { color: var(--muted); font-size: 14px; }

.section, .contact-section, .campaign-section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.section-actions > span { color: var(--muted); font-weight: 700; }
.filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 12px;
  margin-bottom: 24px;
}
label span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input, select { height: 46px; padding: 0 13px; }
textarea { padding: 12px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(143, 38, 53, .14); }
.check-filter { align-self: end; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.check-filter input { width: 17px; height: 17px; }
.check-filter span { margin: 0; color: var(--ink); white-space: nowrap; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  padding: 0;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: #d1c3b3; box-shadow: var(--shadow); }
.product-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  background: linear-gradient(140deg, var(--tone, #efe4d0), #151923 100%);
}
.product-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.book-cover .product-photo {
  width: min(74%, 230px);
  height: 248px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 18px 34px rgba(0,0,0,.28);
}
.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.product-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; }
.product-meta { color: var(--muted); font-size: 13px; font-weight: 800; }
.product-title { min-height: 48px; margin: 0; font-size: 18px; line-height: 1.3; }
.book-author { margin: 0; color: var(--accent); font-size: 14px; font-weight: 800; }
.product-desc { min-height: 42px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.book-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.book-facts span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fffaf4;
  font-size: 12px;
  font-weight: 800;
}
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin: 2px 0; }
.price { font-size: 20px; font-weight: 900; }
.old-price { color: #978f85; text-decoration: line-through; }
.mini-discount { color: var(--accent); font-size: 13px; font-weight: 900; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.small-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}
.small-btn.add { color: #fff; border-color: var(--ink); background: var(--ink); }
.empty-state { padding: 34px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); background: #fff; }
.section-link { font-weight: 900; color: var(--accent); }
.campaign-products { background: #fff; }
.compact-grid .product-card:nth-child(n+9) { display: none; }

.campaign-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, #151923, #5f1b28);
}
.campaign-section p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.76); line-height: 1.7; }
.campaign-section .eyebrow { color: #f3d39b; }
.campaign-section .btn.primary { background: #fff; color: var(--ink); }

.info-drawer-section {
  display: grid;
  gap: 10px;
  padding: clamp(38px, 6vw, 76px) clamp(18px, 4vw, 56px);
  background: #fff;
}
details { border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }
summary { padding: 18px 20px; font-size: 17px; font-weight: 800; cursor: pointer; }
details p { max-width: 900px; margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.7; }

.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; background: var(--soft); }
.contact-info, .map { min-height: 390px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.contact-info { padding: clamp(24px, 4vw, 40px); }
.contact-info ul { display: grid; gap: 13px; padding: 0; margin: 20px 0; list-style: none; color: var(--muted); line-height: 1.6; }
.contact-info strong { color: var(--ink); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a,
.instagram-inline,
.footer-instagram,
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.socials a { padding: 10px 13px; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.socials a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(21,25,35,.1); }
.social-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.social-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: inline-block;
}
.instagram-inline { color: var(--accent); font-weight: 900; }
.instagram-inline .social-icon,
.instagram-btn .social-icon,
.footer-instagram .social-icon,
.instagram-cta .social-icon {
  color: #fff;
  background: linear-gradient(135deg, #8f2635, #c69445);
}
.instagram-btn {
  color: #fff;
  border-color: rgba(143,38,53,.16) !important;
  background: linear-gradient(135deg, var(--accent), #b46b56) !important;
}
.whatsapp-btn .social-icon { color: #fff; background: var(--green); }
.map-card { display: grid; grid-template-rows: minmax(250px, 1fr) auto; overflow: hidden; }
.map-frame { width: 100%; height: 100%; min-height: 250px; border: 0; background: transparent; }
.map-note { display: grid; gap: 6px; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.map-note strong { color: var(--ink); }
.map-note a { width: max-content; font-weight: 800; color: var(--accent); }

.footer { display: block; color: #ddd; background: #151923; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) repeat(4, minmax(140px, .65fr));
  gap: clamp(22px, 4vw, 52px);
  padding: clamp(38px, 6vw, 68px) clamp(18px, 4vw, 56px);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: #fff;
  background: #fffaf2;
}
.footer-logo .brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 270px;
  object-fit: contain;
}
.footer-logo .brand-name { color: #fff; }
.footer p { max-width: 520px; color: #b8b0a7; line-height: 1.7; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span { padding: 8px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: #fff; background: rgba(255,255,255,.06); font-size: 13px; font-weight: 800; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { margin: 0 0 8px; color: #fff; font-size: 15px; }
.footer-col a, .footer-col button { border: 0; padding: 0; color: #b8b0a7; background: transparent; text-align: left; line-height: 1.5; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-contact p { margin: 4px 0 0; }
.newsletter p { margin: 0; }
.footer-cta { margin-top: 6px; padding: 10px 12px !important; border-radius: 8px; color: var(--ink) !important; background: #fff !important; font-weight: 900; }
.footer-instagram { color: #fff !important; font-weight: 800; }
.newsletter-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
}
.newsletter-actions .footer-cta { margin-top: 0; }
.newsletter-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}
.instagram-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), #b46b56) !important;
}
.footer-cta:hover,
.footer-instagram:hover { transform: translateY(-2px); }
.footer-bottom { padding: 18px clamp(18px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.12); color: #9c958d; font-size: 13px; }

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(560px, 100vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header, .cart-footer { padding: 18px; border-bottom: 1px solid var(--line); }
.cart-header { display: flex; align-items: center; justify-content: space-between; }
.cart-header span { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.close-btn { font-size: 28px; line-height: 1; }
.cart-body { flex: 1; min-height: 0; overflow: auto; background: #fbfaf7; }
.cart-list-section, .order-form { margin: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-list-section h3, .order-form h3 { margin: 0 0 12px; font-size: 18px; }
.cart-items { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) 34px; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-thumb { width: 72px; height: 94px; border-radius: 8px; object-fit: contain; background: var(--soft); }
.cart-item h4 { margin: 0 0 5px; font-size: 15px; line-height: 1.25; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.qty { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.qty button, .remove-item { border: 1px solid var(--line); border-radius: 7px; background: #fff; font-weight: 900; }
.qty button { width: 30px; height: 30px; }
.remove-item { width: 34px; height: 34px; color: var(--danger); }
.cart-empty { padding: 18px; color: var(--muted); line-height: 1.6; border: 1px dashed var(--line); border-radius: 8px; background: #fff; }
.order-form label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; font-weight: 800; }
.order-form input { height: 44px; }
.order-form textarea { min-height: 62px; }
.order-form input, .order-form textarea { margin-top: 6px; }
.checkout-note { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form-alert { min-height: 20px; margin: 0; color: var(--danger); font-weight: 800; font-size: 13px; }
.cart-footer { border-top: 1px solid var(--line); border-bottom: 0; background: #fff; box-shadow: 0 -10px 26px rgba(21,25,35,.06); }
.total-row { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: 18px; }
.whatsapp-order { width: 100%; background: var(--green); color: #fff; }
.overlay { position: fixed; inset: 0; z-index: 70; display: none; background: rgba(21,25,35,.42); }
.overlay.open { display: block; }

.quick-contact { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; gap: 10px; }
.quick-btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 999px; box-shadow: var(--shadow); color: #fff; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.quick-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(21,25,35,.22); filter: saturate(1.08); }
.quick-btn.phone { background: linear-gradient(135deg, #263c6e, #151923); }
.quick-btn.whats { background: var(--green); }
.quick-btn svg { width: 30px; height: 30px; }
.quick-btn.phone svg { width: 26px; height: 26px; }

.product-detail-page { background: #f7f1e8; }
.product-detail-shell { width: min(1240px, 100%); margin: 0 auto; padding: clamp(18px, 4vw, 42px) clamp(14px, 4vw, 44px) 64px; }
.back-link { display: inline-flex; margin-bottom: 18px; color: var(--muted); font-weight: 800; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(22px, 4vw, 52px); align-items: start; }
.detail-gallery { display: grid; gap: 12px; }
.detail-main-image { aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #efe4d0, #151923); }
.detail-main-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.book-detail-cover { display: grid; place-items: center; padding: clamp(18px, 4vw, 42px); }
.book-detail-cover img { width: min(76%, 520px); height: 100%; border-radius: 8px; object-fit: contain; box-shadow: 0 22px 44px rgba(0,0,0,.24); }
.detail-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.detail-thumbs button { aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.detail-thumbs button.active { border-color: var(--accent); }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-info { position: sticky; top: 104px; display: grid; gap: 16px; }
.detail-info h1 { margin: 0; font-size: clamp(30px, 5vw, 56px); line-height: .98; letter-spacing: 0; }
.detail-author { margin: 0; color: var(--accent); font-weight: 900; font-size: 18px; }
.detail-desc { margin: 0; color: var(--muted); line-height: 1.7; }
.detail-long-desc {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.detail-long-desc h2 { font-size: 20px; line-height: 1.2; }
.detail-long-desc p { margin: 0; color: var(--muted); line-height: 1.7; }
.detail-discount { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 13px; font-weight: 900; }
.detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.detail-facts div { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.detail-facts strong { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.detail-facts span { font-weight: 900; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-notes { display: grid; gap: 8px; margin: 4px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.5; }
.related-section { padding-left: 0; padding-right: 0; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 80; transform: translateY(14px); opacity: 0; pointer-events: none; padding: 14px 16px; border-radius: 8px; color: #fff; background: var(--ink); font-weight: 900; box-shadow: 0 18px 40px rgba(0,0,0,.2); transition: opacity .2s ease, transform .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .quick-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
  .detail-info { position: static; }
}
@media (max-width: 860px) {
  .announcement-bar { flex-wrap: wrap; gap: 6px 18px; }
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .hero { height: 380px; max-height: 390px; }
  .hero-photo { object-position: center center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(21,25,35,.72), rgba(21,25,35,.5)); }
  .trust-band { grid-template-columns: 1fr 1fr; }
  .neyno-section { grid-template-columns: 1fr; }
  .neyno-visual { justify-content: flex-start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; }
  .campaign-section { align-items: flex-start; flex-direction: column; }
  .trend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero,
  .hero-slider,
  .slider,
  .slider-wrapper,
  .slider-track,
  .slide,
  .hero-slide {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero {
    height: 370px;
    max-height: 370px;
    min-height: 0;
  }

  .hero-slider,
  .hero-slide {
    left: 0;
    right: 0;
  }

  .slide,
  .hero-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 370px;
  }

  .hero-photo,
  .slide img,
  .hero-slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .hero-content,
  .slide-content {
    width: 100%;
    max-width: 100%;
    padding: 22px 20px 54px;
    box-sizing: border-box;
  }

  .hero-content h1,
  .slide-content h1 {
    max-width: 100%;
    font-size: clamp(24px, 6.6vw, 28px);
    line-height: 1.08;
  }

  .hero-copy,
  .slide-copy {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
  }

  .hero-actions,
  .slide-actions {
    width: 100%;
    max-width: 290px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions a,
  .slide-actions a,
  .hero-actions button,
  .slide-actions button {
    width: min(100%, 280px);
    max-width: 280px;
    min-height: 38px;
    padding: 0 13px;
    box-sizing: border-box;
    font-size: 13px;
  }

  .hero-controls,
  .slider-arrows,
  .hero-arrows {
    right: 16px;
    bottom: 15px;
    max-width: calc(100% - 32px);
  }

  .slider-dots,
  .hero-dots {
    left: 20px;
    bottom: 24px;
    max-width: calc(100% - 120px);
    overflow: hidden;
  }
}
@media (max-width: 620px) {
  .announcement-bar { padding: 7px 10px; font-size: 11px; }
  .announcement-bar span:nth-child(n+3) { display: none; }
  .site-header { min-height: 66px; padding-inline: 12px; }
  .mobile-nav { grid-template-columns: 1fr; }
  .brand-picture { width: 42px; height: 42px; }
  .brand-logo { width: auto; height: 42px; max-width: 190px; }
  .site-header .brand-logo { height: 42px; max-width: 190px; }
  .footer-logo .brand-logo { height: 52px; max-width: 230px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10px; letter-spacing: 1.3px; }
  h1 { max-width: 340px; font-size: 32px; line-height: 1.06; }
  .hero { height: 370px; max-height: 370px; }
  .hero-content { width: 100%; padding: 22px 20px 54px; }
  .hero-content .eyebrow { margin-bottom: 6px; font-size: 9px; line-height: 1.25; }
  .hero-content h1 { max-width: 100%; font-size: 25px; line-height: 1.07; }
  .hero-copy { max-width: 100%; margin-top: 8px; font-size: 13px; line-height: 1.4; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; width: auto; max-width: 290px; margin-top: 12px; }
  .hero-actions .btn { width: min(100%, 280px); max-width: 280px; min-height: 38px; padding: 0 13px; font-size: 13px; }
  .hero-controls { right: 15px; bottom: 14px; }
  .slider-btn { width: 34px; height: 34px; font-size: 24px; }
  .slider-dots { left: 20px; bottom: 22px; }
  .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px 12px 4px; }
  .quick-categories a { min-height: 128px; padding: 12px; }
  .quick-categories a:nth-child(even) { padding-right: 56px; }
  .quick-categories span { font-size: 10px; }
  .quick-categories strong { font-size: 14px; line-height: 1.18; }
  .neyno-section { padding: 36px 12px; }
  .neyno-actions { flex-direction: column; max-width: 340px; }
  .neyno-actions .btn { width: 100%; }
  .neyno-card { width: min(280px, 100%); }
  .shop-shortcuts { justify-content: flex-start; flex-wrap: wrap; padding-inline: 12px; }
  .shop-shortcuts a { font-size: 12px; }
  .trend-showcase { padding: 36px 12px; }
  .trend-grid { grid-template-columns: 1fr; gap: 14px; }
  .book-feature-cover { height: 280px; padding: 20px; }
  .book-feature-content p { min-height: 0; }
  .book-feature-bottom { align-items: flex-start; flex-direction: column; }
  .filters, .trust-band { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-actions { width: 100%; justify-content: space-between; }
  .check-filter span { white-space: normal; }
  .product-image { min-height: 220px; }
  .product-photo { height: 220px; }
  .book-cover .product-photo { height: 198px; width: min(78%, 170px); }
  .product-body { padding: 13px; }
  .product-title { min-height: 42px; font-size: 16px; }
  .product-desc { display: none; }
  .card-actions { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .contact-info, .map { min-height: 320px; }
  .cart-list-section, .order-form { margin: 10px; padding: 12px; }
  .cart-item { grid-template-columns: 62px minmax(0, 1fr) 32px; gap: 9px; padding: 9px; }
  .cart-thumb { width: 62px; height: 82px; }
  .cart-item h4 { font-size: 14px; }
  .quick-contact { right: 12px; bottom: 12px; }
  .quick-btn { width: 50px; height: 50px; }
  .cart-footer { padding: 14px; }
  .product-detail-shell { padding-inline: 14px; }
  .detail-facts { grid-template-columns: 1fr; }
  .detail-actions .btn { width: 100%; }
}
@media (max-width: 430px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .icon-btn, .menu-btn { width: 40px; height: 40px; }
  .header-actions { gap: 7px; }
  h1 { font-size: 29px; }
  .quick-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
