.pitlane-promo {
  position: relative;
  min-height: 300px;
  margin: 18px auto 18px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 37, 0.28);
  border-radius: var(--radius-lg);
  background: #111;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  cursor: pointer;
}

.pitlane-promo-media {
  position: absolute;
  inset: 0;
}

.pitlane-promo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.08)), linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0));
}

.pitlane-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pitlane-promo-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  justify-items: start;
  gap: 12px;
}

.pitlane-promo-kicker {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 196, 37, 0.46);
  border-radius: 999px;
  background: rgba(255, 196, 37, 0.14);
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pitlane-promo h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.pitlane-promo p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.96rem, 1.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

.pitlane-promo-btn {
  min-height: 46px;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #161616;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(255, 196, 37, 0.2);
}

.pitlane-promo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(255, 196, 37, 0.3);
}

@media (max-width: 720px) {
  .pitlane-promo {
    min-height: 350px;
    margin-top: 12px;
  }

  .pitlane-promo-media::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.22));
  }

  .pitlane-promo-media img {
    object-position: 62% center;
  }

  .pitlane-promo-copy {
    padding: 20px;
  }
}

:root {

  --bg: #585858;
  --surface: #484848;
  --surface-2: #3e3e3e;
  --surface-3: #525252;
  --border: #6a6a6a;
  --border-2: #707070;
  --yellow: #ffc425;
  --yellow-dark: #e6ae1a;
  --yellow-soft: rgba(255, 196, 37, 0.12);
  --text: #f5f2ec;
  --muted: #b0a89a;
  --danger: #e06565;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-display: "Barlow Condensed", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a,
button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(62, 62, 62, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 120px;
  height: 67.5px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--yellow);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switcher {
  min-height: 42px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(72, 72, 72, 0.78);
}

.lang-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--yellow);
  color: #1a1a1a;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.cart-trigger,
.icon-btn,
.secondary-block,
.clear-btn,
.thumb-btn {
  border: 1px solid var(--border-2);
  background: var(--surface-2);
  color: var(--text);
}

.cart-trigger,
.primary-block,
.secondary-block,
.contact-btn,
.clear-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.cart-trigger:hover,
.secondary-block:hover,
.clear-btn:hover {
  border-color: var(--yellow);
  background: var(--surface-3);
  transform: translateY(-1px);
}

.cart-trigger {
  position: relative;
  min-width: 96px;
  min-height: 52px;
  padding: 5px 14px 5px 10px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #171d26;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.cart-trigger::before,
.add-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-block;
  background: var(--yellow);
  -webkit-mask: url("assets/cart-icon.svg") center / contain no-repeat;
  mask: url("assets/cart-icon.svg") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.14));
}

.cart-trigger::before {
  width: 34px;
  height: 32px;
  flex-basis: 34px;
  background: var(--yellow);
}

.cart-badge {
  position: absolute;
  top: 12px;
  left: 31px;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.72rem;
  line-height: 1;
  box-shadow: none;
}

.hero {
  padding: 24px 0 10px;
}

.hero-copy,
.catalog-section,
.card,
.cart-panel,
.product-modal,
.summary-modal,
.gallery-lightbox {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 22px 24px 20px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top center, rgba(255, 196, 37, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface-2);
  text-align: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 196, 37, 0.08), transparent 68%);
  pointer-events: none;
}

.eyebrow,
.panel-label {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.hero h1,
.section-heading h2,
.cart-header h2,
.summary-head h3,
.product-modal-info h3,
.example-gallery-title h2,
.example-gallery-card-copy h3,
.gallery-lightbox-meta h3,
.card-title,
.catalog-family-head strong,
.reviews-head h2 {
  margin: 0;
  font-family: var(--font-display);
}

.hero h1 {
  max-width: 200ch;
  margin-inline: auto;
  width: fit-content;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: clamp(1.65rem, 2.35vw, 2.7rem);
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.eyebrow {
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.leadtime-highlight {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 37, 0.35);
  background: var(--yellow-soft);
  color: var(--text);
}

.leadtime-highlight strong {
  color: var(--yellow);
}

.leadtime-value {
  color: #ff5a5a;
}

.notice-band {
  width: min(520px, 100%);
  height: 38px;
  margin: 12px auto 0;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 37, 0.35);
  background: var(--yellow-soft);
}

.notice-track {
  display: grid;
  grid-auto-rows: 38px;
  animation: rotateNotice 8s infinite;
}

.notice-track span {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.notice-track strong {
  color: var(--yellow);
}

.notice-track .leadtime-value {
  color: #ff5a5a;
}

@keyframes rotateNotice {
  0%, 18% {
    transform: translateY(0);
  }
  25%, 43% {
    transform: translateY(-38px);
  }
  50%, 68% {
    transform: translateY(-76px);
  }
  75%, 93% { transform: translateY(-114px); }
  100% { transform: translateY(0); }
}

.flow-diagram {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  padding-bottom: 0;
}

.hero-flow-wrap {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.hero-flow-wrap .flow-diagram {
  margin: 0;
}

.flow-step {
  width: 218px;
  min-height: 42px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  animation: flowStepSequence 5s linear infinite;
}

.flow-step strong {
  font-family: "Barlow Condensed", sans-serif;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 1.05rem;
  line-height: 1;
}

.flow-step span {
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.35;
}

.flow-step .flow-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  border: 1px solid rgba(255, 196, 37, 0.35);
  color: var(--yellow);
  background: rgba(255, 196, 37, 0.08);
  font-size: 1rem;
  line-height: 1;
  animation: flowIconSequence 5s ease-in-out infinite;
}

.flow-icon-cart {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.12);
}

.flow-icon-send {
  color: #61b7ff;
  border-color: rgba(97, 183, 255, 0.42);
  background: rgba(97, 183, 255, 0.12);
}

.flow-step:nth-of-type(3) {
  animation-delay: 2s;
}

.flow-step:nth-of-type(3) .flow-icon {
  animation-delay: 2s;
}

.flow-step:nth-of-type(5) {
  animation-delay: 4s;
}

.flow-step:nth-of-type(5) .flow-icon {
  animation-delay: 4s;
}

.hero-catalog-chip {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-catalog-chip-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.hero-catalog-chip:hover {
  transform: translateY(-1px);
}

.topbar-catalog-chip {
  display: none;
}

.topbar-catalog-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  overflow: hidden;
  background: #666;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, background .16s ease;
}
.topbar-catalog-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  background: var(--yellow);
  color: #343434;
  font-size: 0;
  line-height: 1;
}
.topbar-catalog-icon img { width: 27px; height: 27px; object-fit: contain; display: block; }
.topbar-catalog-btn > span:last-child { padding: 0 14px; }
.topbar-catalog-btn:hover { background: #555; color: #fff; transform: translateY(-1px); }

.hero-notice-row {
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-notice-row .notice-band { width: min(520px, 100%); margin: 0; }
.hero-catalog-btn { flex: 0 0 auto; }

@media (max-width: 1100px) {
  .topbar-catalog-btn > span:last-child { display: none; }
  .topbar-catalog-btn { width: 42px; }
}
@media (max-width: 900px) {
  .topbar-catalog-btn { min-height: 40px; width: 40px; }
  .topbar-catalog-icon { width: 40px; height: 40px; }
}

.hero-flow-wrap > .hero-catalog-chip {
  width: min(170px, 100%);
  flex: 0 0 170px;
  order: -1;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

.hero-flow-wrap > .hero-catalog-chip .hero-catalog-chip-img {
  border-radius: 14px;
}

.hero-flow-wrap > .hero-catalog-chip:hover {
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.22));
}

.flow-arrow {
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0.42;
  animation: flowArrowStep 5s linear infinite;
  animation-delay: 1s;
}

.flow-arrow:nth-of-type(4) {
  animation-delay: 3s;
}

@keyframes flowStepSequence {
  0%, 12% {
    border-color: var(--yellow);
    background: var(--surface-3);
    box-shadow: 0 0 18px rgba(255, 196, 37, 0.14);
  }
  28%, 100% {
    border-color: var(--border);
    background: var(--surface);
    box-shadow: none;
  }
}

@keyframes flowArrowStep {
  0%, 28%, 100% {
    opacity: 0.42;
    transform: translateX(0);
  }
  8%, 20% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.catalog-section {
  margin-top: 10px;
  padding: 24px 24px 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), var(--surface-2);
  scroll-margin-top: 120px;
}

.example-gallery {
  margin: 10px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 196, 37, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface-2);
  box-shadow: var(--shadow);
}

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

.example-gallery-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  text-align: left;
}

.example-gallery-title h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  color: var(--yellow);
  letter-spacing: 0.04em;
}

.example-gallery-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.gallery-social {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.gallery-social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.gallery-social span {
  line-height: 1;
}

.gallery-social.youtube {
  background: rgba(255, 0, 51, 0.16);
  border: 1px solid rgba(255, 0, 51, 0.38);
}

.gallery-social.instagram {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(221, 42, 123, 0.4);
}

.example-gallery-frame {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 12px 52px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.example-gallery-loading {
  position: absolute;
  inset: 12px 52px;
  z-index: 1;
  border: 1px dashed rgba(255, 196, 37, 0.28);
  border-radius: var(--radius-md);
  display: none;
  gap: 10px;
  place-items: center;
  align-content: center;
  background: rgba(0, 0, 0, 0.2);
  color: var(--yellow);
  font-weight: 800;
}

.example-gallery-loading img {
  width: 76px;
  height: auto;
  object-fit: contain;
  animation: galleryLogoSpin 1.15s linear infinite;
}

.example-gallery-loading span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.example-gallery.is-loading .example-gallery-loading {
  display: grid;
}

.example-gallery.is-loading .example-gallery-btn,
.example-gallery.is-loading .example-gallery-dots {
  opacity: 0;
  pointer-events: none;
}

@keyframes galleryLogoSpin {
  from {
    transform: rotate(0deg) scale(0.98);
  }
  to {
    transform: rotate(360deg) scale(0.98);
  }
}

.example-gallery-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  will-change: transform, opacity;
}

.example-gallery-track.slide-next {
  animation: gallerySlideNext 0.68s cubic-bezier(0.2, 0.85, 0.2, 1) both;
}

.example-gallery-track.slide-prev {
  animation: gallerySlidePrev 0.68s cubic-bezier(0.2, 0.85, 0.2, 1) both;
}

@keyframes gallerySlideNext {
  from {
    opacity: 0.72;
    transform: translate3d(34px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes gallerySlidePrev {
  from {
    opacity: 0.72;
    transform: translate3d(-34px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.example-gallery-card {
  position: relative;
  display: grid;
  align-content: end;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.example-gallery-card-media {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

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

.example-gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.example-gallery-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 7px;
  min-height: 100%;
  padding: 12px 12px 12px;
  text-align: left;
  pointer-events: none;
}

.example-gallery-chip {
  width: fit-content;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 196, 37, 0.35);
  background: rgba(255, 196, 37, 0.14);
  color: var(--yellow);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-gallery-card-copy h3 {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.15;
  color: #fff7e0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.example-gallery-card-channel {
  color: #ffd36c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.example-gallery-card-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  line-height: 1.3;
}

.example-gallery-card-author {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

.example-gallery-card-link {
  position: relative;
  z-index: 2;
  width: fit-content;
  min-height: 32px;
  margin-top: 4px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  background: rgba(16, 16, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.example-gallery-card-link img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* In the compact gallery, show only the platform mark; the expanded lightbox keeps the label. */
.example-gallery-card-link {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  justify-content: center;
  justify-self: center;
  gap: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.example-gallery-card-link.is-youtube,
.example-gallery-card-link.is-instagram,
.example-gallery-card-link:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.example-gallery-card-link img {
  width: 50px;
  height: 50px;
}

.example-gallery-card.active,
.example-gallery-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.example-gallery-card-link:hover {
  border-color: var(--yellow);
  color: #fff8dd;
  background: rgba(28, 28, 28, 0.96);
}

.example-gallery-card-link.is-youtube {
  background: rgba(193, 29, 29, 0.96);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.example-gallery-card-link.is-instagram {
  background: linear-gradient(135deg, #833ab4, #e1306c 55%, #fdc830);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.example-gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  color: var(--yellow);
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
}

.example-gallery-btn:hover {
  border-color: var(--yellow);
  background: rgba(0, 0, 0, 0.62);
}

.example-gallery-btn:first-of-type {
  left: 10px;
}

.example-gallery-btn:last-of-type {
  right: 10px;
}

.example-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.example-gallery-dots button {
  width: 22px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.example-gallery-dots button.active {
  background: var(--yellow);
}


.pitlane-promo-media {
  position: absolute;
  inset: 0;
}

.pitlane-promo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.08)), linear-gradient(0deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0));
}

.pitlane-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pitlane-promo-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: clamp(22px, 4vw, 42px);
  display: grid;
  justify-items: start;
  gap: 12px;
}

.pitlane-promo-kicker {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 196, 37, 0.46);
  border-radius: 999px;
  background: rgba(255, 196, 37, 0.14);
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pitlane-promo h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

.pitlane-promo p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.96rem, 1.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

.pitlane-promo-btn {
  min-height: 46px;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #161616;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(255, 196, 37, 0.2);
}

.pitlane-promo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(255, 196, 37, 0.3);
}

@media (max-width: 720px) {
  .product-gallery-link.is-youtube:hover .product-gallery-link-copy {
  background: #c62828;
}
.product-gallery-link.is-instagram .product-gallery-link-copy {
  padding: 0;
  min-height: 0;
  background: transparent;
}
.product-gallery-social-button {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.product-gallery-link.is-youtube .product-gallery-link-copy {
  padding: 0;
  min-height: 0;
  background: transparent;
}
.product-gallery-youtube-button {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.product-gallery-link .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Use the supplied YouTube mark anywhere a legacy logo reference remains. */
img[src*="youtube-logo.jpg"],
img[src*="youtube-logo.svg"] {
  content: url("youtube-icon-teeck3d.png");
}

.thumb-btn {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--yellow);
}

.product-modal-info {
  padding-top: 8px;
  display: grid;
  gap: 12px;
}

.product-modal-info h3 {
  font-size: 2rem;
}

.product-modal-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.product-modal-price {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--yellow);
}

.product-modal-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-modal-desc p {
  margin: 0;
}

.product-modal-desc p + p {
  margin-top: 10px;
}

.product-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal-tags span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
}

.product-modal-options {
  display: none;
}

.product-modal-options.visible {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 196, 37, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 196, 37, 0.07);
}

.product-options-title {
  margin: 0;
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-option-actions-slot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 4px;
}

.product-option-actions-slot:empty {
  display: none;
}

.product-option-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.product-option-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-option-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
}

.product-option-field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 10px;
  outline: none;
}

.product-option-field select:focus {
  border-color: var(--yellow);
}

.selected-option-swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 22%),
    var(--selected-option-color);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.selected-option-swatch.light {
  border-color: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.product-modal-custom {
  display: none;
}

.product-modal-custom.visible {
  display: grid;
  gap: 8px;
}

.product-modal-custom-head {
  display: block;
}

.product-modal-custom-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-modal-custom-card:focus-within {
  border-color: rgba(238, 190, 5, 0.78);
  box-shadow: 0 0 0 1px rgba(238, 190, 5, 0.16);
}

.product-modal-lower {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 22px;
}

.product-modal-lower:not(.has-custom),
.product-modal-lower:not(.has-recommendations) {
  grid-template-columns: 1fr;
}

.custom-label {
  font-size: 0.86rem;
  color: var(--text);
}

.custom-textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.custom-textarea:focus {
  outline: none;
}

.product-modal-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  flex-wrap: nowrap;
}

.product-modal-actions.in-options {
  justify-self: auto;
  justify-content: flex-end;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  flex: 0 0 auto;
}

.product-modal-actions.in-options .product-modal-qty {
  flex: 0 0 auto;
}

.product-modal-actions.in-options .product-modal-add {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 999px;
  flex: 0 0 46px;
  gap: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0;
  line-height: 0;
  color: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.product-modal-actions.in-options .product-modal-add::before {
  content: "";
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-block;
  background: var(--yellow);
  -webkit-mask: url("assets/cart-icon.svg") center / contain no-repeat;
  mask: url("assets/cart-icon.svg") center / contain no-repeat;
}

.product-modal-actions.in-options .product-modal-add:hover {
  background: transparent;
  transform: translateY(-1px) scale(1.02);
  box-shadow: none;
}

.product-modal-add {
  width: auto;
  min-width: 0;
  min-height: 42px;
  padding: 0 16px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.product-modal-add::before {
  transform: scale(1.55);
  transform-origin: center;
}

.summary-modal {
  width: min(820px, calc(100vw - 28px));
  padding: 24px;
}

.summary-head {
  position: sticky;
  top: -24px;
  z-index: 3;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin: -24px -24px 16px;
  padding: 24px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.summary-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.summary-logo {
  width: 72px;
  height: auto;
  flex: 0 0 auto;
}

.summary-title .panel-label {
  margin: 0;
}

.summary-help {
  margin: 10px 0 14px;
  color: var(--muted);
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.customer-fields-heading {
  grid-column: 1 / -1;
}

.customer-fields-heading p {
  margin: 0;
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-fields label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.field-label-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field-control {
  position: relative;
  display: block;
}

.required-mark {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff5a5a;
  font-weight: 900;
  pointer-events: none;
}

.required-mark.hidden {
  display: none;
}

.customer-fields input,
.customer-fields textarea,
.customer-fields select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  padding: 10px 28px 10px 10px;
  outline: none;
}

.customer-fields select {
  padding-right: 46px;
}

.customer-fields select + .required-mark {
  right: 34px;
}

.customer-fields input:focus,
.customer-fields textarea:focus,
.customer-fields select:focus {
  border-color: var(--yellow);
}

.customer-fields .field-error {
  border-color: #ff5a5a;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.16);
}

.customer-address {
  grid-column: 1 / -1;
}

.order-comments {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.order-comments label {
  display: block;
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.order-comments p {
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.order-comments textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  outline: none;
  font: inherit;
  line-height: 1.4;
}

.order-comments textarea:focus {
  border-color: var(--yellow);
}

.print-customer-data {
  display: none;
}

.summary-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-table th,
.summary-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  color: var(--yellow);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-table td {
  color: var(--text);
}

.summary-table small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.summary-table tfoot td {
  border-bottom: none;
  color: var(--yellow);
  font-weight: 700;
}

.summary-table tfoot tr:not(:last-child) td {
  color: var(--muted);
  font-weight: 600;
}

.summary-extra {
  padding: 12px 14px;
  color: var(--muted);
}

.summary-extra p {
  margin: 4px 0;
}

.sheet-export {
  margin: 12px 0;
  color: var(--muted);
}

.sheet-export summary {
  cursor: pointer;
  color: var(--yellow);
  font-size: 0.9rem;
}

.summary-text {
  width: 100%;
  min-height: 180px;
  margin-top: 10px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  padding: 14px;
  line-height: 1.55;
  font-family: Consolas, "Courier New", monospace;
  white-space: pre;
  font-size: 0.9rem;
}

.summary-text-hidden {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  width: max-content;
  max-width: min(620px, calc(100vw - 32px));
  transform: translate(-50%, calc(100% + 48px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 13px 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(120deg, #fff27a 0%, #ffc425 52%, #ffae0b 100%);
  color: #211900;
  z-index: 60;
  text-align: center;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 0 0 3px rgba(255, 196, 37, 0.2), 0 0 28px rgba(255, 196, 37, 0.7), 0 12px 34px rgba(0, 0, 0, 0.42);
  transition: transform 0.24s ease, opacity 0.24s ease, visibility 0s linear 0.24s;
}

.toast[hidden] {
  display: none !important;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  animation: toast-glow 1.25s ease-in-out 2;
}

.toast::before {
  content: "✦";
  margin-right: 9px;
  color: #9b4b00;
  font-size: 1.05em;
}

@keyframes toast-glow {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(255, 196, 37, 0.2), 0 0 28px rgba(255, 196, 37, 0.7), 0 12px 34px rgba(0, 0, 0, 0.42);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255, 196, 37, 0.3), 0 0 42px rgba(255, 216, 73, 0.95), 0 14px 38px rgba(0, 0, 0, 0.48);
  }
}

@media (max-width: 600px) {
  .toast {
    left: 12px;
    right: 88px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: none;
    padding: 12px 14px;
    border-radius: 14px;
    transform: translateY(calc(100% + 48px));
  }

  .toast.show {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .toast.show {
    animation: none;
  }
}

@media (max-width: 900px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-lower {
    grid-template-columns: 1fr;
  }

  .example-gallery-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-families {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100%, calc(100% - 20px));
  }

  .topbar {
    min-height: 74px;
    gap: 8px;
    padding: 8px 10px;
  }

  .brand-copy {
    display: none;
  }

  .top-actions {
    margin-left: auto;
    gap: 6px;
  }

  .language-switcher {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-height: 34px;
    padding: 3px;
    gap: 2px;
  }

  .lang-btn {
    width: 28px;
    height: 28px;
    font-size: 0.62rem;
  }

  .cart-trigger {
    min-height: 56px;
    min-width: 56px;
    padding: 0 12px;
    border-radius: 18px;
    gap: 5px;
    font-size: 0.82rem;
  }

  .cart-trigger::before {
    width: 24.3px;
    height: 24.3px;
    flex-basis: 24.3px;
  }

  .cart-trigger > span[data-i18n="cartButton"] {
    display: none;
  }

  .cart-badge {
    top: 9px;
    left: 25px;
    min-width: 0;
    height: auto;
    padding: 0;
    font-size: 0.66rem;
  }

  .hero {
    padding: 8px 0 6px;
  }

  .hero-copy {
    padding: 12px 12px 12px;
    border-radius: var(--radius-lg);
  }

  .eyebrow {
    margin-bottom: 4px;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    max-width: none;
    padding: 0;
    border-radius: 0;
    font-size: clamp(0.98rem, 3.9vw, 1.22rem);
    line-height: 1.02;
    white-space: nowrap;
  }

  .notice-band {
    height: 30px;
    margin-top: 12px;
    font-size: 0.72rem;
  }

  .notice-track span {
    min-height: 30px;
    padding: 0 8px;
  }
  .notice-track { grid-auto-rows: 30px; }

  @keyframes rotateNotice {
    0%, 18% {
      transform: translateY(0);
    }
    25%, 43% {
      transform: translateY(-30px);
    }
    50%, 68% {
      transform: translateY(-60px);
    }
    75%, 93% { transform: translateY(-90px); }
    100% { transform: translateY(0); }
  }

  .hero-flow-wrap {
    width: 100%;
    margin-top: 14px;
    display: grid;
    justify-items: center;
    gap: 12px;
  }

  .flow-diagram {
    gap: 3px;
    padding-bottom: 0;
  }

  .flow-arrow {
    width: 24px;
    text-align: center;
    transform: rotate(90deg);
    animation-name: flowArrowStepMobile;
  }

  .flow-step {
    width: 100%;
    min-height: 34px;
    padding: 5px 8px;
  }

  .flow-step strong {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 0.9rem;
  }

  .flow-step span {
    font-size: 0.78rem;
  }

  .flow-step .flow-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 0.88rem;
  }

  .product-modal-mobile-close {
    position: sticky;
    top: 0;
    z-index: 9;
    display: flex;
    justify-content: flex-end;
    margin: 0 -12px -52px;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 0;
    pointer-events: none;
  }

  #closeProductModal {
    position: static;
    margin: 0;
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
    pointer-events: auto;
  }

  .product-modal-grid {
    gap: 16px;
    padding: 12px 12px 14px;
  }

  .product-gallery-nav {
    width: 40px;
    height: 64px;
    font-size: 1.75rem;
  }

  .product-gallery-link {
    width: 100%;
    max-width: none;
  }

  .product-gallery-link-copy {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.74rem;
  }

  .product-gallery-link-badge {
    left: 8px;
    bottom: 8px;
  }

  .product-modal-price-row {
    gap: 10px;
  }

  .product-modal-price {
    font-size: 1.72rem;
  }

  .product-modal-actions {
    gap: 8px;
  }

  .product-modal-qty {
    gap: 5px;
  }

  .product-modal-add {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 999px;
    flex: 0 0 46px;
    gap: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .product-modal-add::before {
    content: "";
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: inline-block;
    background: var(--yellow);
    -webkit-mask: url("assets/cart-icon.svg") center / contain no-repeat;
    mask: url("assets/cart-icon.svg") center / contain no-repeat;
  }

  .product-option-actions-slot {
    justify-content: flex-start;
    padding-top: 2px;
  }

  .product-modal-lower {
    gap: 16px;
  }

  .hero-flow-wrap > .hero-catalog-chip {
    width: min(189px, 100%);
    flex-basis: auto;
    order: 0;
  }

  .example-gallery {
    margin: 8px 0;
    padding: 10px;
    border-radius: var(--radius-lg);
  }

  .example-gallery-head {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 8px;
    text-align: left;
  }

  .example-gallery-title h2 {
    font-size: 1.25rem;
  }

  .example-gallery-title h2 span {
    display: inline;
    margin-left: 6px;
    margin-top: 0;
  }

  .example-gallery-socials {
    justify-content: flex-start;
  }

  .example-gallery-frame {
    padding: 9px 38px;
  }

  .example-gallery-loading {
    inset: 9px 38px;
  }

  .example-gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .example-gallery-card-copy {
    padding: 10px 10px 9px;
  }

  .example-gallery-card-copy h3 {
    font-size: 0.82rem;
  }

  .example-gallery-card-link {
    font-size: 0.68rem;
  }

  .example-gallery-card.has-link .example-gallery-card-copy {
    gap: 0;
  }

  .example-gallery-card.has-link .example-gallery-card-copy h3 {
    display: -webkit-box;
  }

  .example-gallery-card.has-link .example-gallery-card-link {
    margin-top: 0;
  }

  .example-gallery-btn {
    width: 28px;
    height: 36px;
    font-size: 1.35rem;
  }

  .example-gallery-dots {
    margin-top: 8px;
  }

  .catalog-page-controls {
    gap: 5px;
  }

  .catalog-page-btn {
    min-height: 34px;
    padding: 0 11px;
  }

  .reviews-section {
    margin-top: 16px;
    padding: 16px 14px;
  }

  .review-card {
    padding: 14px;
  }

  .catalog-section {
    margin-top: 6px;
    padding: 16px 14px 18px;
  }

  .catalog-families {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .catalog-family-copy {
    padding: 9px 10px 11px;
  }

  .catalog-family-copy strong {
    font-size: 0.84rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-grid.is-list-view {
    grid-template-columns: 1fr;
  }

  .catalog-grid.is-list-view .card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .catalog-grid.is-list-view .card-visual {
    min-height: 82px;
  }

  .catalog-grid.is-list-view .card-purchase {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    grid-row: auto;
    gap: 5px;
  }

  .card-body {
    gap: 7px;
    padding: 9px;
  }

  .card-head {
    display: grid;
    gap: 4px;
  }

  .card-title {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .card-ref {
    margin-top: 4px;
    padding-top: 5px;
    font-size: 0.64rem;
  }

  .card-price {
    font-size: 1.28rem;
  }

  .card-desc {
    display: none;
  }

  .product-unit-advice {
    padding: 4px 6px;
    font-size: 0.62rem;
  }

  .option-summary {
    display: none;
  }

  .card-quick-add {
    right: 8px;
    bottom: 8px;
    min-width: 74px;
    width: auto;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
  }


  .card-visual-image {
    padding: 6px;
  }

  .card-visual-dots {
    bottom: 8px;
    gap: 5px;
    padding: 4px 7px;
    display: inline-flex;
  }

  .card-visual-dot {
    width: 5px;
    height: 5px;
  }

  .qty-row {
    display: grid;
    gap: 5px;
  }

  .qty-controls {
    gap: 4px;
  }

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

  .card-meta-note {
    display: none;
  }

  .add-btn {
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  .card-cart-count {
    min-height: 21px;
    padding: 3px 7px;
    font-size: 0.64rem;
  }

  .section-heading {
    margin-bottom: 10px;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .catalog-tools {
    margin-bottom: 10px;
  }

  .catalog-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-sort-row {
    justify-content: stretch;
  }

  .sort-wrap {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
    padding-left: 10px;
    justify-content: stretch;
    gap: 6px;
  }

  .sort-wrap > span {
    display: none;
  }

  .sort-wrap select {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-right: 24px;
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search-wrap {
    grid-column: 1 / -1;
  }

  .view-toggle {
    grid-column: 2;
  }

  .page-size-wrap {
    font-size: 0.72rem;
  }

  .search-wrap input {
    min-height: 46px;
  }

  .view-toggle {
    min-height: 40px;
  }

  .view-toggle button {
    width: 31px;
    height: 31px;
    min-height: 31px;
  }

  .contact-grid,
  .summary-send-grid {
    grid-template-columns: 1fr;
  }

  .send-file-steps {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.78rem;
  }

  .send-step-card {
    padding: 10px;
  }

  .cart-panel {
    width: 100vw;
    max-width: 100vw;
  }

  .customer-fields {
    grid-template-columns: 1fr;
  }

  .summary-modal {
    width: min(100vw - 16px, 520px);
    padding: 16px;
  }

  .gallery-lightbox {
    width: min(100vw - 16px, 520px);
    padding: 16px;
  }

  .gallery-lightbox-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-lightbox-image {
    max-height: min(50vh, 360px);
  }

  .gallery-lightbox-meta h3 {
    font-size: 1rem;
  }

  .gallery-lightbox-btn {
    width: 34px;
    height: 42px;
    font-size: 1.55rem;
  }

  .gallery-lightbox-btn.prev {
    left: 10px;
  }

  .gallery-lightbox-btn.next {
    right: 10px;
  }

  .product-recommendations-grid {
    grid-auto-columns: minmax(140px, 72%);
  }

  .summary-head {
    top: -16px;
    margin: -16px -16px 12px;
    padding: 16px;
  }

  .summary-table-wrap {
    overflow: visible;
    border: none;
    background: transparent;
  }

  .summary-table,
  .summary-table thead,
  .summary-table tbody,
  .summary-table tfoot,
  .summary-table tr,
  .summary-table td {
    display: block;
    width: 100%;
  }

  .summary-table thead {
    display: none;
  }

  .summary-table tbody tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
  }

  .summary-table td {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .summary-table tbody td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    border-bottom: none;
  }

  .summary-table tbody td::before {
    content: none !important;
  }

  .summary-table tbody td:first-child {
    color: var(--yellow);
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .summary-table tbody td:nth-child(2) {
    overflow: hidden;
    color: var(--text);
    font-size: 0.82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .summary-table tbody td:nth-child(2) strong,
  .summary-table tbody td:nth-child(2) small {
    display: inline;
  }

  .summary-table tbody td:nth-child(2) small {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
  }

  .summary-table tbody td:nth-child(2) small::before {
    content: " · ";
  }

  .summary-table tbody td:nth-child(3) {
    color: var(--muted);
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .summary-table tbody td:nth-child(3)::after {
    content: attr(data-unit-label);
  }

  .summary-table tbody td:nth-child(4) {
    display: none;
  }

  .summary-table tbody td:nth-child(5) {
    color: var(--yellow);
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .summary-table tfoot tr {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 196, 37, 0.35);
    border-radius: var(--radius-md);
    background: rgba(255, 196, 37, 0.1);
  }

  .summary-table tfoot tr:not(:last-child) {
    padding: 7px 14px;
    border-color: transparent;
    background: transparent;
  }

  .summary-table tfoot td {
    border-bottom: none;
    padding: 0;
  }

  .summary-table tfoot td:first-child {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .summary-table tfoot td:last-child {
    color: var(--yellow);
    font-size: 1.2rem;
    font-weight: 800;
  }

  .product-option-grid {
    grid-template-columns: 1fr;
  }
}

/* Assembly video action on product cards. */
.card-video-link {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  min-width: 70px;
  height: 40px;
  padding: 0 13px 0 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #e62117;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0,0,0,.2);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.card-video-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 4px;
}
.card-video-link:hover {
  background: #c91810;
  color: #fff;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 28px rgba(0,0,0,.24);
}
@media (max-width: 720px) {
  .card-video-link {
    left: 8px;
    bottom: 8px;
    min-width: 62px;
    height: 38px;
    padding: 0 10px 0 8px;
    gap: 5px;
    font-size: .74rem;
  }
  .card-video-link img { width: 16px; height: 16px; }
}

@media (min-width: 721px) {
  #closeProductModal {
    display: none;
  }

  #closeProductModalDesktop {
    display: inline-flex;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body.print-summary {
    background: #fff;
    color: #111;
    font-size: 11px;
  }

  body.print-summary .site-shell,
  body.print-summary .cart-overlay,
  body.print-summary .cart-panel,
  body.print-summary .product-modal,
  body.print-summary .gallery-lightbox,
  body.print-summary .modal-overlay,
  body.print-summary .back-to-catalog,
  body.print-summary .toast {
    display: none !important;
  }

  body.print-summary .summary-modal {
    position: static;
    inset: auto;
    transform: none;
    width: 100%;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    border: none;
    box-shadow: none;
    background: #fff;
    color: #111;
    padding: 0;
    overflow: visible;
  }

  body.print-summary .summary-modal * {
    color: #111 !important;
  }

  body.print-summary .summary-actions,
  body.print-summary .modal-close,
  body.print-summary .honeypot-field,
  body.print-summary .send-file-steps,
  body.print-summary .send-file-note,
  body.print-summary .required-note {
    display: none !important;
  }

  body.print-summary .summary-head {
    position: static;
    margin: 0 0 8px;
    padding: 0 0 8px;
    border-bottom: 1px solid #999;
  }

  body.print-summary .summary-logo {
    width: 46px;
  }

  body.print-summary .panel-label {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  body.print-summary .customer-fields {
    display: none;
  }

  body.print-summary .print-customer-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin: 0 0 8px;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 8px;
    background: #fff;
    font-size: 10px;
  }

  body.print-summary .print-customer-data div {
    display: grid;
    gap: 3px;
  }

  body.print-summary .print-customer-data span {
    color: #555 !important;
    font-size: 9px;
  }

  body.print-summary .print-customer-data strong {
    font-weight: 600;
  }

  body.print-summary .print-customer-notes {
    grid-column: 1 / -1;
  }

  body.print-summary .summary-table-wrap {
    border-color: #999;
    background: #fff;
  }

  body.print-summary .summary-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
  }

  body.print-summary .summary-table thead {
    display: table-header-group;
  }

  body.print-summary .summary-table tbody {
    display: table-row-group;
  }

  body.print-summary .summary-table tfoot {
    display: table-footer-group;
  }

  body.print-summary .summary-table tr {
    display: table-row;
    break-inside: avoid;
  }

  body.print-summary .summary-table th,
  body.print-summary .summary-table td {
    display: table-cell;
    width: auto;
    padding: 5px 6px;
    border-bottom: 1px solid #bbb;
  }

  body.print-summary .summary-table td::before {
    content: none !important;
  }

  body.print-summary .summary-table tfoot td {
    padding-top: 7px;
    font-weight: 800;
  }

  body.print-summary .summary-extra {
    padding: 6px 8px 0;
    font-size: 10px;
  }

  body.print-summary .summary-extra p {
    margin: 2px 0;
  }
}

@keyframes flowArrowStepMobile {
  0%, 28%, 100% {
    opacity: 0.42;
    transform: rotate(90deg);
  }
  8%, 20% {
    opacity: 1;
    transform: rotate(90deg);
  }
}


.catalog-families-head p {
  text-align: left;
  color: var(--yellow);
  font-size: 0.94rem;
  letter-spacing: 0.18em;
}

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

.catalog-family-card {
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  padding: 16px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(45, 45, 45, 0.92));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  gap: 12px;
}

.catalog-family-card:hover,
.catalog-family-card.active {
  border-color: rgba(238, 190, 5, 0.92);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.catalog-family-overline {
  display: none;
}

.catalog-family-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.catalog-family-head strong {
  font-size: 1.08rem;
  line-height: 1.12;
  color: #fff8df;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.catalog-family-count {
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(238, 190, 5, 0.18);
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.catalog-family-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  aspect-ratio: auto;
  background: transparent;
  overflow: visible;
}

.catalog-family-shot {
  aspect-ratio: 1.16 / 1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #fff;
  overflow: hidden;
}

.catalog-family-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
}

.catalog-family-shot.is-placeholder img {
  opacity: 0.26;
  padding: 14px;
}

.catalog-family-copy {
  display: none;
}
}

.catalog-family-copy span {
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filters {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters-dropdown {
  position: relative;
}

.filters-trigger {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.filters-trigger-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.filters-trigger-copy strong {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filters-trigger-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.filters-trigger-arrow {
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.filters-dropdown.is-open .filters-trigger-arrow {
  transform: rotate(-135deg);
}

.filters-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 12;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(22, 22, 22, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.filters-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 300px;
  overflow: auto;
}

.filter-option {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.filter-option:hover,
.filter-option.is-selected {
  border-color: rgba(238, 190, 5, 0.85);
  background: rgba(238, 190, 5, 0.12);
  transform: translateY(-1px);
}

.filter-option input {
  accent-color: var(--yellow);
  margin: 0;
  flex: 0 0 auto;
}

.filter-option span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.filters-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.filters-action {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
}

.filters-action-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.filters-action-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1a1a;
}

.filters-applied {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(238, 190, 5, 0.72);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 190, 5, 0.12);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.filter-chip .filter-close {
  color: var(--yellow);
  font-size: 1rem;
  line-height: 1;
}

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

@media (max-width: 720px) {
  .catalog-families-head p {
    text-align: left;
  }

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

  .catalog-family-card {
    padding: 13px;
    gap: 10px;
  }

  .catalog-family-head strong {
    font-size: 0.94rem;
  }
}


.catalog-families-head p {
  margin: 0 0 12px;
  color: var(--yellow);
  text-align: center;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

.catalog-families {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.catalog-family-card {
  padding: 12px;
  gap: 9px;
}

.catalog-family-head {
  align-items: center;
  gap: 10px;
}

.catalog-family-head strong {
  font-size: 1rem;
  line-height: 1.05;
}

.catalog-family-count {
  min-width: 36px;
  padding: 4px 8px;
  font-size: 0.74rem;
}

.catalog-family-visual {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.catalog-family-shot {
  aspect-ratio: 1 / 0.74;
  border-radius: 12px;
}

.catalog-family-shot img {
  padding: 6px;
}

.catalog-tools {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.8), rgba(41, 41, 41, 0.68));
}

.filters {
  width: min(1040px, 100%);
  margin: 0 auto 12px;
}

.filters-shell {
  width: 100%;
  padding: 12px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 22, 22, 0.82), rgba(38, 38, 38, 0.74));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.filters-head {
  margin-bottom: 10px;
  display: grid;
  gap: 3px;
}

.filters-head strong {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.filters-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.filter-btn {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.03);
}

.filter-btn.active {
  box-shadow: 0 8px 18px rgba(238, 190, 5, 0.18);
}

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

@media (max-width: 720px) {
  
.catalog-families-head p {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-family-head {
  justify-content: center;
  text-align: center;
}

.catalog-family-head strong {
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.45vw, 1.7rem);
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff8df;
}

.catalog-family-count {
  display: none;
}
}

@media (max-width: 720px) {
  .catalog-family-head strong {
    font-size: clamp(1rem, 3.8vw, 1.18rem);
  }
}

.example-gallery-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.example-gallery-title h2,
.catalog-families-head p,
.catalog-tools-head p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--yellow);
}

.example-gallery-socials {
  justify-content: center;
}

.catalog-tools {
  width: min(1120px, 100%);
  margin: 0 auto 12px;
  display: grid;
  gap: 12px;
}

.catalog-tools-head {
  display: flex;
  justify-content: center;
}

.filters {
  width: 100%;
  margin: 0;
}

.filters-shell {
  width: 100%;
}

.catalog-family-visual {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.catalog-family-shot {
  aspect-ratio: 1 / 0.92;
}

@media (max-width: 720px) {
  .example-gallery-title h2,
  .catalog-families-head p,
  .catalog-tools-head p {
    font-size: clamp(1.45rem, 6.6vw, 1.95rem);
  }

  .catalog-family-visual {
    gap: 5px;
  }
}


.catalog-family-card {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(124, 124, 124, 0.34), rgba(84, 84, 84, 0.4));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.catalog-family-card:hover,
.catalog-family-card.active {
  border-color: rgba(238, 190, 5, 0.92);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.catalog-tools {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 16px 18px 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(238, 190, 5, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(125, 123, 117, 0.34), rgba(77, 77, 77, 0.42));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

.filters-shell {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(138, 138, 138, 0.14), rgba(93, 93, 93, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.search-wrap input {
  border-color: rgba(255, 255, 255, 0.16);
  background: #8f8d88;
  color: #fff8e7;
}

.search-wrap input::placeholder {
  color: rgba(255, 248, 231, 0.72);
}

.search-wrap input:focus {
  border-color: var(--yellow);
  background: #9a9892;
}

.sort-wrap {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(124, 122, 116, 0.48);
  color: #f1e6c9;
}

.sort-wrap select {
  background: #6e6c67;
  color: #fff5dc;
}

.sort-wrap select option {
  background: #5e5c57;
  color: #fff5dc;
}

.filters-head span,
.filter-option span {
  color: #fff6e1;
}

.filter-option {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.filter-option:hover,
.filter-option.is-selected {
  background: rgba(238, 190, 5, 0.18);
}

/* Keep product add buttons in the catalogue accent color. */
.catalog-grid .add-btn {
  background: var(--yellow);
  color: #1a1a1a;
}

.catalog-grid .add-btn:hover {
  background: var(--yellow-dark);
  color: #1a1a1a;
}
/* Persistent catalog navigation. Overlays stay above the header (z-index 20). */
.topbar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 76px;
  padding: 10px 16px;
  border-radius: 24px;
  background: rgba(52, 52, 52, 0.98);
}
.topbar .brand { gap: 8px; }
.topbar .brand-logo { width: 60px; height: 44px; }
.topbar .brand-title { font-size: 1.25rem; letter-spacing: 0.12em; }
.header-categories { min-width: 0; }
.header-categories summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.header-categories summary::-webkit-details-marker { display: none; }
.header-categories[open] summary { border-color: var(--yellow); color: var(--yellow); }
.header-categories[open] .category-chevron { transform: rotate(180deg); }
.header-category-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100dvh - var(--header-height, 120px) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border-2);
  border-radius: 18px;
  background: #343434;
  box-shadow: var(--shadow);
}
.header-category-list :is(button, a) {
  text-decoration: none;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.header-category-list [data-all-products] { grid-column: 1 / -1; border-bottom-color: var(--border); }
.header-category-list :is(button, a):hover,
.header-category-list [aria-current="page"] { background: var(--yellow-soft); color: var(--yellow); }
.header-category-list .header-category-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 64px;
}
.header-category-thumb {
  width: 58px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}
.header-category-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 0; }
.header-category-thumb.is-placeholder { background: #303030; }
.header-category-thumb.is-placeholder img { padding: 0; opacity: 1; }
.header-category-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-search { display: flex; min-width: 0; margin: 0; }
.header-search .search-wrap { min-width: 0; }
.header-search .search-wrap input {
  min-height: 44px;
  padding-left: 44px;
  padding-right: 38px;
  text-align: left;
  font-size: 1rem;
  background: #525252;
  color: #fff;
}
.header-search .search-wrap input::placeholder { text-align: left; color: #e0e0e0; }
.header-search .search-wrap input:focus { border-color: var(--yellow); }
.header-search .search-clear-btn[hidden] { display: none; }
.topbar :is(a, button, summary, input):focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.catalog-search-row { grid-template-columns: minmax(0, 1fr) auto; }
html { scroll-padding-top: calc(var(--header-height, 120px) + 30px); }

@media (max-width: 1100px) and (min-width: 901px) {
  .topbar .brand-copy { display: none; }
  .topbar { gap: 10px; }
  .topbar .cart-trigger > span[data-i18n="cartButton"] { display: none; }
}
@media (max-width: 900px) {
  .topbar {
    top: 6px;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px 6px;
    padding: 8px;
    border-radius: 20px;
    min-height: 0;
  }
  .topbar .brand-logo { width: 36px; height: 36px; }
  .topbar .brand-copy,
  .topbar .cart-trigger > span[data-i18n="cartButton"] { display: none; }
  .header-categories summary { gap: 5px; padding: 0 8px; font-size: 0.8rem; }
  .category-chevron { display: none; }
  .header-search { grid-row: 2; grid-column: 1 / -1; }
  .topbar .top-actions { justify-self: end; margin: 0; gap: 4px; }
  .topbar .language-switcher { position: static; transform: none; min-height: 40px; padding: 2px; gap: 0; }
  .topbar .lang-btn { width: 27px; height: 34px; font-size: 0.6rem; }
  .topbar .cart-trigger { min-width: 48px; min-height: 44px; padding: 0 6px; gap: 3px; }
  .topbar .cart-trigger::before { width: 25px; height: 25px; flex-basis: 25px; }
  .topbar .cart-badge { min-width: 18px; height: 20px; padding: 0 3px; }
  .header-category-list { width: 100%; grid-template-columns: 1fr; }
  .header-category-list .header-category-item { grid-template-columns: 52px minmax(0, 1fr); min-height: 58px; }
  .header-category-thumb { width: 52px; height: 44px; }
  .header-search .search-wrap::before { left: 14px; }
  .header-search .search-wrap::after { left: 27px; }
  .header-search .search-wrap input { padding-left: 38px; }
}
@media (max-width: 380px) {
  .topbar .brand-logo { width: 28px; height: 32px; }
  .header-categories summary { gap: 4px; padding: 0 5px; font-size: 0.75rem; }
  .topbar .lang-btn { width: 24px; }
}

/* Compact catalogue controls: shown only after a category or search context is selected. */
.catalog-families-section[hidden] { display: none !important; }
.catalog-tools { display: none; }
.catalog-tools.is-visible { display: grid; }
.catalog-tools-head { display: none !important; }
.filters-clear-inline,
.filters-clear {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  color: var(--yellow);
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
}
.filters-clear-inline:hover,
.filters-clear:hover { border-color: var(--yellow); background: rgba(255,196,37,.14); }
.filters-clear-inline { margin-left: auto; }
.filters-actions .filters-clear { flex: 0 0 32px; }

@media (max-width: 900px) {
  .topbar .header-categories { grid-column: 1; grid-row: 1; }
  .topbar .brand { grid-column: 2; grid-row: 1; }
  .topbar .top-actions { grid-column: 3; grid-row: 1; }
  .topbar .header-search { grid-column: 1 / -1; grid-row: 2; }
  .header-categories summary { width: 42px; padding: 0; }
  .menu-icon, .menu-icon i { width: 20px; }
}

/* Store-style filters */
.filters-shell { position: relative; padding: 0; background: transparent; border: 0; box-shadow: none; }
.filters-toolbar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filters-trigger { flex: 0 0 auto; min-height: 44px; padding: 0 12px 0 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045)); color: var(--text); font-size: .84rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.16); }
.filters-trigger:hover,.filters-trigger.is-open { border-color: var(--yellow); color: var(--yellow); background: linear-gradient(180deg, rgba(255,196,37,.16), rgba(255,255,255,.055)); }
.filters-trigger-icon { width: 16px; height: 14px; background: linear-gradient(var(--yellow),var(--yellow)) 0 1px/16px 2px no-repeat,linear-gradient(var(--yellow),var(--yellow)) 3px 6px/13px 2px no-repeat,linear-gradient(var(--yellow),var(--yellow)) 7px 11px/9px 2px no-repeat; }
.filters-trigger strong { min-width: 0; white-space: nowrap; }
.filters-trigger::after { content: ""; width: 8px; height: 8px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; opacity: .9; }
.filters-trigger.is-open::after { transform: rotate(225deg) translate(-1px, -1px); }
.filters-count { min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--yellow); color: #222; font-weight: 900; }
.active-filter-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.active-filter-list::-webkit-scrollbar { display: none; }
.active-filter-chip { flex: 0 0 auto; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,196,37,.5); border-radius: 999px; background: rgba(255,196,37,.1); color: #fff4cf; display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; }
.active-filter-chip:hover { background: rgba(255,196,37,.2); }
.filters-clear-inline { margin-left: auto; border: 0; background: transparent; color: var(--muted); text-decoration: underline; font-size: .78rem; }
.filters-panel { position: absolute; z-index: 15; top: calc(100% + 8px); left: 0; right: 0; padding: 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: #343434; box-shadow: 0 22px 50px rgba(0,0,0,.45); }
.filter-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.filter-group { min-width: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.025); overflow: hidden; }
.filter-group summary { min-height: 44px; padding: 0 12px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; font-weight: 800; cursor: pointer; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary span:last-child:not(:empty) { min-width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #222; font-size: .7rem; }
.filter-options { padding: 2px 8px 9px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.filter-option { min-width: 0; min-height: 38px; padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: center; gap: 8px; cursor: pointer; }
.filter-option input { position: absolute; opacity: 0; pointer-events: none; }
.filter-check { position: relative; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 5px; background: rgba(0,0,0,.12); box-shadow: inset 0 1px 2px rgba(0,0,0,.22); }
.filter-check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border-right: 2px solid #222; border-bottom: 2px solid #222; opacity: 0; transform: rotate(45deg) scale(.72); transition: opacity .14s ease, transform .14s ease; }
.filter-option span:not(.filter-check) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
.filter-option.is-selected { border-color: rgba(255,196,37,.45); background: rgba(255,196,37,.11); }
.filter-option.is-selected .filter-check { border-color: var(--yellow); background: var(--yellow); }
.filter-option.is-selected .filter-check::after { opacity: 1; transform: rotate(45deg) scale(1); }
.filters-actions { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: flex-end; gap: 8px; }
.filters-clear,.filters-apply { min-height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 800; }
.filters-clear { border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--text); }
.filters-apply { border: 0; background: var(--yellow); color: #222; }

@media (max-width: 720px) {
  .filters-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .filters-trigger { width: 100%; justify-content: flex-start; }
  .filters-trigger strong { flex: 1 1 auto; text-align: left; }
  .active-filter-list { order: 3; flex-basis: 100%; }
  .filters-clear-inline { margin-left: 0; }
  .filters-panel { position: fixed; z-index: 35; top: calc(var(--header-height,114px) + 12px); left: 10px; right: 10px; max-height: calc(100dvh - var(--header-height,114px) - 24px); overflow-y: auto; padding: 12px; }
  .filter-groups { grid-template-columns: 1fr; }
  .filter-options { grid-template-columns: 1fr; }
  .filters-actions { position: sticky; bottom: -12px; margin: 12px -12px -12px; padding: 10px 12px 12px; background: #343434; }
  .filters-clear,.filters-apply { flex: 1 1 0; padding: 0 10px; }
}

/* Final overrides for the compact catalog controls. */
.filters-clear-inline,
.filters-clear {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  color: var(--yellow);
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none;
}
.filters-clear-inline:hover,
.filters-clear:hover { border-color: var(--yellow); background: rgba(255,196,37,.14); }
.filters-clear-inline { margin-left: auto; }
.filters-actions .filters-clear { flex: 0 0 32px; padding: 0; }

@media (min-width: 901px) {
  .topbar { grid-template-columns: auto minmax(260px, 1fr) auto auto; }
  .topbar .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    justify-self: center;
  }
}

/* The add action stays visible in the product header, including products with options. */
.product-modal-actions.in-options .product-modal-add,
.product-modal-add {
  width: auto;
  min-width: 142px;
  height: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  flex: 0 0 auto;
  gap: 8px;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: .84rem;
  line-height: 1;
  box-shadow: none;
  overflow: visible;
}
.product-modal-actions.in-options .product-modal-add::before,
.product-modal-add::before {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: #1a1a1a;
}
.product-modal-actions.in-options .product-modal-add:hover,
.product-modal-add:hover { background: var(--yellow-dark); }

@media (max-width: 720px) {
  .product-modal-actions.in-options .product-modal-add,
  .product-modal-add {
    min-width: 132px;
    height: 42px;
    min-height: 42px;
    padding: 0 12px;
    font-size: .78rem;
  }
}

@media (max-width: 900px) {
  .topbar .brand {
    position: static;
    transform: none;
    justify-self: center;
  }
  .topbar .brand-logo { width: 44px; height: 40px; object-fit: contain; }
}

@media (min-width: 901px) {
  .topbar .header-search {
    width: min(320px, 100%);
    max-width: 320px;
    justify-self: center;
  }
  .topbar .header-search .search-wrap input {
    min-height: 44px;
    font-size: .9rem;
  }
}

@media (max-width: 900px) {
  .topbar .header-search { width: 100%; max-width: none; }
  .topbar .header-search .search-wrap input { min-height: 44px; font-size: .9rem; }
}

/* Minimal single-row sort and filter controls. */
.catalog-tools { padding: 10px 12px; border-radius: 16px; }
.catalog-search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.catalog-search-row .sort-wrap { min-width: 0; }
.catalog-search-row .filters { min-width: 0; width: 100%; margin: 0; }
.catalog-search-row .filters-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.catalog-search-row .filters-toolbar { min-height: 38px; }
.catalog-search-row .filters-trigger { min-height: 38px; padding: 0 10px; border-radius: 10px; }
.catalog-search-row .active-filter-list { max-width: 45%; }
.catalog-search-row .filters-clear-inline { width: 28px; height: 28px; min-height: 28px; }

.catalog-search-row .sort-wrap {
  width: auto;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
}
.catalog-search-row .sort-wrap select {
  min-height: 36px;
  min-width: 132px;
  padding: 0 28px 0 10px;
  border-radius: 10px;
  font-size: .78rem;
}
.catalog-search-row .filters { width: auto; justify-self: start; }
.catalog-search-row .filters-shell { width: auto; }
.catalog-search-row .filters-toolbar { justify-content: flex-start; }
.catalog-search-row .filters-trigger { min-width: 92px; font-size: .78rem; }
.catalog-search-row .active-filter-list { max-width: 360px; }
@media (min-width: 721px) {
  .catalog-search-row .filters-shell {
    position: relative;
  }

  .catalog-search-row .filters-panel {
    right: auto;
    width: min(820px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }
}

/* Use the image directly for the main basket icon so every browser paints it reliably. */
.cart-trigger::before { display: none; }
.cart-trigger-icon {
  width: 34px;
  height: 32px;
  flex: 0 0 34px;
  object-fit: contain;
  filter: invert(78%) sepia(95%) saturate(1115%) hue-rotate(347deg) brightness(104%) contrast(103%);
}
@media (max-width: 900px) {
  .catalog-search-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .catalog-search-row { align-items: stretch; }
  .catalog-search-row .sort-wrap { min-width: 0; }
  .catalog-search-row .sort-wrap,
  .catalog-search-row .filters { width: 100%; height: 38px; }
  .catalog-search-row .sort-wrap select {
    width: 100%;
    min-width: 0;
    height: 38px;
    min-height: 38px;
  }
  .catalog-search-row .filters-toolbar {
    height: 38px;
    min-height: 38px;
    align-items: stretch;
    flex-wrap: nowrap;
  }
  .catalog-search-row .filters-trigger {
    width: 100%;
    height: 38px;
    min-height: 38px;
    justify-content: center;
  }
  .catalog-search-row .active-filter-list { display: none; }
  .cart-trigger-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .hero-notice-row { width: 100%; flex-direction: column; gap: 8px; }
  .hero-notice-row .notice-band { width: 100%; }
  .hero-catalog-btn { width: auto; }
}
@media (max-width: 1100px) {
  .hero-catalog-btn > span:last-child { display: inline; }
}

/* Header menu and search alignment. */
.header-categories summary { width: auto; justify-content: flex-start; gap: 8px; padding: 0 12px; }
.menu-icon { width: 22px; display: inline-flex; flex-direction: column; gap: 4px; flex: 0 0 22px; }
.menu-icon i { display: block; width: 22px; height: 2px; border-radius: 99px; background: currentColor; }
.menu-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
@media (min-width: 901px) {
  .topbar .header-search { justify-self: start; margin-left: 0; }
}
.cart-trigger-icon { filter: none; }

/* Give the basket artwork more presence while keeping the cart control itself compact. */
.cart-trigger-icon {
  width: 50px;
  height: 48px;
  flex-basis: 50px;
}
.cart-trigger .cart-badge {
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .74rem;
  line-height: 1;
}
@media (max-width: 900px) {
  .cart-trigger-icon {
    width: 41px;
    height: 40px;
    flex-basis: 41px;
  }
  .cart-trigger .cart-badge {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .68rem;
  }
}

/* Larger Teeck3D mark in the main header. */
.topbar .brand-logo { width: 106px; height: 70px; object-fit: contain; }
@media (max-width: 1100px) {
  .topbar .brand-logo { width: 88px; height: 62px; }
}
@media (max-width: 900px) {
  .topbar .brand-logo { width: 72px; height: 58px; }
}
@media (max-width: 380px) {
  .topbar .brand-logo { width: 62px; height: 52px; }
}

/* Match the catalogue chip height to the rotating notice chip. */
.hero-catalog-btn { min-height: 38px; height: 38px; }
.hero-catalog-btn .topbar-catalog-icon { width: 38px; height: 38px; }
.hero-catalog-btn .topbar-catalog-icon img { width: 24px; height: 24px; }

/* Slim product actions so they cover less of each product image. */
.card-quick-add,
.card-video-link {
  height: 32px;
  min-height: 32px;
  min-width: 68px;
  padding: 0 10px;
  gap: 5px;
  font-size: .72rem;
}
.card-quick-add { right: 10px; bottom: 10px; }
.card-video-link { left: 10px; bottom: 10px; }
.card-video-link img { width: 15px; height: 15px; }
@media (max-width: 720px) {
  .card-quick-add,
  .card-video-link {
    height: 27px;
    min-height: 27px;
    min-width: 54px;
    padding: 0 7px;
    gap: 4px;
    font-size: .64rem;
  }
  .card-quick-add { right: 7px; bottom: 7px; }
  .card-video-link { left: 7px; bottom: 7px; }
  .card-video-link img { width: 13px; height: 13px; }
}

/* Let the production and catalogue chips sit directly on the page background. */
.hero-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero-copy::before { display: none; }

/* Keep the rotating notice and catalogue download chip typographically consistent. */
.hero-notice-row .notice-band,
.hero-notice-row .topbar-catalog-btn {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .01em;
}
@media (min-width: 901px) {
  .hero-notice-row {
    width: min(1040px, 100%);
  }
  .hero-notice-row .notice-band,
  .hero-notice-row .hero-catalog-btn {
    width: 100%;
    flex: 1 1 0;
  }
  .hero-notice-row .notice-band { margin: 0; }
.hero-notice-row .hero-catalog-btn { justify-content: center; }
}

@media (min-width: 901px) {
  .example-gallery-socials .gallery-social {
    min-height: 32px;
    height: 32px;
    padding-inline: 18px;
    gap: 10px;
    font-size: 20px;
    line-height: 1;
  }
  .example-gallery-socials .gallery-social img {
    width: 25px;
    height: 25px;
  }
}
@media (max-width: 900px) {
  .example-gallery-socials .gallery-social {
    min-height: 32px;
    height: 32px;
    font-size: 15px;
    line-height: 1;
  }
  .example-gallery-socials .gallery-social img {
    width: 25px;
    height: 25px;
  }
  .hero-notice-row .notice-band,
  .hero-notice-row .topbar-catalog-btn {
    font-size: .9rem;
  }
  .hero-notice-row {
    width: 100%;
    max-width: none;
    gap: 10px;
  }
  .hero-notice-row .notice-band,
  .hero-notice-row .hero-catalog-btn {
    width: 100%;
    max-width: none;
  }
  .hero-notice-row .hero-catalog-btn { justify-content: center; }
  .hero-notice-row .hero-catalog-btn {
    height: 30px;
    min-height: 30px;
  }
  .hero-notice-row .hero-catalog-btn .topbar-catalog-icon {
    width: 30px;
    height: 30px;
  }
  .hero-notice-row .hero-catalog-btn .topbar-catalog-icon img {
    width: 20px;
    height: 20px;
  }
}

/* Keep video actions readable while using the requested 25 px YouTube mark. */
.card-video-link img,
.product-gallery-video-icon,
.example-gallery-card-link img,
.gallery-lightbox-link img {
  width: 25px;
  height: 25px;
}

@media (max-width: 720px) {
  .card-video-link img,
  .product-gallery-video-icon,
  .example-gallery-card-link img,
  .gallery-lightbox-link img {
    width: 25px;
    height: 25px;
  }
}

/* On desktop the label sits beside the basket, so anchor the count to the icon. */
@media (min-width: 901px) {
  .cart-trigger .cart-badge {
    left: 38px;
    top: 13px;
    transform: translateX(-50%);
    font-size: .90rem;
  }
}

@media (max-width: 900px) {
  .cart-trigger .cart-badge {
    top: 5px;
    left: calc(50% + 2px);
    font-size: .74rem;
  }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .topbar .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .topbar .header-categories { grid-column: 1; grid-row: 1; }
  .topbar .top-actions { grid-column: 3; grid-row: 1; }
}

/* Gallery head social links are logos and handles, without chip backgrounds. */
.example-gallery-socials .gallery-social,
.example-gallery-socials .gallery-social.youtube,
.example-gallery-socials .gallery-social.instagram,
.example-gallery-socials .gallery-social:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Larger social marks in the gallery head; handle typography stays unchanged. */
.example-gallery-socials .gallery-social {
  min-height: 50px;
  height: 50px;
}
.example-gallery-socials .gallery-social img {
  width: 50px;
  height: 50px;
}

/* Compact gallery links: show only the supplied transparent social logo. */
.example-gallery-card-link,
.example-gallery-card-link.is-youtube,
.example-gallery-card-link.is-instagram,
.example-gallery-card-link:hover {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.example-gallery-card-link img {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}

/* Gallery visual refresh. */
.example-gallery {
  position: relative;
  margin: 14px 0 18px;
  padding: clamp(4px, 1.4vw, 8px) clamp(14px, 2.8vw, 34px) 4px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 196, 37, 0.18), transparent 30%),
    radial-gradient(circle at 78% 100%, rgba(255, 196, 37, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(43, 43, 43, 0.92)),
    #1f1f1f;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255, 196, 37, 0.08);
}

.example-gallery::before,
.example-gallery::after {
  content: "";
  position: absolute;
  top: clamp(38px, 5vw, 52px);
  width: min(20vw, 190px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.example-gallery::before {
  left: clamp(22px, 25vw, 34%);
  transform: translateX(-100%);
}

.example-gallery::after {
  right: clamp(22px, 25vw, 34%);
  transform: translateX(100%);
}

.example-gallery-head {
  margin-bottom: clamp(4px, 1vw, 10px);
}

.example-gallery-title h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.9;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.example-gallery-title h2::first-letter {
  color: #fff;
}

.example-gallery-socials {
  display: none;
}

.example-gallery-frame {
  min-height: clamp(150px, 18vw, 230px);
  padding: 0 48px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  display: grid;
  align-items: center;
  background: transparent;
}

.example-gallery-track {
  gap: clamp(12px, 1.8vw, 24px);
}

.example-gallery-card {
  aspect-ratio: 1.36 / 1;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: #101010;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45), 0 16px 30px rgba(0, 0, 0, 0.24);
}

.example-gallery-card.active,
.example-gallery-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px rgba(255, 196, 37, 0.45), 0 18px 34px rgba(0, 0, 0, 0.34);
}

.example-gallery-card::after {
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
}

.example-gallery-card-copy {
  padding: 16px;
}

.example-gallery-card-channel,
.example-gallery-card-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.35vw, 1.32rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.example-gallery-card-channel {
  color: var(--yellow);
}

.example-gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 64px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(180deg, #ff2d22, #d71914);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.example-gallery-play::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.example-gallery-card-link {
  display: none;
}

.example-gallery-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--yellow);
  background: rgba(18, 18, 18, 0.76);
  color: var(--yellow);
  font-size: 2.2rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.example-gallery-btn:first-of-type {
  left: -8px;
}

.example-gallery-btn:last-of-type {
  right: -8px;
}

.example-gallery-dots {
  gap: 14px;
  margin-top: 8px;
}

.example-gallery-dots button {
  width: 32px;
  height: 9px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

.example-gallery-dots button.active {
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(255, 196, 37, 0.44);
}

.floating-socials {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 55;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.floating-social,
.floating-socials .back-to-catalog {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.floating-social img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.34));
}

.floating-social.youtube img {
  transform: translateY(16px);
}

.floating-socials .back-to-catalog {
  position: static;
  padding: 0;
  border: none;
  display: inline-flex;
  flex-direction: column;
  background: var(--yellow);
  color: #4a4a4a;
  box-shadow: var(--shadow);
}

.floating-socials .back-to-catalog span {
  position: relative;
  width: 30px;
  height: 24px;
  display: block;
  font-size: 0;
  line-height: 0.8;
}

.floating-socials .back-to-catalog span::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-left: 7px solid #4a4a4a;
  border-top: 7px solid #4a4a4a;
  transform: rotate(45deg);
}

.floating-socials .back-to-catalog span::after {
  content: none;
}

.floating-socials .back-to-catalog strong {
  margin-top: 2px;
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.floating-social.youtube {
  background: transparent;
}

.floating-social.instagram {
  background: transparent;
}

.floating-social:hover,
.floating-socials .back-to-catalog:hover {
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .example-gallery {
    padding: 8px 10px 4px;
    border-radius: 22px;
  }

  .example-gallery-head {
    align-items: center;
    text-align: center;
  }

  .example-gallery-title h2 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .example-gallery::before,
  .example-gallery::after {
    top: 34px;
    width: 22vw;
  }

  .example-gallery-frame {
    padding: 0 36px;
  }

  .example-gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .example-gallery-card {
    aspect-ratio: 0.98 / 1;
    border-radius: 16px;
  }

  .example-gallery-card-copy {
    padding: 10px;
  }

  .example-gallery-card-channel,
  .example-gallery-card-copy h3 {
    font-size: 0.9rem;
  }

  .example-gallery-play {
    width: 46px;
    height: 32px;
    border-radius: 10px;
  }

  .example-gallery-play::after {
    left: 19px;
    top: 9px;
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 12px;
  }

  .example-gallery-card-link {
    display: none;
  }

  .example-gallery-btn {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .example-gallery-btn:first-of-type {
    left: -4px;
  }

  .example-gallery-btn:last-of-type {
    right: -4px;
  }

  .example-gallery-dots button {
    width: 24px;
    height: 8px;
  }

  .floating-socials {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
  }

  .floating-social,
  .floating-socials .back-to-catalog {
    width: 49px;
    height: 49px;
    min-width: 49px;
    min-height: 49px;
  }

  .floating-social img {
    width: 49px;
    height: 49px;
  }

  .floating-social.youtube img {
    transform: translateY(16px);
  }

  .floating-socials .back-to-catalog span {
    width: 26px;
    height: 20px;
  }

  .floating-socials .back-to-catalog span::before {
    left: 3px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-left-width: 6px;
    border-top-width: 6px;
  }

  .floating-socials .back-to-catalog strong {
    font-size: 0.54rem;
  }
}

.pitlane-promo-img-mobile {
  display: none;
}

@media (max-width: 720px) {
  .pitlane-promo {
    min-height: min(750px, 118vw);
    align-items: end;
  }

  .pitlane-promo-img-desktop {
    display: none;
  }

  .pitlane-promo-img-mobile {
    display: block;
  }

  .pitlane-promo-media img.pitlane-promo-img-mobile {
    object-position: center;
  }

  .pitlane-promo-copy {
    padding: 18px;
  }

  .pitlane-promo h2 {
    font-size: clamp(1.65rem, 10vw, 3rem);
  }

  .pitlane-promo p {
    font-size: 0.92rem;
  }
}


/* Catalogue add-to-cart button */
.card-quick-add {
  background: var(--yellow);
  color: #000;
  border: 1px solid var(--yellow-dark);
  text-align: center;
}

.card-quick-add::before {
  content: none;
  display: none;
}

.card-quick-add-label {
  display: block;
  width: 100%;
  color: #000;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.card-quick-add:hover {
  background: var(--yellow-dark);
  color: #000;
}

@media (max-width: 720px) {
  .card-quick-add-label {
    font-size: .76rem;
  }
}

/* Order summary: client notes and two balanced delivery steps. */
.order-comments {
  width: 100%;
  max-width: none;
  min-width: 0;
  grid-column: 1 / -1;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 14px;
  border-color: rgba(255, 196, 37, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.12);
}

.order-comments label {
  display: block;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  text-transform: uppercase;
}

.order-comments p {
  max-width: 62ch;
  margin: 5px 0 11px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

#summaryModal .order-comments textarea {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 96px;
  box-sizing: border-box;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  line-height: 1.4;
}

#summaryModal .order-comments textarea:focus {
  border-color: var(--yellow);
  outline: 2px solid rgba(255, 196, 37, 0.28);
  outline-offset: 1px;
}

.send-file-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.send-step-card {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 12px;
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.16);
}

.send-step-heading {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.send-step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 900;
}

.send-step-heading p {
  margin: 1px 0 4px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.25;
}

.send-step-heading small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.order-image-download {
  width: 100%;
  min-height: 58px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 196, 37, 0.38);
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  background: rgba(255, 196, 37, 0.1);
  color: var(--text);
  text-align: left;
}

.order-image-download:hover {
  border-color: var(--yellow);
  background: rgba(255, 196, 37, 0.16);
}

#sendFileSteps:not(.is-ready) #prepareOrderImageBtn:not(:disabled) {
  box-shadow: 0 0 12px rgba(255, 196, 37, 0.16);
  animation: prepare-image-glow 1s ease-in-out infinite;
}

@keyframes prepare-image-glow {
  0%, 70%, 100% {
    border-color: rgba(255, 196, 37, 0.45);
    background: rgba(255, 196, 37, 0.1);
    box-shadow: 0 0 12px rgba(255, 196, 37, 0.16);
  }
  84% {
    border-color: var(--yellow);
    background: rgba(255, 196, 37, 0.22);
    box-shadow: 0 0 0 2px rgba(255, 196, 37, 0.35), 0 0 22px 5px rgba(255, 196, 37, 0.28);
  }
}

.order-image-download-icon,
.order-image-download-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  color: var(--yellow);
}

#sendFileSteps:not(.is-ready) .order-image-download:not(:disabled) .order-image-download-icon {
  transform-origin: center;
  animation: prepare-image-nudge 1s ease-in-out infinite;
}

@keyframes prepare-image-nudge {
  0%, 72%, 100% { transform: scale(1) rotate(0deg); }
  79% { transform: scale(1.12) rotate(-5deg); }
  86% { transform: scale(1.12) rotate(5deg); }
  93% { transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  #sendFileSteps:not(.is-ready) #prepareOrderImageBtn:not(:disabled) {
    animation: none;
    border-color: var(--yellow);
    background: rgba(255, 196, 37, 0.17);
    box-shadow: 0 0 0 2px rgba(255, 196, 37, 0.3), 0 0 16px rgba(255, 196, 37, 0.24);
  }

  #sendFileSteps:not(.is-ready) .order-image-download:not(:disabled) .order-image-download-icon {
    animation: none;
  }
}

.order-image-download-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-image-download-copy strong {
  font-size: 0.86rem;
}

.order-image-download-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.order-image-download-format {
  padding: 4px 6px;
  border-radius: 4px;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 0.65rem;
  font-weight: 900;
}

#summarySendGrid[hidden] {
  display: none !important;
}

#summarySendGrid:not([hidden]) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.send-step.is-locked {
  opacity: 0.56;
}

.send-step.is-locked .summary-send-grid {
  display: none !important;
}

.downloaded-image-file {
  margin: 0;
  color: var(--yellow);
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .send-file-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .send-step-card {
    padding: 12px;
  }
}
/* Restore the product image watermark from the current asset location. */
.card-visual::before {
  background-image: url("assets/teeck3d-logo-gris.svg");
}

/* Product video links: YouTube mark beside Add, plus a clear expanded-card preview. */
.card-video-link,
.card-video-link:hover {
  left: auto;
  right: 84px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.card-video-link img { width: 25px; height: 25px; border-radius: 0; }
.card-video-link:hover img { transform: scale(1.08); }
.product-gallery-video-action,
.product-gallery-video-action:hover {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 37, .34);
  border-radius: 16px;
  background: #202020;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.product-gallery-video-action:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: 0 18px 34px rgba(0,0,0,.3);
}
.product-gallery-video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101010;
}
.product-video-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-gallery-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.12);
}
.product-gallery-video-play .product-gallery-video-icon {
  width: 58px;
  height: 58px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(220, 20, 20, .94);
  box-shadow: 0 6px 20px rgba(0,0,0,.36);
}
.product-gallery-video-copy {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--yellow);
  color: #171717;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.product-gallery-video-arrow { font-size: 1.2rem; line-height: 1; }
@media (max-width: 720px) {
  .card-video-link,
  .card-video-link:hover {
    right: 65px;
    width: 27px;
    min-width: 27px;
    height: 27px;
    min-height: 27px;
  }
  .card-video-link img { width: 25px; height: 25px; }
  .product-gallery-video-action { width: 100%; border-radius: 12px; }
  .product-gallery-video-copy { min-height: 44px; padding: 0 12px; font-size: .82rem; }
  .product-gallery-video-play .product-gallery-video-icon { width: 50px; height: 50px; padding: 9px; border-radius: 14px; }
}

/* Make the catalogue YouTube action unmistakable over every product photo. */
.card-visual .card-video-link,
.card-visual .card-video-link:hover {
  position: absolute !important;
  z-index: 5 !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #e62117 !important;
  border: 1px solid rgba(255,255,255,.36) !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.38) !important;
}
.card-visual .card-video-link img {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
  object-fit: contain !important;
}

/* Final catalogue video mark placement and scale requested by the shop owner. */
.card-visual .card-video-link,
.card-visual .card-video-link:hover {
  left: 10px !important;
  right: auto !important;
  bottom: 10px !important;
  width: 54px !important;
  min-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.card-visual .card-video-link img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}
@media (max-width: 720px) {
  .card-visual .card-video-link,
  .card-visual .card-video-link:hover {
    left: 7px !important;
    right: auto !important;
    bottom: 7px !important;
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
  }
  .card-visual .card-video-link img {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Keep the expanded product sheet inside the phone viewport. */
@media (max-width: 900px) {
  #productModal {
    max-width: calc(100% - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
  }
  #productModal .product-modal-grid,
  #productModal .product-modal-lower,
  #productModal .product-option-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #productModal .product-modal-grid,
  #productModal .product-gallery,
  #productModal .product-gallery-stage,
  #productModal .product-modal-info,
  #productModal .product-modal-lower,
  #productModal .product-modal-options,
  #productModal .product-option-grid,
  #productModal .product-option-field,
  #productModal .product-option-control,
  #productModal .product-modal-recommendations,
  #productModal .product-gallery-links {
    min-width: 0;
    max-width: 100%;
  }
  #productModal .product-modal-info h3,
  #productModal .product-modal-desc,
  #productModal .product-option-label,
  #productModal .product-recommendation-name {
    overflow-wrap: anywhere;
  }
  #productModal .product-option-field select,
  #productModal .product-gallery-video-action,
  #productModal .product-modal-image {
    max-width: 100%;
  }
}
@media (max-width: 720px) {
  #productModal {
    width: calc(100% - 28px);
    max-width: 520px;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    top: 50%;
    top: 50dvh;
  }
  #productModal .product-modal-mobile-close {
    width: 100%;
    margin: 0 0 -52px;
  }
  #productModal .product-recommendations-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  #productModal .product-recommendation-card {
    min-width: 0;
  }
}

.shipping-scope-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.cart-shipping-scope {
  margin-top: 4px;
}

.downloaded-image-file[hidden],
.download-location-hint[hidden] {
  display: none !important;
}

.download-location-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.product-options-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-options-title .option-summary-icon {
  width: 22px;
  height: 22px;
}

.option-summary {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.option-summary-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.option-summary-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: var(--surface-2);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.4;
}

.option-summary-group {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 9px;
}

.option-summary-label {
  min-width: 0;
  max-width: 55%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.option-summary-values {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  align-items: center;
  gap: 5px;
}

.option-preview {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--preview-color);
}

.option-preview-color.is-light {
  border-color: rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.option-preview-letter {
  color: var(--preview-text-color, #fff);
  font-family: "Barlow", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.option-summary-more {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .option-summary {
    display: grid;
    gap: 6px;
    padding-top: 7px;
  }

  .option-summary-heading {
    gap: 5px;
    font-size: 0.78rem;
  }

  .option-summary-icon {
    width: 16px;
    height: 16px;
  }

  .option-summary-group {
    gap: 4px;
  }

  .option-summary-label {
    width: auto;
    font-size: 0.62rem;
    line-height: 1.1;
  }

  .option-summary-values {
    gap: 4px;
  }

  .option-preview {
    width: 20px;
    height: 20px;
  }

  .option-preview-letter,
  .option-summary-more {
    font-size: 0.64rem;
  }
}


/* Product links and a search field that is visible across header layouts. */
.product-modal-meta { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: wrap; padding-right: 56px; }
.product-modal-meta .panel-label { margin: 0; }
.product-share-btn { display: inline-flex; flex: 0 0 auto; white-space: nowrap; align-items: center; gap: 7px; min-height: 36px; padding: 7px 12px; border: 1px solid var(--yellow); border-radius: 999px; color: var(--yellow); background: var(--yellow-soft); font-size: 0.9rem; font-weight: 700; }
.product-share-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.product-share-btn:hover, .product-share-btn:focus-visible { background: var(--yellow); color: #191919; }
.product-share-fallback[hidden] { display: none; }
.product-share-fallback { display: grid; gap: 5px; min-width: 0; font-size: 0.8rem; }
.product-share-fallback input { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--yellow); border-radius: 8px; color: var(--text); background: var(--surface); }
.topbar .header-search .search-wrap { width: 100%; }
.topbar .header-search .search-wrap input { border: 2px solid var(--yellow); background: #252525; color: #fff; box-shadow: 0 0 0 3px rgba(255, 196, 37, 0.08); font-size: 16px; }
.topbar .header-search .search-wrap input::placeholder { color: #eee; opacity: 1; }
.topbar .header-search .search-wrap input:focus { box-shadow: 0 0 0 4px rgba(255, 196, 37, 0.2); }
html.product-modal-open, body.product-modal-open { overflow: hidden; }

@media (max-width: 900px) {
  #productModal {
    width: calc(var(--product-viewport-width, 100vw) - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    max-width: 720px;
    max-height: calc(var(--product-viewport-height, 100dvh) - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    top: calc(var(--product-viewport-top, 0px) + (var(--product-viewport-height, 100dvh) + env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) / 2);
    left: calc(var(--product-viewport-left, 0px) + (var(--product-viewport-width, 100vw) + env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) / 2);
    transform: translate(-50%, -50%);
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 16px;
  }
  #productModal .product-modal-grid { grid-template-columns: minmax(0, 1fr); padding: 12px; min-width: 0; }
  #productModal .product-modal-info, #productModal .product-modal-actions, #productModal .product-option-grid { min-width: 0; }
  #productModal :is(input, select, textarea) { font-size: 16px; min-width: 0; max-width: 100%; }
  #productModal .product-modal-price-row { display: flex; flex-wrap: wrap; gap: 10px; }
  #productModal .product-modal-actions { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
  #productModal .product-modal-add { flex: 1 1 140px; min-width: 0; max-width: 100%; white-space: normal; }
  #productModal .product-modal-info h3 { font-size: clamp(1.4rem, 5vw, 2rem); overflow-wrap: anywhere; }
  #productModal .product-options-title { flex-wrap: wrap; }
  #productModal .product-thumbs { max-width: 100%; min-width: 0; }
  #productModal .product-share-btn { font-size: 0.85rem; }
  #productModal .product-modal-meta { padding-right: 48px; }
}

body.product-modal-open .floating-socials { visibility: hidden; pointer-events: none; }

.option-preview[hidden], .option-summary-more[hidden] { display: none; }

/* Keep the product quantity separate from its add button. */
.card-quick-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-quick-actions .card-quick-add {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  flex: 0 0 auto;
}
.card-quick-actions .card-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 4px;
  height: 32px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 999px;
  background: #303030;
  color: var(--yellow);
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.card-quick-actions .card-cart-count[hidden] { display: none; }
.card-quick-actions .card-cart-count img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}
.card-quick-actions .card-cart-count strong { color: inherit; }
.product-modal-cart-count{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:34px;padding:6px 10px;border:1px solid #ffc42566;border-radius:999px;background:#292929;color:var(--yellow);font-size:.85rem;line-height:1.2;white-space:nowrap}
.product-modal-cart-count[hidden]{display:none!important}
.product-modal-cart-count img{width:24px;height:24px;object-fit:contain}
.product-modal-cart-count strong{font-size:1rem;color:inherit}
.card-visual.has-cart-items .card-visual-dots { bottom: 47px; }
@media (max-width: 720px) {
  .card-quick-actions { right: 7px; bottom: 7px; gap: 4px; }
  .card-quick-actions .card-cart-count { height: 27px; padding: 0 5px; gap: 3px; }
  .card-visual.has-cart-items .card-visual-dots { bottom: 39px; }
}

/* Leave room for the separate quantity on narrow product thumbnails. */
.card-visual-image:not(.card-placeholder-logo) { padding: 0; }
.card-visual { container-type: inline-size; background: #fff; }
@container (max-width: 200px) {
  .has-cart-items .card-video-link,
  .has-cart-items .card-video-link:hover {
    top: 4px !important;
    bottom: auto !important;
  }
}
