:root {
  /* Layout + spacing system */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 76px;
  --space-12: 90px;

  /* Radius system */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Typography system */
  --font-sans: "Inter", sans-serif;
  --font-serif: "Playfair Display", serif;
  --text-xs: 0.75rem;
  --text-sm: 0.84rem;
  --text-md: 0.95rem;
  --text-base: 0.875rem;
  --text-lg: 1.08rem;
  --text-xl: 1.14rem;
  --display-1: clamp(2rem, 6vw, 4rem);
  --display-2: 1.6rem;

  /* Icon system */
  --icon-sm: 14px;
  --icon-md: 16px;
  --icon-lg: 20px;
  --icon-xl: 22px;

  /* Button system */
  --btn-height-sm: 40px;
  --btn-height-md: 44px;
  --btn-height-lg: 48px;
  --btn-pad-x: 16px;
  --btn-pad-y: 11px;
  --btn-font-weight: 600;

  --bg-main: #0F2A23;
  --bg-deep: #0B1F1A;
  --gold: #C6A55C;
  --gold-light: #E0C27A;
  --text-main: #F5F5F5;
  --text-muted: #A8B3AE;
  --light-bg: #F4F4F1;
  --radius: var(--radius-sm);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  --motion-fast: 0.18s;
  --motion-base: 0.24s;
  --motion-slow: 0.38s;
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --liquid-bg: transparent;
  --liquid-bg-strong: transparent;
  --liquid-bg-soft: transparent;
  --liquid-border: rgba(198, 165, 92, 0.22);
  --liquid-border-hover: rgba(198, 165, 92, 0.55);
  --liquid-shadow: none;
  --liquid-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.2);
  --liquid-highlight: transparent;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overscroll-behavior-y: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  margin: 0 0 var(--space-3);
}

p { margin: 0 0 var(--space-2); color: var(--text-muted); font-size: var(--text-base); }

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background:
    linear-gradient(180deg, rgba(8, 23, 19, 0.94), rgba(8, 23, 19, 0.88)),
    radial-gradient(circle at 18% 0%, rgba(198, 165, 92, 0.08), transparent 28%);
  border-bottom: 1px solid rgba(198, 165, 92, 0.16);
  box-shadow: 0 10px 26px rgba(4, 15, 11, 0.16);
}

.tg-browser-banner {
  position: sticky;
  top: 74px;
  z-index: 99;
  background: rgba(11, 31, 26, 0.94);
  border-bottom: 1px solid rgba(198, 165, 92, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tg-browser-banner-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.tg-browser-banner-text {
  margin: 0;
  color: #f2e5bf;
  font-size: var(--text-sm);
}

.tg-browser-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.tg-browser-banner-actions .btn {
  min-height: 36px;
  padding: 7px 12px;
}


.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-5);
}

.logo {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 118px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%) invert(79%) sepia(24%) saturate(553%) hue-rotate(356deg) brightness(90%) contrast(91%);
}

.logo-wordmark {
  display: inline-block;
  line-height: 1;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 34px;
  position: relative;
  padding-bottom: 10px;
}

.site-nav a {
  color: var(--text-main);
  opacity: 0.92;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav a:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.site-nav a.active {
  color: var(--gold-light);
  opacity: 1;
}

.nav-underline {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: translateX(0);
  opacity: 0;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), width 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.nav-underline.ready {
  opacity: 1;
}

.social-nav-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.social-nav-btn {
  border: 0;
  background: transparent;
  color: var(--text-main);
  opacity: 0.92;
  font: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.social-nav-btn:hover {
  color: var(--gold-light);
}

.social-nav-icon {
  width: var(--btn-height-md);
  height: var(--btn-height-md);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(198, 165, 92, 0.22);
  background: rgba(11, 31, 26, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.social-btn-image {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.28);
}

.social-nav-icon:hover .social-btn-image {
  border-color: rgba(224, 194, 122, 0.48);
}

.social-nav-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 188px;
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  background: rgba(11, 31, 26, 0.98);
  border: 1px solid rgba(198, 165, 92, 0.3);
  box-shadow: var(--shadow);
  z-index: 130;
}

.social-nav-menu.open {
  display: flex;
}

.social-nav-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 165, 92, 0.25);
  color: var(--gold-light);
  white-space: nowrap;
}

.social-link-icon {
  display: inline-flex;
  width: var(--icon-md);
  height: var(--icon-md);
  margin-right: var(--space-2);
  justify-content: center;
  align-items: center;
}

.social-link-icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  fill: currentColor;
}

.social-nav-menu a:hover {
  border-color: var(--gold-light);
  background: rgba(198, 165, 92, 0.12);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(198, 165, 92, 0.22);
  background: rgba(11, 31, 26, 0.72);
  color: #f8e5b0;
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
}

.header-inner > .btn { justify-self: end; }

.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-select {
  position: relative;
}

.lang-current,
.lang-option {
  border-radius: var(--radius);
  border: 1px solid rgba(198, 165, 92, 0.22);
  background: rgba(11, 31, 26, 0.72);
  color: #f8e5b0;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-current:hover,
.lang-option:hover {
  border-color: rgba(198, 165, 92, 0.55);
  color: #fff0c4;
}

.lang-current::after {
  content: "▾";
  margin-left: var(--space-2);
  font-size: var(--text-xs);
}

.lang-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  min-width: 100%;
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 165, 92, 0.28);
  background: rgba(11, 31, 26, 0.97);
  box-shadow: var(--shadow);
  z-index: 120;
}

.lang-menu.open {
  display: flex;
}

.btn {
  border-radius: var(--radius-lg);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  min-height: var(--btn-height-md);
  font-weight: var(--btn-font-weight);
  transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium), background-color var(--motion-fast) var(--ease-premium), color var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 165, 92, 0.22);
  cursor: pointer;
  will-change: transform;
  box-shadow: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn-solid {
  background: var(--gold);
  color: #0b211b;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn-solid:hover {
  background: var(--gold-light);
  border-color: transparent;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  border-color: rgba(198, 165, 92, 0.45);
  color: var(--gold-light);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: #fff0c4;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.liquid-pressable {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.liquid-pressable::after {
  content: "";
  position: absolute;
  left: var(--press-x, 50%);
  top: var(--press-y, 50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.74) 0%,
    rgba(224, 194, 122, 0.52) 42%,
    rgba(224, 194, 122, 0.08) 64%,
    rgba(224, 194, 122, 0) 76%
  );
  filter: blur(0.2px);
}

.liquid-pressable.liquid-press-hold::after {
  opacity: 0.58;
  animation: liquidPressHold 760ms cubic-bezier(0.22, 0.72, 0.26, 1) infinite;
}

.liquid-pressable:active::after {
  opacity: 0.52;
  animation: liquidPressHold 520ms cubic-bezier(0.22, 0.72, 0.26, 1) 1;
}

.liquid-pressable.liquid-press-release::after {
  animation: liquidPressRelease 540ms cubic-bezier(0.2, 0.74, 0.22, 1) forwards;
}

@keyframes liquidPressHold {
  0% {
    transform: translate(-50%, -50%) scaleX(1.9) scaleY(2.8) rotate(-4deg);
    border-radius: 62% 38% 56% 44% / 48% 60% 40% 52%;
  }
  25% {
    transform: translate(-50%, -50%) scaleX(2.8) scaleY(2.0) rotate(3deg);
    border-radius: 44% 56% 36% 64% / 58% 42% 58% 42%;
  }
  50% {
    transform: translate(-50%, -50%) scaleX(2.0) scaleY(3.0) rotate(-3deg);
    border-radius: 58% 42% 62% 38% / 40% 62% 38% 60%;
  }
  75% {
    transform: translate(-50%, -50%) scaleX(3.0) scaleY(2.0) rotate(3deg);
    border-radius: 40% 60% 48% 52% / 60% 40% 60% 40%;
  }
  100% {
    transform: translate(-50%, -50%) scaleX(1.9) scaleY(2.8) rotate(-4deg);
    border-radius: 62% 38% 56% 44% / 48% 60% 40% 52%;
  }
}

@keyframes liquidPressRelease {
  0% {
    opacity: 0.52;
    transform: translate(-50%, -50%) scaleX(2.5) scaleY(1.9) rotate(2deg);
    border-radius: 42% 58% 38% 62% / 56% 44% 58% 42%;
  }
  45% {
    opacity: 0.24;
    transform: translate(-50%, -50%) scaleX(5.8) scaleY(4.1) rotate(-2deg);
    border-radius: 55% 45% 64% 36% / 42% 58% 42% 58%;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(8.3) scaleY(5.9) rotate(0deg);
    border-radius: 50%;
  }
}

/* Guaranteed fallback for environments where JS pointer effects are blocked. */
.btn:active::after,
.icon-action:active::after,
.lang-current:active::after,
.lang-option:active::after,
.subcategory-chip:active::after,
.quick-nav:active::after,
.qty-btn:active::after,
.cart-qty button:active::after,
.category-tile-btn:active::after,
.add-btn:active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0.58;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.68) 0%, rgba(224, 194, 122, 0.34) 52%, rgba(224, 194, 122, 0) 78%);
  animation: liquidPressRelease 420ms cubic-bezier(0.2, 0.74, 0.22, 1) 1;
}

@media (prefers-reduced-motion: reduce) {
  .liquid-pressable.liquid-press-hold::after,
  .liquid-pressable.liquid-press-release::after,
  .liquid-pressable:active::after,
  .btn:active::after,
  .icon-action:active::after,
  .lang-current:active::after,
  .lang-option:active::after,
  .subcategory-chip:active::after,
  .quick-nav:active::after,
  .qty-btn:active::after,
  .cart-qty button:active::after,
  .category-tile-btn:active::after,
  .add-btn:active::after {
    animation: none;
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(2.2);
  }
}

.hero {
  min-height: 78vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(180deg, rgba(11, 31, 26, 0.88), rgba(11, 31, 26, 0.54));
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 14, 11, 0.32), rgba(5, 14, 11, 0.06) 45%, rgba(5, 14, 11, 0.36)),
    radial-gradient(ellipse at 10% 85%, rgba(198, 165, 92, 0.09), rgba(198, 165, 92, 0) 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-copy {
  position: relative;
  max-width: 640px;
  padding: 22px 18px 22px 0;
}

.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--text-sm);
}

.hero h1 {
  max-width: 660px;
  font-size: var(--display-1);
  line-height: 1.06;
  text-wrap: balance;
}

.hero-sub {
  max-width: 520px;
  font-size: var(--text-lg);
  line-height: 1.6;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: var(--space-5);
  min-height: clamp(420px, 44vw, 680px);
}

.hero-image-wrap {
  position: relative;
  width: min(590px, 100%);
  padding: 0 46px 34px;
  overflow: visible;
  min-height: clamp(420px, 44vw, 680px);
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 24px 10px 0;
  border-radius: 34% 34% 24% 24% / 16% 16% 22% 22%;
  background:
    radial-gradient(circle at 50% 40%, rgba(198, 165, 92, 0.12), transparent 58%),
    radial-gradient(circle at 48% 74%, rgba(15, 42, 35, 0.5), transparent 72%);
  filter: blur(10px);
  opacity: 0.82;
  pointer-events: none;
}

.hero-image-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 140px 140px 34px 34px / 52px 52px 34px 34px;
  overflow: hidden;
  border: 1px solid rgba(198, 165, 92, 0.18);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  background:
    radial-gradient(circle at 50% 45%, rgba(42, 72, 61, 0.92), rgba(11, 31, 26, 0.98) 78%),
    linear-gradient(135deg, rgba(198, 165, 92, 0.08), rgba(255, 255, 255, 0.03));
}

.hero-image-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at 26% 22%, rgba(198, 165, 92, 0.14), transparent 52%);
  pointer-events: none;
  z-index: 2;
}

.hero-image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(11, 31, 26, 0.2), rgba(11, 31, 26, 0.03)),
    radial-gradient(circle at 85% 8%, rgba(198, 165, 92, 0.12), transparent 44%);
  pointer-events: none;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(0.96);
  transform-origin: center;
  opacity: 1;
  transition: opacity 380ms ease, transform 380ms ease;
  backface-visibility: hidden;
}

.hero-image.is-fading {
  opacity: 0.18;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(11, 31, 26, 0.48);
  color: rgba(255, 248, 233, 0.9);
  font-size: 1.55rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  background: rgba(198, 165, 92, 0.22);
  border-color: rgba(198, 165, 92, 0.48);
}

.hero-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.hero-nav-prev {
  left: 10px;
}

.hero-nav-next {
  right: 10px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, width 180ms ease, box-shadow 180ms ease;
}

.hero-dot.is-active {
  width: 24px;
  background: rgba(198, 165, 92, 0.96);
  box-shadow: 0 0 0 1px rgba(198, 165, 92, 0.24);
}

.hero-dot:hover,
.hero-dot:focus-visible {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.52);
}

.dev-badge {
  margin-top: var(--space-2);
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.hero-actions {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions .btn {
  min-width: 216px;
  padding-inline: 22px;
}

.section { padding: 32px 0; }
.section-light {
  background: var(--light-bg);
  color: #1b2822;
}
.section-light p { color: #4f5f59; }
.section-light h2, .section-light h3 { color: #15231f; font-weight: 800; letter-spacing: -0.02em; }

.section-dark { background: var(--bg-main); }
.section-deep { background: var(--bg-deep); }

.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: var(--display-2); }

.filter-feedback {
  min-height: 22px;
  margin-top: var(--space-2);
  font-size: var(--text-md);
  color: #51625c;
}

.catalog-loading-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 42, 35, 0.08);
  border: 1px solid rgba(15, 42, 35, 0.1);
  color: #29413a;
  font-size: 0.95rem;
  font-weight: 600;
}

.catalog-loading-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #c6a55c;
  box-shadow: 0 0 0 0 rgba(198, 165, 92, 0.5);
  animation: catalogLoadingPulse 1.2s ease-in-out infinite;
}

@keyframes catalogLoadingPulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(198, 165, 92, 0.45);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(198, 165, 92, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(198, 165, 92, 0);
  }
}

.products-flash {
  animation: productsFlash 0.55s ease-out;
}

@keyframes productsFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 165, 92, 0.0);
    transform: translateY(0);
  }
  35% {
    box-shadow: 0 0 0 2px rgba(198, 165, 92, 0.42);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 165, 92, 0.0);
    transform: translateY(0);
  }
}

.sort-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sort-wrap label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.sort-wrap select {
  background: rgba(7, 20, 16, 0.85);
  border: 1px solid rgba(198, 165, 92, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.875rem;
  padding: 6px 10px;
  cursor: pointer;
}

.sticky-tools {
  position: sticky;
  top: 86px;
  z-index: 70;
  margin-bottom: var(--space-4);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.filter-toggle {
  display: inline-flex;
  min-width: var(--btn-height-lg);
  min-height: var(--btn-height-lg);
  border-radius: var(--radius-pill);
  padding: 0 var(--space-4);
  background: #18342d;
  color: #f5e5b8;
  border-color: rgba(168, 134, 66, 0.3);
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-toggle:hover {
  background: #1f4238;
  border-color: rgba(168, 134, 66, 0.5);
  box-shadow: 0 4px 12px rgba(24, 52, 45, 0.18);
}

.filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.5);
}

.filter-backdrop.open {
  display: block;
}

.filter-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(380px, 100vw);
  padding: var(--space-4);
  border-left: 1px solid rgba(198, 165, 92, 0.22);
  background: rgba(11, 33, 27, 0.99);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.4);
  z-index: 200;
  transform: translateX(110%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.filter-panel.open {
  transform: translateX(0);
}

.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(198, 165, 92, 0.15);
  flex-shrink: 0;
}

.filter-panel-head span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.filter-panel-head .btn {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 1rem;
}

.field-wrap label {
  display: inline-block;
  margin-bottom: var(--space-2);
  color: #d6d8d5;
  font-weight: 600;
}

.field-wrap.inline-controls {
  display: flex;
  flex-direction: column;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.toggle-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.toggle-row .btn {
  min-height: var(--btn-height-sm);
  padding: 9px var(--space-3);
}

.stock-filter-row .btn.active {
  border-color: rgba(198, 165, 92, 0.78);
  background: rgba(198, 165, 92, 0.16);
  color: var(--gold-light);
}

.active-filter-bar {
  margin: 0 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(24, 52, 45, 0.18);
  background: #18342d;
  color: #f5e5b8;
  font-size: 0.88rem;
  font-weight: 600;
}

.active-filter-chip button {
  border: 0;
  background: transparent;
  color: rgba(245, 229, 184, 0.5);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.active-filter-chip button:hover {
  color: #f5e5b8;
}

.btn.active {
  background: rgba(198, 165, 92, 0.18);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.section-light .field-wrap select,
.section-light .field-wrap input {
  border-color: rgba(15, 42, 35, 0.22);
  background: #ffffff;
  color: #1c2b26;
}

.sort-wrap select {
  background: #18342d !important;
  border: 1px solid rgba(198, 165, 92, 0.35) !important;
  color: #f4f4f2 !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}

.sort-wrap select:hover {
  border-color: rgba(198, 165, 92, 0.55) !important;
}

.filter-panel .field-wrap select,
.filter-panel .field-wrap input {
  background: rgba(7, 20, 16, 0.7);
  border-color: rgba(198, 165, 92, 0.22);
  color: #f4f4f2;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-card {
  background: linear-gradient(180deg, #fcfbf7 0%, #f5f0e6 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 29, 25, 0.06);
  box-shadow: 0 10px 28px rgba(4, 14, 10, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-base) var(--ease-premium), box-shadow var(--motion-base) var(--ease-premium), border-color var(--motion-base) var(--ease-premium);
  transform-style: preserve-3d;
  will-change: transform;
  height: auto;
  align-self: start;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(4, 14, 10, 0.16);
  border-color: rgba(198, 165, 92, 0.26);
}

.product-card.card-enter {
  animation: productCardIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--stagger-delay, 0ms);
}

.product-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(214, 188, 133, 0.18), transparent 44%),
    linear-gradient(180deg, #f5f1e8 0%, #ece5d7 100%);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 34, 29, 0), rgba(21, 34, 29, 0.1));
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #e8ebe9;
  transition: filter 0.24s ease, opacity 0.24s ease, transform 0.34s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.025);
}

.product-thumb-placeholder {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 28%, rgba(214, 188, 133, 0.2), transparent 44%),
    linear-gradient(180deg, #f5f1e8 0%, #ebe7de 100%);
}

.product-thumb-placeholder-brand {
  display: inline-block;
  max-width: 100%;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(34, 54, 47, 0.78);
  text-wrap: balance;
}

.product-thumb.thumb-loading {
  filter: blur(8px) saturate(0.86);
  opacity: 0.92;
}

.product-content {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-name {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.25;
  height: 2.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #1a2823;
}

.product-head {
  min-height: auto;
}

.product-name-wrap {
  min-width: 0;
  display: grid;
  gap: 7px;
  align-content: start;
}

.product-context {
  color: #18342d;
  font-size: 0.68rem;
  opacity: 0.72;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  height: 2.1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-sku {
  color: #7a8a84;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-spec {
  color: #5f6f69;
  font-size: 0.86rem;
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
}

.product-subcategory {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #74837d;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  white-space: nowrap;
  box-shadow: none;
}

.stock-pill.have {
  color: #1a5e3a;
  background: rgba(26, 94, 58, 0.1);
  border-color: rgba(26, 94, 58, 0.22);
}

.stock-pill.low {
  color: #8a6d1b;
  background: rgba(168, 134, 66, 0.12);
  border-color: rgba(168, 134, 66, 0.28);
}

.stock-pill.none {
  color: #8c3a3a;
  background: rgba(140, 58, 58, 0.08);
  border-color: rgba(140, 58, 58, 0.2);
}

.description-list {
  display: grid;
  gap: 10px;
}

.description-row {
  display: grid;
  grid-template-columns: minmax(110px, 150px) 1fr;
  gap: var(--space-2);
  align-items: start;
  font-size: var(--text-md);
  color: #2f3e38;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(198, 165, 92, 0.22);
}

.description-key {
  font-weight: 700;
  color: #1f2f29;
}

.description-value {
  color: #41514b;
  word-break: break-word;
}

.description-empty {
  color: #6b7873;
}

.product-price {
  color: #17261f;
  font-weight: 800;
  font-size: 1.08rem;
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-price .currency-unit {
  font-weight: 500;
  font-size: 0.78em;
  opacity: 0.6;
  margin-left: 2px;
}

.product-content .btn {
  width: 100%;
}

.product-price-row {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-top: 2px;
  min-height: 3rem;
}

.product-actions {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: 4px;
}

.product-actions .quick-btn,
.product-actions .add-btn {
  min-width: 0;
}

.product-actions .quick-btn {
  width: 40px;
  min-width: 40px;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
  justify-content: center;
  font-size: 1.2rem;
  color: #3a4f46;
  border-color: rgba(15, 42, 35, 0.15);
  background: rgba(15, 42, 35, 0.04);
  transition: all 0.2s ease;
}

.product-actions .quick-btn:hover {
  border-color: rgba(168, 134, 66, 0.35);
  color: #18342d;
  background: rgba(168, 134, 66, 0.08);
}

.product-actions .add-btn {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding-inline: 12px;
  border-radius: 999px;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1;
  background: linear-gradient(180deg, #c6a55c 0%, #a88642 100%);
  color: #0b211b;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(168, 134, 66, 0.18);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.product-actions .add-btn:hover {
  background: linear-gradient(180deg, #d4b56a 0%, #b89450 100%);
  box-shadow: 0 4px 14px rgba(168, 134, 66, 0.28);
  transform: translateY(-1px);
}

.product-media .share-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  min-width: 38px;
  height: 38px;
  color: #f5e5b8;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
  background: linear-gradient(180deg, rgba(15, 42, 35, 0.74), rgba(15, 42, 35, 0.54));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.product-card:hover .share-btn {
  opacity: 1;
}

.share-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(0.2px);
}

.product-actions .add-qty {
  flex: 1;
  min-width: 0;
}

.product-actions:has(.add-qty) .quick-btn {
  width: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  padding: 0;
  justify-content: center;
}

.add-label {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.add-icon {
  font-size: 1rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: #ffe4a2;
  font-weight: 900;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.28),
    0 0 6px rgba(255, 232, 172, 0.3);
}

.add-icon-plus {
  font-size: 1.14em;
  font-weight: 900;
}

.add-icon-cart {
  font-size: 1.08em;
}

.add-qty {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 92, 0.45);
  background: #102720;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 3px 6px;
  min-width: 118px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--liquid-border);
  background: var(--liquid-bg), rgba(11, 31, 26, 0.65);
  color: #fff0c4;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(8px) saturate(116%);
  -webkit-backdrop-filter: blur(8px) saturate(116%);
}

.qty-btn:hover {
  border-color: var(--liquid-border-hover);
  color: #fff6d8;
  background: var(--liquid-bg-strong), rgba(11, 31, 26, 0.74);
  box-shadow: var(--liquid-shadow-hover);
}

.qty-value {
  min-width: 20px;
  text-align: center;
  color: #f5f5f5;
  font-weight: 700;
}

.state-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d2d7d4;
  background: #f4f4f1;
  color: #2b3934;
}

.state-title {
  color: #1f2f29;
  font-weight: 700;
  margin-bottom: 6px;
}

.state-help {
  color: #51625c;
  margin-bottom: 10px;
}

.state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.state-error {
  border-color: #d8b4b4;
  background: #f7eaea;
  color: #6d1f1f;
}

.state-card .btn {
  margin-top: 10px;
}

.skeleton-card {
  border-color: rgba(17, 29, 25, 0.06);
  box-shadow: none;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: #e7e9e8;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: shimmer 1.1s infinite;
}

.skeleton-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.skeleton-line.long { width: 90%; }
.skeleton-line.medium { width: 64%; }
.skeleton-line.short { width: 48%; }

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

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

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1), transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subcategories-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.categories-grid.filter-shift-next,
.subcategories-grid.filter-shift-next {
  animation: filterShiftNext 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.categories-grid.filter-shift-prev,
.subcategories-grid.filter-shift-prev {
  animation: filterShiftPrev 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes filterShiftNext {
  0% {
    opacity: 0.5;
    transform: translateX(20px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes filterShiftPrev {
  0% {
    opacity: 0.5;
    transform: translateX(-20px);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.subcategory-chip {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--liquid-border);
  background: var(--liquid-bg), rgba(16, 39, 32, 0.68);
  color: #f5f5f5;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium), color var(--motion-fast) var(--ease-premium), background-color var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium);
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.taxonomy-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.taxonomy-count {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(206, 218, 212, 0.62);
  opacity: 0.9;
  white-space: nowrap;
  text-transform: none;
}

.subcategory-chip.active {
  border-color: rgba(230, 201, 125, 0.96);
  color: #fff3cc;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(198, 165, 92, 0.34)), rgba(17, 42, 34, 0.9);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(230, 201, 125, 0.56) inset, 0 0 0 2px rgba(230, 201, 125, 0.2);
  transform: translateY(-1px);
}

.subcategory-chip.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 248, 214, 0.42) 48%, transparent 100%);
  transform: translateX(-125%);
  pointer-events: none;
}

.subcategory-chip:hover {
  border-color: var(--liquid-border-hover);
  color: #fff0c4;
  box-shadow: var(--liquid-shadow-hover);
}

.category-tile-btn.selection-pulse,
.subcategory-chip.selection-pulse {
  animation: selectionPulse 0.42s ease-out;
}

@keyframes selectionPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(198, 165, 92, 0);
  }
  45% {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 0 0 7px rgba(198, 165, 92, 0.18);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(198, 165, 92, 0);
  }
}

.section-head-sub {
  margin-top: 18px;
  margin-bottom: 8px;
}

.section-head-taxonomy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.taxonomy-reset-btn {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
}

/* Force uppercase presentation for catalog navigation blocks */
#top-categories-grid .category-tile-btn,
#categories-grid .category-tile-btn,
#subcategories-grid .subcategory-chip {
  text-transform: uppercase;
}

.section-head-sub h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.pagination-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.page-indicator {
  min-width: 72px;
  text-align: center;
  color: #18342d;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(168, 134, 66, 0.18);
  letter-spacing: 0.02em;
}

.pagination-wrap .btn {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
  justify-content: center;
  background: #18342d;
  color: #f5e5b8;
  border-color: rgba(168, 134, 66, 0.3);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.pagination-wrap .btn:hover {
  background: #1f4238;
  border-color: rgba(168, 134, 66, 0.5);
  box-shadow: 0 4px 12px rgba(24, 52, 45, 0.2);
}

#page-prev:disabled,
#page-next:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cards-grid.catalog-page-turn-next,
.cards-grid.catalog-page-turn-prev {
  transform-origin: center;
  animation-duration: 260ms;
  animation-timing-function: var(--ease-premium);
  animation-fill-mode: both;
}

.cards-grid.catalog-page-turn-next {
  animation-name: catalogPageTurnNext;
}

.cards-grid.catalog-page-turn-prev {
  animation-name: catalogPageTurnPrev;
}

@keyframes catalogPageTurnNext {
  0% {
    opacity: 0.42;
    transform: perspective(1200px) rotateY(-6deg) translateX(10px) scale(0.992);
    filter: saturate(0.95);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes catalogPageTurnPrev {
  0% {
    opacity: 0.42;
    transform: perspective(1200px) rotateY(6deg) translateX(-10px) scale(0.992);
    filter: saturate(0.95);
  }
  100% {
    opacity: 1;
    transform: perspective(1200px) rotateY(0deg) translateX(0) scale(1);
    filter: saturate(1);
  }
}

.cards-grid.cards-compact {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.cards-grid.cards-compact .product-thumb {
  aspect-ratio: 1 / 1;
}

.cards-grid.cards-compact .product-name {
  font-size: 1rem;
}

.cards-grid.cards-compact .product-sku {
  font-size: 0.76rem;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 132px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(224, 194, 122, 0.96);
  background: radial-gradient(circle at 30% 28%, rgba(255, 246, 214, 0.34), rgba(198, 165, 92, 0.22) 44%, rgba(9, 25, 21, 0.98) 100%);
  color: #ffe9a8;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium), background-color var(--motion-fast) var(--ease-premium), opacity 0.2s ease, visibility 0.2s ease;
  z-index: 125;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 0 2px rgba(8, 22, 18, 0.62),
    0 0 0 3px rgba(255, 233, 168, 0.16),
    0 0 18px rgba(224, 194, 122, 0.35);
  text-shadow: 0 0 9px rgba(255, 233, 168, 0.8), 0 1px 1px rgba(8, 22, 18, 0.9);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: #ffe6a0;
  background: radial-gradient(circle at 30% 28%, rgba(255, 246, 214, 0.42), rgba(224, 194, 122, 0.25) 48%, rgba(14, 39, 32, 0.98) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.38),
    0 0 0 2px rgba(8, 22, 18, 0.74),
    0 0 0 3px rgba(255, 233, 168, 0.24),
    0 0 22px rgba(255, 233, 168, 0.48);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(255, 233, 168, 0.95);
  outline-offset: 2px;
}

.quick-view-modal {
  border: 0;
  border-radius: 10px;
  max-width: 760px;
  width: calc(100% - 24px);
  padding: 0;
  background: #0f2a23;
  color: var(--text-main);
}

.quick-view-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
  animation: modalBackdropIn 0.24s ease-out;
}

.add-more-modal {
  border: 0;
  border-radius: 10px;
  width: min(420px, calc(100% - 24px));
  padding: 0;
  background: #0f2a23;
  color: var(--text-main);
}

.add-more-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
  animation: modalBackdropIn 0.2s ease-out;
}

.add-more-inner {
  padding: 16px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 10px;
}

.add-more-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.map-choice-modal {
  border: 0;
  border-radius: 10px;
  width: min(440px, calc(100% - 24px));
  padding: 0;
  background: #0f2a23;
  color: var(--text-main);
}

.map-choice-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
  animation: modalBackdropIn 0.2s ease-out;
}

.map-choice-inner {
  padding: 16px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 10px;
}

.map-choice-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.map-choice-calls {
  margin: 4px 0 12px;
}

.map-choice-call-title {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.map-choice-call-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 560px) {
  .map-choice-actions,
  .map-choice-call-links {
    grid-template-columns: 1fr;
  }
}

.quick-view-inner {
  padding: 18px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.quick-view-modal[open] .quick-view-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.quick-view-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}

.quick-toggle-details {
  display: none;
}

.quick-gallery-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(198, 165, 92, 0.24);
  margin-bottom: 12px;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, rgba(15, 42, 35, 0.08), rgba(15, 42, 35, 0.14));
}

.quick-image-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 92, 0.24);
  background: rgba(10, 26, 21, 0.78);
  color: #f4ecd4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quick-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.add-btn.added {
  animation: addButtonMorph 0.45s ease;
}

@keyframes addButtonMorph {
  0% { transform: scale(1); }
  40% { transform: scale(0.94); }
  75% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.quick-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 108px;
  border-radius: 24px;
  border: 1px solid var(--liquid-border);
  background: var(--liquid-bg), rgba(11, 31, 26, 0.78);
  color: #fff0c4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(8px) saturate(116%);
  -webkit-backdrop-filter: blur(8px) saturate(116%);
  touch-action: manipulation;
}

.quick-prev {
  left: 8px;
}

.quick-next {
  right: 8px;
}

/* Keep nav arrows vertically stable (no hover nudge). */
.quick-nav:hover,
.quick-nav:focus-visible,
.quick-nav:active {
  transform: translateY(-50%);
}

.quick-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  min-height: 56px;
  align-items: flex-start;
}

.quick-thumb {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(198, 165, 92, 0.35);
  overflow: hidden;
  background: #0b1f1a;
  cursor: pointer;
}

.quick-thumb.active {
  border-color: var(--gold-light);
}

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

.quick-meta h4 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: #f7f8f7;
}

.quick-context {
  color: #b7c6bf;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.quick-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.quick-spec-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(198, 165, 92, 0.16);
  background: linear-gradient(150deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.quick-spec-card span {
  color: #b9c7c1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-spec-card strong {
  color: #f7f2df;
  font-size: 0.98rem;
  line-height: 1.35;
}

.quick-summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 92, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #dde7e2;
  font-size: 0.86rem;
}

.quick-meta .description-row {
  color: #d8e0dc;
  border-bottom-color: rgba(198, 165, 92, 0.16);
}

.quick-meta .description-key {
  color: #f2f5f3;
}

.quick-meta .description-value {
  color: #c9d5cf;
}

.quick-meta .description-empty {
  color: #b7c5be;
}

.quick-meta .muted {
  color: #b9c6c0;
}

.quick-sku {
  margin-top: -2px;
  margin-bottom: 6px;
  color: #c8d3cd;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quick-offer {
  color: var(--gold-light);
}

.quick-cta-panel {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(198, 165, 92, 0.16);
  background:
    linear-gradient(145deg, rgba(18, 43, 36, 0.9), rgba(9, 24, 20, 0.94)),
    radial-gradient(circle at top right, rgba(198, 165, 92, 0.14), transparent 42%);
}

.quick-price-wrap {
  display: grid;
  gap: 2px;
}

.quick-price-label {
  color: #c2cec8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quick-price-wrap strong {
  font-size: 1.5rem;
  color: #fff5d7;
}

.quick-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.quick-bottom .btn {
  flex: 1 1 220px;
}

.quick-actions-secondary {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quick-actions-secondary .btn {
  flex: 1 1 160px;
}

.quick-related {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.quick-related-title {
  margin: 0;
  color: #f3ecd9;
  font-weight: 700;
}

.quick-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.quick-related-card {
  border: 1px solid rgba(198, 165, 92, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  display: grid;
  gap: 8px;
  text-align: left;
  color: #edf4f0;
}

.quick-related-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.quick-related-copy {
  display: grid;
  gap: 4px;
}

.quick-related-copy strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.quick-related-copy span {
  color: #d7e2dc;
  font-size: 0.86rem;
}

.quick-related-card:hover {
  border-color: rgba(224, 194, 122, 0.36);
  transform: translateY(-1px);
}

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

.category-tile {
  min-height: 80px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198, 165, 92, 0.24);
  background:
    linear-gradient(160deg, rgba(11, 31, 26, 0.5), rgba(11, 31, 26, 0.75)),
    radial-gradient(circle at 85% 10%, rgba(198, 165, 92, 0.2), transparent 40%),
    linear-gradient(120deg, #16382f, #102720);
  box-shadow: var(--shadow);
}

.category-tile span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  font-size: 1.34rem;
}

.category-tile:hover { outline: 1px solid rgba(224, 194, 122, 0.55); }

.card-panel {
  background: #102720;
  border: 1px solid rgba(198, 165, 92, 0.18);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.catalog-entry {
  position: relative;
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border-radius: 24px;
  border: 1px solid rgba(198, 165, 92, 0.18);
  background:
    linear-gradient(145deg, rgba(18, 43, 36, 0.96), rgba(10, 28, 23, 0.96)),
    radial-gradient(circle at top right, rgba(198, 165, 92, 0.16), transparent 34%);
  box-shadow: 0 24px 52px rgba(4, 15, 11, 0.2);
  overflow: hidden;
}

.catalog-entry-copy h2 {
  margin-bottom: 8px;
  color: #f8f3e8;
}

.catalog-entry-copy p {
  max-width: 760px;
  color: rgba(232, 223, 201, 0.72);
}

.catalog-entry-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.catalog-entry-search {
  display: grid;
  gap: 8px;
  color: #dce5e1;
  font-weight: 600;
}

.catalog-entry-search input {
  min-height: 54px;
  border-radius: 18px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(198, 165, 92, 0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  color: #fff7e3;
}

.catalog-entry-search input::placeholder {
  color: rgba(241, 230, 194, 0.52);
}

.search-input-shell {
  position: relative;
  display: block;
}

.search-input-shell input {
  padding-right: 50px;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-clear-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 92, 0.22);
  background: rgba(13, 31, 26, 0.72);
  color: #f0e1bb;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-clear-btn:hover {
  border-color: rgba(224, 194, 122, 0.52);
  background: rgba(17, 39, 33, 0.96);
}

.search-feedback-bar {
  margin: 16px 0 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(198, 165, 92, 0.16);
  background:
    linear-gradient(145deg, rgba(20, 48, 40, 0.78), rgba(11, 29, 24, 0.88)),
    radial-gradient(circle at top right, rgba(198, 165, 92, 0.1), transparent 36%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 12px 28px rgba(4, 15, 11, 0.14);
}

.search-feedback-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: #d7e1dd;
}

.search-feedback-label,
.search-feedback-count {
  color: #c3d0ca;
}

.search-feedback-query {
  color: #fff2ca;
  font-size: 1rem;
}

.state-search-hint {
  margin-top: 8px;
  color: #c2cfca;
}

.state-suggestion-title {
  width: 100%;
  margin: 2px 0 0;
  color: #d7e1dd;
  font-weight: 600;
}

.catalog-entry-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}

.catalog-entry-popular {
  display: grid;
  gap: 14px;
}

.popular-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.popular-category-btn {
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(198, 165, 92, 0.22);
  background:
    linear-gradient(150deg, rgba(16, 39, 32, 0.92), rgba(9, 24, 20, 0.98)),
    radial-gradient(circle at top right, rgba(198, 165, 92, 0.14), transparent 40%);
  color: var(--text-main);
  box-shadow: var(--shadow);
}

.popular-category-btn:hover {
  border-color: rgba(224, 194, 122, 0.5);
  transform: translateY(-1px);
}

.popular-category-btn strong {
  font-size: 1rem;
  color: #fff3cf;
}

.popular-category-meta {
  color: #c2cfca;
  font-size: 0.9rem;
}

.builder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.builder-left label,
.contact-fields label {
  display: block;
  margin: 10px 0 6px;
  color: #d4ddd8;
}

select,
input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 165, 92, 0.35);
  background: #0e221c;
  color: var(--text-main);
  padding: 11px;
}

select:focus,
input:focus,
.btn:focus {
  outline: 2px solid rgba(224, 194, 122, 0.7);
  outline-offset: 1px;
}

.selected-items {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.selected-items li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #dbe3df;
  padding: 8px 0;
  border-bottom: 1px solid rgba(198, 165, 92, 0.2);
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 14px;
}

.total-line strong { color: var(--gold-light); }

.why-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: center;
}

.why-image {
  min-height: 400px;
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(11, 31, 26, 0.4), rgba(11, 31, 26, 0.18)),
    radial-gradient(circle at 80% 18%, rgba(198, 165, 92, 0.16), transparent 36%),
    url("/mini-static/why_bathroom.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='18' cy='14' r='1.1'/%3E%3Ccircle cx='84' cy='30' r='1'/%3E%3Ccircle cx='136' cy='16' r='1.2'/%3E%3Ccircle cx='44' cy='82' r='1.1'/%3E%3Ccircle cx='106' cy='96' r='1.2'/%3E%3Ccircle cx='24' cy='132' r='1.1'/%3E%3Ccircle cx='126' cy='136' r='1'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, cover, cover, 180px 180px;
  background-position: center, center, center, center;
  box-shadow: 0 24px 52px rgba(4, 15, 11, 0.18);
  position: relative;
  overflow: hidden;
}

.why-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 17, 0.08), rgba(8, 20, 17, 0.22)),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.08), transparent 22%);
}

.why-copy {
  display: grid;
  gap: 16px;
}

.why-eyebrow {
  margin-bottom: 0;
  color: #95712a;
}

.why-lead {
  max-width: 560px;
  color: #52635c;
  font-size: 1.02rem;
  line-height: 1.65;
}

.why-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #21312b;
  border-radius: 18px;
  border: 1px solid rgba(198, 165, 92, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 239, 227, 0.94));
  box-shadow: 0 10px 24px rgba(9, 20, 16, 0.06);
}

.line-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 30%, #f2d184, var(--gold) 62%, #9f7832 100%);
  box-shadow: 0 0 0 5px rgba(198, 165, 92, 0.12);
}

.showroom-card {
  background:
    linear-gradient(145deg, rgba(11, 31, 26, 0.98), rgba(7, 20, 17, 0.98)),
    radial-gradient(circle at 88% 12%, rgba(198, 165, 92, 0.12), transparent 28%);
  border: 1px solid rgba(198, 165, 92, 0.16);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 28px 56px rgba(4, 15, 11, 0.24);
}

.showroom-sales-block {
  display: grid;
  gap: 20px;
}

.showroom-sales-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.showroom-lead {
  max-width: 720px;
  color: #cfdbd4;
  line-height: 1.7;
}

.showroom-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.92fr;
  gap: 18px;
  align-items: start;
}

.showroom-visuals,
.showroom-map-card,
.showroom-info-list {
  border-radius: 24px;
  border: 1px solid rgba(198, 165, 92, 0.12);
  background:
    linear-gradient(150deg, rgba(15, 37, 31, 0.92), rgba(9, 24, 20, 0.98)),
    radial-gradient(circle at top right, rgba(198, 165, 92, 0.1), transparent 42%);
  box-shadow: 0 18px 38px rgba(4, 15, 11, 0.16);
}

.showroom-visuals,
.showroom-map-card {
  overflow: hidden;
}

.showroom-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  padding: 14px;
}

.showroom-shot {
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.showroom-shot-lg {
  min-height: 300px;
}

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

.showroom-trust-strip {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.showroom-trust-item {
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(198, 165, 92, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: #dce7e2;
  padding: 12px 14px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.showroom-trust-item:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 165, 92, 0.3);
  background: linear-gradient(180deg, rgba(198, 165, 92, 0.09), rgba(255, 255, 255, 0.03));
}

.showroom-map-head {
  padding: 18px 18px 12px;
}

.showroom-map-head h3 {
  margin: 0 0 6px;
  color: #f6f0de;
}

.showroom-map-head p {
  margin: 0;
  color: #c0cec8;
}

.showroom-map-frame {
  padding: 0 14px 14px;
}

.showroom-map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 18px;
  display: block;
}

.showroom-info-list {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.showroom-info-item {
  display: grid;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(198, 165, 92, 0.14);
}

.showroom-info-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.showroom-info-label {
  color: #fff0c5;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.showroom-info-item p {
  margin: 0;
  color: #d8e4de;
}

.showroom-info-item a {
  color: #fff7dc;
}

.showroom-secondary-phone a {
  color: #c8d5cf;
}

#showroom.section {
  padding-bottom: 26px;
}

.showroom-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.showroom-actions .btn {
  flex: 1 1 170px;
}

.site-footer {
  border-top: 1px solid rgba(198, 165, 92, 0.2);
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  background: #091a16;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--gold-light); }

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .header-right {
    gap: 6px;
  }

  .lang-current,
  .lang-option {
    padding: 6px 8px;
    font-size: 0.82rem;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 10px;
    right: 10px;
    background: rgba(11, 31, 26, 0.98);
    border: 1px solid rgba(198, 165, 92, 0.22);
    flex-direction: column;
    padding: 10px;
    border-radius: 16px;
    display: none;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
  }

  .tg-browser-banner {
    top: 68px;
  }

  .tg-browser-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
  }

  .tg-browser-banner-actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    display: block;
    border-radius: 12px;
    padding: 10px 12px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: rgba(198, 165, 92, 0.12);
  }

  .social-nav-wrap {
    width: auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
  }

  .social-nav-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .cards-grid,
  .categories-grid,
  .popular-categories-grid,
  .builder-grid,
  .why-grid,
  .showroom-layout,
  .showroom-gallery {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .product-card {
    height: auto;
  }

  .filter-toggle {
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
  }

  .sort-wrap label {
    display: none;
  }

  .filter-panel {
    width: 100vw;
  }

  .active-filter-bar {
    align-items: stretch;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    max-width: 100%;
    padding: 12px 0 0;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .hero-content {
    padding: 48px 0 32px;
  }

  .hero {
    min-height: auto;
  }

  .catalog-entry-tools {
    grid-template-columns: 1fr;
  }

  .catalog-entry-actions {
    width: 100%;
  }

  .catalog-entry-actions .btn {
    flex: 1 1 180px;
  }

  .search-feedback-bar {
    align-items: stretch;
  }

  .showroom-shot,
  .showroom-shot-lg {
    min-height: 220px;
  }

  .showroom-map-frame iframe {
    height: 280px;
  }

  .hero-visual {
    justify-content: flex-start;
    padding-left: 0;
    min-height: 0;
  }

  .hero-image-wrap {
    width: min(460px, 100%);
    padding: 0 16px 24px;
    min-height: 0;
  }

  .hero-image-shell {
    border-radius: 26px;
    aspect-ratio: 5 / 4;
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .hero-nav-prev {
    left: 4px;
  }

  .hero-nav-next {
    right: 4px;
  }

  .hero-dots {
    bottom: 12px;
    gap: 6px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.is-active {
    width: 20px;
  }

  .hero-image-shell {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .cards-grid.cards-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-content .btn {
    width: auto;
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .product-actions {
    align-items: stretch;
  }

  .product-price-row {
    align-items: stretch;
  }

  .sticky-tools {
    top: 74px;
  }

  .back-to-top {
    bottom: 154px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 980px) {
  .product-spec {
    min-height: 32px;
  }

  .product-content .btn {
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .product-actions .add-btn {
    height: 34px;
    font-size: 0.78rem;
  }

  .product-actions .quick-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .product-head .share-btn {
    width: 34px;
    min-width: 34px;
  }

  .add-icon {
    font-size: 1.02rem;
    gap: 0;
  }

  .add-icon-plus {
    font-size: 1.16em;
  }

  .add-icon-cart {
    font-size: 1.12em;
  }

  .add-qty {
    width: 108px;
    min-width: 108px;
    min-height: 34px;
    padding: 2px 5px;
    gap: 4px;
  }

  .qty-btn {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }
}

.category-tile-btn {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--liquid-border);
  background: var(--liquid-bg-soft), rgba(16, 39, 32, 0.7);
  color: #f5f5f5;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium), color var(--motion-fast) var(--ease-premium), background-color var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium);
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.category-tile-btn:hover {
  border-color: var(--liquid-border-hover);
  color: #fff0c4;
  background: var(--liquid-bg-strong), rgba(16, 39, 32, 0.78);
  box-shadow: var(--liquid-shadow-hover);
}

.category-tile-btn.active {
  border-color: rgba(230, 201, 125, 0.96);
  color: #fff3cc;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(198, 165, 92, 0.34)), rgba(17, 42, 34, 0.9);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(230, 201, 125, 0.56) inset, 0 0 0 2px rgba(230, 201, 125, 0.2);
  transform: translateY(-1px);
}

.category-tile-btn.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 248, 214, 0.42) 48%, transparent 100%);
  transform: translateX(-125%);
  pointer-events: none;
}

.category-tile-btn:hover,
.subcategory-chip:hover {
  transform: translateY(-1px);
}

.cart-modal {
  border: 0;
  border-radius: 10px;
  max-width: 640px;
  width: calc(100% - 24px);
  padding: 0;
  background: #0f2a23;
  color: var(--text-main);
}

.cart-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
  animation: modalBackdropIn 0.2s ease-out;
}

.cart-modal-inner {
  padding: 18px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-premium);
}

.cart-modal[open] .cart-modal-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

.cart-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.cart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cart-actions .btn {
  flex: 1 1 180px;
}

.order-form-grid {
  display: grid;
  gap: 10px;
  margin: 6px 0 12px;
}

.web-order-summary {
  display: grid;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 12px;
  border: 1px solid rgba(198, 165, 92, 0.22);
  border-radius: 12px;
  background: rgba(16, 39, 32, 0.72);
}

.web-order-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.web-order-summary-head strong {
  color: var(--gold-light);
}

.web-order-summary-head span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.web-order-summary-list {
  display: grid;
  gap: 8px;
}

.web-order-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}

.web-order-summary-item-name {
  color: var(--text-main);
  font-weight: 600;
}

.web-order-summary-item-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.web-order-summary-item-total {
  color: var(--gold-light);
  font-weight: 700;
  white-space: nowrap;
}

.web-order-summary-total {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(198, 165, 92, 0.18);
}

.web-order-success {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 219, 180, 0.28);
  background: rgba(35, 79, 56, 0.34);
}

.web-order-success strong {
  color: #d6f4dd;
}

.web-order-success p {
  margin: 0;
  color: var(--text-muted);
}

.order-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(198, 165, 92, 0.34);
  border-radius: 10px;
  padding: 0 12px;
  background: #102821;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.order-input:focus {
  border-color: #d0b16b;
}

.cart-reco {
  margin-top: 8px;
  border: 1px solid rgba(198, 165, 92, 0.24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(16, 39, 32, 0.72);
}

.cart-set-builder {
  margin-top: 8px;
  border: 1px solid rgba(198, 165, 92, 0.26);
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(198, 165, 92, 0.12), rgba(17, 45, 36, 0.82));
  display: grid;
  gap: 8px;
}

.cart-set-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-set-title {
  margin: 0;
  color: var(--gold-light);
  font-size: 1rem;
}

.cart-set-percent {
  color: #f7e3ad;
  font-size: 1rem;
}

.cart-set-progress-wrap {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.cart-set-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8bd76, #f4e3b5);
  transition: width 0.3s ease;
}

.cart-set-progress-caption {
  margin: 0;
  font-size: 0.9rem;
  color: #d8c189;
}

.cart-set-missing,
.cart-set-done {
  margin: 0;
  font-size: 0.92rem;
}

.cart-set-missing span {
  color: #f1d89b;
  font-weight: 600;
}

.cart-set-done {
  color: #cae8cf;
}

.cart-reco-title {
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--gold-light);
}

.cart-reco-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(198, 165, 92, 0.16);
}

.cart-reco-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cart-reco-meta {
  display: grid;
  gap: 2px;
}

.cart-note {
  margin: 8px 0 12px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(198, 165, 92, 0.24);
  border-radius: 8px;
  padding: 10px;
  background: #102720;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--liquid-border);
  border-radius: 999px;
  background: var(--liquid-bg-soft), rgba(11, 31, 26, 0.72);
  color: #fff0c4;
  cursor: pointer;
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(8px) saturate(116%);
  -webkit-backdrop-filter: blur(8px) saturate(116%);
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.bottom-actions {
  position: fixed;
  right: 16px;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 130;
  width: auto;
  display: flex;
  gap: 10px;
}

.icon-action {
  width: var(--btn-height-lg);
  height: var(--btn-height-lg);
  border-radius: var(--radius-pill);
  border: 1px solid var(--liquid-border);
  background: var(--liquid-bg-soft), rgba(11, 31, 26, 0.8);
  color: #fff0c4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--liquid-shadow);
  position: relative;
  transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium), color var(--motion-fast) var(--ease-premium);
}

#call-bottom {
  display: none;
}

.lang-current,
.lang-option,
.nav-toggle,
.social-nav-icon,
.subcategory-chip,
.quick-nav,
.qty-btn,
.icon-action,
.cart-qty button,
.category-tile-btn,
.add-btn {
  border-radius: 14px;
  border: 1px solid var(--liquid-border);
  background: var(--liquid-bg-soft), rgba(11, 31, 26, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--liquid-shadow);
  transition: transform var(--motion-fast) var(--ease-premium), box-shadow var(--motion-fast) var(--ease-premium), border-color var(--motion-fast) var(--ease-premium), background-color var(--motion-fast) var(--ease-premium), color var(--motion-fast) var(--ease-premium);
}

.lang-current:hover,
.lang-option:hover,
.nav-toggle:hover,
.social-nav-icon:hover,
.subcategory-chip:hover,
.quick-nav:hover,
.qty-btn:hover,
.icon-action:hover,
.cart-qty button:hover,
.category-tile-btn:hover,
.add-btn:hover {
  border-color: var(--liquid-border-hover);
  box-shadow: var(--liquid-shadow-hover);
  transform: translateY(-1px);
}

.social-nav-icon,
.quick-nav,
.qty-btn,
.icon-action,
.cart-qty button,
.add-btn {
  border-radius: 999px;
}

.icon-glyph {
  font-size: var(--icon-lg);
  line-height: 1;
}

.cart-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #1b170d;
  font-size: 12px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.cart-count-badge.show {
  display: inline-flex;
}

.cart-count-badge.pulse {
  animation: cartBadgePulse 0.42s ease-out;
}

@keyframes cartBadgePulse {
  0% { transform: scale(0.85); }
  45% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.icon-action:hover {
  border-color: var(--liquid-border-hover);
  color: #fff6d8;
  transform: translateY(-1px);
  box-shadow: var(--liquid-shadow-hover);
}

.checkout-sticky {
  position: fixed;
  left: 50%;
  bottom: calc(max(10px, env(safe-area-inset-bottom)) + 2px);
  transform: translate(-50%, 8px);
  z-index: 129;
  width: clamp(180px, 44vw, 320px);
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(198, 165, 92, 0.32)),
    rgba(11, 31, 26, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fdf2c9;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--motion-fast) var(--ease-premium),
    transform var(--motion-fast) var(--ease-premium),
    border-color var(--motion-fast) var(--ease-premium),
    box-shadow var(--motion-fast) var(--ease-premium);
}

.checkout-sticky.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.checkout-sticky:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

@media (max-width: 980px) {
  #call-bottom {
    display: inline-flex;
  }

  .checkout-sticky {
    left: 12px;
    right: 132px;
    width: auto;
    max-width: none;
    transform: translateY(8px);
    text-align: center;
  }

  .checkout-sticky.show {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .section { padding: 24px 0; }

  .hero-content { padding: 36px 0 24px; }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .category-tile { min-height: 64px; }

  .cards-grid {
    gap: 10px;
  }

  .product-content {
    padding: 8px 8px 10px;
  }

  .product-card {
    border-radius: 14px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    gap: 18px;
  }

  .bottom-actions {
    right: 12px;
    gap: 8px;
  }

  .checkout-sticky {
    left: 10px;
    right: 118px;
    width: auto;
    min-height: 38px;
    font-size: 0.8rem;
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + 2px);
    padding: 0 10px;
  }

  .icon-action {
    width: 54px;
    height: 54px;
  }

  .icon-glyph {
    font-size: var(--icon-xl);
  }

  .product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
  }

  .quick-specs {
    grid-template-columns: 1fr;
  }

  .quick-cta-panel {
    padding: 12px;
  }

  .product-spec {
    min-height: 1.2em;
  }

  .product-spec > span:first-child {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-price {
    font-size: 1.05rem;
  }

  .product-actions .add-btn,
  .add-qty {
    min-height: 42px;
  }

  .product-actions .quick-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .product-head .share-btn {
    width: 32px;
    min-width: 32px;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
  }

  .quick-toggle-details {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .quick-view-inner.mobile-collapsed .quick-meta .description-list,
  .quick-view-inner.mobile-collapsed .quick-meta .quick-specs,
  .quick-view-inner.mobile-collapsed .quick-meta .quick-offer,
  .quick-view-inner.mobile-collapsed .quick-meta .quick-related {
    display: none;
  }

  .quick-actions-secondary {
    flex-direction: column;
  }

  /* Prevent iOS zoom on input focus */
  .filter-panel input,
  .filter-panel select {
    font-size: 16px;
  }

  /* Touch feedback for interactive cards */
  .product-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }

  .category-tile:active {
    transform: scale(0.97);
    transition: transform 0.1s ease;
  }

  /* Stock filter buttons: 2×2 grid on small phones */
  .stock-filter-row .toggle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.call-modal {
  border: 0;
  border-radius: 10px;
  width: min(420px, calc(100% - 24px));
  padding: 0;
  background: #0f2a23;
  color: var(--text-main);
}

.call-modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
  animation: modalBackdropIn 0.2s ease-out;
}

.call-inner {
  padding: 16px;
  border: 1px solid rgba(198, 165, 92, 0.28);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-premium);
}

.call-modal[open] .call-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.call-links {
  margin: 12px 0;
  display: grid;
  gap: 8px;
}

.phone-action-number {
  margin: 0;
  color: #fff0c4;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.image-modal {
  border: 0;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(96vw, 1200px);
  max-height: 96vh;
  padding: 0;
  background: transparent;
}

.image-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  animation: modalBackdropIn 0.24s ease-out;
}

.image-modal-inner {
  display: grid;
  gap: 8px;
  width: 100%;
  justify-items: end;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-premium);
}

.image-modal[open] .image-modal-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cart-toast {
  position: fixed;
  right: 16px;
  bottom: calc(max(14px, env(safe-area-inset-bottom)) + 62px);
  z-index: 134;
  border-radius: 999px;
  border: 1px solid rgba(198, 165, 92, 0.45);
  background: rgba(11, 31, 26, 0.95);
  color: var(--gold-light);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
  transition: opacity var(--motion-fast) var(--ease-premium), transform var(--motion-fast) var(--ease-premium);
}

.cart-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.network-status-banner {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translate(-50%, -12px);
  z-index: 210;
  max-width: min(92vw, 520px);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(164, 47, 47, 0.9);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.network-status-banner.ok {
  background: rgba(39, 121, 75, 0.9);
}

.network-status-banner.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.global-loader {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 15, 0.26);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 205;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.global-loader.show {
  opacity: 1;
  pointer-events: auto;
}

.global-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--gold-light);
  animation: orvosSpin 0.9s linear infinite;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.image-viewer {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}

.image-full {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
  background: #0b1f1a;
}

.image-prev {
  left: 8px;
}

.image-next {
  right: 8px;
}

/* In fullscreen image modal, keep arrows fixed on viewport center. */
.image-modal .quick-nav {
  position: fixed;
  top: 50dvh;
  transform: translateY(-50%);
  z-index: 7;
}

.image-modal .quick-nav:hover,
.image-modal .quick-nav:focus-visible,
.image-modal .quick-nav:active {
  transform: translateY(-50%);
}

.map-choice-inner,
.add-more-inner {
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity var(--motion-base) var(--ease-premium), transform var(--motion-base) var(--ease-premium);
}

.map-choice-modal[open] .map-choice-inner,
.add-more-modal[open] .add-more-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes orvosSpin {
  to {
    transform: rotate(360deg);
  }
}
