/* ==========================================================================
   FADE PROOF SHIRTS — style.css
   Theme: #000000 (black) · #123a66 (deep navy) · #2f7dd8 (blue) · #FFFFFF
   Pure CSS. Fully responsive. Shared by every page.
   ========================================================================== */

/* ---------------- Tokens ---------------- */
:root {
  --black: #05070c;
  --ink: #10131a;
  --panel: #f3f7fd;
  --panel-2: #eaf1fc;
  --maroon: #123a66;
  --red: #2569e0;
  --white: #ffffff;
  --muted: #5a6270;
  --line: rgba(16, 19, 26, 0.1);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(37, 105, 224, 0.4);

  --grad-red: linear-gradient(135deg, var(--maroon), var(--red));
  --grad-panel: linear-gradient(160deg, #ffffff, #f2f6fd);
  --grad-hero: #000000;

  --shadow-sm: 0 6px 18px rgba(16, 19, 26, 0.08);
  --shadow-md: 0 18px 44px rgba(16, 19, 26, 0.12);
  --glow: 0 0 0 1px rgba(37, 105, 224, 0.35), 0 18px 46px rgba(37, 105, 224, 0.18);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --font-head: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------- Reset ---------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul { list-style: none; }
svg { flex-shrink: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.05rem; }

p { color: var(--muted); }

::selection { background: var(--red); color: #fff; }

/* Scrollbar */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}
/* ---------------- Layout helpers ---------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

section { padding-block: clamp(1.8rem, 3.6vw, 3.2rem); }

.bg-panel { background: linear-gradient(160deg, #f5f9ff, #eaf1fc); }
.bg-red-wash {
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(37, 105, 224, 0.08), transparent 60%),
    #f6f9ff;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head p { margin-top: 0.9rem; font-size: 0.98rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-red);
}
.section-head.center .eyebrow::before { display: none; }

.text-red { color: var(--red); }
.italic-head { font-style: italic; }

/* ---------------- Buttons ---------------- */
.btn {
  --btn-bg: #0a6ae8;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s;
  white-space: nowrap;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(10, 106, 232, 0.35), 0 18px 46px rgba(10, 106, 232, 0.18); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn .btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-outline {
  --btn-bg: transparent;
  color: #0a6ae8;
  border: 1.5px solid #0a6ae8;
}
.btn-outline:hover { border-color: #0a6ae8; background: rgba(10, 106, 232, 0.1); }

/* Outline buttons sitting on the dark hero / page-hero / footer need light text */
.hero .btn-outline, .page-hero .btn-outline, .site-footer .btn-outline {
  color: #fff;
  border-color: #0a6ae8;
}

.btn-ghost { --btn-bg: rgba(37, 105, 224, 0.06); border: 1px solid var(--line); }

.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------------- Top bar ---------------- */
.topbar {
  background: #ffffff;
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  flex-wrap: wrap;
}

/* Email & Phone */
.topbar > .container > a {
  color: #000000;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Email & Phone Icon */
.topbar > .container > a svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  background: #000000;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
}

/* Social Icons */
.topbar-socials {
  display: flex;
  gap: 0.45rem;
}

.topbar-socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #000000;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s var(--ease);
}

.topbar-socials a:hover {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  transform: translateY(-2px);
}

.topbar-socials svg {
  width: 13px;
  height: 13px;
}

/* ---------------- Navbar ---------------- */
/* ================= NAVBAR ================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 90;

  background: #000000;
  /* border-bottom: 1px solid var(--line-dark); */

  transition: box-shadow 0.35s, padding 0.35s;
}

/* =========================================================
   BLUE GRADIENT ON TOP OF NAVBAR
   Bright at TOP → fades DOWNWARD
   ========================================================= */

.navbar::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 28px;

  background: linear-gradient(
    to bottom,
    rgba(0, 132, 255, 1) 0%,
    rgba(0, 120, 245, 0.88) 18%,
    rgba(0, 105, 230, 0.55) 40%,
    rgba(0, 85, 190, 0.25) 65%,
    rgba(0, 60, 140, 0) 100%
  );

  pointer-events: none;
  z-index: 0;
}

/* Navbar content stays above gradient */

.navbar-inner {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.navbar.is-scrolled {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}


/* ================= LOGO ================= */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.logo img {
  height: 42px;
  width: auto;
  transition: transform 0.4s var(--ease);
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-fallback {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
}

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


/* ================= NAV LINKS ================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  position: relative;

  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  padding-block: 0.4rem;

  color: #eaeaea;

  transition: color 0.28s;
  margin-top: 20px;
}

.nav-links a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  height: 2px;
  width: 100%;

  background: var(--grad-red);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.38s var(--ease);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: #fff;
}


/* ================= NAV RIGHT ================= */

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 20px;
  
}


/* ================= HAMBURGER ================= */

.hamburger {
  display: none;

  width: 42px;
  height: 38px;

  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;
}

.hamburger span {
  display: block;

  width: 20px;
  height: 2px;

  background: #fff;

  transition:
    transform 0.35s var(--ease),
    opacity 0.25s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ================= DRAWER OVERLAY ================= */

.drawer-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s,
    visibility 0.35s;

  z-index: 98;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}


/* ================= DRAWER ================= */

.drawer {
  visibility: hidden;

  position: fixed;
  top: 0;
  right: 0;

  height: 100dvh;
  width: min(320px, 86vw);

  background: #08080a;

  border-left: 1px solid var(--line-strong);

  padding: 4.4rem 1.6rem 2rem;

  display: flex;
  flex-direction: column;

  gap: 0.25rem;

  transform: translateX(105%);

  transition: transform 0.45s var(--ease);

  z-index: 99;

  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer a {
  color: #fff;

  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  padding: 0.85rem 0.4rem;

  border-bottom: 1px solid var(--line-dark);

  transition:
    color 0.25s,
    padding-left 0.3s var(--ease);
}

.drawer a:hover {
  color: var(--red);
  padding-left: 1rem;
}


/* ================= DRAWER CLOSE ================= */

.drawer-close {
  position: absolute;

  top: 1.1rem;
  right: 1.1rem;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-dark);
  border-radius: 50%;

  transition: all 0.3s;
}

.drawer-close:hover {
  background: #0a6ae8;
  border-color: transparent;
}
/* ---------------- Floating social buttons ---------------- */
.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.float-btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: floatY 3.2s ease-in-out infinite;
}
.float-btn svg { width: 25px; height: 25px; }
.float-btn.wa { background: linear-gradient(135deg, #1faa55, #25d366); }
.float-btn.fb { background: linear-gradient(135deg, #1b4bb0, #1877f2); animation-delay: 0.4s; }
.float-btn::before {
  content: "";
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: ping 2.4s ease-out infinite;
}
.float-btn:hover { transform: scale(1.12) translateY(-3px); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.55; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------------- Scroll to top ---------------- */
.to-top {
  position: fixed;
  left: 16px; bottom: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--red);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all 0.4s var(--ease);
  z-index: 94;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #0a6ae8; border-color: transparent; color: #fff; }

/* ---------------- Scroll reveal ---------------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(38px); }
[data-reveal="down"] { transform: translateY(-32px); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(0.9); }
[data-reveal="flip"] { transform: perspective(900px) rotateX(-14deg); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------- Placeholder images ---------------- */
.ph {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(45deg, #f2f6fd 0 12px, #e7eefb 12px 24px);
  border: 1px dashed rgba(37, 105, 224, 0.35);
  border-radius: var(--r-md);
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 120px;
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ph .ph-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 19, 26, 0.4);
  text-align: center;
  padding: 1rem;
  line-height: 1.5;
}
.ph .ph-label b { color: var(--red); display: block; font-size: 0.82rem; }

/* ---------------- Marquee ---------------- */

.marquee {
  background: #006BE8;
  padding-block: 0.90rem;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.marquee-track {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
  width: max-content;
  flex-shrink: 0;
  animation: scrollX 10s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Top Marquee */

.marquee.marquee-top {
  padding-block: 0.5rem;
  overflow: hidden;
}

.marquee.marquee-top .marquee-track {
  animation-duration: 8s;
  gap: 2rem;
}

/* Marquee Text */

.marquee span {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  flex-shrink: 0;
}

/* Top Marquee Text */

.marquee.marquee-top span {
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 900;
  letter-spacing: 0.12em;
}

/* Continuous Animation */

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

  to {
    transform: translateX(-100%);
  }
}

/* Mobile Responsive */

@media (max-width: 600px) {
  .marquee {
    padding-block: 0.65rem;
  }

  .marquee.marquee-top {
    padding-block: 0.5rem;
  }

  .marquee.marquee-top .marquee-track {
    animation-duration: 40s;
    gap: 1.5rem;
  }

  .marquee.marquee-top span {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    transform: none;
  }

  .marquee {
    white-space: normal;
  }

  .marquee span {
    white-space: normal;
  }
}

/* ---------------- Flip / swap cards (auto image change) ---------------- */
.swap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.swap-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.swap-card:hover { transform: translateY(-10px); box-shadow: var(--glow); border-color: var(--line-strong); }
.swap-media { position: relative; aspect-ratio: 3 / 4; }
.swap-media .ph { position: absolute; inset: 0; height: 100%; border-radius: 0; border: none; }
.swap-media .ph.is-hidden { opacity: 0; }
.swap-media .ph { transition: opacity 0.7s var(--ease), transform 6s linear; }
.swap-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.55) 55%, transparent);
}
.swap-card-body h4 { font-size: 1.15rem; color: #fff; }
.swap-card-body p { font-size: 0.84rem; margin-top: 0.25rem; color: rgba(255,255,255,0.75); }
.swap-dots { display: flex; gap: 4px; margin-top: 0.6rem; }
.swap-dots i { width: 16px; height: 3px; background: rgba(255, 255, 255, 0.3); border-radius: 4px; transition: background 0.4s; }
.swap-dots i.on { background: var(--red); }

/* ---------------- Category cards ---------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 0%, rgba(47, 125, 216, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.cat-card:hover { transform: translateY(-9px); box-shadow: var(--glow); border-color: var(--line-strong); }
.cat-card:hover::before { opacity: 1; }
.cat-card .ph { aspect-ratio: 4 / 3; border-radius: 0; border-inline: none; border-top: none; }
.cat-card:hover .ph img { transform: scale(1.07); }
.cat-card .ph img { transition: transform 0.7s var(--ease); }
.cat-body { padding: 1.15rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.cat-body h3 { font-size: 1.25rem; }
.cat-body p { font-size: 0.87rem; flex: 1; }
.cat-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; color: var(--red);
  font-family: var(--font-head); letter-spacing: 0.12em; text-transform: uppercase;
}
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-family: var(--font-head);
}

/* ---------------- Product grid (design now) ---------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
.prod-card {
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.4s;
}
.prod-card:hover { transform: translateY(-7px); box-shadow: var(--glow); border-color: var(--line-strong); }
.prod-card .ph { aspect-ratio: 1 / 1.12; border-radius: 0; border: none; }
.prod-card .ph img { transition: transform 0.7s var(--ease); }
.prod-card:hover .ph img { transform: scale(1.06); }
.prod-body { padding: 0.95rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.prod-body h4 { font-size: 1.02rem; }
.prod-cat { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; }
.price { font-family: var(--font-head); font-size: 1.25rem; color: var(--red); }
.price small { color: var(--muted); font-size: 0.7rem; }

/* Filter / select bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 2rem;
}
.filter-bar label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
select, input, textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 0.92rem;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(37, 105, 224, 0.18);
}
select option { background: #ffffff; color: var(--ink); }
.select-wrap { position: relative; min-width: 260px; flex: 1; }

.count-pill {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------- Page hero ---------------- */
.page-hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(70% 130% at 12% 0%, rgba(37, 105, 224, 0.35), transparent 62%),
    #060a12;
  border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(2.6rem, 6vw, 4.4rem);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 60ch; margin-top: 0.7rem; color: rgba(255, 255, 255, 0.72); }
.breadcrumb {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-head);
}
.breadcrumb a:hover { color: var(--red); }

/* ---------------- Split content sections ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.split-copy h2 { margin-bottom: 1rem; }
.check-list { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.check-list svg { width: 19px; height: 19px; color: var(--red); margin-top: 3px; }

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.gallery-item .ph { height: 100%; border-radius: 0; border: none; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--glow); z-index: 2; }
.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  opacity: 0;
  transition: opacity 0.45s;
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay span { font-family: var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.testi-card {
  position: relative;
  padding: 1.6rem 1.5rem;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.testi-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--glow); }
.testi-card .quote {
  position: absolute;
  top: -14px; right: 18px;
  font-family: var(--font-head);
  font-size: 4.5rem;
  color: rgba(47, 125, 216, 0.28);
  line-height: 1;
}
.stars { display: flex; gap: 3px; color: var(--red); margin-bottom: 0.8rem; }
.stars svg { width: 16px; height: 16px; }
.testi-card p { font-size: 0.93rem; }
.testi-who { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.1rem; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-red);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 1rem;
}
.testi-who strong { display: block; font-size: 0.94rem; }
.testi-who span { font-size: 0.78rem; color: var(--muted); }

/* ---------------- Stats band ---------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--r-lg);
  background: #1a73e8;
  box-shadow: var(--shadow-md);
}
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; }
.stat-item span { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.92; }

/* ---------------- Steps ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step-card {
  position: relative;
  padding: 1.6rem 1.3rem;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.step-card:hover { transform: translateY(-7px); border-color: var(--line-strong); }
.step-card .num {
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(47, 125, 216, 0.3);
}
.step-card h4 { margin: 0.4rem 0 0.5rem; }
.step-card p { font-size: 0.87rem; }


/* ---------------- Size chart ---------------- */
.size-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.6rem;
}
.size-tabs { display: inline-flex; gap: 0.4rem; padding: 0.35rem; background: var(--panel); border: 1px solid var(--line); border-radius: 100px; }
.size-tab {
  padding: 0.55rem 1.3rem;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.size-tab.active { background: #0a6ae8; color: #fff; box-shadow: var(--shadow-sm); }

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow-x: auto;
  background: var(--grad-panel);
}
table.size-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.size-table th, .size-table td { padding: 0.95rem 1rem; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.size-table thead th {
  background: rgba(37, 105, 224, 0.12);
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--ink);
}
.size-table tbody tr { transition: background 0.3s; }
.size-table tbody tr:hover { background: rgba(47, 125, 216, 0.08); }
.size-table td:first-child { font-family: var(--font-head); color: var(--red); font-size: 1rem; }

.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.note-card {
  padding: 1.3rem;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--r-md);
  transition: transform 0.4s var(--ease);
}
.note-card:hover { transform: translateX(6px); }
.note-card h4 { margin-bottom: 0.4rem; }
.note-card p { font-size: 0.87rem; }

/* ---------------- Customize page ---------------- */
.customize-layout { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
.customize-preview { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 1rem; }
.customize-preview .ph { aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); }
.hang-tag {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: var(--grad-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.logo-dot {
  position: absolute;
  z-index: 3;
  padding: 0.35rem 0.6rem;
  border: 1px dashed var(--red);
  border-radius: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  transition: all 0.4s var(--ease);
}
.preview-summary {
  padding: 1.1rem 1.2rem;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.4rem; font-size: 0.9rem; color: var(--muted); border-bottom: 1px dashed var(--line); }
.summary-row strong, .summary-row span:last-child { color: var(--ink); }
.summary-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--line-strong);
  font-family: var(--font-head); font-size: 1.4rem;
}
.summary-total span:last-child { color: var(--red); }

.step-track { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1.8rem; }
.step-dot { display: grid; justify-items: center; gap: 0.3rem; }
.step-dot .n {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  transition: all 0.4s var(--ease);
}
.step-dot .lbl { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.step-dot.active .n, .step-dot.done .n { background: var(--grad-red); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.step-dot.active .lbl { color: var(--red); }
.step-line { flex: 1; height: 2px; background: var(--line); }

.step-panel { display: none; animation: fadeSlide 0.5s var(--ease); }
.step-panel.active { display: block; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.panel-box {
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: 2rem 1rem;
  border: 2px dashed rgba(47, 125, 216, 0.45);
  border-radius: var(--r-md);
  text-align: center;
  transition: all 0.35s;
  cursor: pointer;
}
.upload-zone:hover, .upload-zone.dragover { background: rgba(47, 125, 216, 0.1); border-color: var(--red); }
.upload-zone svg { color: var(--red); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; }

.logo-result { display: flex; align-items: center; gap: 0.9rem; margin-top: 1rem; padding: 0.8rem; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: var(--r-md); }
.logo-result .thumb { width: 52px; height: 52px; border-radius: 8px; background: #000 center/contain no-repeat; border: 1px solid var(--line); }
.logo-result .info { flex: 1; min-width: 0; }
.logo-result .info strong { display: block; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logo-result .info span { font-size: 0.76rem; color: var(--red); }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; transition: all 0.3s; }
.icon-btn:hover { background: #0a6ae8; border-color: transparent; }

.opt-row { margin-top: 1.4rem; }
.opt-row h4 { margin-bottom: 0.7rem; font-size: 0.9rem; letter-spacing: 0.12em; }
.opt-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.84rem;
  transition: all 0.32s var(--ease);
}
.opt:hover { border-color: var(--red); transform: translateY(-2px); }
.opt.active { background: #0a6ae8; border-color: transparent; box-shadow: var(--shadow-sm); }

.size-btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-btn {
  width: 54px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  transition: all 0.32s var(--ease);
}
.size-btn:hover { border-color: #0a6ae8; transform: translateY(-2px); }
.size-btn.active { background: #0a6ae8; border-color: transparent; }

.swatches { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.swatch {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { border-color: var(--red); transform: scale(1.12); }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qty-control button { width: 44px; height: 46px; font-size: 1.3rem; transition: background 0.3s; }
.qty-control button:hover { background: rgba(47, 125, 216, 0.25); }
.qty-control input { width: 84px; text-align: center; border: none; border-inline: 1px solid var(--line); border-radius: 0; }

.switch { width: 52px; height: 28px; border-radius: 100px; background: #2a2a2f; position: relative; cursor: pointer; transition: background 0.35s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease); }
.switch.on { background: var(--grad-red); }
.switch.on::after { transform: translateX(24px); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); }
.toggle-row strong { display: block; font-size: 0.94rem; }
.toggle-row span { font-size: 0.8rem; color: var(--muted); }

.field-group { display: grid; gap: 0.4rem; margin-top: 1rem; }
.field-group label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-group.full { grid-column: 1 / -1; }

.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }

.confirm-panel { text-align: center; padding: 2rem 1rem; }
.confirm-icon {
  width: 74px; height: 74px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-red);
  animation: popIn 0.6s var(--ease);
  box-shadow: var(--glow);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------------- Contact ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: start; }
.info-card {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.info-card .ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(47,125,216,0.15); color: var(--red); flex-shrink: 0; }
.info-card strong { display: block; font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; }
.info-card p, .info-card a { font-size: 0.9rem; color: var(--muted); }
.info-card a:hover { color: var(--red); }
.info-stack { display: grid; gap: 0.9rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--grad-panel);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.35s;
}
.faq-item.open { border-color: var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.15rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.faq-q .plus { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(47,125,216,0.18); color: var(--red); transition: transform 0.4s var(--ease); flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 1.15rem 1.1rem; font-size: 0.9rem; }

.form-card {
  padding: clamp(1.2rem, 3vw, 1.9rem);
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.form-success { display: none; text-align: center; padding: 1.6rem 0.5rem; }
.form-success.show { display: block; }

/* ---------------- Footer ---------------- */
.site-footer { background: #05070c; border-top: 1px solid var(--line-dark); padding-top: clamp(2.4rem, 5vw, 3.6rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.2rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 0.9rem; max-width: 34ch; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { margin-bottom: 0.9rem; font-size: 0.92rem; letter-spacing: 0.16em; color: var(--red); }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a, .footer-col p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); transition: color 0.28s, padding-left 0.28s; }
.footer-col a:hover { color: var(--red); padding-left: 5px; }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.1rem; }
.footer-socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: all 0.32s var(--ease);
}
.footer-socials a:hover { background: var(--grad-red); border-color: transparent; transform: translateY(-3px); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 24px);
  background: #101013;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: all 0.4s var(--ease);
  z-index: 200;
  max-width: 90vw;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .swap-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .customize-layout { grid-template-columns: 1fr; }
  .customize-preview { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .note-grid { grid-template-columns: 1fr; }
  .desktop-only { display: none !important; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .hero-badges { justify-content: center; padding: 0.6rem 0.7rem; }
  .hero-badge { padding-inline: 0.45rem; }
  .hero-feature-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-feature:nth-child(2) { border-right: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .gallery-grid { grid-auto-rows: 140px; }
}

@media (max-width: 560px) {
  .swap-grid { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .step-dot .lbl { display: none; }
  .float-btn { width: 46px; height: 46px; }
  .float-btn svg { width: 22px; height: 22px; }
  .logo img { height: 34px; }
  .btn { padding: 0.75rem 1.2rem; font-size: 0.86rem; }
}


/* ---------------- Extra responsive hardening ---------------- */
@media (max-width: 1080px) {
  .hero-logo img { width: min(100%, 480px); }
}

@media (max-width: 900px) {
  .hero-grid { gap: 2rem; }
  .hero-logo img { width: min(100%, 420px); }
}

@media (max-width: 720px) {
  .container { padding-inline: 16px; }
  .marquee.marquee-top span { font-size: 0.66rem; letter-spacing: 0.2em; }
  .topbar { font-size: 0.76rem; }
  .topbar-inner { gap: 0.5rem; padding-block: 0.5rem; }
  .hero { padding-block: 2rem; }
  .hero-logo img { width: min(88%, 360px); }
  .hero-copy .hero-sub { font-size: 0.86rem; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  /* Prevent iOS Safari from auto-zooming the page when a form field is focused */
  select, input, textarea { font-size: 16px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .container { padding-inline: 14px; }
  section { padding-block: 1.6rem; }
  .hero-logo img { width: min(94%, 320px); }
  .hero-badges { gap: 0.55rem; }
  .hero-badge { font-size: 0.7rem; }
  .hero-badge svg { width: 17px; height: 17px; }
  .hero-feature-strip { grid-template-columns: 1fr 1fr; }
  .hero-stats { padding: 0.85rem 0.5rem; }
  .hero-stat { justify-content: flex-start; }
  .hero-stat strong { font-size: 1.15rem; }
  .hero-stat svg { width: 22px; height: 22px; }
  .cat-grid, .swap-grid, .gallery-grid, .note-grid, .deal-grid, .steps-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .table-wrap { border-radius: var(--r-md); }
  .modal-card, .modal-inner { max-height: 88dvh; overflow-y: auto; }
}

@media (max-width: 420px) {
  .marquee.marquee-top span { letter-spacing: 0.14em; }
  .logo img { height: 30px; }
  .hero-badges { flex-direction: column; align-items: stretch; }
  .hero-badge { border-right: none; border-bottom: 1px solid var(--line-dark); padding-block: 0.35rem; }
  .hero-badge:last-child { border-bottom: none; }
  .hero-feature-strip { grid-template-columns: 1fr; }
  .hero-feature { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-feature:last-child { border-bottom: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .btn, .btn-lg { padding: 0.72rem 1rem; font-size: 0.82rem; }
  .topbar a span { font-size: 0.72rem; }
  .float-btn { width: 42px; height: 42px; }
  .to-top { width: 42px; height: 42px; }
}

/* never let anything blow out the viewport on tiny screens */
img, svg, video, table, pre { max-width: 100%; }
.marquee, .topbar, .navbar, .site-footer { max-width: 100%; }

/* ---------------- Features box (light blue, image + checklist) ---------------- */
.features-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  background: linear-gradient(160deg, #eaf1fc, #dfeafc);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 3rem);
  overflow: hidden;
}
.features-copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.1rem;
}
.features-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 220px;
}
.features-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .features-box { grid-template-columns: 1fr; }
  .features-media { order: -1; }
}

/* ---------------- Process Steps (Choose / Design / Order / Deliver) ---------------- */
.process-panel {
  background: linear-gradient(160deg, #eaf1fc, #dfeafc);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.process-card { position: relative; text-align: center; }
.process-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff, #eef4fd);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.process-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.process-card:hover .process-media img { transform: scale(1.06); }
.process-num {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.process-title {
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
}
.process-bar {
  height: 6px;
  border-radius: 100px;
  background: var(--grad-red);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1080px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-panel { padding: 1.3rem; }
  .process-media { aspect-ratio: 16 / 10; }
}

/* ---------------- Simple Category Cards (image + caption) ---------------- */
.catg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.catg-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.catg-media { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }
.catg-media img { transition: transform 0.7s var(--ease); }
.catg-card:hover .catg-media img { transform: scale(1.06); }
.catg-caption {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
}
.catg-caption:hover { color: var(--red); }

@media (max-width: 1080px) {
  .catg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .catg-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .catg-caption { font-size: 0.86rem; }
}

/* ================================================================
   NEW HOMEPAGE SECTIONS — Mockup Form / 5-Step Process /
   Features Band / Why Choose Us Split (redesign additions)
   ================================================================ */

/* ---------------- Mockup / lead form ---------------- */
.mockup-card { position: relative; }
.chip-checks { display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; align-items: center; margin-top: 0.6rem; }
.chip-check {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink);
  transition: all 0.25s;
  background: #fff;
}
.chip-check:hover { border-color: var(--red); }
.chip-check input { accent-color: var(--red); width: 15px; height: 15px; }
.chip-check:has(input:checked) { background: rgba(37, 105, 224, 0.12); border-color: var(--red); }
.chip-more {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--red);
  text-decoration: none;
  padding: 0.5rem 0.2rem;
}
.chip-more:hover { text-decoration: underline; }

/* ---------------- 5-step "Our Process" ---------------- */
.process-5 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}
.process-5-line {
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.process-5-card { position: relative; z-index: 1; text-align: center; }
.process-5-num {
  position: absolute;
  top: -6px; right: calc(50% - 38px);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.process-5-ico {
  width: 68px; height: 68px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #eaf1fc, #dfeafc);
  border: 1px solid var(--line-strong);
  color: var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease);
}
.process-5-card:hover .process-5-ico { transform: translateY(-6px) scale(1.05); }
.process-5-ico svg { width: 28px; height: 28px; }
.process-5-card h4 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.process-5-card p { font-size: 0.82rem; }

@media (max-width: 900px) {
  .process-5 { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .process-5-line { display: none; }
}
@media (max-width: 480px) {
  .process-5 { grid-template-columns: 1fr; }
}

/* ---------------- Features Band (black, built for all day comfort) ---------------- */
.features-band {
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.features-band .eyebrow { color: var(--red); }
.features-band .section-head h2 { color: #fff; }
.features-band .section-head p { color: rgba(255,255,255,0.55); }
.features-band-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px) 1fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center;
}
.fb-media { aspect-ratio: 4 / 5; background: repeating-linear-gradient(45deg, #12151d 0 12px, #171b25 12px 24px); border-color: rgba(255,255,255,0.18); }
.fb-media .ph-label { color: rgba(255,255,255,0.4); }
.fb-list { display: grid; gap: 1.5rem; }
.fb-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.fb-ico {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(37, 105, 224, 0.15);
  border: 1px solid rgba(37, 105, 224, 0.4);
  color: var(--red);
}
.fb-ico svg { width: 20px; height: 20px; }
.fb-list h4 { color: #fff; font-size: 0.98rem; margin-bottom: 0.25rem; }
.fb-list p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

@media (max-width: 900px) {
  .features-band-grid { grid-template-columns: 1fr; }
  .fb-media { order: -1; max-width: 320px; margin-inline: auto; }
}

/* ---------------- Why Choose Us — icon chip grid ---------------- */
.wc-chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.6rem; max-width: 420px; }
.wc-chip {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.wc-chip:hover { transform: translateY(-4px); border-color: var(--red); }
.wc-chip-ico { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(37,105,224,0.12); color: var(--red); }
.wc-chip-ico svg { width: 18px; height: 18px; }

@media (max-width: 560px) {
  .wc-chip-grid { max-width: none; }
}

/* ==========================================================================
   BRAND FONTS
   The supplied Haffer and Euclid Circular A files are bundled locally and
   assigned site-wide through the typography variables below.
   ========================================================================== */
@font-face {
  font-family: "Haffer";
  src: url("fonts/haffer/Haffer-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haffer";
  src: url("fonts/haffer/Haffer-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haffer";
  src: url("fonts/haffer/Haffer-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/euclid/EuclidCircularA-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/euclid/EuclidCircularA-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/euclid/EuclidCircularA-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Euclid Circular A";
  src: url("fonts/euclid/EuclidCircularA-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-display: "Haffer", var(--font-head);
  --font-alt: "Euclid Circular A", var(--font-body);
}

/* ==========================================================================
   HOME PAGE — shared heading + utility bits used across the new sections
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-heading { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.home-heading.center { text-align: center; margin-inline: auto; max-width: 700px; }
.home-heading h2 {
  font-family: var(--font-display);
  margin-top: 0.4rem;
}
.home-heading p {
  margin-top: 0.8rem;
  font-family: var(--font-alt);
  font-size: 0.97rem;
}

/* ==========================================================================
   HOME PAGE — Design Your Uniform (free mockup form)
   ========================================================================== */
/* .mockup-section { background: #ffffff; }

.mockup-form {
  max-width: 780px;
  margin-inline: auto;
}
.mockup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.6rem;
}
.mockup-form label {
  display: block;
  font-family: var(--font-alt);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.mockup-form-grid input {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: var(--font-alt);
  font-size: 0.92rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.mockup-form-grid input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(37, 105, 224, 0.14);
}
.mockup-upload-label {
  margin-top: 1.6rem;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.92rem;
}
.upload-box {
  width: 100%;
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.6rem 1rem;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(37, 105, 224, 0.04);
  color: var(--red);
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.upload-box:hover { background: rgba(37, 105, 224, 0.09); border-color: var(--red); transform: translateY(-2px); }
.upload-box.is-dragover { background: rgba(37, 105, 224, 0.14); border-color: var(--red); }

.industry-field {
  margin-top: 1.6rem;
  border: none;
  padding: 0;
}
.industry-field legend {
  width: 100%;
  margin-bottom: 0.6rem;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
}
.industry-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.4rem 1.2rem 0 0;
  font-family: var(--font-alt);
  font-size: 0.88rem;
  font-weight: 500;
}
.industry-field input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--red);
}
.mockup-submit { margin-top: 1.8rem; text-align: center; }

@media (max-width: 640px) {
  .mockup-form-grid { grid-template-columns: 1fr; }
  .industry-field label { display: flex; margin-right: 0; }
} */

/* ==========================================================================
   HOME PAGE — Shop by Category
   ========================================================================== */
/* .home-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.home-cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.home-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.home-cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 12, 0.88) 0%, rgba(5, 7, 12, 0.15) 55%, transparent 75%);
}
.home-cat-card:hover img { transform: scale(1.08); }
.home-cat-card h3 {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  margin: 0 0.9rem 0.9rem;
  padding-top: 60%;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}
.home-cat-card { display: flex; }
.home-cat-more { margin-top: 2.2rem; text-align: center; }

@media (max-width: 1080px) {
  .home-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .home-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .home-cat-card h3 { font-size: 0.88rem; margin: 0 0.6rem 0.6rem; }
}
@media (max-width: 420px) {
  .home-cat-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
} */

/* ==========================================================================
   HOME PAGE — Our Process (idea to delivery)
   ========================================================================== */
.home-process { background: ; }
.home-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.home-process-card {
  position: relative;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.1rem 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.home-process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.home-process-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.home-process-card svg {
  display: block;
  width: 26px; height: 26px;
  margin: 0.4rem auto 0.9rem;
  color: var(--red);
}
.home-process-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}
.home-process-card p {
  font-family: var(--font-alt);
  font-size: 0.84rem;
}

@media (max-width: 1080px) {
  .home-process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .home-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .home-process-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOME PAGE — Features (Built for all day comfort)
   ========================================================================== */
.home-features { background: #000; }
.home-features-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
}
.home-features .eyebrow { color: var(--red); }
.home-features h2 { color: #fff; margin-bottom: 1.8rem; }

.home-feature-list { display: grid; gap: 1.5rem; }
.home-feature-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.home-feature-item svg {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 2px;
  color: var(--red);
}
.home-feature-item h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}
.home-feature-item span {
  font-family: var(--font-alt);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.home-feature-media {
  /* border-radius: var(--r-lg); */
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.home-feature-media img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .home-features-grid { grid-template-columns: 1fr; }
  .home-feature-media { order: -1; max-width: 420px; margin-inline: auto; }
}

/* ==========================================================================
   HOME PAGE — Why Choose Us (short)
   ========================================================================== */
.home-why { background: #fff; }
.home-why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
.home-why-copy h2 { font-family: var(--font-display); margin-bottom: 1rem; }
.home-why-copy h2 em { font-style: normal; color: var(--red); }
.home-why-copy > p { font-family: var(--font-alt); max-width: 52ch; }

.home-why-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin: 1.6rem 0 1.8rem;
}
.home-why-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}
.home-why-badges svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }

.home-why-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.home-why-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .home-why-grid { grid-template-columns: 1fr; }
  .home-why-media { order: -1; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .home-why-badges { gap: 0.6rem 1rem; }
}

/* ==========================================================================
   Scroll-reveal animation (paired with script.js)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease, ease), transform 0.5s var(--ease, ease);
  will-change: opacity, transform;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Subtle hover lift for cards/buttons across the site */
.reveal a[href], .reveal button { transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }

/* ==========================================================================
   RESPONSIVE LAYER  —  keeps every page usable from 320px phones to 4K screens
   (This block is intentionally last, so it wins over the older rules above.)
   Breakpoints used:  ≤1200  ≤1023 (menu)  ≤900 (tablet)  ≤720  ≤560 (phone)  ≤420  ≤360
   ========================================================================== */

/* ---------- 1. Foundations ---------- */
/* `hidden` on html+body silently breaks position:sticky (the navbar never stuck).
   `clip` stops sideways scrolling WITHOUT creating a scroll container. */
/* Sideways-overflow guard. Old browsers: only <html> may use hidden (hidden on
   BOTH html and body turns body into a second scroll container -> janky, stuck
   touch scrolling on iOS). Modern browsers: clip, which never scrolls. */
html { overflow-x: hidden; }
body { overflow-x: visible; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body { min-width: 320px; overflow-wrap: break-word; }
img { height: auto; }
video, canvas, iframe { max-width: 100%; }
.container { padding-inline: clamp(14px, 4vw, 28px); }

/* Off-screen sideways reveal offsets create hidden horizontal overflow on phones */
@media (max-width: 900px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(28px); }
}

/* Hover-lift effects "stick" on touch screens — only apply them on real hover devices */
@media (hover: none) {
  .btn:hover, .swap-card:hover, .cat-card:hover, .prod-card:hover, .testi-card:hover,
  .step-card:hover, .deal-card:hover, .info-card:hover, .note-card:hover,
  .gallery-item:hover, .float-btn:hover { transform: none; }
}

/* ---------- 2. Very large screens ---------- */
@media (min-width: 1600px) {
  :root { --maxw: 1440px; --nav-h: 86px; }
  body { font-size: 16.5px; }
  .fx-form { max-width: 980px !important; }
  .fx-cats, .fx-process { max-width: 1320px !important; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1680px; }
  body { font-size: 18px; }
  .fx-form { max-width: 1120px !important; }
  .fx-cats, .fx-process { max-width: 1500px !important; }
}

/* ---------- 3. Top bar, navbar, drawer ---------- */
.nav-links a { white-space: nowrap; }
.topbar a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hamburger { width: 46px; height: 44px; }
.drawer a { min-height: 48px; display: flex; align-items: center; }
.drawer a.btn { justify-content: center; }
.drawer { padding-bottom: max(2rem, env(safe-area-inset-bottom)); }

@media (max-width: 1200px) {
  .nav-links { gap: 1.15rem; }
  .nav-links a { font-size: 0.94rem; letter-spacing: 0.07em; }
}
/* switch to the hamburger earlier so the links never wrap onto two lines */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .desktop-only { display: none !important; }
}
@media (max-width: 720px) {
  .topbar-inner { justify-content: space-between; }
}
@media (max-width: 560px) {
  :root { --nav-h: 66px; }
  .topbar-inner { flex-wrap: nowrap; gap: 0.6rem; }
  .topbar a:first-child { min-width: 0; flex: 1 1 auto; }
  .topbar-socials { flex-shrink: 0; }
}

/* ---------- 4. Floating buttons ---------- */
.float-btn { position: relative; }
.float-btn::before { inset: 0; width: 100%; height: 100%; }
.floating-actions { right: max(12px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
.to-top { left: max(12px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); }
@media (max-width: 560px) {
  .floating-actions { gap: 0.55rem; right: max(10px, env(safe-area-inset-right)); }
  .float-btn { width: 46px; height: 46px; }
}

/* ---------- 5. Hero ---------- */
/* stay two-column on landscape tablets & small laptops (901–1080px) */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-badge { white-space: normal; }
}
.hero-copy, .hero-visual { min-width: 0; }
.hero-tagline { font-size: clamp(1.15rem, 3.4vw, 1.9rem); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 560px; margin-inline: auto; }
  .hero-logo img { margin-inline: 0; }
}
@media (max-width: 560px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-badges { padding: 0.5rem 0.8rem; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-block: 1.4rem; }
  .hero-logo img { width: min(100%, 320px); }
}

/* ---------- 6. Homepage inline blocks (form / categories / process / features / why-us) ---------- */
.fx-pad { padding-inline: clamp(14px, 4vw, 32px) !important; box-sizing: border-box; }
#grid { margin-inline: 0 !important; }
#loadMore, #mockupForm button[type="submit"], #moreBtn { min-height: 44px; }

/* Full-screen (100vh) sections only make sense on big, tall screens */
.fx-features, .fx-why { min-height: 0 !important; }
@media (min-width: 900px) and (min-height: 640px) {
  .fx-features, .fx-why { min-height: min(100vh, 900px) !important; }
}
.fx-features > div[style*="max-width:1240px"] { min-width: 0; }
.fx-features #center img { max-width: 100% !important; }

@media (max-width: 720px) {
  /* 16px inputs stop iOS Safari from zooming the page on focus; bigger checkboxes for thumbs */
  #mockupForm input:not([type="checkbox"]):not([type="file"]) { font-size: 16px !important; padding-block: 10px 6px !important; }
  #mockupForm input[type="checkbox"] { width: 20px !important; height: 20px !important; }
  #mockupForm label { font-size: 14px !important; }
  #mockupForm button[type="submit"] { width: 100%; font-size: 15px !important; }
  #mockupForm [style*="flex-wrap:wrap"] { gap: 12px 18px !important; }
  #drop { min-height: 84px !important; }
}
@media (max-width: 420px) {
  #mockupForm [style*="repeat(auto-fit"] { grid-template-columns: 1fr !important; }
}
/* the 3-column feature row must never force a page-wide scrollbar */
#main, #wrap { min-width: 0; }
@media (max-width: 560px) {
  #steps > div { padding: 14px 12px 12px !important; min-height: 0 !important; }
}

/* ---------- 7. Shared card grids (auto-fit = no orphaned cards on any width) ---------- */
.testi-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.swap-grid  { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.steps-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.deal-grid  { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.note-grid  { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cat-grid   { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.prod-grid  { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.testi-card, .step-card, .deal-card, .cat-card, .prod-card { min-width: 0; }
.ph .ph-label { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* Design Now page — 14 categories & 140 products must not become an 89,000px scroll on phones */
@media (max-width: 720px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .cat-body { padding: 0.8rem 0.8rem 0.95rem; gap: 0.4rem; }
  .cat-body h3 { font-size: 1.02rem; }
  .cat-body p { font-size: 0.78rem; }
  .cat-meta { font-size: 0.68rem; }
  .cat-card .btn, .prod-card .btn { padding: 0.6rem 0.5rem; font-size: 0.72rem; letter-spacing: 0.08em; }
  .cat-card .btn-arrow { display: none; }
  .prod-body { padding: 0.7rem 0.7rem 0.85rem; gap: 0.35rem; }
  .prod-body h4 { font-size: 0.92rem; }
  .prod-cat { font-size: 0.62rem; letter-spacing: 0.06em; }
  .price { font-size: 1.05rem; }
  .ph .ph-label { font-size: 0.62rem; padding: 0.5rem; letter-spacing: 0.06em; }
  .ph .ph-label b { font-size: 0.66rem; }
  .filter-bar { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .select-wrap { min-width: 0; width: 100%; }
  .count-pill { margin-left: 0; }
}
@media (max-width: 340px) {
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
}

/* Pricing */
@media (max-width: 560px) {
  .deal-grid { grid-template-columns: 1fr; }
  .deal-card .ph { aspect-ratio: 16 / 10; }
  .modal { padding: 1.4rem 1.1rem; }
  .modal .price-row .big { font-size: 1.8rem; }
}

/* Promise / step cards on phones */
@media (max-width: 560px) {
  .step-card { padding: 1.15rem 1.1rem; }
  .step-card .num { font-size: 2.5rem; }
  .testi-card { padding: 1.3rem 1.1rem; }
}

/* About: gallery keeps 2 columns on phones (a 1-column grid + "wide" spans made an extra hidden column) */
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 0.6rem; }
  .gallery-item.wide { grid-column: span 2; }
  .stat-band { padding: 1.2rem 0.8rem; gap: 1rem 0.5rem; }
}

/* ---------- 8. Customize page ---------- */
.customize-layout > * { min-width: 0; }
@media (max-width: 900px) {
  .customize-preview .ph { aspect-ratio: 1 / 1; max-width: 480px; margin-inline: auto; width: 100%; }
  .customize-preview { max-width: 480px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .customize-preview .ph { aspect-ratio: 4 / 3; }
  .step-track { gap: 0.25rem; }
  .step-dot .n { width: 34px; height: 34px; }
  .step-actions .btn { flex: 1 1 100%; }
  .swatch { width: 40px; height: 40px; }
  .opt { padding: 0.6rem 0.9rem; }
  .toggle-row { padding: 0.8rem; }
  .upload-zone { padding: 1.5rem 0.8rem; }
}
@media (max-width: 360px) {
  .size-btn { width: 46px; height: 44px; }
  .qty-control input { width: 64px; }
}

/* ---------- 9. Contact / FAQ ---------- */
.contact-layout > * { min-width: 0; }
.info-card a, .info-card p { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .info-card { padding: 0.95rem; }
  .faq-q { font-size: 0.92rem; padding: 0.9rem 1rem; }
  .form-card { padding: 1.1rem; }
}

/* ---------- 10. Size chart ---------- */
.size-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.size-tabs::-webkit-scrollbar { display: none; }
.size-tab { white-space: nowrap; }
.table-wrap { -webkit-overflow-scrolling: touch; max-width: 100%; }
.size-table td:first-child, .size-table th:first-child { position: sticky; left: 0; background: #eef4fd; z-index: 1; }
@media (max-width: 560px) {
  .size-tools { flex-direction: column; align-items: stretch; }
  .size-tabs { justify-content: flex-start; }
  .size-tab { padding: 0.55rem 1rem; }
  .size-table { min-width: 460px; }
  .size-table th, .size-table td { padding: 0.7rem 0.75rem; font-size: 0.85rem; }
}

/* ---------- 11. Buttons, page hero, footer ---------- */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .btn-lg { padding: 0.85rem 1.1rem; }
}
.btn { min-height: 44px; }
.btn-sm { min-height: 40px; }
@media (max-width: 560px) {
  .page-hero { padding-block: 2rem; }
  .page-hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .breadcrumb { font-size: 0.7rem; }
  .section-head { margin-bottom: 1.4rem; }

  /* footer: brand full-width, the two link lists side by side, contact full-width */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr; }
  .marquee.marquee-top span { font-size: 0.6rem; }
  .logo img { height: 28px; }
}

/* Keep the navbar brand prominent on phones without changing the footer logo. */
@media (max-width: 560px) {
  .navbar .logo img { height: 44px; }
}
@media (max-width: 360px) {
  .navbar .logo img { height: 40px; }
}

/* ---------- 12. Landscape phones / short screens ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .drawer { padding-top: 3.6rem; }
  .drawer a { min-height: 42px; padding-block: 0.5rem; }
  .modal { max-height: 94dvh; }
  .floating-actions { flex-direction: row; }
}

/* ---------- 13. Grid safety: a plain `1fr` track can never shrink below its content ---------- */
.split > *, .hero-grid > *, .features-band-grid > *, .home-why-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .split, .hero-grid, .contact-layout, .customize-layout, .features-box,
  .features-band-grid, .home-features-grid, .home-why-grid { grid-template-columns: minmax(0, 1fr); }
}
.wc-chip { min-width: 0; }
.wc-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 360px) {
  .wc-chip-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 14. Contrast fixes found while testing on small screens ---------- */
.site-footer .footer-socials a { color: #fff; }
.info-card .footer-socials a { color: var(--ink); border-color: var(--line-strong); }
.info-card .footer-socials a:hover { color: #fff; }
.opt.active, .size-btn.active, .step-dot.active .n, .step-dot.done .n { color: #fff; }
.avatar, .ribbon { color: #fff; }
@media (max-width: 560px) {
  .float-btn { width: 42px; height: 42px; }
  .float-btn svg { width: 20px; height: 20px; }
  .floating-actions { gap: 0.45rem; }
}
.stat-band, .stat-band strong, .stat-band span { color: #fff; }
.gallery-grid { grid-auto-flow: dense; }
@media (max-width: 900px) {
  /* tall tiles keep one column, wide tiles span both — dense flow fills any hole */
  .gallery-item.tall { grid-row: span 2; }
}
@media (max-width: 900px) {
  .gallery-grid > .gallery-item:nth-child(5) { grid-column: span 2; }
}

/* ---------- 14. Size-chart tabs: all tabs fit on the smallest phones ---------- */
@media (max-width: 560px) {
  .size-tabs { display: flex; width: 100%; overflow: visible; }
  .size-tab { flex: 1 1 0; padding: 0.55rem 0.4rem; font-size: 0.8rem; letter-spacing: 0.06em; text-align: center; }
}

/* ---------- 14. Floating buttons on phones: small row at the bottom so they never cover content ---------- */
@media (max-width: 640px) {
  .floating-actions { flex-direction: row; gap: 0.5rem; right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
  .float-btn { width: 42px; height: 42px; animation: none; opacity: 0.94; }
  .float-btn svg { width: 20px; height: 20px; }
  .to-top { width: 42px; height: 42px; bottom: max(10px, env(safe-area-inset-bottom)); left: max(10px, env(safe-area-inset-left)); }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 56px; }
}


/* ==========================================================================
   SMOOTH SCROLLING + TOUCH-SCROLL FOUNDATIONS  (every page)
   ========================================================================== */
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { overscroll-behavior-y: none; }               /* no rubber-band jump at the very top / bottom */
a, button, .btn, label, summary { touch-action: manipulation; }   /* no 300ms tap delay, no double-tap-zoom stalls */

/* iOS Safari zooms the whole page when a field smaller than 16px is focused,
   which shifts the layout and makes scrolling feel broken. Keep fields at 16px on phones. */
@media (max-width: 900px) {
  input, select, textarea { font-size: 16px; }
}


/* ---------- Category shortcut buttons (category pages) ---------- */
.cat-shortcuts { background: #fff; border-bottom: 1px solid var(--line); padding: 0.9rem 0; position: sticky; top: 0; z-index: 40; box-shadow: 0 4px 14px rgba(16,19,26,.05); top: var(--nav-h); z-index: 80; }
.cat-shortcuts-inner { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0 1.2rem; max-width: var(--maxw); margin: 0 auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; position: relative; }
.cat-chip { flex: 0 0 auto; white-space: nowrap; padding: 0.5rem 1.05rem; border-radius: 999px; border: 1px solid #cfd8e6; background: #fff; color: var(--ink); font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: all .2s; }
.cat-chip:hover { border-color: #0a6ae8; color: #0a6ae8; transform: translateY(-1px); }
.cat-chip.active { background: #0a6ae8; border-color: #0a6ae8; color: #fff; }
