/* ==========================================================================
   CRANK MASTERS — design tokens
   ========================================================================== */
:root {
  --primary: #9b1c1f;
  --primary-dark: #6c1417;
  --primary-light: #c22a2e;
  --ink: #0d0d0d;
  --paper: #f4f3ef;
  --paper-2: #ffffff;
  --steel: #5c5f64;
  --steel-light: #8b8e92;
  --steel-text: #6f7175;
  --line: #e3e0d8;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --chain-h: 40px;
  --subnav-h: 52px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h));
  overflow-anchor: none;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -1px;
  line-height: 0.95;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(220px, 40vw);
  height: min(220px, 40vw);
}

.loader__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.loader__video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(155, 28, 31, 0.4);
}

.loader__progress {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  transform: translate(-50%, -50%) rotate(-90deg);
  pointer-events: none;
}

.loader__progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 3;
}

.loader__progress-bar {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 653.45;
  stroke-dashoffset: 653.45;
  animation: loaderFill 2.1s var(--ease) forwards;
}

@keyframes loaderFill {
  to {
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   CHAIN FEATURE STRIP (top marquee - Text Animation Only)
   ========================================================================== */
.chainbar {
  height: var(--chain-h);
  background: var(--ink);
  color: var(--paper-2);
  overflow: hidden;
  position: relative;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}

.chainbar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.chainbar__track {
  display: flex;
  width: max-content;
  height: 100%;
}

.chainbar.is-paused .chainbar__set {
  animation-play-state: paused;
}

.chainbar__set {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: chainScroll 35s linear infinite;
}

.chainbar__item {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 0 22px;
}

.chainbar__link {
  color: var(--primary-light);
  font-size: 14px;
  display: inline-flex;
}

@keyframes chainScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SKIP LINK
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible {
  top: 0;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand__logo {
  height: 80px;
  width: auto;
  aspect-ratio: 170 / 80;
}

.search {
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 28, 31, 0.12);
}

.search input {
  flex: 1;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  outline: none;
  color: var(--ink);
}

.search input::placeholder {
  color: var(--steel-text);
}

.search__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
  flex-shrink: 0;
  position: relative;
}

.search__btn::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
}

.search__btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0px;
  justify-content: end;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
}

.icon-btn:hover {
  background: var(--paper);
  color: var(--primary);
}

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}

.icon-btn--search-mobile {
  display: none;
}

.icon-btn.cart-bump {
  position: relative;
}

.icon-btn.cart-bump::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 1;
  animation: cmCartRing 0.5s ease-out forwards;
  pointer-events: none;
}

@keyframes cmCartRing {
  from {
    transform: scale(0.6);
    opacity: 0.9;
  }

  to {
    transform: scale(1.6);
    opacity: 0;
  }
}

.icon-btn.cart-bump .badge {
  animation: cmBadgePop 0.4s var(--ease);
}

@keyframes cmBadgePop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.cm-fly-item {
  position: fixed;
  z-index: 999;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  border: 2px solid #fff;
  box-shadow: 0 10px 26px rgba(13, 13, 13, 0.35);
  will-change: transform, opacity;
  animation: cmFlyerSpawn 0.25s ease;
}

.cm-fly-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes cmFlyerSpawn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.cm-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 18px 40px rgba(13, 13, 13, 0.18);
  font-size: 13px;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.cm-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.cm-toast i {
  color: #2f8f4e;
  font-size: 20px;
}

.cm-toast strong {
  display: block;
  color: #2f8f4e;
}

.cm-toast span {
  color: var(--steel);
}

.cm-toast a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   SECONDARY NAV
   ========================================================================== */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 390;
  background: var(--ink);
  height: var(--subnav-h);
  overflow: hidden;
  overflow-anchor: none;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease);
  max-height: var(--subnav-h);
}

.subnav.is-collapsed {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.subnav__list {
  height: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
  display: none;
}

.subnav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.subnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.subnav__link--plain {
  display: flex;
}

.subnav__chevron {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.subnav__item:hover .subnav__link,
.subnav__link:focus-visible,
.subnav__item.is-open .subnav__link {
  color: var(--primary-light);
}

.subnav__item.is-open .subnav__chevron {
  transform: rotate(180deg);
}

.subnav__panel {
  position: fixed;
  top: calc(var(--header-h) + var(--subnav-h));
  margin-top: 10px;
  left: 0;
  min-width: 240px;
  background: var(--paper-2);
  border-top: 3px solid var(--primary);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
  padding: 22px 26px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  z-index: 405;
}

.subnav__item.is-open .subnav__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(20px);
}

.subnav__panel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.subnav__panel-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.subnav__panel-list--split {
  column-count: 2;
  column-gap: 30px;
}

.subnav__panel-list li a {
  display: block;
  padding: 7px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.subnav__panel-list li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.subnav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 404;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.subnav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .subnav__panel {
    position: fixed;
    left: 10px !important;
    margin-top: 10px;
    right: 10px !important;
    width: 95%;
    min-width: 0;
    max-height: calc(100vh - var(--header-h) - var(--subnav-h));
    overflow-y: auto;
    border-radius: 0 0 18px 18px;
    padding: 20px 20px 24px;
  }

  .subnav__panel-list--split {
    column-count: 2;
    column-gap: 24px;
  }
}

@media (max-width: 420px) {
  .subnav__panel-list--split {
    column-count: 1;
  }
}

.menu-fab {
  position: fixed;
  top: calc(var(--header-h) + 18px);
  left: 24px;
  z-index: 395;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px) scale(0.85);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

.menu-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.menu-fab span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-fab[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-fab[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-fab[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 600;
  visibility: hidden;
  pointer-events: none;
}

.offcanvas.is-open {
  visibility: visible;
  pointer-events: auto;
}

.offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.offcanvas.is-open .offcanvas__backdrop {
  opacity: 1;
}

.offcanvas__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(360px, 84vw);
  background: var(--paper-2);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 30px 0 60px rgba(0, 0, 0, 0.15);
}

.offcanvas.is-open .offcanvas__panel {
  transform: translateX(0);
}

.offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px;
  border-bottom: 1px solid var(--line);
}

.offcanvas__logo {
  height: 60px;
  width: auto;
}

.offcanvas__close {
  font-size: 28px;
  line-height: 1;
  color: var(--steel);
}

.offcanvas__close:hover {
  color: var(--primary);
}

.offcanvas__list {
  padding: 20px 10px;
  overflow-y: auto;
  flex: 1;
}

.offcanvas__list li a {
  display: block;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  border-radius: 10px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.offcanvas__list li a:hover {
  background: var(--paper);
  color: var(--primary);
  padding-left: 24px;
}

.offcanvas__group {
  border-bottom: 1px solid var(--line);
}

.offcanvas__group:last-of-type {
  border-bottom: none;
}

.offcanvas__group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--ink);
  border-radius: 10px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.offcanvas__group-toggle:hover {
  background: var(--paper);
  color: var(--primary);
}

.offcanvas__chevron {
  flex-shrink: 0;
  color: var(--steel);
  transition: transform 0.3s var(--ease);
}

.offcanvas__group-toggle[aria-expanded="true"] .offcanvas__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.offcanvas__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.offcanvas__submenu li a {
  display: block;
  padding: 10px 18px 10px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--steel);
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.offcanvas__submenu li a:hover {
  background: var(--paper);
  color: var(--primary);
  padding-left: 38px;
}

.offcanvas__foot {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--chain-h));
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
  transition: clip-path 1.2s var(--ease);
  overflow: hidden;
}

.slide.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.slide__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.slide__img--road {
  background: radial-gradient(120% 120% at 80% 20%, #2a0708 0%, var(--ink) 55%, #000 100%);
}

.slide__img--gravel {
  background: radial-gradient(120% 120% at 75% 75%, #2a0708 0%, var(--ink) 55%, #000 100%);
}

.slide__img--workshop {
  background: radial-gradient(120% 120% at 70% 30%, #2a0708 0%, var(--ink) 55%, #000 100%);
}

.slide__motif {
  color: var(--primary);
  opacity: 0.5;
  width: min(70vw, 900px);
  height: min(70vw, 900px);
  margin-right: -8%;
  animation: motifSpin 60s linear infinite;
  flex-shrink: 0;
}

@keyframes motifSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.slide__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 6% 90px;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease) 0.5s;
}

.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.8s var(--ease) 0.62s;
}

.title span {
  color: var(--primary-light);
}

.desc {
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease) 0.74s;
}

.slide.active .eyebrow,
.slide.active .title,
.slide.active .desc {
  opacity: 1;
  transform: translateY(0);
}

.btn-main {
  display: inline-block;
  padding: 18px 36px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 2px;
  box-shadow: 0 16px 34px rgba(155, 28, 31, 0.35);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.slide.active .btn-main {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s var(--ease) 0.86s;
}

.btn-main:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(155, 28, 31, 0.45);
}

.btn-main--light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.btn-main--light:hover {
  background: var(--paper);
  color: var(--primary);
}

.hero__controls {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero__arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: all 0.3s var(--ease);
}

.arrow svg {
  width: 18px;
  height: 18px;
}

.arrow:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero__progress {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__progress-bar {
  height: 100%;
  width: 33.33%;
  background: var(--primary);
  transition: width 1.2s var(--ease);
}

.hero__counter {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero__counter #currentSlideNum {
  font-size: 22px;
  color: var(--primary-light);
}

.hero__counter-total {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 700px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 8s ease;
}

.slide.active .slide__image {
  transform: scale(1);
}

.slide__video--mobile {
  display: none;
}

.slide__video--desktop,
.slide__video--mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* Desktop only: leave a black strip on the left (matches slide 2/3's
   flex/justify-end composition) instead of the video going full-bleed. */
@media (min-width: 769px) {
  .slide__video--desktop {
    left: 24%;
    width: 76%;
  }
}

@media (max-width: 768px) {
  .slide__video--desktop {
    display: none;
  }

  .slide__video--mobile {
    display: block;
  }
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.categories {
  padding: 90px 0 40px;
  background: var(--paper);
}

.categories__grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 20px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(30px);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: 0 20px 40px rgba(13, 13, 13, 0.08);
}

.category-card__num {
  position: absolute;
  top: -6px;
  right: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -4px;
  color: var(--paper);
  -webkit-text-stroke: 1px var(--line);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transition: transform .6s var(--ease), -webkit-text-stroke-color .6s var(--ease);
}

.category-card:hover .category-card__num {
  transform: translateY(-6px) scale(1.05);
  -webkit-text-stroke-color: var(--primary-light);
}

.category-card__spokes {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 230px;
  height: 230px;
  color: #fff;
  opacity: .05;
  z-index: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
  will-change: transform;
}

.category-card__spokes svg {
  width: 100%;
  height: 100%;
  display: block;
}

.category-card:hover .category-card__spokes {
  opacity: .09;
}

.category-card__icon {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  color: var(--primary);
  transition: transform .6s var(--ease);
}

.category-card__icon svg {
  width: 100%;
  height: 100%;
}

/* Icon-library fallback for categories added/edited from the dashboard,
   where picking a custom SVG isn't practical for the client — they choose
   a Font Awesome icon instead. Sized to fill the same box as the built-in
   SVG icons above so both render consistently in the grid. */
.category-card__icon i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: currentColor;
}

.category-card:hover .category-card__icon {
  transform: rotate(360deg) scale(1.08);
}

.category-card__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.category-card__count {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.category-card__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel);
  transition: color .35s var(--ease), gap .35s var(--ease);
}

.category-card__link svg {
  width: 12px;
  height: 12px;
  transition: transform .35s var(--ease);
}

.category-card:hover .category-card__link {
  color: var(--primary);
  gap: 11px;
}

.category-card:hover .category-card__link svg {
  transform: translateX(2px);
}

.category-card--featured {
  grid-row: 1 / 3;
  padding: 36px;
  background: var(--ink);
  border-color: #222;
}

.category-card--featured .category-card__num {
  color: rgba(255, 255, 255, 0.035);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
}

.category-card--featured:hover .category-card__num {
  -webkit-text-stroke-color: rgba(194, 42, 46, 0.5);
}

.category-card--featured .category-card__icon {
  width: 64px;
  height: 64px;
  color: var(--primary-light);
}

.category-card--featured .category-card__icon i {
  font-size: 32px;
}

.category-card--featured .category-card__count {
  color: var(--primary-light);
}

.category-card--featured .category-card__body h3 {
  color: #fff;
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 16px;
}

.category-card--featured .category-card__link {
  color: rgba(255, 255, 255, 0.55);
}

.category-card--featured:hover .category-card__link {
  color: var(--primary-light);
}

.category-card--featured:hover {
  border-color: var(--primary);
}

@media (max-width: 1024px) {
  .categories__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }

  .category-card--featured {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
}

@media (max-width: 640px) {
  .categories {
    padding: 70px 0 20px;
  }

  .categories__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    padding: 0 20px;
    gap: 16px;
  }

  .category-card {
    min-height: 160px;
    padding: 22px;
  }

  .category-card--featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .category-card__num {
    font-size: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-card {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products {
  padding: 100px 0 90px;
}

.carousel-nav {
  display: flex;
  gap: 8px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s var(--ease);
}

.carousel-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.product-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 40px 12px;
  max-width: 1360px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  position: relative;
  flex: 0 0 clamp(230px, 24vw, 300px);
  scroll-snap-align: start;
  background: var(--paper-2);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  display: grid;
  grid-template-areas:
    "media"
    "body";
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: 0 20px 40px rgba(13, 13, 13, 0.08);
}

.product-card__media {
  grid-area: media;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fdfdfd !important;
  border-radius: 12px;
  overflow: hidden;
}

.product-card__media-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 12px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 1;
}

.product-card__img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.product-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--ink);
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.35s var(--ease);
}

.product-card:hover .product-card__wish {
  transform: translateY(0);
  opacity: 1;
}

.product-card__wish:hover {
  color: var(--primary);
}

.product-card__wish.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  background: var(--primary);
  color: #fff;
  animation: cmFavPop 0.35s var(--ease);
}

.product-card__wish.active:hover {
  color: #fff;
}

@keyframes cmFavPop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
  }
}

.product-card__compare {
  position: absolute;
  top: 58px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink);
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.35s var(--ease);
}

.product-card:hover .product-card__compare {
  transform: translateY(0);
  opacity: 1;
}

.product-card__compare:hover {
  color: var(--primary);
}

.product-card__compare.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  background: var(--ink);
  color: #fff;
  animation: cmFavPop 0.35s var(--ease);
}

.product-card__compare.active:hover {
  color: #fff;
}

.product-card__quick {
  grid-area: media;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  background: linear-gradient(to top, rgba(13, 13, 13, 0.4) 0%, transparent 100%);
}

.product-card:hover .product-card__quick {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-quick {
  width: 100%;
  padding: 13px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.product-card:hover .btn-quick {
  background: var(--primary);
  color: #fff;
}

.product-card__body {
  grid-area: body;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

/* Mobile/touch: there's no hover, so keep the wishlist and compare
   controls permanently visible instead of only revealing them on :hover
   (which never fires on touch). The quick-add button moves out of the
   image overlay and into its own row below the price/size, so it never
   covers the product photo. */
@media (max-width: 860px) {
  .product-card {
    grid-template-areas:
      "media"
      "body"
      "quick";
  }

  .product-card__wish,
  .product-card__compare {
    opacity: 1;
    transform: translateY(0);
  }

  .product-card__quick {
    grid-area: quick;
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 10px 0 0;
    background: none;
  }

  .btn-quick {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
  }
}

.product-card__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--steel-text);
}

.product-card__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 4px 0 8px;
  letter-spacing: -0.2px;
  min-height: 45px;
}

.product-card__body h3 a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size 0.35s var(--ease);
}

.product-card__body h3 a:hover {
  background-size: 100% 1px;
}

.product-card__colors {
  display: flex;
  gap: 8px;
  margin: 5px 0;
  align-items: center;
  min-height: 10px;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  transition: transform 0.25s var(--ease), outline-color 0.25s var(--ease);
}

.swatch::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
}

.swatch:hover,
.swatch.active {
  transform: scale(1.15);
  outline-color: var(--primary);
}

.product-card__price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 5px;
  width: 100%;
}

.product-card__price-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.product-card__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
}

.product-card__bulk {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

.product-card__bulk small {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  color: var(--steel-text);
}

.product-card__bulk em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: var(--steel-text);
  margin-left: 3px;
}

.product-card__sizes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  flex-shrink: 0;
  direction: rtl;
}

.size-cube {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 9px;
  color: var(--steel);
  background: var(--paper-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-transform: uppercase;
  user-select: none;
  position: relative;
}

.size-cube::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
}

.size-cube:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.size-cube.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(155, 28, 31, 0.3);
}

@media (max-width: 767px) {
  .product-card__price-row {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .product-card__bulk {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 480px) {
  .product-card__price-row {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .product-card__price-left {
    flex-shrink: 1;
  }

  .product-card__price {
    font-size: 13px;
    white-space: normal;
  }

  .product-card__bulk {
    font-size: 11px;
  }

  .product-card__sizes {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-left: 0;
    direction: rtl;
  }

  .size-cube {
    width: 22px;
    height: 22px;
    font-size: 8px;
  }
}

/* ==========================================================================
   OFFERS SECTION
   ========================================================================== */
.offers {
  padding: 80px 0;
  background: var(--paper);
}

.offers__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.offers__head {
  margin-bottom: 40px;
}

.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
}

.offer-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 40px;
  background: var(--paper-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--line);
  isolation: isolate;
}

.offer-banner--dark {
  background: var(--ink);
  color: #fff;
  border-color: #222;
}

.offer-banner__content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.offer-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.offer-banner h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.1;
}

.offer-banner p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  opacity: 0.8;
}

.offer-banner__bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: 45%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 70%, transparent 100%);
  transition: transform 0.6s var(--ease);
}

.offer-banner:hover .offer-banner__bg {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .offers__grid {
    grid-template-columns: 1fr;
  }

  .offer-banner {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-banner__content {
    max-width: 100%;
  }

  .offer-banner__bg {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 20px;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.services .section-title {
  color: #fff;
}

.services .section-eyebrow {
  color: #e63946;
}

.services__rows {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

.service-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 70px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.service-row:last-child {
  border-bottom: none;
}

.service-row--reverse {
  flex-direction: row-reverse;
}

.service-row__bgnum {
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(120px, 15vw, 230px);
  line-height: 1;
  letter-spacing: -6px;
  color: rgba(255, 255, 255, 0.05);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}

.service-row__bgnum::before {
  content: attr(data-num);
}

.service-row--reverse .service-row__bgnum {
  right: auto;
  left: -10px;
}

.service-row__text {
  position: relative;
  z-index: 1;
  max-width: 560px;
  opacity: 0;
  will-change: transform, opacity;
}

.service-row__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}

.service-row__text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.service-row__text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 26px;
  max-width: 460px;
}

.service-row__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(110px, 13vw, 170px);
  height: clamp(110px, 13vw, 170px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: transform, opacity;
}

.service-row__icon svg {
  width: 100%;
  height: 100%;
  color: var(--primary-light);
  filter: drop-shadow(0 0 26px rgba(194, 42, 46, 0.25));
}

/* Icon-library fallback for services added/edited from the dashboard —
   same contract as .category-card__icon: data-icon-type="svg" keeps the
   built-in inline SVG, data-icon-type="fa" renders a single
   <i class="fa-solid fa-..."> instead, sized to fill the same box. */
.service-row__icon i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1;
  color: var(--primary-light);
  filter: drop-shadow(0 0 26px rgba(194, 42, 46, 0.25));
}

.service-card__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  display: inline-block;
}

.service-card__link:hover {
  color: var(--primary-light);
  border-color: var(--primary-light);
}

@media (max-width: 900px) {

  .service-row,
  .service-row--reverse {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
    padding: 56px 0;
  }

  .service-row__icon {
    order: -1;
    width: 88px;
    height: 88px;
  }

  .service-row__bgnum {
    font-size: clamp(80px, 26vw, 140px);
    top: 20px;
    transform: none;
  }

  .service-row--reverse .service-row__bgnum,
  .service-row__bgnum {
    left: auto;
    right: 10px;
  }
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partners-section {
  padding: 80px 0;
  background: var(--paper);
  overflow: hidden;
  position: relative;
}

.partners-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  position: relative;
}

.partners-header {
  background: var(--paper-2);
  padding: 20px 60px 20px 40px;
  min-width: 380px;
  width: 380px;
  position: relative;
  z-index: 10;
  box-shadow: 20px 0 40px rgba(244, 243, 239, 0.95);
}

.partners-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 16px;
}

.partners-subtitle {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

.partners-carousel-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  margin-left: -20px;
  z-index: 5;
}

.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  padding-left: 40px;
  will-change: transform;
}

.partner-logo {
  flex-shrink: 0;
  width: 140px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.3s var(--ease);
}

.partner-logo:hover img {
  filter: grayscale(0) opacity(1);
}

@media (max-width: 768px) {
  .partners-container {
    flex-direction: column;
  }

  .partners-header {
    width: 100%;
    min-width: 100%;
    padding: 30px 20px;
    box-shadow: 0 20px 30px rgba(244, 243, 239, 0.95);
  }

  .partners-carousel-wrapper {
    margin-left: 0;
    padding: 30px 0;
  }
}

/* ==========================================================================
   SCROLL CUE
   ========================================================================== */
.scroll-cue {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  background: #000;
  color: rgba(255, 255, 255, 0.45);
}

.scroll-cue__arrow {
  color: var(--primary-light);
  animation: cue-bounce 1.9s ease-in-out infinite;
}

@keyframes cue-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 130px 0;
  overflow: hidden;
  isolation: isolate;
  clip-path: ellipse(220% 200% at 50% 300%);
  will-change: clip-path;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 20;
  margin-top: -120px;
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    clip-path: none;
  }
}

.cta__bg {
  position: absolute;
  inset: -15% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(13, 13, 13, 0.35), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 2px, transparent 2px 34px);
  will-change: transform;
  overflow: hidden;
}

.cta__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  position: absolute;
  inset: 0;
  filter: brightness(0.6) contrast(1.1);
}

.cta__bg-video--mobile {
  display: none;
}

@media (max-width: 768px) {
  .cta__bg-video--desktop {
    display: none;
  }

  .cta__bg-video--mobile {
    display: block;
  }
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.cta__text {
  flex: 1 1 420px;
  max-width: 520px;
  opacity: 0;
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.75);
}

.cta__text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -1px;
  margin: 10px 0 16px;
}

.cta__text p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 30px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.btn-whatsapp:hover {
  background: #000;
  transform: translateY(-4px);
}

.cta__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
}

.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cta__phone:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.cta__hours {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
}

.cta__media {
  flex: 1 1 380px;
  display: flex;
  justify-content: center;
  opacity: 0;
}

.cta__frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 5 / 4.4;
  border-radius: 26px;
  overflow: hidden;
  transform: rotate(-2.2deg);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.cta__frame:hover {
  transform: rotate(0deg) scale(1.015);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(13, 13, 13, 0) 45%, rgba(13, 13, 13, 0.55) 100%);
  pointer-events: none;
}

.cta__frame-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: #fff;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}

.cta__frame-corner--tl {
  top: 16px;
  left: 16px;
  border-top: 3px solid;
  border-left: 3px solid;
  border-radius: 6px 0 0 0;
}

.cta__frame-corner--br {
  bottom: 16px;
  right: 16px;
  border-bottom: 3px solid;
  border-right: 3px solid;
  border-radius: 0 0 6px 0;
}

.cta__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5457;
  box-shadow: 0 0 0 3px rgba(255, 84, 87, 0.28);
  animation: badge-pulse 1.6s ease-in-out infinite;
}

@keyframes badge-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@media (max-width: 860px) {
  .cta {
    padding: 90px 0;
  }

  .cta__inner {
    padding: 0 20px;
    flex-direction: column;
    text-align: left;
    gap: 44px;
  }

  .cta__media {
    width: 100%;
  }

  .cta__frame {
    max-width: 100%;
    transform: rotate(0deg);
  }
}

/* ==========================================================================
   SIDEBARS — CART & FAVORITES
   ========================================================================== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 13, 13, 0.5);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.sidebar-overlay.active {
  visibility: visible;
  opacity: 1;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  max-width: 92vw;
  height: 100vh;
  background: var(--paper-2);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
  z-index: 10000;
}

.sidebar-overlay.active .sidebar {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--paper-2);
}

.sidebar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.sidebar-title i {
  font-size: 20px;
  color: var(--primary);
}

.sidebar-count {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 4px;
}

.sidebar-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--steel);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.sidebar-close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg);
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  background: var(--paper);
}

.sidebar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--steel-text);
}

.sidebar-empty i {
  font-size: 48px;
  color: var(--line);
  margin-bottom: 16px;
}

.sidebar-empty p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}

.sidebar-empty span {
  font-size: 14px;
  color: var(--steel-text);
}

.sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--paper-2);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}

.sidebar-item:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sidebar-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}

.sidebar-item-info {
  flex: 1;
  min-width: 0;
}

.sidebar-item-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.2px;
  margin-bottom: 2px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sidebar-item-size {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 8px;
  margin-top: 2px;
}

.sidebar-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: nowrap;
}

.sidebar-item-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px 3px 6px;
}

.sidebar-item-color__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.sidebar-item-bulk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.qty-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sidebar-item-qty>span:not([class]) {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  min-width: 14px;
  text-align: center;
}

.sidebar-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--steel-text);
  cursor: pointer;
  font-size: 12px;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}

.sidebar-item-remove:hover {
  background: #fee;
  color: var(--primary);
}

.sidebar-footer {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  flex-shrink: 0;
}

.sidebar-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--ink);
}

.sidebar-total-price {
  color: var(--primary);
  font-size: 20px;
}

.btn-sidebar-primary,
.btn-sidebar-secondary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-bottom: 8px;
}

.btn-sidebar-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(155, 28, 31, 0.25);
}

.btn-sidebar-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(155, 28, 31, 0.35);
}

.btn-sidebar-secondary {
  background: transparent;
  color: var(--steel);
  border: 1px solid var(--line);
  margin-bottom: 0;
}

.btn-sidebar-secondary:hover {
  background: var(--paper);
  border-color: var(--steel-light);
}

@media (max-width: 520px) {
  .sidebar {
    width: 100vw;
    max-width: 100vw;
    height: 75vh;
  }

  .sidebar-header {
    padding: 16px 18px;
  }

  .sidebar-title {
    font-size: 18px;
  }

  .sidebar-body {
    padding: 12px 14px;
  }

  .sidebar-item {
    padding: 10px 12px;
  }

  .sidebar-item-img {
    width: 50px;
    height: 50px;
  }

  .sidebar-footer {
    padding: 14px 18px 18px;
  }
}

/* ==========================================================================
   COMPARE FEATURE — floating bar & modal
   ========================================================================== */
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 160%);
  z-index: 1000;
  width: min(720px, calc(100% - 32px));
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(13, 13, 13, 0.35);
  transition: transform 0.45s var(--ease), width 0.4s var(--ease);
}

.compare-bar.is-visible {
  transform: translate(-50%, 0);
}

.compare-bar.is-collapsed {
  width: fit-content;
  left: 20px;
  transform: translate(0, 0);
}

.compare-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  transition: gap 0.35s var(--ease);
}

.compare-bar.is-collapsed .compare-bar__inner {
  gap: 8px;
}

.compare-bar__toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.compare-bar__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.compare-bar__toggle i {
  transition: transform 0.35s var(--ease);
}

.compare-bar.is-collapsed .compare-bar__toggle i {
  transform: rotate(-180deg);
}

.compare-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--paper);
  flex-shrink: 0;
}

.compare-bar__label i {
  color: var(--primary-light);
  font-size: 14px;
}

.compare-bar__label em {
  font-style: normal;
  color: #fff;
  font-weight: 700;
}

.compare-bar__items {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 6px;
  max-width: 999px;
  opacity: 1;
  transition: max-width 0.4s var(--ease), opacity 0.25s var(--ease), padding 0.4s var(--ease), margin 0.4s var(--ease);
}

.compare-bar.is-collapsed .compare-bar__items {
  max-width: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.compare-bar__items::-webkit-scrollbar {
  display: none;
}

.compare-bar__item {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.compare-bar__item-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.compare-bar__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare-bar__item-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.compare-bar__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: gap 0.4s var(--ease);
}

.compare-bar.is-collapsed .compare-bar__actions {
  gap: 0;
}

.compare-bar__clear {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 8px;
  white-space: nowrap;
  max-width: 120px;
  opacity: 1;
  transition: max-width 0.4s var(--ease), opacity 0.2s var(--ease), padding 0.4s var(--ease);
}

.compare-bar__clear:hover {
  color: #fff;
}

.compare-bar.is-collapsed .compare-bar__clear {
  max-width: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.compare-bar__cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 11px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), max-width 0.4s var(--ease), opacity 0.2s var(--ease), padding 0.4s var(--ease);
  white-space: nowrap;
  max-width: 220px;
  opacity: 1;
}

.compare-bar.is-collapsed .compare-bar__cta {
  max-width: 0;
  opacity: 0;
  padding: 11px 0;
  overflow: hidden;
  pointer-events: none;
}

.compare-bar__cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .compare-bar {
    bottom: 14px;
    width: calc(100% - 20px);
  }

  .compare-bar__inner {
    padding: 9px 10px;
    gap: 8px;
  }

  .compare-bar__label span {
    display: none;
  }

  .compare-bar__cta span {
    display: none;
  }

  .compare-bar__cta {
    padding: 11px 13px;
  }

  .compare-bar.is-collapsed .compare-bar__cta {
    padding: 11px 0;
  }
}

body.cm-lightbox-open .compare-bar {
  transform: translate(-50%, 160%) !important;
}

.search-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.search-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal {
  width: 100%;
  background: var(--paper-2);
  border-radius: 0 0 20px 20px;
  transform: translateY(-24px);
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}

.search-modal-overlay.active .search-modal {
  transform: translateY(0);
}

.search-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  padding-top: 16px;
}

.search-modal__form {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--steel-text);
}

.search-modal__form input {
  flex: 1;
  border: none;
  background: none;
  font: inherit;
  font-size: 14px;
  outline: none;
  color: var(--ink);
}

.search-modal__form input::placeholder {
  color: var(--steel-text);
}

.compare-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.compare-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.compare-modal {
  width: 100%;
  max-width: 1100px;
  max-height: 88vh;
  background: var(--paper-2);
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
}

.compare-modal-overlay.active .compare-modal {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .compare-modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .compare-modal {
    border-radius: 20px;
    max-height: 84vh;
  }
}

.compare-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.compare-modal__header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-transform: uppercase;
}

.compare-modal__header h3 i {
  color: var(--primary);
  font-size: 17px;
}

.compare-modal__body {
  overflow: auto;
  padding: 8px 24px 28px;
}

.compare-grid-wrap {
  overflow-x: auto;
}

.compare-grid {
  display: grid;
  min-width: 560px;
}

.compare-row {
  display: contents;
}

.compare-cell {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.compare-cell--label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--steel);
  position: sticky;
  left: 0;
  background: var(--paper-2);
}

.compare-cell--product {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  padding-top: 18px;
}

.compare-col-header {
  position: relative;
  width: 100%;
}

.compare-col-header img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--paper);
  display: block;
}

.compare-col-header__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink);
}

.compare-col-header__remove:hover {
  color: var(--primary);
}

.compare-col-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 10px;
}

.compare-col-header .price {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.compare-swatches,
.compare-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compare-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.compare-size-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
  color: var(--steel);
}

.compare-dash {
  color: var(--steel-text);
}

.compare-actions-cell {
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  border-bottom: none;
  padding-bottom: 22px;
}

.compare-add-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 11px;
  border-radius: 2px;
  text-align: center;
  transition: background 0.25s var(--ease);
}

.compare-add-btn:hover {
  background: var(--primary-dark);
}

.compare-view-link {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--steel);
  text-align: center;
  width: 100%;
}

.compare-view-link:hover {
  color: var(--primary);
}

.compare-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--steel);
}

.compare-empty i {
  font-size: 34px;
  color: var(--line);
  margin-bottom: 14px;
  display: block;
}

.compare-empty p {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .compare-modal {
    padding-bottom: 0px;
  }
}

/* ==========================================================================
   RESERVE BUTTON PREMIUM
   ========================================================================== */
.reserve-btn-premium {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #9b1c1f 0%, #c22a2e 50%, #9b1c1f 100%);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(155, 28, 31, 0.35);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: reservePulseScale 2.5s ease-in-out infinite;
}

.reserve-btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 4px 30px rgba(155, 28, 31, 0.6), 0 0 60px rgba(155, 28, 31, 0.15);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: reservePulseGlow 2.5s ease-in-out infinite;
}

.reserve-btn-premium__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(115deg,
      transparent 30%,
      rgba(255, 255, 255, 0.15) 45%,
      transparent 60%);
  transform: translateX(-200%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
  pointer-events: none;
}

.reserve-btn-premium:hover .reserve-btn-premium__glow {
  transform: translateX(200%);
}

.reserve-btn-premium__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.reserve-btn-premium:hover .reserve-btn-premium__icon {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(-15deg) scale(1.1);
}

.reserve-btn-premium__text {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.reserve-btn-premium__text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reserve-btn-premium:hover .reserve-btn-premium__text::after {
  width: 100%;
}

.reserve-btn-premium:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 40px rgba(155, 28, 31, 0.5);
  background: linear-gradient(135deg, #6c1417 0%, #9b1c1f 50%, #c22a2e 100%);
  background-size: 200% 200%;
  border-color: rgba(255, 255, 255, 0.25);
  animation: none;
}

.reserve-btn-premium:hover::before {
  animation: none;
  opacity: 0;
}

.reserve-btn-premium:active {
  transform: translateY(0) scale(0.97);
}

@keyframes reservePulseScale {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

@keyframes reservePulseGlow {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .reserve-btn-premium {
    padding: 6px 10px;
    gap: 2px;
    animation: reservePulseScaleMobile 2s ease-in-out infinite;
    border-radius: 12px;
    min-width: 52px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 56px;
  }

  .reserve-btn-premium__icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
    margin: 0;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
  }

  .reserve-btn-premium__text {
    display: block;
    font-size: 7px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
    white-space: normal;
    text-align: center;
  }

  .reserve-btn-premium__text::after {
    display: none;
  }

  .reserve-btn-premium:hover {
    animation: none;
  }

  .reserve-btn-premium:hover::before {
    animation: none;
    opacity: 0;
  }

  .reserve-btn-premium::before {
    box-shadow: 0 2px 20px rgba(155, 28, 31, 0.5), 0 0 40px rgba(155, 28, 31, 0.08);
    animation: reservePulseGlowMobile 2s ease-in-out infinite;
  }

  .reserve-btn-premium::after {
    display: none;
  }

  @keyframes reservePulseScaleMobile {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.04);
    }
  }

  @keyframes reservePulseGlowMobile {

    0%,
    100% {
      opacity: 0;
    }

    50% {
      opacity: 1;
    }
  }
}

@media (max-width: 400px) {
  .reserve-btn-premium {
    padding: 4px;
    min-width: 30px;
    min-height: 48px;
    border-radius: 10px;
    width: 16%;
  }

  .reserve-btn-premium__icon {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .reserve-btn-premium__text {
    font-size: 6px;
    letter-spacing: 0.2px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .reserve-btn-premium {
    padding: 8px 16px;
    gap: 8px;
  }

  .reserve-btn-premium__text {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .reserve-btn-premium__icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

/* ==========================================================================
   LANGUAGE BUTTON
   ========================================================================== */
.lang-btn-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper, #f4f3ef);
  border: 1.5px solid var(--line, #e3e0d8);
  color: var(--ink, #0d0d0d);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  font-family: var(--font-body, 'Inter', sans-serif);
  letter-spacing: 0.5px;
}

.lang-btn-simple:hover {
  background: var(--primary, #9b1c1f);
  border-color: var(--primary, #9b1c1f);
  color: #fff;
  transform: rotate(15deg) scale(1.1);
  box-shadow: 0 6px 24px rgba(155, 28, 31, 0.3);
}

.lang-btn-simple:active {
  transform: rotate(0deg) scale(0.95);
}

.lang-btn-simple__text {
  display: inline-block;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lang-btn-simple:hover .lang-btn-simple__text {
  transform: scale(1.05);
}

.lang-btn-simple::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lang-btn-simple:hover::after {
  width: 20px;
}

@media (max-width: 640px) {
  .lang-btn-simple {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .lang-btn-simple::after {
    bottom: 6px;
  }
}

@media (max-width: 480px) {
  .lang-btn-simple {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .lang-btn-simple::after {
    bottom: 5px;
    height: 1.5px;
  }
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.contact-action {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  /* The container's flex box reserves space for all 4 stacked circles even
     while collapsed (opacity alone doesn't remove them from layout), so
     without this the invisible area above the main button would still
     intercept hover/click on whatever sits behind it. The main button and
     the sub-items (when open) explicitly opt back in below. */
  pointer-events: none;
}

.contact-action .item {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-2);
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  background: rgba(155, 28, 31, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.25, 1.3, 0.5, 1);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}

.contact-action.open .item:not(.main) {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-action .item:hover {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 15px 35px rgba(155, 28, 31, 0.35);
}

.contact-action .item::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 42, 46, 0.35), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.contact-action .item:hover::before {
  opacity: 1;
}

.contact-action .item.main {
  width: 58px;
  height: 58px;
  font-size: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-action.open .item:nth-child(2) {
  transition-delay: 0.05s;
}

.contact-action.open .item:nth-child(3) {
  transition-delay: 0.1s;
}

.contact-action.open .item:nth-child(4) {
  transition-delay: 0.15s;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #111 !important;
  color: #fff !important;
  /* margin-top: 80px !important; */
}

/* ========================================================= FOOTER TOP ========================================================= */
.footer__top {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 40px 15px 10px !important;
  display: grid !important;
  grid-template-columns: 1.65fr .85fr .75fr .85fr 1.15fr 1fr .9fr .6fr 1.35fr!important;
  gap: 5px !important;
  align-items: start !important;
  padding-bottom: 0 !important;
}

/* ========================================================= BRAND ========================================================= */
.footer__brand {
  max-width: 230px !important;
  padding-right: 10px;
}

.footer__logo {
  width: 175px !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 20px !important;
  filter: brightness(0) invert(1) !important;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  margin: 0 0 22px !important;
}

/* ========================================================= SOCIAL ========================================================= */
.footer__social {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.footer__social a {
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 50% !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
  position: relative;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.footer__social a::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
}

.footer__social a:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: #fff !important;
  transform: translateY(-2px) !important;
}

/* ========================================================= COLUMNS ========================================================= */
.footer__col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
}

.footer__col h3 {
  font-family: var(--font-display) !important;
  margin: 0 0 17px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 8px !important;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.58) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin-bottom: 9px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  gap: 2px !important;
}

.footer__col a:hover {
  color: var(--primary) !important;
  transform: translateX(3px) !important;
}

/* ========================================================= VISIT ========================================================= */
.footer__visit p {
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  margin: 0 0 12px !important;
}

.footer__visit p a {
  margin: 0 !important;
}

.footer__visit strong {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.footer__contact-link {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  color: inherit !important;
  text-decoration: none !important;
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
  transition: color 0.25s ease !important;
}

.footer__contact-link i {
  width: 16px !important;
  min-width: 16px !important;
  margin-top: 3px !important;
  font-size: 13px !important;
  opacity: 0.8 !important;
}

.footer__contact-link:hover {
  color: var(--primary, #9b1c1f) !important;
}

.footer__contact-link:hover i {
  opacity: 1 !important;
}

/* ========================================================= NEWSLETTER ========================================================= */
.footer__newsletter-row {
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 25px 35px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  gap: 80px !important;
  padding-top: 0px !important;
  padding-bottom: 15px !important;
}

.footer__newsletter-content h3 {
  margin: 0 0 5px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.footer__newsletter-content p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px !important;
}

.footer__form {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding-bottom: 8px !important;
  margin-top: 6px !important;
}

.footer__form input {
  flex: 1 !important;
  background: none !important;
  border: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 14px !important;
  outline: none !important;
  padding: 8px 0 !important;
}

.footer__form input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.footer__form button {
  color: var(--primary-light) !important;
  font-size: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  margin: -10px -10px -10px 0 !important;
}

/* ========================================================= BOTTOM ========================================================= */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  max-width: 1380px !important;
  margin: 0 auto !important;
  padding: 20px 35px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 20px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 10px !important;
}

.footer__bottom>span:first-child {
  text-align: left !important;
}

.footer__bottom>span:nth-child(2) {
  text-align: center !important;
}

.footer__legal {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 14px !important;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
}

.footer__legal a:hover {
  color: #fff !important;
}

.footer__pay {
  font-family: var(--font-mono) !important;
  white-space: nowrap !important;
}

.text-primary:hover {
  color: var(--primary) !important;
}

/* ========================================================= LARGE TABLET ========================================================= */
@media (max-width: 1200px) {
  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.25fr !important;
    gap: 40px 30px !important;
  }

  .footer__brand {
    grid-column: span 2 !important;
    max-width: 300px !important;
  }
}

/* ========================================================= TABLET ========================================================= */
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
    padding: 50px 28px !important;
    gap: 38px 25px !important;
  }

  .footer__brand {
    grid-column: span 4 !important;
    max-width: 420px !important;
  }

  .footer__newsletter-row {
    padding: 25px 28px !important;
  }

  .footer__bottom {
    padding: 20px 28px !important;
  }
}

/* ========================================================= MOBILE ========================================================= */
@media (max-width: 650px) {
  .footer__top {
    grid-template-columns: 1fr 1fr !important;
    padding: 40px 22px !important;
    gap: 30px 25px !important;
  }

  .footer__brand {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }

  .footer__logo {
    width: 160px !important;
    margin-bottom: 15px !important;
  }

  .footer__brand p {
    max-width: 340px !important;
    margin-bottom: 18px !important;
  }

  .footer__social {
    gap: 8px !important;
  }

  .footer__social a {
    width: 32px !important;
    height: 32px !important;
  }

  .footer__col {
    min-width: 0 !important;
  }

  .footer__newsletter-row {
    padding: 25px 22px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 17px !important;
  }

  .footer__form {
    width: 100% !important;
  }

  .footer__bottom {
    padding: 20px 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .footer__bottom>span:nth-child(2) {
    text-align: left !important;
  }

  .footer__legal {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 9px 14px !important;
  }
}

/* ========================================================= SMALL MOBILE ========================================================= */
@media (max-width: 430px) {
  .footer__top {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .footer__brand {
    grid-column: span 1 !important;
  }
}

/* ==========================================================================
   RESPONSIVE GLOBAL
   ========================================================================== */
@media (max-width: 900px) {

  .service-row,
  .service-row--reverse {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
    padding: 56px 0;
  }

  .service-row__icon {
    order: -1;
    width: 88px;
    height: 88px;
  }

  .service-row__bgnum {
    font-size: clamp(80px, 26vw, 140px);
    top: 20px;
    transform: none;
  }

  .service-row--reverse .service-row__bgnum,
  .service-row__bgnum {
    left: auto;
    right: 10px;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    gap: 0px;
    padding: 0 3px;
  }

  .search {
    display: none;
  }

  .icon-btn--search-mobile {
    display: flex;
  }

  .brand__logo {
    height: 42px;
  }

  .section-head {
    padding: 0 20px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .product-track {
    padding: 0 20px 12px;
  }

  .hero__controls {
    left: 5%;
    right: 5%;
  }

  .cta {
    padding: 90px 0;
  }

  .cta__inner {
    padding: 0 20px;
    flex-direction: column;
    text-align: left;
    gap: 44px;
  }

  .cta__media {
    width: 100%;
  }

  .cta__frame {
    max-width: 100%;
    transform: rotate(0deg);
  }

  .footer__top {
    padding: 60px 20px 40px;
  }

  .footer__bottom {
    padding: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 70px;
  }

  .brand__logo {
    height: 60px;
  }

  .icon-btn {
    width: 33px;
    height: 36px;
  }

  .subnav__list {
    padding: 0 20px;
    gap: 22px;
  }

  .hero {
    min-height: 440px;
  }

  .slide__content {
    padding: 0 6% 140px;
  }

  .menu-fab {
    left: 16px;
  }

  .contact-action {
    right: 16px;
    bottom: 16px;
  }

  .contact-action .item {
    width: 48px;
    height: 48px;
  }

  .contact-action .item.main {
    width: 54px;
    height: 54px;
  }
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
  border-left: 1px solid var(--line);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
      var(--primary),
      var(--primary-dark));
  border-radius: 50px;
  border: 2px solid var(--paper);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
      var(--primary-light),
      var(--primary));
}

::-webkit-scrollbar-corner {
  background: var(--paper);
}

/* ==========================================================================
   PRODUCT TRACK DRAG
   ========================================================================== */
#productTrack {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

#productTrack.dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
}

#productTrack .product-card {
  user-select: none;
  -webkit-user-select: none;
}

@media (max-width: 650px) {
  .footer__top {
    grid-template-columns: 1fr 1fr !important;
    padding: 40px 22px !important;
    gap: 30px 25px !important;
  }

  .footer__brand {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   OFF-CANVAS SEARCH — matches navbar .search styling
   Only visible on mobile/tablet (≤ 900px)
   ========================================================================== */
.offcanvas__search {
  display: none;   /* مخفي افتراضياً */
}

@media (max-width: 900px) {
  .offcanvas__search {
    display: flex;
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 6px 6px 22px;
    margin: 18px 16px 14px;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  }

  .offcanvas__search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(155, 28, 31, .12);
  }

  .offcanvas__search input {
    flex: 1;
    border: none;
    background: none;
    font: inherit;
    font-size: 14px;
    outline: none;
    color: var(--ink);
    min-width: 0;
  }

  .offcanvas__search input::placeholder {
    color: var(--steel-text);
  }

  .offcanvas__search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .3s var(--ease), transform .2s var(--ease);
    position: relative;
  }

  .offcanvas__search-btn::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
  }

  .offcanvas__search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
  }
}