/* ==========================================================================
   SPORT PRODUCTS PLUS - 2026 ENTERPRISE B2B DESIGN SYSTEM
   Theme: Modern Premium Light Theme (Crisp White & High Contrast Black Text)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800;900&display=swap");

:root {
  /* Premium Light Palette */
  --bg-primary: #f8fafc; /* Soft off-white base */
  --bg-secondary: #ffffff; /* Pure crisp white section background */
  --bg-surface: #f1f5f9; /* Light surface grey */
  --bg-card: #ffffff; /* Elevated pure white card */
  --bg-glass: rgba(255, 255, 255, 0.94);
  --border-glass: #e2e8f0; /* Soft border line */
  --border-glass-glow: rgba(255, 107, 0, 0.4);

  /* Accents */
  --accent-orange: #ff6b00;
  --accent-orange-hover: #e05d00;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-red: #ef4444;
  --accent-green: #10b981;

  /* Typography - Black & High Contrast Slate */
  --text-white: #000000; /* Pure Black Headers */
  --text-primary: #000000; /* Black Primary Text */
  --text-secondary: #334155; /* Dark Slate Body Text */
  --text-muted: #475569; /* Muted Text */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Clay & Glass Effects for Light Mode */
  --clay-shadow:
    0 10px 25px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03),
    inset 1px 1px 2px rgba(255, 255, 255, 0.9);

  --clay-shadow-hover:
    0 20px 35px rgba(0, 0, 0, 0.09), 0 0 20px rgba(255, 107, 0, 0.18),
    inset 1px 1px 2px rgba(255, 255, 255, 1);

  /* Layout */
  --container-max: 1400px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Setup */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 107, 0, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: #000000;
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 97px; /* Offset for fixed marquee banner (34px) + fixed header (63px) */
}

/* Fixed Announcement Marquee Banner */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 34px;
  background: linear-gradient(90deg, #ff6b00 0%, #e03e00 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2100; /* Above header (2000) */
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(224, 62, 0, 0.4);
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  min-width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  line-height: 34px;
  flex-shrink: 0;
  white-space: nowrap;
}

.marquee-item:last-child {
  padding-right: 5rem;
}

/* The ✦ leading icon for each item */
.mq-dot {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.55rem;
  flex-shrink: 0;
  line-height: 1;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Typography Hierarchy - All Headings Pure Black */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #000000 !important;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}
h4 {
  font-size: 1.2rem;
}

p {
  color: #334155;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Base Button Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
  text-decoration: none !important;
}

/* Primary Button - Signature Vibrant Sport Products Plus Orange */
.btn-primary,
a.btn-primary,
button.btn-primary {
  background-color: #ff6b00 !important;
  background-image: linear-gradient(
    180deg,
    #ff7a1a 0%,
    #ff6b00 100%
  ) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  border: 1px solid #e05d00 !important;
  box-shadow:
    0 4px 14px rgba(255, 107, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}

.btn-primary *,
a.btn-primary *,
button.btn-primary * {
  color: #ffffff !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background-color: #ff7a1a !important;
  background-image: linear-gradient(
    180deg,
    #ff8a35 0%,
    #ff7a1a 100%
  ) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(255, 107, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.btn-primary:active,
a.btn-primary:active,
button.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.4) !important;
}

/* Secondary Button - Vibrant Blue */
.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  background-color: #2563eb !important;
  background-image: linear-gradient(
    180deg,
    #3b82f6 0%,
    #2563eb 100%
  ) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1px solid #1d4ed8 !important;
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-decoration: none !important;
}

.btn-secondary *,
a.btn-secondary *,
button.btn-secondary * {
  color: #ffffff !important;
}

.btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover {
  background-color: #3b82f6 !important;
  background-image: linear-gradient(
    180deg,
    #60a5fa 0%,
    #3b82f6 100%
  ) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
}

.btn-glass {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: #000000 !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.btn-glass:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 107, 0, 0.25);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  border-color: rgba(37, 99, 235, 0.25);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Header & Nav - Sticky Glassmorphic Redesign */
.header {
  position: fixed;
  top: 34px;
  left: 0;
  width: 100%;
  z-index: 2000;
  transition: var(--transition-smooth);
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  padding: 0.55rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Logo + Website Name Container */
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: var(--transition-smooth);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: #000000;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-plus {
  color: var(--accent-orange);
  background: linear-gradient(135deg, #ff6b00, #ff8c38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Centered Navigation Menu */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: #334155;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

/* Animated bottom line indicator on hover & active */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), #ff8c38);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--accent-orange) !important;
  background: rgba(255, 107, 0, 0.05);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-link.active {
  color: var(--accent-orange) !important;
  font-weight: 700 !important;
  background: rgba(255, 107, 0, 0.08) !important;
}

.nav-link.active i,
.nav-link:hover i {
  color: var(--accent-orange) !important;
}

/* Right Header Controls */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Header Search */
.header-search {
  position: relative;
  width: 210px;
}

.header-search input {
  width: 100%;
  padding: 0.5rem 0.9rem 0.5rem 2.3rem;
  background: #f1f5f9;
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

.header-search input:focus {
  background: #ffffff;
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.18);
  width: 240px;
}

.header-search i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.btn-header-cta {
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
}

/* Search Icon Button (Navbar) */
.search-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid var(--border-glass);
  color: #334155;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.search-icon-btn:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  transform: scale(1.08);
}

/* Search Modal Overlay */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.search-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 107, 0, 0.08);
  width: min(660px, 92vw);
  padding: 1.6rem 1.8rem;
  transform: translateY(-18px) scale(0.97);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.28s ease;
  opacity: 0;
}

.search-modal-overlay.active .search-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.search-modal-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #000000;
}

.search-modal-label svg {
  color: var(--accent-orange);
}

.search-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  color: #475569;
  transition: var(--transition-smooth);
}

.search-modal-close:hover {
  background: #ffe8d6;
  color: var(--accent-orange);
  transform: rotate(90deg);
}

.search-modal-input-wrap {
  position: relative;
  margin-bottom: 1.1rem;
}

.search-modal-input-wrap > svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-orange);
  pointer-events: none;
}

.search-modal-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #000000;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.search-modal-input:focus {
  border-color: var(--accent-orange);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.search-modal-input::placeholder {
  color: #94a3b8;
}

.search-modal-hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-hint-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 0.2rem;
}

.search-hint-chip {
  padding: 0.3rem 0.9rem;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-hint-chip:hover {
  background: rgba(255, 107, 0, 0.08);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Search Highlight */
mark.search-highlight {
  background-color: #ffe8d6;
  color: var(--accent-orange);
  font-weight: 700;
  padding: 0 3px;
  border-radius: 3px;
}

/* Live Search Suggestions Dropdown in Modal */
.search-suggestions-box {
  margin-top: 1rem;
  max-height: 320px;
  overflow-y: auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.suggestion-item:hover {
  background: #f8fafc;
  border-color: var(--border-glass);
  transform: translateX(4px);
}

.suggestion-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 3px;
  flex-shrink: 0;
}

.suggestion-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suggestion-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #000000;
}

.suggestion-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.suggestion-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--accent-green);
  flex-shrink: 0;
}

.suggestion-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Mega Menu Popup */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 780px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.mega-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.mega-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.mega-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-orange);
  stroke-width: 2.2;
}

.mega-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: #000000;
}

.mega-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-toggle:hover {
  background: #e2e8f0;
  color: var(--accent-orange);
}

/* Mobile Menu Backdrop (dark overlay behind drawer) */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2050; /* Below drawer and above header */
  opacity: 0;
  pointer-events: none; /* Never intercept clicks when invisible */
  transition: opacity 0.3s ease;
}

.mobile-backdrop.active {
  display: block;
  opacity: 1;
  pointer-events: all; /* Capture clicks to close drawer */
}

/* Mobile Drawer Dropdown Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  display: none;
  transform: translateX(-100%);
  opacity: 1;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2200;
}

.mobile-drawer.active {
  display: block;
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

/* Close button inside drawer */
.mobile-drawer-close {
  display: none; /* shown only in mobile via media query */
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: #f1f5f9;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  align-self: flex-start;
}

.mobile-drawer-close:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.mobile-drawer-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-search {
  position: relative;
}

.mobile-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.4rem;
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #000000;
  font-size: 0.9rem;
}

.mobile-search i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #000000;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.mobile-nav-list a:hover {
  background: #f1f5f9;
  color: var(--accent-orange);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: #000000 !important;
}

.hero-headline span {
  background: linear-gradient(135deg, var(--accent-orange), #ff8c38);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #334155;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: #000000;
}

.stat-num span {
  color: var(--accent-orange);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D Illustration Floating Container */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
  animation: floatPhysics 6s ease-in-out infinite;
}

@keyframes floatPhysics {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

/* ══════════════════════════════════════════════
   Hero Showcase — Premium 3D Product Rotator
   ══════════════════════════════════════════════ */

.hs-hero {
  position: relative;
  min-height: 82vh;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #fff7f0 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --hs-accent: #ff6b00;
}

/* Ambient background blobs */
.hs-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hs-blob-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.12) 0%,
    transparent 70%
  );
  animation: blobDrift1 18s ease-in-out infinite alternate;
}

.hs-blob-2 {
  width: 400px;
  height: 400px;
  bottom: -60px;
  left: 5%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 0, 0.09) 0%,
    transparent 70%
  );
  animation: blobDrift2 22s ease-in-out infinite alternate;
}

.hs-blob-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 40%;
  background: radial-gradient(
    circle,
    rgba(255, 200, 100, 0.07) 0%,
    transparent 70%
  );
  animation: blobDrift3 26s ease-in-out infinite alternate;
}

@keyframes blobDrift1 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-40px, 30px) scale(1.1);
  }
}
@keyframes blobDrift2 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, -20px) scale(1.08);
  }
}
@keyframes blobDrift3 {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

/* Dynamic accent glow */
.hs-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  transition: background 1.2s ease;
}

/* Main inner layout */
.hs-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* LEFT: Text */
.hs-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-left: 2.5rem;
}

.hs-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hs-accent);
  background: rgba(255, 107, 0, 0.09);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  width: fit-content;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hs-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hs-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  color: #0a0a0a;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hs-headline span {
  background: linear-gradient(135deg, var(--hs-accent) 0%, #ff9a3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hs-sub {
  font-size: 1.05rem;
  color: #4a5568;
  max-width: 480px;
  line-height: 1.65;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hs-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.hs-cta-btn {
  min-width: 180px;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
}

.hs-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.hs-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hs-stat-num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0a0a0a;
  line-height: 1;
}

.hs-stat-num em {
  font-style: normal;
  color: var(--hs-accent);
  font-size: 1.1rem;
}

.hs-stat-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.hs-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
}

/* RIGHT: 3D Stage */
.hs-stage-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.hs-float-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  perspective: 900px;
}

.hs-product-img {
  max-width: 82%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.14))
    drop-shadow(0 8px 20px rgba(255, 107, 0, 0.1));
  animation: hsFloatOnly 6s ease-in-out infinite;
  transition: opacity 0.68s ease;
  will-change: transform, opacity;
  position: relative;
  z-index: 2;
}

@keyframes hsFloatOnly {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.03);
  }
}

/* Ground shadow ring */
.hs-shadow-ring {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadowPulse 7s ease-in-out infinite;
  z-index: 1;
}

@keyframes shadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scaleX(1);
    opacity: 0.7;
  }
  30% {
    transform: translateX(-50%) scaleX(0.88);
    opacity: 0.5;
  }
  80% {
    transform: translateX(-50%) scaleX(0.82);
    opacity: 0.4;
  }
}

/* Bottom controls */
.hs-controls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.6rem 0 2rem;
}

.hs-dots {
  display: flex;
  gap: 0.55rem;
}

.hs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hs-dot.active {
  background: var(--hs-accent);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.hs-progress-track {
  width: 160px;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.hs-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hs-accent), #ff9a3c);
  border-radius: 2px;
  width: 0%;
  transition: width 1000ms linear;
}

/* Hero Showcase Responsive */
@media (max-width: 1024px) {
  .hs-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }
  .hs-content {
    align-items: center;
  }
  .hs-sub {
    max-width: 100%;
  }
  .hs-ctas {
    justify-content: center;
  }
  .hs-stats {
    justify-content: center;
  }
  .hs-stage-right {
    height: 360px;
  }
  .hs-hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hs-stage-right {
    height: 280px;
  }
  .hs-headline {
    font-size: 2.1rem;
  }
}

/* Category Card 3D Corner Graphics */
.card-3d-bg {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 135px;
  height: 135px;
  object-fit: contain;
  opacity: 0.25;
  transition: var(--transition-smooth);
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.06));
}

.category-card:hover .card-3d-bg {
  opacity: 1;
  transform: scale(1.15) rotate(-6deg);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.12));
}

/* Trust Badges Strip */
.trust-strip {
  padding: 1.5rem 0;
  background: #ffffff;
  border-y: 1px solid var(--border-glass);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  margin-bottom: 4rem;
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #000000;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
}

.trust-item i {
  font-size: 1.2rem;
  color: var(--accent-orange);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: left;
  max-width: 780px;
  margin: 0 0 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}

.section-title {
  font-size: 2.5rem;
  color: #000000 !important;
}

.section-desc {
  font-size: 1.05rem;
  color: #334155;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Category Card */
.category-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--clay-shadow);
  cursor: pointer;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
  opacity: 0;
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--clay-shadow-hover);
  border-color: #cbd5e1;
}

.category-card:hover::before {
  opacity: 1;
}

/* Vibrant Orange Gradient Cards & Banners */
.card-orange-gradient {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
  border: 1px solid rgba(255, 107, 0, 0.3) !important;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.12) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
}

.card-orange-gradient:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 18px 36px rgba(255, 107, 0, 0.25) !important;
  border-color: var(--accent-orange) !important;
}

.banner-orange-gradient {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3) !important;
}

.template-badge-orange {
  background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.28) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.template-badge-orange:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4) !important;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.category-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.15);
}

.card-content {
  margin-top: 1.5rem;
  z-index: 2;
}

.home-card .card-content {
  margin-top: 1rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: #000000 !important;
  transition: var(--transition-smooth);
}

.category-card:hover .card-title {
  color: var(--accent-orange) !important;
}

.card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #334155;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  z-index: 2;
}

.card-count {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  transition: var(--transition-smooth);
}

.category-card:hover .card-arrow {
  background: var(--accent-orange);
  color: #ffffff !important;
  transform: translateX(4px);
}

/* Homepage Catalog Panel */
.home-catalog-panel {
  padding: 2rem 0 0;
}

.home-card {
  min-height: 0;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.home-card .category-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-top: 0.6rem;
}

.home-card .category-img-wrap img {
  border-radius: 18px;
}

.home-card .card-title {
  font-size: 1.2rem;
  color: #0f172a !important;
}

.home-card .card-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 0.35rem;
  display: block;
}

.home-card .card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.home-card .card-count {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-card .card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: var(--transition-smooth);
}

.home-card:hover .card-arrow {
  background: var(--accent-orange);
  color: #ffffff;
  transform: translateX(4px);
}

.home-card:hover {
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.home-card:hover .category-img-wrap {
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.32);
}

.home-card .card-3d-bg {
  display: none;
}

/* Product Detail Layout & Sticky Gallery */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-gallery {
    flex-direction: column-reverse;
  }
  .thumbnail-row {
    flex-direction: row !important;
  }
}

.product-gallery {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.2rem;
  align-self: start;
}

.main-image-box {
  position: relative;
  flex: 1;
  width: 100%;
  height: 760px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-shadow: var(--clay-shadow);
  overflow: hidden;
  cursor: crosshair;
}

.main-image-box img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
  transition: opacity 0.3s ease;
}

/* Magnifying Glass Zoom Lens */
.zoom-lens {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--accent-orange);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.32),
    0 0 0 2px rgba(255, 255, 255, 0.9),
    inset 0 0 20px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  background-repeat: no-repeat;
  background-color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
  z-index: 10;
}

.zoom-lens.active {
  opacity: 1;
  visibility: visible;
}

.thumbnail-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-shrink: 0;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.thumb-item.active,
.thumb-item:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

/* Stacked Modern Pricing Block Component */
.spp-pricing-block {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.spp-pricing-header {
  background: linear-gradient(135deg, #ff5500 0%, #e03e00 100%);
  color: #ffffff !important;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
}

.spp-pricing-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: 0.01em;
}

.spp-pricing-subtitle {
  font-size: 0.78rem;
  color: #ffffff !important;
  opacity: 0.95;
  font-weight: 400;
}

.spp-pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.spp-pricing-table th,
.spp-pricing-table td {
  width: 25%;
  padding: 0.65rem 0.5rem;
  border: 1px solid #cbd5e1;
}

.spp-pricing-table tr.qty-row td {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ef4444 !important;
  font-size: 1.05rem;
  background: #ffffff;
}

.spp-pricing-table tr.price-row td {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #000000 !important;
  font-size: 1.1rem;
  background: #ffffff;
}

.color-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.color-swatch:hover,
.color-swatch.active {
  border-color: var(--accent-orange);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.color-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-name {
  font-size: 0.65rem;
  color: #334155;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: #000000 !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.accordion-body {
  padding: 1.2rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.9rem;
  color: #334155;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* Modals & Lightbox */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--accent-red);
  color: #ffffff !important;
}

/* Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #000000;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.15);
  background: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--accent-orange);
  border-radius: var(--radius-md);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-title {
  font-size: 1.05rem;
  color: #000000 !important;
  margin-bottom: 0.4rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cert-badge {
  padding: 0.4rem 0.8rem;
  background: #f1f5f9;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: #000000;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #475569;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE SYSTEM
   Breakpoints: Mobile ≤767px | Tablet 768–1023px | Laptop 1024–1439px | Desktop 1440px+
   IMPORTANT: Desktop (1440px+) is UNCHANGED. Only smaller breakpoints are modified.
   ========================================================================== */

/* ── Global responsive base ─────────────────────────────────────────────── */
img {
  max-width: 100%;
  height: auto;
}

*,
*::before,
*::after {
  min-width: 0; /* prevent flex/grid items from overflowing */
}

/* Body scroll lock when mobile menu is open */
body.body-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* Utility: horizontal scroll wrapper for tables on small screens */
.table-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Pricing block responsive wrapper */
.spp-pricing-block {
  overflow: hidden;
}

/* About page responsive hero + video cards */
.about-hero-card,
.about-video-card {
  width: 100%;
  box-sizing: border-box;
}

.about-hero-card {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.about-hero-card h1 {
  font-size: clamp(2.1rem, 6vw, 2.8rem);
  line-height: 1.1;
}

.about-hero-card p {
  max-width: 100%;
  margin: 0 auto;
}

.about-hero-card .badge {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.about-hero-card .about-hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}

.about-hero-card .about-hero-stats > div {
  min-width: min(220px, 100%);
  flex: 1;
}

.about-video-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.about-video-card video {
  width: 100%;
  height: 100%;
}

/* ── Laptop 1024px–1439px ────────────────────────────────────────────────── */
@media (max-width: 1439px) {
  .hs-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  }
}

/* ── Tablet + below: hide desktop nav, show hamburger ───────────────────── */
@media (max-width: 1140px) {
  .nav-container {
    display: none;
  }

  .header-inner {
    gap: 0.8rem;
  }

  .header-right {
    margin-left: auto;
    flex-shrink: 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-drawer-close {
    display: flex;
  }

  .brand-sub {
    display: none;
  }
}

/* ── Laptop 1024px ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    position: static;
  }

  .main-image-box {
    height: clamp(400px, 55vw, 680px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Category header banner responsive */
  .cat-banner-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem;
  }

  .cat-banner-img-wrap {
    align-self: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid > div {
    padding: 2rem;
  }

  .contact-grid h1 {
    font-size: clamp(2rem, 4vw, 2.4rem);
  }

  .contact-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .contact-info-row > div:last-child {
    min-width: 0;
    flex: 1;
  }

  .contact-info-row > div > div {
    min-width: 0;
    max-width: 100%;
  }
}

/* ── Tablet 768px–1023px ────────────────────────────────────────────────── */
@media (max-width: 1023px) and (min-width: 768px) {
  .hs-stats {
    gap: 1rem;
  }

  .trust-flex {
    gap: 1rem;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
  }
}

/* ── Tablet 768px ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* --- Container --- */
  .container {
    padding: 0 1.25rem;
  }

  /* --- Section spacing --- */
  .section {
    padding: 3.75rem 0; /* ~60px */
  }

  /* --- Announcement Banner --- */
  .announcement-banner {
    height: 30px;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .marquee-content {
    gap: 1.5rem;
    animation-duration: 20s;
  }

  .marquee-item {
    font-size: 0.72rem;
  }

  body {
    padding-top: 86px; /* 30px banner + ~56px header */
  }

  /* --- Header --- */
  .header {
    top: 30px;
  }

  .header-inner {
    flex-wrap: nowrap;
    min-height: 48px;
    gap: 0.75rem;
  }

  .logo-area {
    flex: 1;
    min-width: 0;
  }

  .brand-name {
    font-size: 1rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .logo-img {
    height: 40px;
  }

  .header-search {
    display: none;
  }

  .search-icon-btn,
  .mobile-toggle {
    display: flex !important;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
  }

  /* --- Grids --- */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* --- Hero --- */
  .hs-inner {
    gap: 1.5rem;
    padding-top: 2.5rem;
  }

  .hs-content {
    padding-left: 0;
  }

  .hs-cta-btn {
    min-width: unset;
    width: 100%;
    max-width: 320px;
  }

  .hs-ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hs-ctas .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hs-stats {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hs-stat-num {
    font-size: 1.4rem;
  }

  /* --- Trust strip --- */
  .trust-strip {
    padding: 1.2rem 0;
    margin-bottom: 2rem;
  }

  .trust-flex {
    gap: 1rem;
    justify-content: center;
  }

  .trust-item {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  /* --- Section header --- */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  /* --- Product detail --- */
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-gallery {
    position: static;
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .main-image-box {
    height: clamp(280px, 60vw, 480px);
  }

  .thumbnail-row {
    flex-direction: row !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.6rem;
    padding-bottom: 0.3rem;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .thumbnail-row::-webkit-scrollbar {
    display: none;
  }

  .thumb-item {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
  }

  /* Pricing tables scroll on tablet */
  .spp-pricing-block {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spp-pricing-table {
    min-width: 300px;
  }

  /* Color swatches wrap */
  .color-swatch-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  }

  /* Product detail CTA buttons */
  .product-cta-row {
    flex-direction: column !important;
    gap: 0.75rem;
  }

  .product-cta-row .btn {
    width: 100% !important;
    flex: none !important;
  }

  /* --- Category banner --- */
  .cat-banner-inner {
    flex-direction: column !important;
    padding: 2rem !important;
    gap: 1.5rem;
  }

  .cat-banner-img-wrap img {
    width: 120px !important;
    height: 120px !important;
    align-self: center;
  }

  /* --- Footer --- */
  .footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    display: block !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-col:first-child {
    grid-column: 1 / -1; /* Brand col full width */
  }

  .footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem !important;
  }

  .footer-copy-mobile {
    display: none;
  }

  .footer-copy-full {
    display: inline;
  }

  /* Newsletter form */
  .footer-newsletter-form {
    flex-direction: column !important;
  }

  .footer-newsletter-form input {
    width: 100% !important;
  }

  .footer-newsletter-form button {
    width: 100% !important;
  }

  /* --- Modals --- */
  .modal-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
    max-height: 95vh;
  }

  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .modal-card h2 {
    font-size: 1.4rem !important;
  }

  /* RFQ form two-col → one-col */
  .rfq-grid-2 {
    grid-template-columns: 1fr !important;
  }

  /* --- Toast notifications --- */
  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    width: 100%;
  }

  /* --- Buttons: ensure min touch target --- */
  .btn {
    min-height: 44px;
  }

  .btn-sm {
    min-height: 36px;
  }
}

/* ── Mobile ≤767px ────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* --- Section spacing — 40px --- */
  .section {
    padding: 2.5rem 0; /* ~40px */
  }

  /* --- Typography scale --- */
  h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  h3 {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
  }

  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  /* --- Hero — text first, image second --- */
  .hs-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    gap: 1rem;
  }

  .hs-content {
    order: 1;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
  }

  .hs-stage-right {
    order: 2;
    height: 260px;
  }

  .hs-headline {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hs-sub {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hs-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hs-cta-btn,
  .hs-ctas .btn {
    width: 100%;
    max-width: 100%;
  }

  .hs-stats {
    gap: 0.75rem;
    justify-content: center;
  }

  .hs-stat-num {
    font-size: 1.25rem;
  }

  .hs-stat-lbl {
    font-size: 0.65rem;
  }

  .hs-hero {
    min-height: unset;
  }

  /* --- Category cards: 2-col on mobile --- */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

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

  .contact-grid > div {
    padding: 1.25rem;
  }

  .contact-grid h1 {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }

  .contact-info-row {
    gap: 0.75rem;
  }

  /* Home cards: 2-col on mobile */
  .home-catalog-panel .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  /* --- Category cards compact --- */
  .category-card {
    min-height: unset;
    padding: 1.25rem;
  }

  .home-card {
    padding: 0.9rem;
  }

  .home-card .category-img-wrap {
    width: 56px;
    height: 56px;
  }

  .home-card .card-title {
    font-size: 1rem !important;
  }

  .home-card .card-desc {
    font-size: 0.85rem;
  }

  /* --- Trust strip scroll on mobile --- */
  .trust-flex {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0 0.5rem;
    gap: 1.5rem;
    scrollbar-width: none;
  }

  .trust-flex::-webkit-scrollbar {
    display: none;
  }

  .trust-item {
    flex-shrink: 0;
    font-size: 0.78rem;
  }

  /* --- Product detail --- */
  .product-gallery {
    flex-direction: column-reverse;
  }

  .main-image-box {
    height: clamp(240px, 72vw, 380px);
  }

  .thumb-item {
    width: 60px;
    height: 60px;
  }

  /* Product info */
  .product-info-panel {
    gap: 1.25rem;
  }

  .product-info-panel h1 {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
  }

  .spp-pricing-block {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .spp-pricing-table {
    min-width: 280px;
    font-size: 0.88rem;
  }

  .spp-pricing-table th,
  .spp-pricing-table td {
    padding: 0.5rem 0.4rem;
  }

  /* Color swatches — more compact */
  .color-swatch-grid {
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
    gap: 0.4rem;
  }

  .color-chip {
    width: 26px;
    height: 26px;
  }

  .color-name {
    font-size: 0.6rem;
  }

  /* --- Footer: full single column --- */
  .footer {
    display: block !important;
    padding: 2rem 0 1.25rem;
    margin-top: 2.5rem;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .footer-col:first-child {
    grid-column: unset;
  }

  .footer-col {
    gap: 0.75rem;
  }

  .footer-badges {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-bottom {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-glass);
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .footer-links-row {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem !important;
    font-size: 0.8rem;
  }

  .footer-copy-mobile {
    display: none !important;
  }

  .footer-copy-full {
    display: inline !important;
    font-size: 0.78rem;
  }

  /* Newsletter form — stacked full-width */
  .footer-newsletter-form {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .footer-newsletter-form input,
  .footer-newsletter-form button {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* --- Modals --- */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 1.5rem 1rem 2rem;
    max-height: 90vh;
  }

  /* RFQ modal form inline grid → single col */
  .rfq-grid-2 {
    grid-template-columns: 1fr !important;
  }

  /* Search modal */
  .search-modal-overlay {
    padding-top: 5vh;
    align-items: flex-start;
  }

  .search-modal-card {
    width: 95vw;
    padding: 1.25rem;
  }

  /* --- Toast --- */
  .toast-container {
    bottom: 1rem;
    right: 0.75rem;
    left: 0.75rem;
  }

  .toast {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
  }

  /* --- Accordion --- */
  .accordion-header {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  /* --- Section header centered on mobile --- */
  .section-header {
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }

  /* --- Breadcrumb wrap --- */
  .breadcrumb-row {
    flex-wrap: wrap;
    gap: 0.35rem !important;
    font-size: 0.8rem !important;
    margin-bottom: 1.25rem !important;
  }

  /* --- Category banner --- */
  .cat-banner-inner {
    flex-direction: column !important;
    padding: 1.5rem !important;
    gap: 1.25rem;
    text-align: left;
  }

  .cat-banner-inner h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
    margin: 0.5rem 0 !important;
  }

  .cat-banner-img-wrap img {
    width: 100px !important;
    height: 100px !important;
  }

  .cat-badge {
    font-size: 0.7rem;
  }

  .mobile-drawer-inner {
    padding: 1.5rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  /* Show close button on mobile and tablet menu widths */
  .mobile-drawer-close {
    display: flex;
  }

  .mobile-nav-list a {
    padding: 1rem 1rem;
    font-size: 1.05rem;
    min-height: 52px;
  }

  .mobile-nav-list li + li {
    border-top: 1px solid #f1f5f9;
  }

  /* --- Ensure buttons fit containers --- */
  .btn {
    min-height: 44px;
    max-width: 100%;
  }

  /* --- Mega menu never shows on mobile --- */
  .mega-menu {
    display: none !important;
  }

  /* --- Search results grid: 1-col on tiny, 2-col home cards --- */
  .search-results-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Small mobile ≤480px ─────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* --- Header --- */
  .header {
    padding: 0.5rem 0;
  }

  .logo-img {
    height: 36px;
  }

  .brand-name {
    font-size: 0.88rem;
    max-width: 150px;
  }

  .search-icon-btn,
  .mobile-toggle {
    display: flex !important;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  /* Announcement banner smaller */
  .announcement-banner {
    height: 28px;
    font-size: 0.65rem;
    letter-spacing: 0.01em;
  }

  .marquee-content {
    animation-duration: 20s;
  }

  body {
    padding-top: 82px; /* 28px banner + ~54px header */
  }

  .header {
    top: 28px;
  }

  /* --- Hero image even smaller --- */
  .hs-stage-right {
    height: 220px;
  }

  .hs-headline {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  /* --- Cards compact --- */
  .grid-4,
  .home-catalog-panel .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .home-card {
    padding: 0.75rem;
  }

  .home-card .category-img-wrap {
    width: 48px;
    height: 48px;
    margin-top: 0.25rem;
  }

  .home-card .card-title {
    font-size: 0.88rem !important;
  }

  /* --- Stats wrap --- */
  .hs-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* --- Product detail --- */
  .main-image-box {
    height: clamp(220px, 75vw, 320px);
  }

  /* --- Footer: very compact --- */
  .footer {
    padding: 1.75rem 0 1rem;
  }

  .footer-grid {
    gap: 1.25rem;
  }

  /* --- Modals taller on small screens --- */
  .modal-card {
    max-height: 92vh;
    padding: 1.25rem 0.9rem 2rem;
  }

  /* Section padding minimum */
  .section {
    padding: 2rem 0;
  }

  /* Typography min sizes */
  h1 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
  }
}

/* ── Tiny mobile ≤360px ──────────────────────────────────────────────────── */
@media (max-width: 360px) {
  .container {
    padding: 0 0.875rem;
  }

  .brand-name {
    font-size: 0.82rem;
    max-width: 120px;
  }

  .logo-img {
    height: 32px;
  }

  .search-icon-btn,
  .mobile-toggle {
    display: flex !important;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .hs-stage-right {
    height: 190px;
  }

  .hs-headline {
    font-size: 1.65rem;
  }

  .grid-4,
  .home-catalog-panel .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .home-card .category-img-wrap {
    width: 40px;
    height: 40px;
  }

  .home-card .card-title {
    font-size: 0.82rem !important;
  }

  .home-card .card-desc {
    font-size: 0.75rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
  }

  .hs-stats {
    gap: 0.4rem;
  }

  .hs-stat-num {
    font-size: 1.1rem;
  }
}

/* ── High-resolution / wide desktop ≥1920px ─────────────────────────────── */
@media (min-width: 1920px) {
  .container {
    padding: 0 3rem;
  }
}
