: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: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  overflow: hidden;
  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: 8px; border: 0; background: transparent; box-shadow: none; font-weight: 900; }
.site-logo { height: 78px; flex: 0 0 auto; max-width: min(31vw, 330px); overflow: hidden; }
.brand-picture { display: inline-flex; width: 54px; height: 54px; flex: 0 0 auto; }
.brand-logo {
  width: auto;
  height: 56px;
  max-width: 260px;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}
.brand-logo-main {
  width: auto;
  height: 56px;
  max-height: 56px;
  max-width: 150px;
  object-fit: contain;
}
.brand-logo-child {
  width: auto;
  height: 58px;
  max-height: 58px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.site-header .brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.site-header .brand-logo-main { max-width: 150px; }
.site-header .brand-logo-child { width: auto; height: 58px; max-width: 170px; }
.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; align-items: center; gap: clamp(16px, 2.2vw, 28px); margin-left: auto; color: #34302b; font-weight: 800; font-size: 14px; line-height: 1; text-transform: uppercase; }
.desktop-nav a { white-space: nowrap; }
.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-slider {
  cursor: grab;
  touch-action: pan-y;
}
.hero-slider.dragging { cursor: grabbing; }
.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,.46) 0%, rgba(21,25,35,.18) 38%, rgba(21,25,35,.04) 64%, rgba(21,25,35,0) 100%);
}
.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: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px clamp(18px, 4vw, 56px) 14px;
  background: #fff;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.quick-categories a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 8px;
  flex: 0 0 clamp(180px, calc((100vw - 192px) / 6), 280px);
  height: 178px;
  padding: 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(21,25,35,0) 0%, rgba(21,25,35,.08) 42%, rgba(21,25,35,.68) 100%),
    var(--cat-img),
    #f5f1e8;
  background-size: 100% 100%, contain, auto;
  background-position: center center;
  background-repeat: no-repeat;
  scroll-snap-align: start;
  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 {
  padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 56px);
  background: #fff8ec;
}
.neyno-image-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: auto;
  border: 1px solid rgba(198,148,69,.36);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(143,38,53,.12);
}
.neyno-image-wrap img {
  width: 100%;
  object-fit: contain;
  object-position: center;
  min-width: 0;
}

.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: 8px;
  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); }

.events-section { background: #fbfaf7; }
.content-page main { background: #fff; }
.content-page-hero {
  display: grid;
  gap: 10px;
  padding-top: clamp(42px, 7vw, 82px);
  padding-bottom: clamp(22px, 4vw, 38px);
  background: #fbfaf7;
}
.content-page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}
.event-grid,
.blog-grid {
  display: grid;
  gap: 22px;
}
.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.event-card,
.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(21,25,35,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.event-card:hover,
.blog-card:hover {
  transform: translateY(-3px);
  border-color: #d5cabc;
  box-shadow: 0 20px 44px rgba(21,25,35,.11);
}
.event-cover,
.blog-cover {
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
}
.event-cover { aspect-ratio: 16 / 10; padding: 10px; }
.blog-cover { aspect-ratio: 16 / 9; padding: 10px; }
.event-cover-link,
.blog-cover-link { display: block; background: var(--soft); }
.event-body,
.blog-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}
.event-type,
.blog-meta span:first-child {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.event-card h3,
.blog-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}
.event-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.event-meta,
.blog-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.blog-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 4px;
}
.event-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: contain;
  background: var(--soft);
}
.event-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
}
.blog-comments {
  display: grid;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}
.reader-comment {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}
.reader-comment span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}
.reader-comment em {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}
.muted-text,
.comment-pending {
  color: var(--muted);
  font-size: 13px;
}
.comment-pending {
  padding: 9px 10px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: #f0fff5;
}
.comment-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.comment-form label { color: var(--muted); font-size: 13px; font-weight: 800; }
.comment-form input { margin-top: 6px; }
.comment-form .small-btn { width: 100%; }
.blog-detail-shell {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 5vw, 56px);
  background: #fbfaf7;
}
.blog-detail {
  overflow: hidden;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21,25,35,.09);
}
.blog-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  padding: 14px;
  background: var(--soft);
}
.blog-detail-content {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 46px);
}
.blog-detail-content h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
}
.blog-detail-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.event-detail-shell {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 5vw, 56px);
  background: #fbfaf7;
}
.event-detail {
  overflow: hidden;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21,25,35,.09);
}
.event-detail-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  padding: 14px;
  background: var(--soft);
}
.event-detail-content {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 46px);
}
.event-detail-content h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
}
.event-detail-summary {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.event-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.event-detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: contain;
  background: var(--soft);
}
.simple-footer .footer-bottom { justify-content: center; }

.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: minmax(0, .95fr) minmax(360px, 1.05fr); gap: 24px; background: linear-gradient(135deg, #f7f1e8, #fffaf2); }
.contact-info, .map { min-height: 390px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: 0 16px 38px rgba(21,25,35,.08); }
.contact-info { padding: clamp(24px, 4vw, 42px); }
.contact-lead { max-width: 640px; margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.contact-info ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 24px 0; list-style: none; color: var(--muted); line-height: 1.6; }
.contact-info li { position: relative; min-width: 0; padding: 14px 14px 14px 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.contact-info li::before {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.contact-info li:nth-child(1)::before { content: "T"; }
.contact-info li:nth-child(2)::before { content: "W"; background: var(--green); }
.contact-info li:nth-child(3)::before { content: "@"; background: var(--accent); }
.contact-info li:nth-child(4)::before { content: "I"; background: linear-gradient(135deg, var(--accent), var(--gold)); }
.contact-info li:nth-child(5)::before { content: "A"; background: var(--gold); }
.contact-info li:last-child { grid-column: 1 / -1; }
.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 { min-height: 42px; padding: 10px 14px; 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: 8px;
  color: #fff;
  background: #fffaf2;
}
.footer-logo .brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 160px;
  object-fit: contain;
}
.footer-logo .brand-logo-child { width: 92px; height: 54px; max-width: none; object-fit: contain; background: #fff; }
.footer-logo .brand-name { color: #fff; }
.footer p { max-width: 520px; color: #b8b0a7; line-height: 1.7; overflow-wrap: anywhere; word-break: break-word; }
.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 { max-width: 100%; border: 0; padding: 0; color: #b8b0a7; background: transparent; text-align: left; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; }
.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; }
.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(560px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 44px rgba(21,25,35,.16);
}
.cookie-notice strong { display: block; font-size: 15px; }
.cookie-notice p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.cookie-actions [data-cookie-choice="accept"] { color: #fff; border-color: var(--ink); background: var(--ink); }

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .event-grid, .blog-grid { grid-template-columns: repeat(2, 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; }
  .site-header { height: 70px; min-height: 70px; max-height: 70px; }
  .site-logo { height: 70px; max-width: min(58vw, 260px); gap: 6px; }
  .brand-logo-main, .site-header .brand-logo-main { height: 42px; max-height: 42px; max-width: 118px; }
  .brand-logo-child, .site-header .brand-logo-child { width: auto; height: 46px; max-height: 46px; max-width: 132px; }
  .hero { height: 380px; max-height: 390px; }
  .hero-photo { object-fit: cover; object-position: center center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(21,25,35,.2), rgba(21,25,35,.08)); }
  .trust-band { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-section { grid-template-columns: 1fr; }
  .contact-info ul { 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) {
  .cookie-notice {
    grid-template-columns: 1fr;
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; }
  .announcement-bar { padding: 7px 10px; font-size: 11px; }
  .announcement-bar span:nth-child(n+3) { display: none; }
  .site-header { height: 70px; min-height: 70px; max-height: 70px; padding-inline: 12px; }
  .mobile-nav { grid-template-columns: 1fr; }
  .brand-picture { width: 42px; height: 42px; }
  .site-logo { height: 70px; max-width: min(58vw, 230px); gap: 6px; }
  .brand-logo { width: auto; height: 38px; max-width: 140px; }
  .brand-logo-main, .site-header .brand-logo-main { height: 42px; max-height: 42px; max-width: 96px; }
  .brand-logo-child, .site-header .brand-logo-child { width: auto; height: 46px; max-height: 46px; max-width: 118px; }
  .footer-logo .brand-logo { height: 48px; max-width: 132px; }
  .footer-logo .brand-logo-child { width: 78px; height: 46px; }
  .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 { gap: 12px; padding: 14px 12px 8px; }
  .quick-categories a { flex-basis: 240px; height: 158px; padding: 12px; }
  .quick-categories a:nth-child(even) { padding-right: 12px; }
  .quick-categories span { font-size: 10px; }
  .quick-categories strong { font-size: 14px; line-height: 1.18; }
  .neyno-section { padding: 36px 12px; }
  .neyno-image-wrap img { min-width: 0; }
  .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; }
  .event-grid, .blog-grid { grid-template-columns: 1fr; }
  .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; }
  .site-logo { max-width: min(54vw, 205px); }
  .brand-logo-main, .site-header .brand-logo-main { max-width: 82px; }
  .brand-logo-child, .site-header .brand-logo-child { width: auto; height: 42px; max-width: 96px; }
  h1 { font-size: 29px; }
}

/* === FINAL DELIVERY FIXES: header, logos, Turkish contact and real icons === */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 99999 !important;
  display: grid !important;
  grid-template-columns: minmax(245px, 360px) minmax(0, 1fr) minmax(54px, 84px) !important;
  align-items: center !important;
  gap: clamp(12px, 2vw, 28px) !important;
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  overflow: hidden !important;
  padding: 0 clamp(22px, 4vw, 58px) !important;
  background: rgba(255, 255, 255, .96) !important;
  backdrop-filter: blur(18px) !important;
}
.site-header .site-logo,
.site-header .brand {
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  height: 78px !important;
  max-width: 360px !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}
.site-header .brand-logo,
.site-header .brand-logo-main,
.site-header .brand-logo-child {
  display: block !important;
  width: auto !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  box-shadow: none !important;
}
.site-header .brand-logo-main {
  height: 64px !important;
  max-height: 64px !important;
  max-width: 165px !important;
}
.site-header .brand-logo-child {
  height: 62px !important;
  max-height: 62px !important;
  max-width: 165px !important;
  border-radius: 6px !important;
  background: transparent !important;
}
.desktop-nav {
  justify-self: center !important;
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: clamp(22px, 2.5vw, 36px) !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
}
.desktop-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  letter-spacing: -.01em !important;
}
.header-actions {
  justify-self: end !important;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

.contact-info ul.contact-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  padding: 0 !important;
  margin: 28px 0 !important;
  list-style: none !important;
  color: var(--muted) !important;
}
.contact-info ul.contact-list li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 66px !important;
  min-width: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: #fffdf9 !important;
  overflow-wrap: anywhere !important;
}
.contact-info ul.contact-list li::before {
  content: none !important;
  display: none !important;
}
.contact-info ul.contact-list li:last-child {
  grid-column: 1 / -1 !important;
}
.contact-real-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: var(--ink) !important;
}
.contact-real-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}
.contact-real-icon.whatsapp-icon { background: #25d366 !important; }
.contact-real-icon.mail-icon { background: var(--accent) !important; }
.contact-real-icon.instagram-icon { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4) !important; }
.contact-real-icon.address-icon { background: var(--gold) !important; }
.contact-info .social-svg { width: 18px; height: 18px; }

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(230px, 310px) minmax(0, 1fr) minmax(54px, 74px) !important;
    padding-inline: 22px !important;
  }
  .desktop-nav { gap: clamp(14px, 1.8vw, 24px) !important; }
  .desktop-nav a { font-size: 13px !important; }
  .site-header .brand-logo-main { height: 58px !important; max-height: 58px !important; max-width: 145px !important; }
  .site-header .brand-logo-child { height: 56px !important; max-height: 56px !important; max-width: 145px !important; }
}
@media (max-width: 860px) {
  .site-header {
    display: flex !important;
    justify-content: space-between !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
  }
  .site-header .site-logo,
  .site-header .brand {
    height: 70px !important;
    max-width: min(62vw, 260px) !important;
    gap: 7px !important;
  }
  .site-header .brand-logo-main { height: 48px !important; max-height: 48px !important; max-width: 112px !important; }
  .site-header .brand-logo-child { height: 48px !important; max-height: 48px !important; max-width: 120px !important; }
  .desktop-nav { display: none !important; }
  .contact-info ul.contact-list { grid-template-columns: 1fr !important; }
  .contact-info ul.contact-list li:last-child { grid-column: auto !important; }
}
@media (max-width: 430px) {
  .site-header .site-logo,
  .site-header .brand { max-width: min(58vw, 220px) !important; gap: 5px !important; }
  .site-header .brand-logo-main { height: 42px !important; max-height: 42px !important; max-width: 92px !important; }
  .site-header .brand-logo-child { height: 42px !important; max-height: 42px !important; max-width: 100px !important; }
}

/* === HEADER CENTERING FINAL OVERRIDE === */
@media (min-width: 861px) {
  .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: sticky !important;
    top: 0 !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    padding: 0 clamp(22px, 4vw, 58px) !important;
  }
  .site-header .site-logo,
  .site-header .brand {
    position: absolute !important;
    left: clamp(22px, 4vw, 58px) !important;
    top: 0 !important;
    height: 78px !important;
    width: auto !important;
    max-width: 360px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .desktop-nav {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 auto !important;
  }
  .header-actions {
    position: absolute !important;
    right: clamp(22px, 4vw, 58px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .site-header .site-logo,
  .site-header .brand {
    max-width: 285px !important;
  }
  .desktop-nav {
    gap: clamp(12px, 1.5vw, 20px) !important;
  }
}


/* === FINAL USER REQUEST 2026-07-04: fixed header, larger balanced logos, clean printed-book category UI === */
html { scroll-padding-top: 96px !important; }
body { padding-top: 78px !important; }
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100000 !important;
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,.98) !important;
  box-shadow: 0 8px 24px rgba(21,25,35,.06) !important;
}
@media (min-width: 861px) {
  .site-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 clamp(26px, 4vw, 64px) !important;
  }
  .site-header .site-logo,
  .site-header .brand {
    position: absolute !important;
    left: clamp(58px, 5vw, 92px) !important;
    top: 0 !important;
    height: 78px !important;
    max-height: 78px !important;
    max-width: 390px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    overflow: hidden !important;
  }
  .site-header .brand-logo-main {
    height: 70px !important;
    max-height: 70px !important;
    max-width: 180px !important;
    object-fit: contain !important;
  }
  .site-header .brand-logo-child {
    height: 68px !important;
    max-height: 68px !important;
    max-width: 178px !important;
    object-fit: contain !important;
    background: transparent !important;
    border-radius: 7px !important;
  }
  .desktop-nav {
    margin: 0 auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(26px, 3vw, 44px) !important;
    transform: translateX(0) !important;
  }
  .desktop-nav a {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .header-actions {
    position: absolute !important;
    right: clamp(26px, 4vw, 64px) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .site-header .site-logo,
  .site-header .brand {
    left: 32px !important;
    max-width: 300px !important;
    gap: 8px !important;
  }
  .site-header .brand-logo-main {
    height: 62px !important;
    max-height: 62px !important;
    max-width: 142px !important;
  }
  .site-header .brand-logo-child {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 142px !important;
  }
  .desktop-nav { gap: clamp(14px, 1.8vw, 24px) !important; }
  .desktop-nav a { font-size: 13px !important; }
}
@media (max-width: 860px) {
  body { padding-top: 70px !important; }
  html { scroll-padding-top: 82px !important; }
  .site-header {
    position: fixed !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 0 14px !important;
  }
  .site-header .site-logo,
  .site-header .brand {
    height: 70px !important;
    max-width: min(64vw, 280px) !important;
    gap: 8px !important;
  }
  .site-header .brand-logo-main {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 124px !important;
  }
  .site-header .brand-logo-child {
    height: 52px !important;
    max-height: 52px !important;
    max-width: 128px !important;
  }
}
@media (max-width: 430px) {
  .site-header .brand-logo-main {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 100px !important;
  }
  .site-header .brand-logo-child {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 108px !important;
  }
}

/* Product listing: keep printed-book wording and simplified filters visually clean */
.filters select#categoryFilter option[value="all"] { text-transform: none; }
.book-facts span { white-space: nowrap; }
.product-meta, .book-facts span, .footer-badges span { text-transform: none !important; }
