@import url('tokens.css');

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar { display: none; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: rgb(var(--background-primary));
  color: rgb(var(--text-primary));
  font-family: var(--font-family);
  font-size: var(--text-base);
  letter-spacing: var(--text-letter-spacing);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: var(--heading-letter-spacing);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
p { margin: 0 0 var(--space-4); }

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

/* Announcement bar — scrolling marquee */
.announcement-bar {
  background: rgb(var(--background-primary));
  color: rgb(var(--text-primary));
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-flex;
  align-items: center;
  animation: marquee 22s linear infinite;
  padding: 0.625rem 0;
}
@media (min-width: 700px) {
  .announcement-track { padding: 0.875rem 0; }
}
.announcement-item {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 2.5rem;
  color: inherit;
  text-decoration: none;
}
a.announcement-item:hover { color: rgb(var(--accent)); }
@media (min-width: 700px) {
  .announcement-item { padding: 0 5rem; }
}
.announcement-bar .dot { opacity: 0.6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announcement-track { animation: none; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(var(--background-primary) / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(var(--border-soft) / 0.12);
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.header-left { display: flex; align-items: center; gap: var(--space-4); }

.icon-btn {
  background: none;
  border: none;
  color: rgb(var(--text-primary));
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.icon-btn:hover { color: rgb(var(--accent)); }
.nav-toggle { justify-self: start; }

/* Enlarge tap target to ~44px without affecting layout size (absolutely positioned, out of flow) */
.icon-btn::before,
#backBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
#backBtn { position: relative; }

.logo-lockup {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  line-height: 1;
  width: 120px;
  height: 61px;
}

@media (max-width: 480px) {
  .site-header .container { gap: var(--space-2); }
  .header-left { gap: var(--space-2); }
  .header-left a, .header-left #backBtn { font-size: 0.65rem; }
  .header-icons { gap: var(--space-3) !important; }
  .logo-lockup { width: 84px; }
  .logo-word { font-size: 0.62rem; letter-spacing: 0.12em; }
  .logo-mark { padding: 0.3rem 0.55rem; font-size: 0.95rem; }
}
.logo-mark {
  background: rgb(255 255 255);
  color: rgb(8 8 6);
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-word {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--text-primary) / 0.85);
}
.logo-image { max-width: 100%; max-height: 100%; object-fit: contain; }

.header-icons {
  justify-self: end;
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: rgb(var(--accent));
  color: rgb(8 8 6);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.search-flyout {
  display: none;
  border-top: 1px solid rgb(var(--border-soft) / 0.12);
  padding: var(--space-4) 0;
}
.search-flyout.open { display: block; }
.search-flyout form { display: flex; gap: var(--space-3); }
.search-flyout input {
  flex: 1;
  background: rgb(var(--text-primary) / 0.05);
  border: 1px solid rgb(var(--border-soft) / 0.2);
  color: rgb(var(--text-primary));
  border-radius: var(--rounded-sm);
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: var(--text-base);
}

.menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  z-index: 29;
}
.menu-backdrop.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 85vw);
  display: flex;
  flex-direction: column;
  background: rgb(var(--background-primary));
  border-right: 1px solid rgb(var(--border-soft) / 0.12);
  padding: var(--space-16) 0 var(--space-6);
  overflow-y: auto;
  z-index: 30;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu > a {
  padding: var(--space-3) var(--container-gutter);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-menu a:hover { color: rgb(var(--accent)); }

.menu-group-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: rgb(var(--text-primary));
  font-family: inherit;
  cursor: pointer;
  padding: var(--space-3) var(--container-gutter);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-group-toggle:hover { color: rgb(var(--accent)); }
.menu-group-toggle::after { content: '+'; font-size: 1rem; }
.menu-group-toggle.open::after { content: '\2212'; }

.menu-submenu {
  display: none;
  flex-direction: column;
  padding-bottom: var(--space-2);
}
.menu-submenu.open { display: flex; }
.menu-submenu a, .menu-submenu .menu-coming-soon {
  padding: var(--space-2) var(--container-gutter) var(--space-2) calc(var(--container-gutter) + var(--space-4));
  font-size: var(--text-sm);
  color: rgb(var(--text-primary) / 0.75);
}
.menu-submenu .menu-group-toggle {
  padding-left: calc(var(--container-gutter) + var(--space-4));
  font-size: var(--text-sm);
}
.menu-submenu .menu-submenu a {
  padding-left: calc(var(--container-gutter) + var(--space-8));
}
.menu-submenu-label {
  padding: var(--space-2) var(--container-gutter) var(--space-2) calc(var(--container-gutter) + var(--space-4));
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(var(--accent));
}
.menu-view-all { color: rgb(var(--accent)) !important; }
.menu-coming-soon { display: block; opacity: 0.5; cursor: default; }
.menu-coming-soon em { font-style: normal; font-size: var(--text-xs); opacity: 0.7; }

.menu-item-image {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: var(--space-2);
  vertical-align: middle;
}

.menu-socials {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) var(--container-gutter) 0;
  margin-top: var(--space-2);
  border-top: 1px solid rgb(var(--border-soft) / 0.12);
}
.menu-socials a { color: rgb(var(--text-primary) / 0.7); }
.menu-socials a:hover { color: rgb(var(--accent)); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: rgb(var(--accent));
  color: rgb(8 8 6);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--rounded-button);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  color: rgb(var(--text-primary));
  border: 1px solid rgb(var(--border-soft) / 0.35);
}
.btn-outline:hover { opacity: 0.75; }

/* Hero */
.hero {
  padding: var(--space-8) 0;
}
.hero-box {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: var(--rounded-block);
  border: 1px solid rgb(var(--border-soft) / 0.2);
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.25);
}
.hero-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(8 8 6 / 0.6), rgb(8 8 6 / 0.15));
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 0 var(--space-8); }

.hero-sound-btn {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgb(8 8 6 / 0.55);
  border: 1px solid rgb(var(--border-soft) / 0.3);
  color: rgb(var(--text-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.hero-sound-btn:hover { border-color: rgb(var(--accent) / 0.6); color: rgb(var(--accent)); }
.hero-sound-btn .icon-unmuted { display: none; }
.hero-sound-btn[aria-pressed="true"] .icon-muted { display: none; }
.hero-sound-btn[aria-pressed="true"] .icon-unmuted { display: block; }
.hero .eyebrow {
  color: rgb(var(--accent));
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-4);
}
.hero-brand-name {
  display: block;
  text-align: center;
  font-size: var(--text-h1);
  font-weight: 800;
  color: rgb(var(--text-primary));
  line-height: 1.1;
  margin: 0 0 var(--space-6);
}
.hero h1 { font-size: var(--text-h2); margin: 0 0 var(--space-4); }
.hero p { font-size: var(--text-sm); max-width: 42ch; margin: 0 0 var(--space-6); color: rgb(var(--text-primary) / 0.85); }

/* Homepage collections collage — single scrollable row, never wraps */
.collage-row { position: relative; }
.collection-collage {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: var(--space-3);
  align-items: start;
}
.collage-tile {
  position: relative;
  flex: 0 0 auto;
  width: 68%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  border-radius: var(--rounded);
  overflow: hidden;
  background: rgb(var(--product-card-background));
}
@media (min-width: 700px) { .collage-tile { width: calc((100% - 3 * var(--space-3)) / 4); } }
.collage-arrow-btn {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(var(--background-primary));
  border: 1px solid rgb(var(--border-soft) / 0.15);
  box-shadow: 0 4px 16px -4px rgb(0 0 0 / 0.4);
}
.collage-arrow-btn::before { width: 44px; height: 44px; }
.collage-arrow-btn svg { pointer-events: none; }
.collage-tile img { width: 100%; height: 100%; object-fit: cover; }
.collage-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(8 8 6 / 0.75), transparent 60%);
}
.collage-caption {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 2;
}
.collage-caption .eyebrow { color: rgb(var(--accent) / 0.9); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; display: block; margin-bottom: var(--space-1); }
.collage-tile .badges { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); z-index: 2; }
.collage-caption h3 { font-size: var(--text-h5); margin: 0 0 var(--space-3); }
.collage-count { display: block; margin-top: var(--space-2); font-size: var(--text-sm); font-weight: 700; color: rgb(var(--accent)); }

/* Section headers */
.section { padding: var(--space-16) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.section-head p { margin: 0; color: rgb(var(--text-primary) / 0.65); }
.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.trusted-title {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  text-align: center;
}
.trusted-giant {
  font-size: clamp(4rem, 15vw, 11rem);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 var(--space-6);
  transform: scale(1.08, 1.04);
  transform-origin: center;
  background: linear-gradient(180deg, rgb(110 90 42), rgb(232 198 118));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: rgb(var(--accent));
}
.section-head-center .eyebrow {
  color: rgb(var(--accent));
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-2);
}

.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { background: rgb(var(--product-card-background)); border: 1px solid rgb(var(--border-soft) / 0.12); border-radius: var(--rounded); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); text-align: left; background: none; border: none; color: rgb(var(--text-primary)); font-family: var(--font-family); padding: var(--space-4) var(--space-6); cursor: pointer; }
.faq-question-text { font-size: var(--text-base); line-height: 1.4; }
.faq-hint { display: block; margin-top: var(--space-1); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--text-primary) / 0.45); }
.faq-icon { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgb(var(--accent) / 0.5); color: rgb(var(--accent)); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { margin: 0; padding: 0 var(--space-6) var(--space-4); color: rgb(var(--text-primary) / 0.7); font-size: var(--text-base); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 400px; }

/* About page */
.about-intro { max-width: 680px; margin: 0 auto; text-align: center; }
.about-intro p { color: rgb(var(--text-primary) / 0.8); white-space: pre-line; line-height: 1.7; }

.owner-profile {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .owner-profile { flex-direction: row; align-items: flex-start; text-align: left; }
}
.owner-photo {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--rounded);
  overflow: hidden;
  background: rgb(var(--product-card-background));
}
.owner-photo img { width: 100%; height: 100%; object-fit: cover; }
.owner-details { text-align: center; }
@media (min-width: 700px) { .owner-details { text-align: left; } }
.owner-details h3 { margin: 0 0 var(--space-1); font-size: var(--text-h5); }
.owner-details .owner-title { display: block; color: rgb(var(--accent)); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.owner-details p { color: rgb(var(--text-primary) / 0.8); white-space: pre-line; line-height: 1.7; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 700px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
.cert-tile { text-align: center; }
.cert-tile img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--rounded-sm);
  background: rgb(var(--product-card-background));
}
.cert-tile figcaption { margin-top: var(--space-2); font-size: var(--text-sm); color: rgb(var(--text-primary) / 0.65); }

.about-cta-row { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* Brand strip */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.brand-chip {
  border: 1px solid rgb(var(--border-soft) / 0.25);
  border-radius: var(--rounded-button);
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.brand-chip:hover, .brand-chip.active { border-color: rgb(var(--accent)); color: rgb(var(--accent)); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-4);
}
@media (min-width: 700px) { .product-grid { gap: var(--space-8) var(--space-6); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { position: relative; }
.product-card .thumb {
  background: rgb(var(--product-card-background));
  border-radius: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  box-shadow: none;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-card .thumb .placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: rgb(var(--text-primary) / 0.25); font-size: var(--text-sm);
}
.product-card .badges { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; flex-direction: column; gap: var(--space-1); z-index: 2; }
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--rounded-sm);
  width: fit-content;
}
.badge-sale { background: rgb(var(--on-sale-badge-background)); color: rgb(var(--on-sale-badge-text)); }
.badge-sold { background: rgb(var(--sold-out-badge-background)); color: rgb(var(--sold-out-badge-text)); }
.badge-certified { background: rgb(var(--certified-badge-background)); color: rgb(var(--certified-badge-text)); }

.product-card .info { padding-top: var(--space-3); }
.product-card .brand-name { font-size: var(--text-sm); color: rgb(var(--accent)); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card h3 { font-size: var(--text-h5); margin: var(--space-1) 0; }
.product-card .description {
  font-size: var(--text-sm);
  color: rgb(var(--text-primary) / 0.65);
  margin: 0 0 var(--space-2);
}
.product-card .price { font-size: var(--text-base); }
.product-card .price .compare { text-decoration: line-through; opacity: 0.5; margin-right: var(--space-2); }

/* Collection page title + filters/sort bar */
.collection-title { text-align: center; margin-bottom: var(--space-10); }
.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgb(var(--border-soft) / 0.12);
  flex-wrap: wrap;
}
.filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  color: rgb(var(--text-primary));
  cursor: pointer;
}
.sort-select {
  background: transparent;
  border: none;
  color: rgb(var(--text-primary));
  font-family: inherit;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.filters-panel {
  display: none;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgb(var(--border-soft) / 0.12);
}
.filters-panel.open { display: flex; }
.filters-panel select, .filters-panel input {
  background: rgb(var(--text-primary) / 0.05);
  border: 1px solid rgb(var(--border-soft) / 0.2);
  color: rgb(var(--text-primary));
  border-radius: var(--rounded-sm);
  padding: 0.55rem 0.9rem;
  font-family: inherit;
  font-size: var(--text-sm);
}

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 1000px) { .product-detail { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }

.gallery { display: flex; flex-direction: column; gap: var(--space-4); }
.gallery-row { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 1000px) { .gallery-row { flex-direction: row-reverse; } }
.gallery-main { position: relative; background: rgb(var(--product-card-background)); border-radius: var(--rounded-block); overflow: hidden; aspect-ratio: 1/1; flex: 1; max-width: 560px; max-height: 560px; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; }
@keyframes gallerySlideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.gallery-main img { animation: gallerySlideIn 0.35s ease; }
.zoom-btn {
  position: absolute; bottom: var(--space-3); right: var(--space-3); z-index: 2;
  background: rgb(8 8 6 / 0.6); border-radius: 999px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center; color: rgb(var(--text-primary));
}
.gallery-thumbs { display: flex; gap: var(--space-2); flex-wrap: wrap; }
@media (min-width: 1000px) { .gallery-thumbs { flex-direction: column; flex-wrap: nowrap; overflow-y: auto; max-height: 520px; } }
.gallery-thumbs button { width: 64px; height: 64px; flex-shrink: 0; border-radius: 0; overflow: hidden; border: none; padding: 0; cursor: pointer; background: rgb(var(--product-card-background)); opacity: 0.6; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs button.active { opacity: 1; }

.zoom-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgb(8 8 6 / 0.92);
  align-items: center; justify-content: center;
  padding: var(--space-8);
  cursor: zoom-out;
}
.zoom-overlay.open { display: flex; }
.zoom-overlay img { max-width: 100%; max-height: 100%; object-fit: contain; }

.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgb(8 8 6 / 0.85);
  align-items: center; justify-content: center;
  padding: var(--space-6);
}
.modal-overlay.open { display: flex; }
.modal-box {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 440px;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgb(var(--background-primary));
  border: 1px solid rgb(var(--border-soft) / 0.2);
  border-radius: var(--rounded-block);
  padding: var(--space-6);
}
@media (min-width: 700px) { .modal-box { padding: var(--space-8); } }
.modal-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  background: none; border: none; color: rgb(var(--text-primary) / 0.6);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0;
}
.modal-close:hover { color: rgb(var(--accent)); }
.modal-close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.modal-watch-title {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(var(--accent));
  padding: var(--space-2) var(--space-4);
}
.form-row label .required-star { color: rgb(var(--accent)); }

.cc-picker { position: relative; flex: 0 0 100px; }
.cc-trigger {
  width: 100%; height: 100%; min-height: 46px;
  background: rgb(8 8 6); border: 1px solid rgb(var(--border-soft) / 0.2); border-radius: var(--rounded-sm);
  color: rgb(var(--accent)); font-weight: 700; font-family: inherit; font-size: var(--text-sm);
  cursor: pointer; padding: 0 var(--space-3);
}
.cc-dropdown {
  display: none;
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 20;
  width: 260px; max-width: 80vw;
  background: rgb(var(--background-primary)); border: 1px solid rgb(var(--border-soft) / 0.2); border-radius: var(--rounded-sm);
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.6);
  padding: var(--space-2);
}
.cc-dropdown.open { display: block; }
.cc-search {
  width: 100%; background: rgb(8 8 6); border: 1px solid rgb(var(--border-soft) / 0.2); border-radius: var(--rounded-sm);
  color: rgb(var(--text-primary)); font-family: inherit; font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3); margin-bottom: var(--space-2);
}
.cc-list {
  max-height: 220px; overflow-y: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.cc-list::-webkit-scrollbar { display: none; }
.cc-item {
  display: flex; align-items: center; gap: var(--space-2); width: 100%;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: var(--space-2) var(--space-2); font-family: inherit; font-size: var(--text-sm);
  color: rgb(var(--text-primary)); border-radius: var(--rounded-sm);
}
.cc-item:hover { background: rgb(var(--text-primary) / 0.06); }
.cc-item-code { color: rgb(var(--accent)); font-weight: 700; flex-shrink: 0; }
.cc-item-name { color: rgb(var(--text-primary)); }

.video-fullpage { width: 100%; height: 100vh; background: rgb(8 8 6); }
.video-fullpage-media { width: 100%; height: 100%; object-fit: contain; display: block; }

.video-split { display: flex; flex-direction: column; min-height: 100vh; }
@media (min-width: 900px) { .video-split { flex-direction: row; } }
.video-split-media { width: 100%; height: 50vh; background: rgb(8 8 6); flex-shrink: 0; }
@media (min-width: 900px) { .video-split-media { width: 60%; height: 100vh; } }
.video-split-info {
  width: 100%; flex: 1;
  display: flex; align-items: center;
  padding: var(--space-8) var(--container-gutter);
}
@media (min-width: 900px) { .video-split-info { width: 40%; padding: var(--space-16); } }
.video-fullscreen-close {
  position: fixed; top: var(--space-4); right: var(--space-4); z-index: 50;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgb(8 8 6 / 0.6); backdrop-filter: blur(4px);
  color: rgb(var(--text-primary)); font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.video-fullscreen-close:hover { color: rgb(var(--accent)); }

.video-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--rounded-block);
  overflow: hidden;
  background: rgb(var(--product-card-background));
  margin-bottom: var(--space-3);
}
.video-card-media img, .video-card-media video { width: 100%; height: 100%; object-fit: cover; }
.video-card-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgb(var(--text-primary));
}
.video-card-play svg {
  background: rgb(8 8 6 / 0.55);
  border-radius: 999px;
  padding: var(--space-4);
  backdrop-filter: blur(4px);
}
.video-card h3 { font-size: var(--text-h5); margin: 0 0 var(--space-2); }
.video-card .description { font-size: var(--text-sm); color: rgb(var(--text-primary) / 0.65); margin: 0 0 var(--space-2); }

.rating-block { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid rgb(var(--border-soft) / 0.12); }
.rating-block-sm { margin: var(--space-3) 0; padding-top: 0; border-top: none; }
.rating-block-sm .rating-stars-display { gap: var(--space-1); margin-bottom: var(--space-2); }
.rating-block-sm .rating-stars-display .star { font-size: 0.85rem; }
.rating-block-sm .rating-avg { font-size: var(--text-sm); }
.rating-block-sm .star-rating-form { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--space-2); }
.rating-block-sm .star-input { margin-bottom: 0; flex-shrink: 0; }
.rating-block-sm .star-input label { font-size: 0.85rem; padding: 0 0.05rem; }
.rating-block-sm .btn-sm { padding: 0.3rem 0.6rem; font-size: 0.62rem; white-space: nowrap; flex-shrink: 0; }
.rating-stars-display { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.rating-stars-display .star { color: rgb(var(--text-primary) / 0.2); font-size: 1.25rem; }
.rating-stars-display .star.filled { color: rgb(var(--accent)); }
.rating-avg { font-weight: 700; margin-left: var(--space-1); }
.rating-breakdown { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-6); max-width: 320px; }
.rating-row { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.rating-row-label { flex: 0 0 40px; color: rgb(var(--text-primary) / 0.7); }
.rating-bar { flex: 1; height: 6px; background: rgb(var(--text-primary) / 0.1); border-radius: 999px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: rgb(var(--accent)); }
.rating-row-pct { flex: 0 0 36px; text-align: right; color: rgb(var(--text-primary) / 0.7); }

.star-input { display: inline-flex; flex-direction: row-reverse; margin-bottom: var(--space-3); }
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label { font-size: 1.6rem; line-height: 1; cursor: pointer; color: rgb(var(--text-primary) / 0.2); padding: 0 0.1rem; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: rgb(var(--accent)); }

.product-meta .ref { color: rgb(var(--text-primary) / 0.55); font-size: var(--text-sm); margin-bottom: var(--space-2); }
.product-meta .price-label { color: rgb(var(--accent)); font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: var(--space-4); }
.product-meta .price-row { font-size: var(--text-h3); margin: var(--space-1) 0 var(--space-4); }
.product-meta .price-row .compare { text-decoration: line-through; opacity: 0.5; font-size: 1rem; margin-right: var(--space-3); }
.product-meta .status-row { margin-bottom: var(--space-6); }

.specs-list { list-style: none; margin: 0 0 var(--space-8); padding: 0; border-top: 1px solid rgb(var(--border-soft) / 0.12); }
.specs-list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; border-bottom: 1px solid rgb(var(--border-soft) / 0.12); font-size: var(--text-sm); }
.specs-list .spec-label { color: rgb(var(--accent)); }
.specs-list li > span:last-child { color: rgb(var(--text-primary)); }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid rgb(var(--border-soft) / 0.25); border-radius: var(--rounded-button); overflow: hidden; margin-bottom: var(--space-4); }
.qty-stepper button { width: 40px; height: 40px; background: none; border: none; color: rgb(var(--text-primary)); cursor: pointer; font-size: 1.1rem; }
.qty-stepper input { width: 48px; text-align: center; background: none; border: none; color: rgb(var(--text-primary)); font-family: inherit; font-size: var(--text-base); }

.expander summary { cursor: pointer; font-size: var(--text-sm); color: rgb(var(--text-primary) / 0.7); margin: var(--space-4) 0; }
.expander summary:hover { color: rgb(var(--accent)); }
.expander-btn summary { list-style: none; }
.expander-btn summary::-webkit-details-marker { display: none; }
.expander-btn summary:hover { color: rgb(var(--text-primary)); }

/* Forms */
.form-card {
  background: rgb(var(--text-primary) / 0.04);
  border: 1px solid rgb(var(--border-soft) / 0.12);
  border-radius: var(--rounded-block);
  padding: var(--space-6);
}
.form-row { margin-bottom: var(--space-4); }
.form-row label { display: block; font-size: var(--text-sm); margin-bottom: var(--space-2); color: rgb(var(--text-primary) / 0.7); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: rgb(8 8 6);
  border: 1px solid rgb(var(--border-soft) / 0.2);
  color: rgb(var(--text-primary));
  border-radius: var(--rounded-sm);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: var(--text-base);
}
.form-row textarea { resize: vertical; min-height: 6rem; }
.form-row input:-webkit-autofill,
.form-row input:-webkit-autofill:hover,
.form-row input:-webkit-autofill:focus,
.form-row input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgb(8 8 6) inset;
  -webkit-text-fill-color: rgb(var(--text-primary));
  caret-color: rgb(var(--text-primary));
  transition: background-color 9999s ease-in-out 0s;
}
.form-note { font-size: var(--text-sm); color: rgb(var(--text-primary) / 0.5); margin-top: var(--space-3); }
.flash-success { background: rgb(var(--success-text) / 0.15); color: rgb(var(--success-text)); border-radius: var(--rounded-sm); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-6); }
.flash-error { background: rgb(var(--error-text) / 0.15); color: rgb(var(--error-text)); border-radius: var(--rounded-sm); padding: var(--space-3) var(--space-4); margin-bottom: var(--space-6); }

/* Footer */
.site-footer {
  border-top: 1px solid rgb(var(--border-soft) / 0.12);
  padding: var(--space-16) 0 var(--space-8);
  font-size: var(--text-sm);
  color: rgb(var(--text-primary) / 0.65);
}
.footer-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; margin-bottom: var(--space-8); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid h4 { color: rgb(var(--text-primary)); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-3); }
.footer-grid a { display: block; margin-bottom: var(--space-2); }
.footer-grid a:hover { color: rgb(var(--accent)); }
.footer-bottom { border-top: 1px solid rgb(var(--border-soft) / 0.1); padding-top: var(--space-6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }

.empty-state { text-align: center; padding: var(--space-24) 0; color: rgb(var(--text-primary) / 0.5); }
