/* ==========================================================================
   STARBONG.IN — PREMIUM B2B COMMERCE DESIGN SYSTEM (2026 EDITION)
   Inspired by Faire.com, Linear.app, Vercel & Arc.
   Direct B2B Wholesale Hub & Sourcing Partner | Kolkata, India
   Verified Retailer Pricing, Rapid Bulk Fulfillment & Protected Margins
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM TOKENS & ARCHITECTURE
   Warm 2026 B2B Palette with Dark-Mode Glassmorphism Accents
   -------------------------------------------------------------------------- */
:root {
  /* Warm Premium Surface Palette */
  --bg-page: #fafaf9;
  --bg-card: #ffffff;
  --bg-card-subtle: #f5f4f0;
  --bg-card-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --bg-overlay: rgba(10, 10, 10, 0.65);

  /* Subtle Structural Borders */
  --border: #f0eeeb;
  --border-light: #f7f6f4;
  --border-dark: #0a0a0a;
  --border-hover: #d6d3d1;
  --border-glass: rgba(255, 255, 255, 0.65);

  /* Warm Typography Color Scale */
  --text-main: #0a0a0a;
  --text-body: #44403c;
  --text-muted: #a8a29e;
  --text-light: #d6d3d1;
  --text-inverse: #ffffff;

  /* Primary Deep Black */
  --primary: #0a0a0a;
  --primary-hover: #1f1f1f;
  --primary-active: #2a2a2a;

  /* Warm Saturated Amber / Orange Accent */
  --accent: #e87b35;
  --accent-hover: #d26521;
  --accent-active: #bc5516;
  --accent-light: #fff3ec;
  --accent-subtle: #fff9f5;
  --accent-ring: rgba(232, 123, 53, 0.35);

  /* Semantic Feedback: Success */
  --success: #22c55e;
  --success-hover: #16a34a;
  --success-bg: #f0fdf4;
  --success-border: #bbf7d0;

  /* Semantic Feedback: Danger */
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;

  /* Rounded Corner Geometry (Modern Smooth Pill Radii Scale) */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Ambient Elevation & Soft Colored Shadow System */
  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(28, 25, 23, 0.05), 0 1px 3px -1px rgba(28, 25, 23, 0.03);
  --shadow: 0 6px 20px -4px rgba(28, 25, 23, 0.06), 0 2px 6px -1px rgba(28, 25, 23, 0.03);
  --shadow-md: 0 12px 32px -6px rgba(28, 25, 23, 0.08), 0 4px 12px -2px rgba(28, 25, 23, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(28, 25, 23, 0.12), 0 8px 18px -4px rgba(28, 25, 23, 0.06);
  --shadow-glow: 0 14px 36px -6px rgba(232, 123, 53, 0.22);
  --shadow-glow-sm: 0 6px 18px -3px rgba(232, 123, 53, 0.28);
  --shadow-card-hover: 0 20px 38px -8px rgba(232, 123, 53, 0.18), 0 8px 18px -4px rgba(28, 25, 23, 0.08);

  /* Typography Stack */
  --font-main: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: var(--font-main);
  --font-serif: var(--font-main);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;

  /* Dark-Mode Glassmorphism Tokens */
  --glass-header-bg: rgba(10, 10, 10, 0.82);
  --glass-header-border: rgba(255, 255, 255, 0.09);
  --glass-dock-bg: rgba(255, 255, 255, 0.86);
  --glass-dock-border: rgba(240, 238, 235, 0.85);

  /* Cubic Bezier Motion Curves */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. BASE RESET & ACCESSIBILITY DEFAULTS
   Clean box-sizing, smooth font rendering, tap highlight removal
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--bg-page);
  color-scheme: light;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Mobile viewport clearance when bottom dock is present */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 14px));
  }
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

::selection {
  background-color: rgba(232, 123, 53, 0.2);
  color: #0a0a0a;
}

/* Accessible focus styling */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hidden elements */
[hidden] {
  display: none !important;
}

.form-group {
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   3. TOP ANNOUNCEMENT BAR
   Sleek near-black top ribbon with glowing amber status beacon
   -------------------------------------------------------------------------- */
.announcement-bar {
  background: #0d0c0b;
  color: #d6d3d1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 50;
  user-select: none;
}

.announcement-bar span {
  color: var(--accent);
  display: inline-block;
  font-size: 12px;
  line-height: 1;
}

.announcement-bar strong {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 640px) {
  .announcement-bar {
    font-size: 10.5px;
    padding: 7px 12px;
    gap: 8px;
    letter-spacing: 0.02em;
  }
}

/* --------------------------------------------------------------------------
   4. SITE HEADER (DARK-MODE GLASS MORPHISM)
   Frosted dark glass header inspired by Arc & Linear design systems
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: var(--glass-header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-header-border);
  padding: 14px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s var(--ease-smooth);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.header-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s var(--ease-snappy);
}

.header-brand:hover img {
  transform: scale(1.08) rotate(-1deg);
}

.header-brand-text {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fafaf9;
  position: relative;
  transition: color 0.2s var(--ease-smooth);
}

.header-brand:hover .header-brand-text {
  color: #ffffff;
}

/* Header Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  text-decoration: none;
  color: #a8a29e;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 14px;
  border-radius: 100px;
  position: relative;
  transition: all 0.2s var(--ease-smooth);
}

.header-nav a:hover {
  color: #fafaf9;
  background: rgba(255, 255, 255, 0.08);
}

.header-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.header-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--accent);
}

/* Header Actions Area */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* User Box in Header */
.user-logged-box {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-name-badge {
  font-size: 12px;
  font-weight: 700;
  color: #fafaf9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.user-name-badge small {
  font-size: 10.5px;
  color: #a8a29e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Auth Pill Button */
.btn-auth {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.btn-auth:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-1px);
}

.btn-auth:active {
  transform: translateY(0);
}

/* User Orders & Portal Button */
.btn-user-orders {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.btn-user-orders:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Admin Suite Shortcut Badge */
.btn-user-admin {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--ease-smooth);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(232, 123, 53, 0.25);
}

.btn-user-admin:hover {
  background: linear-gradient(135deg, #f59e0b 0%, var(--accent) 100%);
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-1px);
}

/* Password Change Button */
.btn-user-pass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #d6d3d1;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.btn-user-pass:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Logout Button */
.btn-logout {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #fca5a5;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  white-space: nowrap;
}

.btn-logout:hover {
  color: #ffffff;
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.2);
}

/* Quote Bag Button */
.btn-cart {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s var(--ease-smooth);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.btn-cart:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-cart:active {
  transform: translateY(0);
}

.cart-badge {
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(232, 123, 53, 0.4);
}

/* --------------------------------------------------------------------------
   5. GRADIENT MESH HERO SECTION
   Dynamic subtle animated ambient background with modern B2B value showcase
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 76px 36px 60px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(232, 123, 53, 0.15) 0%, transparent 45%),
    radial-gradient(ellipse at 92% 20%, rgba(251, 191, 36, 0.12) 0%, transparent 42%),
    radial-gradient(ellipse at 45% 90%, rgba(244, 114, 182, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(232, 123, 53, 0.07) 0%, transparent 45%),
    #fafaf9;
  background-size: 130% 130%;
  animation: heroMeshShift 22s ease-in-out infinite alternate;
}

@keyframes heroMeshShift {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 50% 100%;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-smooth);
}

.hero-tag:hover {
  background: #ffffff;
  border-color: rgba(232, 123, 53, 0.3);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulseBeacon 2.2s ease-in-out infinite;
}

@keyframes pulseBeacon {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.25);
  }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.038em;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(135deg, #e87b35 0%, #f59e0b 50%, #d26521 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-body);
  line-height: 1.68;
  max-width: 600px;
  margin-bottom: 32px;
  font-weight: 450;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Primary Pill Button */
.btn-primary {
  background: linear-gradient(135deg, #1c1917 0%, #0a0a0a 100%);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #292524 0%, #171717 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  border-color: rgba(232, 123, 53, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Outline Pill Button */
.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Modern Glass Bento Feature Card */
/* Modern Glass Bento Feature Card (Compact Space-Efficient Design) */
.hero-feature-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.hero-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b 0%, var(--accent) 45%, #fbbf24 100%);
}

.hero-feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 123, 53, 0.3);
}

.hero-feature-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-feature-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #fef3c7;
  color: #92400e;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.3;
}

.hero-feature-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.015em;
}

/* Bento Trust Grid Inside Hero (Compact 2x2 Grid) */
.bento-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bento-trust-card {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 8px 11px;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(228, 228, 231, 0.85);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.02);
}

.bento-trust-card:hover {
  background: #ffffff;
  border-color: rgba(232, 123, 53, 0.35);
  box-shadow: 0 4px 12px rgba(232, 123, 53, 0.08);
  transform: translateY(-1px);
}

.bento-trust-icon {
  font-size: 13px;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 6px;
  background: var(--accent-light);
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.bento-trust-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.bento-trust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bento-trust-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --------------------------------------------------------------------------
   6. CATEGORY PILLS HORIZONTAL STRIP
   Minimalist horizontal scroll filter with smooth scroll snap
   -------------------------------------------------------------------------- */
.category-strip {
  max-width: 1400px;
  margin: 0 auto 32px;
  padding: 0 36px;
  position: relative;
}

.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.pill-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-body);
  font-family: inherit;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: var(--shadow-xs);
  scroll-snap-align: start;
}

.pill-btn:hover {
  border-color: #d6d3d1;
  color: var(--text-main);
  transform: translateY(-1px);
}

.pill-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(232, 123, 53, 0.35);
  font-weight: 700;
}

.pill-btn.active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   7. CATALOG SECTION & TOOLBAR
   Sleek controls, search input with subtle glass background, custom selects
   -------------------------------------------------------------------------- */
.catalog-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 36px 72px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.catalog-title {
  font-family: var(--font-main);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.catalog-toolbar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease-smooth);
}

.catalog-toolbar:focus-within {
  border-color: #d6d3d1;
  box-shadow: var(--shadow-sm);
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.search-box input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  transition: all 0.2s var(--ease-smooth);
}

.search-box input:focus {
  border-color: var(--text-main);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.search-box::before {
  content: "⌕";
  position: absolute;
  left: 15px;
  top: 9px;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 600;
  pointer-events: none;
}

.toolbar-selects {
  display: flex;
  gap: 12px;
  align-items: center;
}

.toolbar-selects select {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  outline: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.toolbar-selects select:focus {
  border-color: var(--text-main);
  background: #ffffff;
}

.toolbar-selects select:hover {
  border-color: #d6d3d1;
}

/* --------------------------------------------------------------------------
   8. MODERN PRODUCT GRID & OVERHAULED PRODUCT CARDS
   2026 Faire/Linear Aesthetic: 20px radius, NO default border, soft shadow,
   full-bleed image with zero padding, ambient hover glow.
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: var(--bg-card);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.05), 0 2px 6px -1px rgba(28, 25, 23, 0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

/* Full-bleed media container with ZERO image padding */
.card-media {
  position: relative;
  background: #f5f4f0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  text-decoration: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  margin: 0;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-media img {
  transform: scale(1.06);
}

/* Sleek micro glass badges floating on image */
.card-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  z-index: 2;
}

.card-pack-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Card Body with generous whitespace */
.card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.card-category {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  transition: color 0.2s var(--ease-smooth);
}

.card-title:hover {
  color: var(--accent);
}

/* Price Row */
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.price-ws {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

.price-ws small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

/* Gated Price Pill for Unauthenticated Visitors */
.blurred-price-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  transition: all 0.25s var(--ease-smooth);
  min-height: 32px;
}

.blurred-price-container:hover {
  background: #f0eeeb;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(232, 123, 53, 0.2);
  transform: translateY(-1px);
}

.blurred-price-text {
  filter: blur(5px);
  opacity: 0.25;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--text-main);
  pointer-events: none;
}

.price-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 100px;
  transition: background 0.25s var(--ease-smooth);
}

.blurred-price-container:hover .price-lock-overlay {
  background: var(--accent);
}

.lock-icon {
  font-size: 11px;
  line-height: 1;
  color: #fbbf24;
}

.blurred-price-container:hover .lock-icon {
  color: #ffffff;
}

.lock-label {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Card Actions */
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.btn-view-card {
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  color: var(--text-main);
  background: #ffffff;
  transition: all 0.25s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-view-card:hover {
  border-color: var(--text-main);
  background: var(--bg-card-subtle);
  transform: translateY(-1px);
}

.btn-add-quote {
  background: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
  padding: 9px 14px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-add-quote:hover {
  background: #1f1f1f;
  border-color: #1f1f1f;
  box-shadow: 0 4px 14px rgba(232, 123, 53, 0.3);
  transform: translateY(-1px);
}

.btn-add-quote:active {
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   9. PAGINATION CONTROLS
   Modern rounded pill buttons with smooth disabled states
   -------------------------------------------------------------------------- */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-page {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-smooth);
  color: var(--text-main);
}

.btn-page:hover:not(:disabled) {
  border-color: var(--text-main);
  background: var(--bg-card-subtle);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-page:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   10. B2B SOLUTIONS & SERVICES SECTION
   Full-bleed with subtle gradient background and modern elevated cards
   -------------------------------------------------------------------------- */
.services-section {
  background: linear-gradient(180deg, #fafaf9 0%, #f4f2ee 50%, #fafaf9 100%);
  padding: 84px 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.services-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.services-header h2 {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 6px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-smooth);
}

.service-card:hover {
  border-color: rgba(232, 123, 53, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.service-rate-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  align-self: flex-start;
  border: 1px solid rgba(232, 123, 53, 0.25);
}

/* --------------------------------------------------------------------------
   11. SLIDE-OUT QUOTE DRAWER & STEPPER CONTROLS
   Frosted glass header, smooth item cards, pill steppers
   -------------------------------------------------------------------------- */
.quote-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
  z-index: 60;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.25s var(--ease-smooth);
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  z-index: 70;
  box-shadow: -10px 0 36px rgba(10, 10, 10, 0.18);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-snappy);
}

.drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.drawer-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.drawer-head button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--text-muted);
  transition: all 0.2s var(--ease-smooth);
}

.drawer-head button:hover {
  background: var(--bg-card-subtle);
  color: var(--text-main);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.drawer-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.25s var(--ease-smooth);
}

.drawer-item:hover {
  background: #ffffff;
  border-color: #d6d3d1;
  box-shadow: var(--shadow-xs);
}

.drawer-item img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-item-info {
  flex: 1;
}

.drawer-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.drawer-item-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.drawer-item-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 100px;
  transition: all 0.2s var(--ease-smooth);
}

.drawer-item-remove:hover {
  background: var(--danger-bg);
}

/* Stepper Pill Controls */
.drawer-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 6px;
  box-shadow: var(--shadow-xs);
}

.drawer-qty-btn {
  width: 26px;
  height: 26px;
  background: var(--bg-card-subtle);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-smooth);
  user-select: none;
  color: var(--text-main);
}

.drawer-qty-btn:hover {
  background: var(--text-main);
  color: #ffffff;
}

.drawer-qty-btn:active {
  transform: scale(0.92);
}

.drawer-qty-input {
  width: 48px;
  height: 26px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  outline: none;
  -moz-appearance: textfield;
}

.drawer-qty-input::-webkit-outer-spin-button,
.drawer-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Drawer Submission Form */
.drawer-form {
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  max-height: 48vh;
  overflow-y: auto;
}

.drawer-form .form-group {
  margin-bottom: 12px;
}

.drawer-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}

.drawer-form input,
.drawer-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  outline: none;
  background: var(--bg-card-subtle);
  transition: all 0.2s var(--ease-smooth);
}

.drawer-form input:focus,
.drawer-form textarea:focus {
  border-color: var(--text-main);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.05);
}

.btn-submit-quote {
  width: 100%;
  background: linear-gradient(135deg, #1c1917 0%, #0a0a0a 100%);
  color: #ffffff;
  padding: 14px;
  border-radius: 100px;
  border: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  margin-top: 10px;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(10, 10, 10, 0.18);
}

.btn-submit-quote:hover {
  background: linear-gradient(135deg, #292524 0%, #171717 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn-submit-quote:active {
  transform: scale(0.98);
}

/* --------------------------------------------------------------------------
   12. UNIFIED COMMON MODALS & OVERLAYS
   Frosted glass backdrop, 28px rounded corners, bottom sheet on mobile
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.65);
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.25s var(--ease-smooth);
}

.modal-window {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.25s var(--ease-snappy);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card-subtle);
}

.modal-tab-btn {
  flex: 1;
  padding: 14px 12px;
  background: none;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  font-family: inherit;
  border-bottom: 2px solid transparent;
  transition: all 0.2s var(--ease-smooth);
}

.modal-tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--accent);
  background: #ffffff;
}

.modal-content-pad {
  padding: 26px;
  overflow-y: auto;
}

/* --------------------------------------------------------------------------
   13. CUSTOMER & RETAILER WHOLESALE PORTAL
   Live quotation tracker, monospace values, itemized transaction cards
   -------------------------------------------------------------------------- */
.portal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.portal-kpi-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: all 0.25s var(--ease-smooth);
}

.portal-kpi-card:hover {
  background: #ffffff;
  border-color: #d6d3d1;
  box-shadow: var(--shadow-xs);
}

.portal-kpi-card .label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.portal-kpi-card .val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
  font-family: var(--font-mono);
}

.portal-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.portal-tabs-nav::-webkit-scrollbar {
  display: none;
}

.portal-tab-btn {
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s var(--ease-smooth);
}

.portal-tab-btn.active {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.portal-item-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-smooth);
}

.portal-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   14. SITE FOOTER (DARK PREMIUM WARM TONES)
   Deep warm-black foundation with crisp typography & clear links
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0d0c0b;
  color: #a8a29e;
  padding: 64px 36px 40px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #a8a29e;
  line-height: 1.7;
}

.footer-links h5 {
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #a8a29e;
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  color: #78716c;
}

/* --------------------------------------------------------------------------
   15. MOBILE BOTTOM NAVIGATION DOCK
   iOS-style floating frosted tab bar with SF-style refined aesthetics
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: var(--glass-dock-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--glass-dock-border);
  box-shadow: 0 -6px 24px rgba(28, 25, 23, 0.06);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.mob-nav-item {
  flex: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 0;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
  font-family: inherit;
}

.mob-nav-item:active,
.mob-nav-item.active {
  color: var(--accent);
  transform: scale(1.05);
}

.mob-nav-icon {
  font-size: 20px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.mob-nav-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mob-cart-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: var(--radius-full);
  line-height: 1;
  border: 1.5px solid #ffffff;
}

/* --------------------------------------------------------------------------
   16. COMPREHENSIVE RESPONSIVE BREAKPOINTS
   Breakpoints: 1100px (tablet landscape), 860px (small tablet),
                768px (mobile dock activation), 640px (small mobile)
   -------------------------------------------------------------------------- */

/* TABLET LANDSCAPE: 1100px */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .hero {
    gap: 36px;
    padding: 60px 28px 48px;
  }
  .site-header {
    padding: 12px 24px;
  }
  .catalog-section {
    padding: 0 24px 60px;
  }
  .category-strip {
    padding: 0 24px;
  }
  .services-section {
    padding: 64px 24px;
  }
}

/* TABLET PORTRAIT / SMALL TABLET: 860px */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 44px 20px 36px;
    gap: 32px;
  }
  .site-header {
    padding: 10px 20px;
  }
  .header-nav {
    display: none;
  }
  .catalog-section {
    padding: 0 20px 52px;
  }
  .category-strip {
    padding: 0 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .services-section {
    padding: 60px 20px;
  }
}

/* MOBILE PHONE / SMALL MOBILE: 640px */
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    border-radius: 16px;
  }

  .card-media {
    border-radius: 16px 16px 0 0;
  }

  .card-body {
    padding: 12px 14px 14px;
    gap: 10px;
  }

  .card-title {
    font-size: 13px;
    min-height: 36px;
  }

  .price-ws {
    font-size: 15px;
  }

  .card-actions {
    display: flex;
  }

  .btn-view-card {
    display: none;
  }

  .btn-add-quote {
    width: 100%;
    padding: 10px 8px;
    font-size: 12px;
  }

  /* Compact Header on Mobile */
  .site-header {
    padding: 8px 16px;
  }
  .header-brand img {
    height: 30px;
  }
  .header-brand-text {
    font-size: 18px;
  }

  .user-logged-box .btn-user-admin,
  .user-logged-box .btn-user-pass {
    display: none;
  }

  .user-name-badge {
    padding: 5px 10px;
    font-size: 11px;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-user-orders {
    padding: 5px 10px;
    font-size: 11px;
  }

  .btn-logout {
    padding: 5px 8px;
    font-size: 11px;
  }

  .hero-title {
    font-size: 29px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }

  .search-box {
    max-width: 100%;
  }

  .toolbar-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .toolbar-selects select {
    width: 100%;
    padding: 9px 12px;
    font-size: 12px;
  }

  .bento-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* Modals as Native iOS Bottom Sheet */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-window {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 28px 28px 0 0;
  }

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

  .quote-drawer {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   17. COMPREHENSIVE COMPONENT SPECIFICATIONS & FINE-GRAINED DETAILS
   Deep UI refinements: table styles, inputs, status indicators, breadcrumbs
   -------------------------------------------------------------------------- */

/* Universal Form Controls */
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  outline: none;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  transition: all 0.2s var(--ease-smooth);
}

.form-input:focus {
  border-color: var(--text-main);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.05);
}

.form-input::placeholder {
  color: var(--text-light);
}

/* Detail Page Layout Fallbacks & Shared Commerce Tokens */
.detail-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 36px 72px;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.detail-breadcrumb a {
  color: var(--text-body);
  text-decoration: none;
}

.detail-breadcrumb a:hover {
  color: var(--accent);
}

.detail-breadcrumb span {
  color: #d6d3d1;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.detail-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }
}

/* Keyframes for System Transitions */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s var(--ease-smooth);
}

.slide-down {
  animation: slideDown 0.3s var(--ease-smooth);
}

.slide-up {
  animation: slideUp 0.3s var(--ease-smooth);
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* --------------------------------------------------------------------------
   18. WHOLESALE INVOICE & QUOTATION SPECIFICATIONS
   Itemized quotation tables, status badges, stock verification meters
   -------------------------------------------------------------------------- */
.portal-invoice-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.portal-invoice-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.portal-invoice-table thead {
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border);
}

.portal-invoice-table th {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.portal-invoice-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  vertical-align: middle;
}

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

.portal-invoice-table tr:hover td {
  background: var(--bg-card-subtle);
}

/* Stock Status Pill Variants */
.stock-badge-in-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.stock-badge-partial {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  background: #fffbeb;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid #fde68a;
  white-space: nowrap;
}

.stock-badge-out-of-stock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid #fecaca;
  white-space: nowrap;
}

/* Payment & Fulfillment Timeline Pill */
.timeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.timeline-step.completed .timeline-step-icon {
  background: var(--success);
  color: #ffffff;
  border-color: var(--success);
}

.timeline-step-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}

/* UPI Payment Action Pill Box */
.upi-pay-box {
  background: var(--accent-subtle);
  border: 1px solid rgba(232, 123, 53, 0.25);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.upi-pay-info {
  flex: 1;
  min-width: 220px;
}

.upi-pay-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.upi-pay-sub {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.45;
}

.btn-upi-pay {
  background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(232, 123, 53, 0.35);
  transition: all 0.25s var(--ease-smooth);
  border: none;
  cursor: pointer;
}

.btn-upi-pay:hover {
  background: linear-gradient(135deg, #f59e0b 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 123, 53, 0.45);
}

.btn-upi-pay:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. AUTHENTICATION & CREDENTIAL PANELS
   One-click demo triggers, registration inputs, secure login styling
   -------------------------------------------------------------------------- */
.auth-panel-heading {
  margin-bottom: 18px;
}

.auth-panel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.auth-panel-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.demo-credentials-box {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-card-subtle);
  border: 1px solid var(--border);
}

.demo-credentials-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.demo-btn-group {
  display: flex;
  gap: 10px;
}

.btn-demo-pill {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  text-align: center;
}

.btn-demo-pill:hover {
  border-color: var(--text-main);
  background: var(--bg-page);
  transform: translateY(-1px);
}

.btn-demo-pill:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   20. ULTRA-WIDE & COMPACT VIEWPORT FINE-TUNING
   Scale refinements for 1600px+ monitors down to 360px small handsets
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
  .hero {
    max-width: 1520px;
    padding: 92px 40px 72px;
    gap: 64px;
  }
  .catalog-section,
  .services-inner,
  .category-strip,
  .footer-inner,
  .footer-bottom {
    max-width: 1520px;
  }
  .product-grid {
    gap: 28px;
  }
  .hero-title {
    font-size: 60px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 32px 16px 24px;
    gap: 24px;
  }
  .hero-title {
    font-size: 26px;
    line-height: 1.15;
  }
  .hero-desc {
    font-size: 13.5px;
    margin-bottom: 22px;
  }
  .hero-ctas {
    gap: 10px;
    margin-bottom: 22px;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    padding: 12px 20px;
  }
  .catalog-section {
    padding: 0 14px 44px;
  }
  .category-strip {
    padding: 0 14px;
  }
  .services-section {
    padding: 48px 14px;
  }
  .product-grid {
    gap: 8px;
  }
  .card-body {
    padding: 10px 10px 12px;
    gap: 8px;
  }
  .card-title {
    font-size: 12px;
    min-height: 32px;
    line-height: 1.35;
  }
  .card-badge-top {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }
  .card-pack-badge {
    bottom: 8px;
    right: 8px;
    padding: 3px 8px;
    font-size: 9.5px;
  }
  .price-ws {
    font-size: 14px;
  }
  .site-header {
    padding: 8px 12px;
  }
  .btn-cart {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }
}

@media (max-width: 360px) {
  .toolbar-selects {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .card-media {
    aspect-ratio: 4 / 3;
  }
}

/* --------------------------------------------------------------------------
   21. HIGH-CONTRAST ACCESSIBILITY & PRINT STYLES
   Ensuring full compliance and clean thermal/document printouts
   -------------------------------------------------------------------------- */
@media (prefers-contrast: high) {
  :root {
    --border: #a8a29e;
    --border-light: #d6d3d1;
    --text-body: #1c1917;
  }
  .product-card {
    border: 2px solid #0a0a0a;
  }
  .btn-primary {
    border: 2px solid #ffffff;
  }
}

@media print {
  .site-header,
  .announcement-bar,
  .mobile-bottom-bar,
  .hero-ctas,
  .catalog-toolbar,
  .pagination-wrap,
  .btn-add-quote,
  .btn-view-card,
  .quote-drawer,
  .quote-drawer-backdrop {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
    padding-bottom: 0 !important;
  }
  .product-card {
    box-shadow: none !important;
    border: 1px solid #000000;
    page-break-inside: avoid;
  }
  .portal-invoice-table {
    border: 1px solid #000000;
  }
  .portal-invoice-table th,
  .portal-invoice-table td {
    border: 1px solid #000000;
    color: #000000;
  }
}

/* End of Starbong.in 2026 Storefront Design System */

/* ==========================================================================
   18. LAYOUT & TYPOGRAPHY POLISH
   Fixes header collisions, price-gate clipping, filter overflow and type
   rhythm. Placed last so it wins over the layered legacy overrides above.
   ========================================================================== */

/* 18.1 Page rhythm and overflow guards */
h1, h2, h3, h4, .hero-title, .catalog-title {
  text-wrap: balance;
}
p, .hero-desc, .detail-desc, .product-card p {
  text-wrap: pretty;
}
body {
  overflow-x: clip;
}

/* 18.2 Announcement bar: single line, no clipped second row */
.announcement-bar {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.announcement-bar .announcement-seg {
  color: #d6d3d1;
  font-size: inherit;
  line-height: 1.5;
}
.announcement-bar .announcement-sep,
.announcement-bar .announcement-spark {
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
}
.announcement-bar .announcement-sep {
  opacity: 0.55;
}
@media (max-width: 720px) {
  .announcement-optional {
    display: none !important;
  }
  .announcement-bar {
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 10.5px;
    letter-spacing: 0.02em;
  }
}

/* 18.3 Header: no brand/action collisions, no overflowing cart pill */
.site-header {
  gap: 20px;
}
.header-brand {
  min-width: 0;
  gap: 10px;
}
.header-brand img.brand-mark {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.header-brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-actions {
  flex: 0 0 auto;
  gap: 10px;
}
@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
    gap: 12px;
  }
  .header-brand {
    gap: 8px;
  }
  .header-brand img.brand-mark {
    height: 26px;
  }
  .header-brand-text {
    font-size: 17px;
    letter-spacing: -0.035em;
  }
  .header-actions {
    gap: 6px;
  }
  .btn-auth {
    padding: 7px 14px;
    font-size: 12px;
  }
  .btn-cart {
    padding: 7px 12px;
    font-size: 12px;
    gap: 6px;
  }
  .cart-badge {
    font-size: 10.5px;
    min-width: 18px;
    padding: 2px 6px;
  }
  .header-nav {
    display: none;
  }
  .header-actions .btn-outline {
    display: none;
  }
}
@media (max-width: 360px) {
  .header-brand-text {
    font-size: 15.5px;
  }
  .btn-auth {
    padding: 6px 11px;
    font-size: 11.5px;
  }
  .btn-cart {
    padding: 6px 10px;
    font-size: 11.5px;
  }
}

/* 18.4 Hero type scale */
.hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.62;
  max-width: 58ch;
}
@media (max-width: 640px) {
  .hero-title {
    font-size: 30px;
    line-height: 1.12;
  }
  .hero-desc {
    font-size: 14.5px;
    line-height: 1.6;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 27px;
  }
  .hero-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* 18.5 Section headings */
.catalog-title {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
}
.catalog-header {
  gap: 16px;
}

/* 18.6 Category filters: wrap cleanly on desktop, fade instead of hard cut */
.category-pills {
  padding: 4px 2px 12px;
  gap: 8px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
}
@media (min-width: 1024px) {
  .category-pills {
    flex-wrap: wrap;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-mask-image: none;
    mask-image: none;
    padding-bottom: 6px;
  }
}
.pill-btn {
  font-size: 12.5px;
  padding: 8px 16px;
}

/* 18.7 Product cards: readable type, no clipped price gate */
.card-body {
  padding: 16px 18px 18px;
  gap: 12px;
}
.card-category {
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.card-title {
  font-size: 14.5px;
  line-height: 1.35;
  min-height: 39px;
}
.price-row {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.price-row > div {
  min-width: 0;
}
.mrp-note {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: auto;
}
.price-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}
.price-gate:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.price-gate:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.price-gate-lock {
  font-size: 11px;
  line-height: 1;
  color: #fbbf24;
}
.price-gate:hover .price-gate-lock {
  color: #ffffff;
}
@media (max-width: 640px) {
  .card-body {
    padding: 14px 14px 16px;
    gap: 10px;
  }
  .card-title {
    font-size: 13.5px;
    min-height: 36px;
  }
  .price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .price-gate {
    width: 100%;
  }
  .mrp-note {
    margin-left: 0;
    text-align: right;
  }
}
@media (max-width: 480px) {
  .product-grid {
    gap: 10px;
  }
  .card-body {
    padding: 12px 12px 14px;
    gap: 9px;
  }
  .card-title {
    font-size: 13px;
    min-height: 34px;
  }
}

/* 18.8 Mobile dock clearance */
@media (max-width: 768px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 14px));
  }
}

/* 18.9 Overflow guards */
.catalog-toolbar,
.catalog-header,
.services-inner,
.footer-inner {
  min-width: 0;
}

/* 18.10 Authenticated header on small screens
   Collapse the action cluster to brand + account chip + quote bag. Orders,
   password and sign-out live in the portal (and the bottom dock). */
@media (max-width: 700px) {
  .header-actions .btn-user-orders,
  .header-actions .btn-user-pass,
  .header-actions .btn-logout,
  .header-actions .btn-user-admin {
    display: none !important;
  }
  .header-actions .user-logged-box {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .user-name-badge {
    display: inline-block;
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 11.5px;
    cursor: pointer;
  }
  .user-name-badge small {
    display: none;
  }
}
@media (max-width: 380px) {
  .user-name-badge {
    max-width: 76px;
  }
}

/* Portal header actions */
.portal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.portal-logout-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
  cursor: pointer;
  transition: background 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);
}
.portal-logout-btn:hover {
  border-color: #ef4444;
  background: #fef2f2;
}

/* Phones: the bottom dock already carries Account and Orders, so keep the
   header to brand + quote bag and avoid squeezing the wordmark. */
@media (max-width: 640px) {
  .header-actions .user-logged-box {
    display: none !important;
  }
}

/* 18.11 Warm accent bar instead of a black-edged stripe on the hero card */
.hero-feature-card::before {
  height: 3px;
  background: linear-gradient(90deg, #f59e0b 0%, var(--accent) 45%, #fbbf24 100%);
}

/* 18.12 Hero showcase banner
   Full-width visual under the hero copy; crops to the product cluster on
   phones instead of shrinking the embedded promo text to an unreadable size. */
.hero-showcase {
  grid-column: 1 / -1;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card-subtle);
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.hero-showcase picture {
  display: block;
}
.hero-showcase img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--ease-smooth);
}
.hero-showcase:hover img {
  transform: scale(1.015);
}
@media (max-width: 860px) {
  .hero-showcase {
    order: 2;
    border-radius: 18px;
  }
  .hero-feature-card {
    order: 3;
    padding: 10px 14px;
    border-radius: 12px;
    width: 100%;
  }
  .hero-feature-header {
    margin-bottom: 7px;
  }
  .hero-feature-card h3 {
    font-size: 12px;
  }
  .bento-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .bento-trust-card {
    padding: 7px 9px;
    gap: 7px;
    border-radius: 7px;
  }
  .bento-trust-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 11px;
    border-radius: 5px;
  }
  .bento-trust-title {
    font-size: 11px;
  }
  .bento-trust-sub {
    font-size: 9.5px;
  }
}
@media (max-width: 480px) {
  .hero-showcase {
    border-radius: 16px;
  }
  .hero-feature-card {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .hero-feature-header {
    margin-bottom: 6px;
  }
  .hero-feature-badge {
    font-size: 8.5px;
    padding: 1px 5px;
  }
  .hero-feature-card h3 {
    font-size: 11px;
  }
  .bento-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .bento-trust-card {
    padding: 5px 7px;
    gap: 6px;
    border-radius: 6px;
  }
  .bento-trust-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    font-size: 10px;
  }
  .bento-trust-title {
    font-size: 10.5px;
  }
  .bento-trust-sub {
    display: none;
  }
}
