/* ============================================================
   F&J SUPPLY SRL — STYLES
   Design: refined retail/B2B, modern with editorial accents
   ============================================================ */

:root {
  /* Brand palette — deep teal + warm coral (distinct from Corripio's red) */
  --brand-primary: #0d4a5c;
  --brand-primary-dark: #08323f;
  --brand-primary-light: #146b85;
  --brand-accent: #e85d3a;
  --brand-accent-dark: #c4441f;
  --brand-gold: #d4a017;

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --bg-tint: #ecefef;
  --ink: #14202a;
  --ink-soft: #4a5560;
  --ink-mute: #8590a0;
  --line: #e4e8eb;
  --line-soft: #eef0f2;

  /* Status */
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;

  /* System */
  --shadow-sm: 0 1px 3px rgba(20,32,42,0.06), 0 1px 2px rgba(20,32,42,0.04);
  --shadow-md: 0 4px 12px rgba(20,32,42,0.08), 0 2px 4px rgba(20,32,42,0.04);
  --shadow-lg: 0 12px 32px rgba(20,32,42,0.12), 0 4px 8px rgba(20,32,42,0.06);
  --shadow-xl: 0 24px 48px rgba(20,32,42,0.18), 0 8px 16px rgba(20,32,42,0.08);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--brand-primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.util-item { display: inline-flex; align-items: center; gap: 6px; }
.util-item a:hover { color: var(--brand-accent); }
.util-divider { opacity: 0.4; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.lang-btn {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

.lang-btn.active {
  color: white;
  background: rgba(255,255,255,0.15);
}

.lang-btn:hover { color: white; }

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-mark svg { width: 100%; height: 100%; }

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
}

.search-bar {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.search-bar input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0 56px 0 22px;
  font-size: 14px;
  background: var(--bg-soft);
  transition: all 0.2s;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(13, 74, 92, 0.08);
}

.search-bar > button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-bar > button:hover { 
  background: var(--brand-primary-dark); 
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 250;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}

.search-suggestion-item {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  background: white;
  transition: background 0.15s;
}

.search-suggestion-item:hover {
  background: var(--bg-soft);
}

.search-suggestion-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.search-suggestion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-suggestion-text {
  min-width: 0;
}

.search-suggestion-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-text small {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
}

.search-view-all {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-soft);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-top: 1px solid var(--line);
}

.search-view-all:hover {
  background: var(--brand-primary);
  color: white;
}

.search-suggestion-empty {
  padding: 16px;
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
}

.search-results-label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.2s;
  position: relative;
}

.header-action:hover {
  background: var(--bg-soft);
  color: var(--brand-primary);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 6px;
  background: var(--brand-accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--ink);
}

.mobile-menu-btn:hover { background: var(--bg-soft); }

/* ============================================================
   MEGA NAV
   ============================================================ */
.mega-nav {
  background: var(--brand-primary);
  color: white;
  position: sticky;
  top: 80px;
  z-index: 99;
}

.mega-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 52px;
}

.dept-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.dept-toggle:hover { background: rgba(255,255,255,0.16); }

.mega-menu {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  gap: 4px;
}

.mega-item {
  position: relative;
}

.mega-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  position: relative;
  transition: color 0.2s;
}

.mega-item > a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.mega-item:hover > a { color: white; }
.mega-item:hover > a::after { transform: scaleX(1); }

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  color: var(--ink);
  min-width: 600px;
  padding: 24px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 3px solid var(--brand-accent);
}

.mega-item:hover .mega-dropdown {
  display: grid;
  animation: dropDown 0.25s var(--ease-out);
}

@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: 0.02em;
}

.mega-col ul { list-style: none; }
.mega-col li { margin-bottom: 6px; }
.mega-col a {
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.mega-col a:hover { color: var(--brand-accent); }

.cta-pill {
  margin-left: auto;
  background: var(--brand-accent);
  color: white;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(232, 93, 58, 0.3);
}

.cta-pill:hover {
  background: var(--brand-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 58, 0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(140deg, #071520 0%, #0a2535 45%, #0d3d50 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

.hero-slider {
  position: relative;
  height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft);
  pointer-events: none;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 50%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100%;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-text { animation: heroIn 0.8s var(--ease-out) backwards; animation-delay: 0.1s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent, var(--brand-gold));
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--brand-accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, var(--brand-accent)) 32%, transparent);
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  max-width: 480px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-ghost {
  border-color: rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.92);
}
.hero .btn-ghost:hover {
  background: white;
  color: var(--brand-primary);
  border-color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  border: none;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(13, 74, 92, 0.25);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 74, 92, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: white;
}

.btn-light {
  background: white;
  color: var(--brand-primary);
  border: 1.5px solid white;
}

.btn-light:hover {
  background: transparent;
  color: white;
}

.btn-block { width: 100%; }

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-geo {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-geo::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 130px;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--accent, var(--brand-accent)) 55%, white),
    transparent
  );
  border-radius: 1px;
}

.hero-geo-ring {
  position: absolute;
  border-radius: 50%;
}

.hero-geo-ring.r1 {
  width: 400px;
  height: 400px;
  border: 1px dashed rgba(255,255,255,0.08);
  animation: geoSpin 55s linear infinite;
}

.hero-geo-ring.r2 {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255,255,255,0.10);
  animation: geoSpinRev 38s linear infinite;
}

.hero-geo-ring.r3 {
  width: 188px;
  height: 188px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.025);
}

.hero-geo-orb {
  position: relative;
  z-index: 4;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent, var(--brand-accent)) 0%,
    color-mix(in srgb, var(--accent, var(--brand-accent)) 65%, #000) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 14px color-mix(in srgb, var(--accent, var(--brand-accent)) 10%, transparent),
    0 0 70px color-mix(in srgb, var(--accent, var(--brand-accent)) 35%, transparent),
    0 16px 40px rgba(0,0,0,0.3);
  animation: orbPulse 4.5s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% {
    box-shadow:
      0 0 0 14px color-mix(in srgb, var(--accent, var(--brand-accent)) 10%, transparent),
      0 0 70px color-mix(in srgb, var(--accent, var(--brand-accent)) 35%, transparent),
      0 16px 40px rgba(0,0,0,0.3);
  }
  50% {
    box-shadow:
      0 0 0 22px color-mix(in srgb, var(--accent, var(--brand-accent)) 06%, transparent),
      0 0 95px color-mix(in srgb, var(--accent, var(--brand-accent)) 45%, transparent),
      0 16px 40px rgba(0,0,0,0.3);
  }
}

.hero-stat {
  position: absolute;
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  padding: 12px 17px 12px 19px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.08);
  z-index: 5;
  border-left: 3px solid var(--accent, var(--brand-accent));
  animation: statFloat 5s ease-in-out infinite;
  min-width: 115px;
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-primary-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-stat.hs-1 { top: 5%; right: -14px; animation-delay: 0s; }
.hero-stat.hs-2 { bottom: 8%; right: -14px; animation-delay: 1.8s; }
.hero-stat.hs-3 { top: 40%; left: -14px; animation-delay: 0.9s; }

@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes geoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes geoSpinRev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  z-index: 5;
  transition: all 0.2s;
}

.hero-arrow:hover {
  background: var(--brand-primary);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.22);
  transition: all 0.3s;
}

.hero-dot.active {
  background: rgba(255,255,255,0.92);
  width: 48px;
}

/* ============================================================
   PROMO STRIP
   ============================================================ */
.promo-strip {
  background: var(--brand-primary);
  color: white;
  padding: 20px 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.promo-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.promo-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.promo-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.promo-card span:not(.promo-icon) {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0;
}

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

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

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 8px;
}

.section-eyebrow.light { color: var(--brand-gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title.light { color: white; }

.carousel-controls {
  display: flex;
  gap: 8px;
}

.car-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.2s;
}

.car-arrow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}

/* ============================================================
   CATEGORY TILES
   ============================================================ */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform 0.25s var(--ease-out);
}

.cat-tile:hover { transform: translateY(-4px); }

.cat-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s var(--ease-out);
  border: 2px solid transparent;
}

.cat-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tint), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.cat-tile:hover .cat-circle {
  background: white;
  border-color: var(--tint);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--tint) 25%, transparent);
}

.cat-circle span {
  font-size: 38px;
  transition: transform 0.3s var(--ease-out);
}

.cat-tile:hover .cat-circle span {
  transform: scale(1.15) rotate(-6deg);
}

.cat-tile strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.cat-tile:hover strong {
  color: var(--tint);
}

/* ============================================================
   PRODUCT CAROUSEL & CARDS
   ============================================================ */
.product-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.product-carousel::-webkit-scrollbar { height: 6px; }
.product-carousel::-webkit-scrollbar-track { background: transparent; }
.product-carousel::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand-accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.product-badge.featured { background: var(--brand-gold); }
.product-badge.new { background: var(--green); }

.product-wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-size: 18px;
  z-index: 2;
  transition: all 0.2s;
  border: 1px solid var(--line-soft);
}

.product-wish:hover {
  color: var(--brand-accent);
  border-color: var(--brand-accent);
}

.product-wish.active {
  color: var(--brand-accent);
  background: #fef2f0;
}

.product-img {
  width: 100%;
  height: 160px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  margin-bottom: 14px;
  transition: background 0.3s;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.product-img .img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:hover .product-img {
  background: linear-gradient(135deg, var(--bg-soft) 0%, white 100%);
}

.product-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.product-avail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.product-avail.in { color: var(--green); }
.product-avail.low { color: var(--amber); }
.product-avail.out { color: var(--red); }

.product-avail::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.product-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.product-price.quote {
  font-style: italic;
  color: var(--ink-soft);
}

.product-cta {
  margin-top: auto;
  display: flex;
  gap: 6px;
}

.btn-card {
  flex: 1;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-card.primary {
  background: var(--brand-primary);
  color: white;
}

.btn-card.primary:hover {
  background: var(--brand-primary-dark);
}

.btn-card.secondary {
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-card.secondary:hover {
  background: var(--brand-accent);
  color: white;
  border-color: var(--brand-accent);
}

.btn-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   FEATURE BANNER
   ============================================================ */
.feature-banner {
  padding: 48px 0;
}

.fb-wrap {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.fb-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232, 93, 58, 0.25) 0%, transparent 50%);
}

.fb-content { position: relative; z-index: 2; }

.fb-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.fb-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.fb-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  max-width: 440px;
}

.fb-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.fb-visual {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
}

.fb-emoji-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 240px;
}

.fb-emoji-grid span {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: var(--shadow-md);
  animation: fbFloat 4s ease-in-out infinite;
}

.fb-emoji-grid span:nth-child(2) { animation-delay: 0.3s; }
.fb-emoji-grid span:nth-child(3) { animation-delay: 0.6s; }
.fb-emoji-grid span:nth-child(4) { animation-delay: 0.9s; }
.fb-emoji-grid span:nth-child(5) { animation-delay: 1.2s; }
.fb-emoji-grid span:nth-child(6) { animation-delay: 1.5s; }
.fb-emoji-grid span:nth-child(7) { animation-delay: 1.8s; }
.fb-emoji-grid span:nth-child(8) { animation-delay: 2.1s; }
.fb-emoji-grid span:nth-child(9) { animation-delay: 2.4s; }

@keyframes fbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   3-UP PROMO CARDS
   ============================================================ */
.promo3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.promo3-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s var(--ease-out);
}

.promo3-card:hover {
  transform: translateY(-6px);
}

.promo3-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.2) 0%, transparent 60%);
}

.promo3-content {
  position: relative;
  z-index: 2;
}

.promo3-content em {
  font-style: normal;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.promo3-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.promo3-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.promo3-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.promo3-link {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}

.promo3-bg-emoji {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 80px;
  opacity: 0.18;
  transform: rotate(12deg);
  z-index: 1;
}

/* ============================================================
   BRANDS STRIP
   ============================================================ */
.brands-strip {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px;
  background: var(--bg-soft);
  padding: 24px;
  border-radius: var(--radius-lg);
}

.brand-logo {
  height: 72px;
  background: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  border: 1px solid var(--line-soft);
  transition: all 0.2s;
  text-align: center;
  padding: 8px;
}

.brand-logo:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: scale(1.05);
}

.brand-logo span {
  display: block;
  font-size: clamp(11px, 1.2vw, 15px);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ============================================================
   COUNTDOWN SECTION
   ============================================================ */
.countdown-section {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--brand-accent) 0%, #c4441f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(0,0,0,0.15) 0%, transparent 40%);
  pointer-events: none;
}

.cd-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cd-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.cd-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cd-left p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  max-width: 480px;
}

.cd-left .btn-primary {
  background: white;
  color: var(--brand-accent);
}

.cd-left .btn-primary:hover {
  background: var(--ink);
  color: white;
}

.cd-right {
  text-align: center;
}

.cd-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}

.cd-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cd-unit {
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius);
  padding: 16px 14px;
  min-width: 76px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}

.cd-unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.cd-unit span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.cd-sep {
  font-size: 32px;
  font-weight: 300;
  opacity: 0.5;
}

/* ============================================================
   SAVINGS GRID
   ============================================================ */
.savings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.save-card {
  background: linear-gradient(135deg, var(--col) 0%, color-mix(in srgb, var(--col) 70%, black) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out);
  cursor: pointer;
}

.save-card:hover { transform: translateY(-4px) scale(1.02); }

.save-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.18) 0%, transparent 50%);
}

.save-pct {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}

.save-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  position: relative;
  z-index: 2;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.value-item {
  background: white;
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-soft);
  transition: all 0.2s;
}

.value-item:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.value-item span:first-child { font-size: 22px; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line-soft);
  transition: all 0.25s var(--ease-out);
}

.stat-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-card span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section { background: white; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
}

.service-card:hover {
  background: white;
  border-color: var(--brand-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: var(--brand-primary);
}

.service-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--brand-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(232, 93, 58, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(212, 160, 23, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  position: relative;
  z-index: 2;
}

.contact-info p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 16px 0 28px;
  line-height: 1.6;
}

.contact-list { list-style: none; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14.5px;
}

.contact-list li:last-child { border: none; }
.contact-list li span:first-child { font-size: 20px; flex-shrink: 0; }
.contact-list a:hover { color: var(--brand-gold); }

.contact-form {
  background: white;
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form label span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  background: var(--bg-soft);
  transition: all 0.2s;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(13, 74, 92, 0.08);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--ink);
  color: white;
  padding: 40px 0;
}

.newsletter-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.newsletter-wrap h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.newsletter-wrap p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  height: 48px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  color: white;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: rgba(255,255,255,0.08);
}

.newsletter-form button {
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--brand-accent);
  color: white;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: var(--brand-accent-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0a1820;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .brand-name { color: white; }
.footer-brand .brand-sub { color: var(--brand-accent); }

.footer-brand p {
  margin: 16px 0 20px;
  line-height: 1.6;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--brand-accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-accent); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
}

.payment-methods {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.payment-methods > span {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.5);
}

.pay-icons {
  display: flex;
  gap: 6px;
}

.pay-icons span {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: var(--brand-accent); }
.footer-bottom span { margin: 0 8px; opacity: 0.5; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all 0.25s var(--ease-out);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5b;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
  animation: modalIn 0.3s var(--ease-out);
}

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

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 42, 0.6);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  animation: modalContentIn 0.4s var(--ease-out);
}

.modal-wide { max-width: 1100px; }

@keyframes modalContentIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 24px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
  z-index: 5;
}

.modal-close:hover {
  background: var(--ink);
  color: white;
}

/* Product modal */
.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pm-img {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  aspect-ratio: 1;
  min-height: 280px;
}

.pm-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 8px;
}

.pm-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.pm-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.6;
}

.pm-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.pm-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.pm-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.pm-meta em {
  font-style: normal;
  color: var(--ink-soft);
}

.pm-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* Cart modal */
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-mute);
}

.cart-empty span {
  font-size: 64px;
  display: block;
  margin-bottom: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  background: var(--bg-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.cart-item-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-info span {
  font-size: 12px;
  color: var(--ink-mute);
}

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

.cart-qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  transition: background 0.15s;
}

.cart-qty button:hover { background: var(--line); }

.cart-qty input {
  width: 40px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 26px;
  font-weight: 600;
}

.cart-remove {
  color: var(--red);
  font-size: 18px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}

.cart-remove:hover { background: #fee2e2; }

.cart-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

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

/* ============================================================
   HIDDEN UTILITY
   ============================================================ */
.hidden { display: none !important; }

/* ============================================================
   ADMIN — FULL PAGE SYSTEM
   ============================================================ */

/* Full-page admin wrapper */
.admin-page {
  position: fixed;
  inset: 0;
  z-index: 9000;
  overflow: auto;
}

/* ---- LOGIN ---- */
#adminLogin {
  background: var(--brand-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 16px;
}

.admin-login-wrap {
  width: 100%;
  max-width: 420px;
}

.admin-login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.admin-logo-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.admin-logo-brand span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary-dark);
}

.admin-login-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.admin-login-card > p {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}

.admin-login-card .form-group {
  text-align: left;
  margin-bottom: 16px;
}

.admin-login-card .form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.admin-login-card .form-group input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  background: var(--bg-soft);
  transition: all 0.2s;
}

.admin-login-card .form-group input:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(13,74,92,0.08);
}

.admin-error {
  color: var(--red);
  font-size: 13px;
  margin-bottom: 12px;
  text-align: left;
}

.btn-primary-full {
  width: 100%;
  height: 46px;
  background: var(--brand-primary);
  color: white;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-primary-full:hover { background: var(--brand-primary-dark); }

.btn-return-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 600;
  transition: color 0.2s;
}

.btn-return-link:hover { color: var(--brand-primary); }

.admin-security-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-mute);
}

/* ---- DASHBOARD ---- */
#adminDashboard {
  display: flex;
  min-height: 100vh;
  background: var(--bg-soft);
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--brand-primary-dark);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}

.admin-sidebar-logo span {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: white;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all 0.18s;
  text-decoration: none;
}

.admin-nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.admin-nav-item.active {
  background: var(--brand-primary-light);
  color: white;
}

.admin-sidebar-bottom {
  padding: 16px 12px 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-sidebar-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: all 0.18s;
}

.btn-sidebar-link:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.btn-sidebar-link.logout:hover {
  background: rgba(220,38,38,0.2);
  color: #fca5a5;
}

/* Main area */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.admin-topbar h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.admin-user-badge {
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Views */
.admin-view {
  padding: 28px;
  overflow-y: auto;
}

/* Stats grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.admin-stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.ast-icon { font-size: 28px; }

.ast-info {
  display: flex;
  flex-direction: column;
}

.ast-info strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}

.ast-info span {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 600;
  margin-top: 2px;
}

/* Quick actions */
.admin-quick-actions { margin-top: 8px; }

.admin-quick-actions h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

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

.qa-btn {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: all 0.18s;
  box-shadow: var(--shadow-sm);
}

.qa-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

/* Inventory controls */
.admin-inv-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}

.admin-search-input {
  flex: 1;
  min-width: 180px;
  height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  background: white;
  transition: all 0.2s;
}

.admin-search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13,74,92,0.08);
}

.admin-filter-select {
  height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.btn-primary-sm {
  height: 40px;
  padding: 0 18px;
  background: var(--brand-primary);
  color: white;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-primary-sm:hover { background: var(--brand-primary-dark); }

/* Admin table */
.admin-table-wrap {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.admin-table thead tr {
  background: var(--bg-soft);
  border-bottom: 1.5px solid var(--line);
}

.admin-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: var(--bg-soft); }

.admin-table-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: block;
}

.admin-table-name { font-weight: 600; color: var(--ink); max-width: 180px; }

/* Availability badges in table */
.table-avail {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.avail-available { background: rgba(22,163,74,0.1); color: var(--green); }
.avail-limited { background: rgba(217,119,6,0.1); color: var(--amber); }
.avail-out { background: rgba(220,38,38,0.1); color: var(--red); }

/* Table action buttons */
.table-actions { display: flex; gap: 6px; }

.btn-table-view, .btn-table-edit, .btn-table-delete {
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.15s;
}

.btn-table-view {
  background: rgba(13,74,92,0.08);
  color: var(--brand-primary);
}
.btn-table-view:hover { background: var(--brand-primary); color: white; }

.btn-table-edit {
  background: rgba(217,119,6,0.1);
  color: var(--amber);
}
.btn-table-edit:hover { background: var(--amber); color: white; }

.btn-table-delete {
  background: rgba(220,38,38,0.1);
  color: var(--red);
}
.btn-table-delete:hover { background: var(--red); color: white; }

/* ---- PRODUCT FORM MODAL ---- */
.pf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,20,26,0.55);
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  backdrop-filter: blur(2px);
}

.modal-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 760px;
  position: relative;
  box-shadow: var(--shadow-xl);
  margin: auto;
}

.modal-form-card h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--ink);
}

.modal-form-card .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-form-card .modal-close:hover { background: var(--line); }

/* Form grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 14px;
  background: white;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13,74,92,0.08);
}

.form-group textarea { resize: vertical; min-height: 76px; }

.form-check-group { flex-direction: row; align-items: center; gap: 10px; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-primary);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---- IMAGE UPLOAD ---- */
.img-upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-soft);
  margin-bottom: 12px;
}

.img-upload-zone:hover,
.img-upload-zone.drag-over {
  border-color: var(--brand-primary);
  background: rgba(13,74,92,0.04);
}

.img-upload-icon { font-size: 28px; margin-bottom: 8px; }

.img-upload-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.img-upload-sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.img-browse-btn {
  display: inline-block;
  padding: 7px 16px;
  background: var(--brand-primary);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}
.img-browse-btn:hover { background: var(--brand-primary-dark); }

.img-url-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.img-url-or {
  font-size: 12px;
  color: var(--ink-mute);
  white-space: nowrap;
}

.img-url-input {
  flex: 1;
  height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  font-size: 13px;
  background: white;
}

.img-preview-container {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.img-preview-inner {
  position: relative;
  display: inline-block;
}

.img-preview-inner img {
  max-width: 180px;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  display: block;
}

.img-remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.img-preview-label {
  font-size: 11.5px;
  color: var(--ink-mute);
}

/* ---- PUBLIC INVENTORY GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* Product card (public inventory) */
.inv-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 1.5px solid var(--line-soft);
}

.inv-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.inv-card-img {
  position: relative;
  height: 160px;
  background: var(--bg-soft);
  overflow: hidden;
}

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

.inv-card-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: var(--bg-soft);
}

.inv-featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand-gold);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.4;
}

.inv-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.inv-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 5px;
}

.inv-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.35;
}

.inv-card-desc {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-bottom: 10px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inv-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.inv-card-meta strong { color: var(--ink-soft); }

.inv-avail {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.inv-avail-in { background: rgba(22,163,74,0.1); color: var(--green); }
.inv-avail-low { background: rgba(217,119,6,0.1); color: var(--amber); }
.inv-avail-out { background: rgba(220,38,38,0.1); color: var(--red); }

.inv-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.inv-card-actions .btn {
  flex: 1;
  height: 36px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

/* Empty state */
.inv-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-mute);
}
.inv-empty span { font-size: 40px; display: block; margin-bottom: 12px; }
.inv-empty p { font-size: 16px; font-weight: 600; }
.inv-empty small { font-size: 13px; }

/* Results count */
.inv-count { font-size: 13px; color: var(--ink-mute); margin-bottom: 16px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-out);
  z-index: 300;
  pointer-events: none;
}

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

.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

/* ============================================================
   REVEAL ANIMATIONS ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INVENTORY CONTROLS
   ============================================================ */

.inv-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.inv-search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
}

.inv-search-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--ink-mute);
  pointer-events: none;
}

.inv-search-wrap input {
  width: 100%;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0 14px 0 40px;
  font-size: 14px;
  background: white;
  transition: all 0.2s;
}

.inv-search-wrap input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(13, 74, 92, 0.08);
}

.inv-controls select {
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  background: white;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 160px;
}

.inv-controls select:focus {
  outline: none;
  border-color: var(--brand-primary);
}

.inv-reset {
  height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.inv-reset:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
}

.inv-count {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

/* Inventory grid cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.inv-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.inv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.inv-card-img {
  height: 180px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.inv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.inv-card:hover .inv-card-img img { transform: scale(1.05); }

.inv-card-emoji { font-size: 64px; }

.inv-featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-gold);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.inv-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.inv-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

.inv-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.inv-card-desc {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.inv-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.inv-card-meta span { display: block; }
.inv-card-meta strong { color: var(--ink-soft); }

.inv-avail {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.inv-avail::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.inv-avail-in { color: var(--green); }
.inv-avail-low { color: var(--amber); }
.inv-avail-out { color: var(--red); }

.inv-card-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.inv-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-mute);
}

.inv-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

/* ============================================================
   BUTTONS — SHARED
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  border: 2px solid transparent;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink-soft);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.btn-light {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.btn-light:hover {
  background: rgba(255,255,255,0.25);
}

.btn-block { width: 100%; }

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

.in-cart {
  background: var(--green) !important;
  color: white !important;
  border-color: var(--green) !important;
  pointer-events: auto;
}

/* ============================================================
   ADMIN — IMAGE UPLOAD ZONE
   ============================================================ */
.img-drop-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-soft);
  position: relative;
}

.img-drop-zone:hover,
.img-drop-zone.drag-over {
  border-color: var(--brand-primary);
  background: rgba(13, 74, 92, 0.04);
}

.img-drop-zone p {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 6px 0 0;
}

.img-drop-zone label {
  display: inline-block;
  margin: 8px 0 0;
  padding: 6px 14px;
  background: var(--brand-primary);
  color: white;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.img-drop-zone input[type="file"] { display: none; }

.img-url-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.img-url-row input {
  flex: 1;
  height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  background: white;
}

.img-url-row button {
  height: 36px;
  padding: 0 12px;
  background: var(--bg-tint);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.img-url-row button:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.img-preview-wrap {
  margin-top: 10px;
  text-align: center;
  position: relative;
}

.img-preview-wrap img {
  max-height: 120px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin: 0 auto;
}

.img-preview-label {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 4px;
}

.img-remove-btn {
  margin-top: 6px;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.img-remove-btn:hover { text-decoration: underline; }

/* ============================================================
   ADMIN — INVENTORY TABLE
   ============================================================ */
.admin-inv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-inv-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th {
  background: var(--bg-soft);
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-soft); }

.ai-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.ai-thumb-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.admin-table .inv-avail {
  font-size: 11px;
}

.admin-table .inv-featured {
  color: var(--brand-gold);
  font-size: 14px;
}

.admin-table-actions {
  display: flex;
  gap: 4px;
  white-space: nowrap;
}

.admin-btn-view,
.admin-btn-edit,
.admin-btn-del {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.15s;
}

.admin-btn-view {
  background: var(--bg-soft);
  color: var(--ink-soft);
  border-color: var(--line);
}

.admin-btn-view:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.admin-btn-edit {
  background: rgba(13, 74, 92, 0.08);
  color: var(--brand-primary);
  border-color: rgba(13, 74, 92, 0.2);
}

.admin-btn-edit:hover {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
}

.admin-btn-del {
  background: #fee2e2;
  color: var(--red);
  border-color: #fca5a5;
}

.admin-btn-del:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

/* ============================================================
   ADMIN — PRODUCT FORM
   ============================================================ */
.admin-product-form { margin-top: 4px; }

.admin-product-form h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.apf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.apf-full {
  grid-column: 1 / -1;
}

.apf-grid label,
.apf-full label {
  display: block;
}

.apf-grid label > span,
.apf-full label > span,
.apf-check > span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apf-grid input,
.apf-grid select,
.apf-grid textarea,
.apf-full input,
.apf-full select,
.apf-full textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 13.5px;
  background: white;
  color: var(--ink);
  transition: border-color 0.2s;
}

.apf-grid input:focus,
.apf-grid select:focus,
.apf-grid textarea:focus,
.apf-full input:focus,
.apf-full select:focus,
.apf-full textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(13, 74, 92, 0.08);
}

.apf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid var(--line);
  transition: border-color 0.2s;
  grid-column: 1 / -1;
}

.apf-check:hover { border-color: var(--brand-primary); }

.apf-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-primary);
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

.apf-check > span { margin: 0; text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }

.apf-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}

/* ============================================================
   PRODUCT MODAL — RICH CONTENT
   ============================================================ */
.pm-img-wrap {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-img-fallback {
  font-size: 120px;
  line-height: 1;
}

.pm-specs {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.pm-specs h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec-row:last-child { border-bottom: none; }
.spec-row em { font-style: normal; color: var(--ink-mute); font-weight: 600; }
.spec-row strong { color: var(--ink); text-align: right; }

.pm-rec {
  margin-top: 14px;
  padding: 14px;
  background: rgba(13, 74, 92, 0.05);
  border-left: 3px solid var(--brand-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pm-rec h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.pm-rec p { font-size: 13px; color: var(--ink-soft); }

.pm-benefits {
  margin-top: 14px;
}

.pm-benefits h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.pm-benefits ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pm-benefits li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.pm-benefits li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.pm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pm-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--bg-tint);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .brands-strip { grid-template-columns: repeat(5, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .promo3-grid { grid-template-columns: 1fr; }
  .savings-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .fb-wrap { grid-template-columns: 1fr; }
  .fb-visual { height: 220px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cd-wrap { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .apf-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .search-bar { display: none; }
  .header-action span { display: none; }
  .header-action { padding: 8px; }
  .mobile-menu-btn { display: flex; }
  .mega-nav { display: none; }
  .mega-nav.open { display: block; }
  .mega-nav.open .mega-nav-inner { flex-direction: column; align-items: stretch; height: auto; padding: 16px 0; gap: 4px; }
  .mega-nav.open .mega-menu { flex-direction: column; align-items: stretch; width: 100%; }
  .mega-nav.open .mega-item { width: 100%; }
  .mega-nav.open .mega-dropdown { position: static; min-width: 0; grid-template-columns: 1fr; }
  .mega-nav.open .cta-pill { margin: 8px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .hero-visual { display: none; }
  .hero-slider { height: auto; min-height: 380px; }
  .hero-arrow { display: none; }
  .promo-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .cat-circle { width: 72px; height: 72px; }
  .cat-circle span { font-size: 28px; }
  .savings-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .brands-strip { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .section { padding: 48px 0; }
  .section-tight { padding: 32px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .newsletter-wrap { grid-template-columns: 1fr; gap: 20px; }
  .newsletter-form { flex-direction: column; }
  .fb-wrap { padding: 32px 24px; }
  .pm-grid { grid-template-columns: 1fr; }
  .admin-dashboard { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .cd-timer { flex-wrap: wrap; }
  .cd-unit { min-width: 64px; padding: 12px 8px; }
  .cd-unit strong { font-size: 28px; }
  .hide-mobile { display: none !important; }
  .utility-inner { font-size: 11.5px; }
  .product-card { flex: 0 0 200px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .inv-controls { gap: 8px; }
  .inv-controls select { min-width: 130px; }
  .admin-table-actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .savings-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
  .brand-text { display: none; }
  .product-card { flex: 0 0 180px; padding: 14px; }
  .product-img { height: 130px; font-size: 44px; }
  .products-grid { grid-template-columns: 1fr; }
  .inv-controls { flex-direction: column; }
  .inv-search-wrap, .inv-controls select, .inv-reset { width: 100%; min-width: 0; }
}

/* ============================================================
   PRODUCT MODAL — CLEAN LAYOUT FIX
   ============================================================ */
.product-modal-content {
  max-width: 980px;
  width: min(980px, calc(100vw - 40px));
  padding: 36px;
}

.product-modal-content #productModalBody {
  width: 100%;
}

.product-modal-content .pm-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.product-modal-content .pm-img-wrap {
  width: 100%;
  min-height: 320px;
  max-height: 420px;
  aspect-ratio: 1 / 1;
}

.product-modal-content .pm-info {
  min-width: 0;
}

.product-modal-content .pm-cat {
  margin-bottom: 10px;
}

.product-modal-content .pm-title {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.product-modal-content .pm-desc {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 100%;
}

.product-modal-content .pm-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  padding: 18px;
  margin-bottom: 20px;
}

.product-modal-content .pm-meta div {
  min-width: 0;
  align-items: center;
}

.product-modal-content .pm-meta em {
  flex-shrink: 0;
}

.product-modal-content .pm-meta strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.product-modal-content .pm-specs {
  padding: 18px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.product-modal-content .spec-row {
  gap: 16px;
  align-items: flex-start;
  padding: 8px 0;
}

.product-modal-content .spec-row strong {
  overflow-wrap: anywhere;
}

.product-modal-content .pm-rec {
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.65;
}

.product-modal-content .pm-benefits {
  margin-top: 20px;
}

.product-modal-content .pm-benefits strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.product-modal-content .pm-benefits li {
  font-size: 15px;
  line-height: 1.5;
}

.product-modal-content .pm-tags {
  margin-top: 20px;
}

.product-modal-content .pm-actions {
  margin-top: 24px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .product-modal-content {
    width: calc(100vw - 24px);
    padding: 24px;
  }

  .product-modal-content .pm-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-modal-content .pm-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    max-height: 320px;
  }

  .product-modal-content .pm-meta {
    grid-template-columns: 1fr;
  }

  .product-modal-content .pm-meta strong {
    text-align: left;
  }

  .search-suggestions {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 92px;
  }
}
/* ============================================================
   ADMIN QUOTE REQUESTS
   ============================================================ */

.quote-status-select {
  min-width: 120px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.quote-status-new {
  border-color: rgba(22, 163, 74, 0.35);
  color: var(--green);
}

.quote-status-reviewing {
  border-color: rgba(217, 119, 6, 0.35);
  color: var(--amber);
}

.quote-status-quoted {
  border-color: rgba(13, 74, 92, 0.35);
  color: var(--brand-primary);
}

.quote-status-closed {
  border-color: rgba(74, 85, 96, 0.35);
  color: var(--ink-soft);
}

.quote-status-spam {
  border-color: rgba(220, 38, 38, 0.35);
  color: var(--red);
}

.quote-detail-panel {
  margin-top: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.quote-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}

.quote-detail-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.quote-detail-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: white;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-weight: 800;
  transition: all 0.2s;
}

.quote-detail-close:hover {
  background: var(--ink);
  color: white;
}

#quoteDetailBody {
  padding: 20px;
}

.quote-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.quote-detail-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px;
  background: white;
  margin-bottom: 16px;
}

.quote-detail-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.quote-detail-card p {
  color: var(--ink-soft);
  margin-bottom: 6px;
  word-break: break-word;
}

.quote-message {
  white-space: pre-wrap;
  line-height: 1.6;
}

.quote-items-table-wrap {
  overflow-x: auto;
}

.quote-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.quote-items-table th,
.quote-items-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.quote-items-table th {
  font-weight: 800;
  color: var(--ink);
  background: var(--bg-soft);
}

.quote-empty-note {
  color: var(--ink-mute);
  font-style: italic;
}

@media (max-width: 760px) {
  .quote-detail-grid {
    grid-template-columns: 1fr;
  }
}