:root {
  --bg: #f3f4f6;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --brand: #2563eb;
  --brand-2: #2563eb;
  --accent: #c5a059;
  --line: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --radius-xl: 10px;
  --radius-md: 6px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  background: var(--bg);
  min-height: 100vh;
}

.site-header {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.site-brand {
  position: relative;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-brand::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 0.78em;
  margin: 0 0.22em 0.04em 0;
  border: 2px solid var(--brand);
  border-radius: 3px;
  transform: rotate(-8deg);
  vertical-align: middle;
}

.site-brand::after {
  content: "";
  position: absolute;
  left: 0.72em;
  bottom: 0.15em;
  width: 0.42em;
  height: 0.42em;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0.28em 0.28em 0 -0.12em #ffffff, 0.28em 0.28em 0 -0.07em var(--accent);
}

.menu-toggle {
  position: absolute;
  left: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  background: #ffffff;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: var(--shadow);
}

.site-nav {
  position: absolute;
  top: 64px;
  left: 0;
  display: none;
  width: min(360px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.site-nav.is-open { display: block; }

.site-nav-links {
  display: grid;
  gap: 6px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  min-width: 0;
}

.site-nav a,
.site-nav .cat-btn {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
  min-height: 44px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.site-nav a:hover,
.site-nav .cat-btn:hover,
.site-nav .cat-btn.active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 244px;
  gap: 24px;
  width: min(1400px, 94vw);
  margin: 28px auto;
}

.sidebar {
  background: linear-gradient(180deg, #fff6f3, #f2ddd9);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}

.logo {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  text-transform: lowercase;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--brand);
}

.side-copy {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
  font-weight: 600;
}

.category-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.cat-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 11px 14px;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.cat-btn:hover {
  transform: translateX(4px);
  border-color: var(--brand);
  box-shadow: 0 8px 18px rgba(143, 49, 64, 0.16);
}

.cat-btn:active {
  transform: translateX(2px) scale(0.99);
  box-shadow: 0 0 0 3px rgba(143, 49, 64, 0.12);
}

.cat-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.promo-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 2px 0;
  animation: floatRail 5.5s ease-in-out infinite;
}

.promo-rail-head h2 {
  margin: 6px 0 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.promo-rail-list {
  display: grid;
  gap: 12px;
}

.promo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: reveal 380ms ease both;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.promo-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 22px 40px rgba(68, 24, 32, 0.18);
}

.promo-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-card-body {
  padding: 10px 12px 12px;
}

.promo-card-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 700;
}

.promo-rail.is-hidden {
  display: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.topbar h1,
.detail-card h1,
.detail-card h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
}

.topbar p {
  margin: 8px 0 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.badge {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 10px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.grid-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow);
}

.shorts-gallery {
  position: relative;
  background: #101827;
  color: #fff;
  border: 1px solid #1e293b;
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
}

.shorts-gallery[hidden] { display: none; }

.shorts-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.shorts-gallery-head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
}

.shorts-gallery .eyebrow { color: #f5c76a; }

.shorts-gallery-controls { display: flex; gap: 8px; }

.shorts-gallery-controls .carousel-control {
  color: #fff;
  background: #263449;
}

.shorts-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.shorts-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 0 10px;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.shorts-thumb {
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #263449;
  transition: transform 160ms ease, border-color 160ms ease;
}

.shorts-card:hover .shorts-thumb,
.shorts-card:focus-visible .shorts-thumb {
  transform: translateY(-3px);
  border-color: #f5c76a;
}

.shorts-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shorts-card-title { font-weight: 700; line-height: 1.35; }
.shorts-card-category { color: #cbd5e1; font-size: 0.78rem; line-height: 1.3; }

.shorts-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.78);
}

.shorts-modal[hidden] { display: none; }

.shorts-modal-panel {
  position: relative;
  width: min(312px, calc(100vw - 24px));
  padding: 0 16px 16px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.shorts-modal-title {
  display: none;
}
.shorts-modal .modal-close { position: absolute; top: 12px; right: 12px; }
.shorts-modal-category { width: 100%; margin-top: 14px; }

.home-faq {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.home-faq-head h2 {
  margin: 6px 0 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.faq-card {
  background: #fff;
  border: 1px solid #c49a95;
  border-radius: 6px;
  padding: 16px;
}

.faq-card h3 {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.status-message {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.products-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: grid;
  grid-template-rows: 180px 1fr;
  animation: reveal 380ms ease both;
  min-width: 0;
}

.media-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-link,
.gallery-slide {
  position: relative;
}

.sold-out-overlay {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 100%;
  padding: 9px 8px;
  color: #fff;
  background: rgba(185, 28, 28, 0.88);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}

.product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.discount {
  margin: 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.product-body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-body h2 a {
  color: #0f172a;
  text-decoration: none;
}

.price {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
  color: var(--accent);
}

.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.original-price {
  color: #94a3b8;
  font-size: 0.82rem;
  text-decoration: line-through;
}

.discounted-price {
  color: var(--accent);
  font-size: 1.28rem;
  line-height: 1.1;
}

.detail-pricing .discounted-price { font-size: 2rem; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f59e0b;
  font-size: 0.9rem;
  font-weight: 700;
}

.rating-stars {
  display: inline-flex;
  gap: 1px;
  letter-spacing: 0;
  font-size: 1.05rem;
}

.rating-star {
  color: transparent;
  background: linear-gradient(90deg, #f59e0b var(--star-fill), #d7dee8 var(--star-fill));
  background-clip: text;
  -webkit-background-clip: text;
}

.rating-value { color: var(--muted); font-size: 0.8rem; }

.social-proof {
  display: inline-flex;
  width: fit-content;
  margin: 8px 14px 0;
  color: #e4492d;
  font-size: 0.78rem;
  font-weight: 800;
}

.old-price,
.price-old,
.original-price {
  color: #94a3b8;
  text-decoration: line-through;
}

.price.big {
  font-size: 2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-body .tag-list {
  margin-top: auto;
}

.tag {
  background: #f0e0de;
  color: #6c2d37;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.79rem;
  text-decoration: none;
}

.tag-link:hover {
  background: #e8c7c9;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
  border: 0;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.cta {
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
}

.shopee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  color: #fff;
  background: #ee4d2d;
  font-weight: 800;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.shopee-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(238, 77, 45, 0.28);
  filter: brightness(1.04);
}

.official-store-button {
  background: var(--brand);
}

.official-store-button:hover {
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.official-store-icon {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.shopee-button img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
}

.shopee-assurance {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
  text-align: center;
}

.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.cta:hover,
.ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(143, 49, 64, 0.18);
}

.cta:active,
.ghost:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 0 0 3px rgba(143, 49, 64, 0.12);
}

.empty,
.error-box,
.error-state {
  background: #fff3ef;
  border: 1px solid #efb9a5;
  padding: 14px;
  border-radius: var(--radius-md);
}

.error-box {
  white-space: pre-wrap;
}

.detail-page {
  width: min(1200px, 92vw);
  margin: 28px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-page {
  width: min(900px, 92vw);
  margin: 28px auto 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-page::before {
  content: "Onde Tem Promo";
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 246, 243, 0.9);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}

.legal-card h1,
.legal-card h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
}

.legal-card h1 {
  margin: 0 0 12px;
}

.legal-card h2 {
  margin: 22px 0 8px;
  font-size: 1.15rem;
}

.legal-card p {
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

.back-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  width: min(1400px, 94vw);
  margin: 12px auto 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 6px;
  background: transparent;
  box-shadow: none;
}

.site-footer::before {
  content: none;
}

.site-footer::after {
  display: none;
}

.simple-footer {
  width: min(780px, 92vw);
  margin-top: 0;
  padding-top: 8px;
}

.simple-footer::after {
  display: none;
}

.site-footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  opacity: 0.76;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

.minimal-footer {
  width: min(720px, 92vw);
}

.footer-label {
  display: none;
}

.categories-page {
  width: min(1160px, 94vw);
  margin: 36px auto 8px;
  display: grid;
  gap: 18px;
}

.categories-hero {
  padding: 28px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.category-card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
}

.category-card p {
  margin: 0;
  color: #51483f;
  line-height: 1.6;
}

.category-pill {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-meta {
  font-size: 0.92rem;
}

.category-preview {
  margin: 0;
  padding-left: 18px;
  color: #5b5146;
  line-height: 1.55;
}

.category-card .cta {
  width: fit-content;
  margin-top: auto;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.detail-card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 4px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.product-summary h1,
.section-heading h2,
.related-card h3 {
  overflow-wrap: anywhere;
}

.product-summary h1 {
  margin: 0 0 18px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.price-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.price-line .price { margin: 0; }

.discount-pulse {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0d2a12;
  background: #b7ff35;
  box-shadow: 0 0 0 3px rgba(183, 255, 53, 0.16), 0 0 18px rgba(183, 255, 53, 0.7);
  font-weight: 800;
  font-size: 0.82rem;
  animation: discountPulse 2.3s ease-in-out infinite;
}

.product-description {
  margin: 0;
  text-align: justify;
  line-height: 1.8 !important;
  overflow-wrap: anywhere;
}

.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 360px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-slides,
.gallery-slide {
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.gallery-slide {
  display: none;
  width: 100%;
  border: 0;
  padding: 0;
  background: #fff;
  cursor: zoom-in;
}

.gallery-slide.is-active { display: block; }

.gallery-slide img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
}

.gallery-control,
.carousel-control,
.modal-close {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.gallery-control {
  z-index: 1;
  width: 34px;
  height: 34px;
  justify-self: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(31, 31, 28, 0.72);
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
}

.gallery-thumb {
  flex: 0 0 72px;
  height: 64px;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.gallery-thumb.is-active { border-color: var(--brand); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.detail-card p {
  color: #464137;
  line-height: 1.55;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.video-wrap {
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #111;
}

.video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dccfb8;
}

.section-heading h2 {
  margin: 4px 0 14px;
  font-family: "Bricolage Grotesque", sans-serif;
}

.related-carousel {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.related-track {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 2px 0 8px;
}

.related-card {
  flex: 0 0 clamp(210px, 30vw, 270px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c49a95;
  border-radius: 6px;
  background: #fff;
  scroll-snap-align: start;
}

.shorts-modal-video {
  width: 100%;
  max-width: none;
}

.related-media { display: block; aspect-ratio: 4 / 3; }

.related-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.related-body { padding: 12px; }

.related-body h3 { margin: 0 0 8px; font-size: 0.95rem; line-height: 1.3; }

.related-body h3 a { color: var(--ink); text-decoration: none; }

.related-body p { margin: 0; font-weight: 800; }

.carousel-control {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 1.6rem;
  line-height: 1;
}

.related-empty { margin: 0; color: var(--muted); }

.image-modal[hidden] { display: none; }

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 15, 14, 0.82);
}

.image-modal iframe {
  width: min(92vw, 1000px);
  height: min(82vh, 760px);
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.8rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatRail {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes discountPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.78; transform: scale(1.03); }
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header { margin-top: 8px; }

  .sidebar {
    position: static;
    max-height: unset;
  }

  .topbar {
    flex-direction: column;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .promo-rail {
    display: none;
  }
}

@media (max-width: 560px) {
  .layout,
  .detail-page,
  .categories-page,
  .site-footer {
    width: min(100% - 24px, 1400px);
  }

  .grid-wrap,
  .home-faq,
  .detail-card,
  .topbar {
    padding: 14px;
  }

  .shorts-gallery {
    padding: 14px;
    min-width: 0;
  }

  .shorts-gallery-head {
    align-items: flex-start;
  }

  .shorts-track {
    grid-auto-columns: minmax(140px, 44vw);
  }

  .shorts-modal {
    padding: 12px;
  }

  .shorts-modal-panel {
    width: min(312px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    padding: 0 16px 16px;
  }

  .shorts-modal-video {
    width: 100%;
    max-width: none;
  }

  .related-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
  }

  .related-card {
    flex-basis: min(210px, 72vw);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    grid-template-rows: 170px 1fr;
  }

  .gallery-stage {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    min-height: 260px;
  }

  .gallery-slide img { height: 260px; }

  .related-carousel { grid-template-columns: 30px minmax(0, 1fr) 30px; }

  .related-card { flex-basis: 78vw; }

  .detail-actions .cta { width: 100%; }

  .site-header {
    width: 100%;
    min-height: 82px;
    padding: 0 12px;
  }

  .menu-toggle {
    left: 0;
    width: 56px;
    height: 56px;
    font-size: 1.85rem;
  }

  .site-nav {
    top: 68px;
    left: 0;
    width: calc(100vw - 36px);
    max-width: none;
    padding: 8px;
  }

  .site-nav a,
  .site-nav .cat-btn {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}
