/* ===================================================================
   MudraLanka - Core Design System & Global Styles
   Design: Modern, Trending, Premium Print Studio Aesthetic
   Fully Responsive for Mobile, Tablet, Desktop & 4K Displays
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Color Palette - Warm Premium Rust-Orange Print Studio */
  --color-primary: #0f172a;
  /* Midnight Slate */
  --color-primary-light: #1e293b;
  --color-accent: #ea580c;
  /* Rich Warm Rust-Orange */
  --color-accent-hover: #c2410c;
  --color-accent-light: #ffedd5;
  /* Soft Peach Pill Background */
  --color-brand-cyan: #0284c7;
  --color-brand-emerald: #10b981;
  /* Vibrant Emerald */
  --color-brand-amber: #f59e0b;
  /* Warm Amber */
  --color-brand-rose: #f43f5e;
  /* Electric Rose */
  --color-whatsapp: #22c55e;
  /* Official WhatsApp Green */
  --color-whatsapp-dark: #16a34a;

  /* Neutrals & Surfaces */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-dark: #090d16;
  --bg-dark-card: rgba(255, 255, 255, 0.05);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #3b82f6;

  /* Shadows & Glassmorphism */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-neon: 0 0 25px rgba(37, 99, 235, 0.25);

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(12px);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Disable spin buttons on number inputs globally so values never change on scroll */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

input[type="number"] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .container {
    padding: 0 0.75rem;
  }
}

/* ===================================================================
   Top Announcement Bar
   =================================================================== */
.top-bar {
  display: none !important;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-highlights {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-badge {
  background: #fde047;
  color: #111827;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.top-bar-links a:hover {
  color: #fde047;
}

/* ===================================================================
   Main Navigation Header
   =================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  width: 100%;
}

/* Desktop Header (>= 992px): 3-Column Grid with Search DEAD CENTER */
@media (min-width: 992px) {
  .navbar {
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }

  .navbar-container {
    width: 100% !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 0.45rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
  }

  .brand-logo {
    flex-shrink: 0 !important;
    min-width: auto !important;
    margin-right: 0.25rem !important;
  }

  /* Wide, Prominent Desktop Search Bar (Vistaprint Style) */
  .search-bar-wrap {
    flex: 1 1 auto !important;
    max-width: 780px !important;
    min-width: 320px !important;
    margin: 0 auto 0 0.5rem !important;
    position: relative !important;
  }

  .search-bar-wrap .search-input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 3.25rem 0 1.25rem !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    border: 1.5px solid #0f172a !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    box-sizing: border-box !important;
  }

  .search-bar-wrap .search-input:hover {
    border-color: #000000 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  }

  .search-bar-wrap .search-input:focus {
    border-color: #ea580c !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12), 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  }

  .search-bar-wrap .search-icon-btn {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
  }

  .search-bar-wrap .search-icon-btn:hover {
    color: #ea580c !important;
    transform: translateY(-50%) scale(1.1) !important;
  }

  .nav-links {
    display: none !important;
    /* Categories are placed on Row 2 (Category Strip) */
  }

  .nav-actions {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    margin-left: 0 !important;
    min-width: 180px !important;
    justify-content: flex-end !important;
  }

  .nav-actions .hamburger-btn {
    display: none !important;
  }
}

/* Mobile & Tablet Header (< 992px): Logo + 3 Icons locked to Row 1, Search on Row 2 */
@media (max-width: 991px) {
  .navbar {
    height: auto;
    min-height: auto;
    padding: 0.6rem 0 0.65rem 0;
    display: block;
  }

  .navbar-container {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    padding: 0 1rem !important;
    gap: 0.55rem 0.5rem !important;
  }

  .brand-logo {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    justify-self: start !important;
    white-space: nowrap !important;
    font-size: 1.15rem !important;
    gap: 0.45rem !important;
    min-width: 0 !important;
  }

  .brand-mark {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 8px !important;
  }

  .nav-actions {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .hamburger-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 1.25rem !important;
    color: #0f172a !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .hamburger-btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
  }

  .search-bar-wrap {
    grid-column: 1 / 3 !important;
    grid-row: 2 / 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: block !important;
  }

  .nav-links {
    display: none !important;
  }

  .navbar-category-bar {
    display: none !important;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: #0f172a;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand-accent {
  color: #ea580c;
}

.brand-logo-img {
  height: 68px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .brand-logo-img {
    height: 48px;
    max-height: 52px;
  }
}

@media (max-width: 640px) {
  .brand-logo-img {
    height: 42px;
    max-height: 44px;
  }
}

/* Live Search Suggestions Dropdown */
.search-suggest-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.15), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
  z-index: 1050;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: searchFadeIn 0.15s ease-out;
}

@keyframes searchFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.15s ease;
  cursor: pointer;
  background: #ffffff;
}

.search-suggest-item:hover,
.search-suggest-item.highlighted {
  background: #f8fafc;
}

.search-suggest-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.search-suggest-info {
  flex: 1;
  min-width: 0;
}

.search-suggest-title {
  font-weight: 700;
  font-size: 0.885rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.search-suggest-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #64748b;
}

.search-suggest-badge {
  background: #f1f5f9;
  color: #475569;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
}

.search-suggest-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ea580c;
  flex-shrink: 0;
  text-align: right;
}

.search-suggest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  font-size: 0.825rem;
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
  border-top: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-suggest-footer:hover {
  background: #fff7ed;
}

.search-suggest-empty {
  padding: 1.25rem 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

.nav-categories-scroll-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  gap: 0.25rem;
  overflow: visible !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0.25rem;
  flex: 0 1 auto;
  overflow: visible !important;
}

.nav-scroll-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  z-index: 10;
  transition: all 0.15s ease;
  user-select: none;
}

.nav-scroll-btn:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.25);
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.nav-item a,
.nav-cat-trigger {
  font-weight: 600;
  font-size: 0.85rem;
  color: #374151;
  padding: 0.35rem 0.55rem;
  position: relative;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap !important;
  line-height: 1.2;
}

.nav-item a:hover,
.nav-cat-trigger:hover {
  color: #ea580c;
}

.nav-item.active a,
.nav-item.megamenu-nav-item.active .nav-cat-trigger {
  background: #ffedd5;
  color: #ea580c;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 700;
}

.nav-item.has-badge {
  position: relative;
}

.nav-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  color: white;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* ===================================================================
   Vistaprint-Style Sharp Search Bar
   =================================================================== */
.search-bar-wrap {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 46px;
  padding: 0 3.2rem 0 1.15rem;
  border-radius: 8px;
  border: 1.5px solid #0f172a;
  background: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
}

.search-input::placeholder {
  color: #71717a;
  font-style: italic;
  font-weight: 400;
  opacity: 1;
}

.search-input:hover {
  border-color: #000000;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.search-input:focus {
  background: #ffffff;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}

/* Magnifying glass button on the RIGHT side, exactly like Vistaprint */
.search-icon-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
}

.search-icon-btn:hover {
  background: #f1f5f9;
  color: #ea580c;
  transform: translateY(-50%) scale(1.08);
}

.search-icon-btn svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
}

/* Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all var(--transition-normal);
  line-height: 1;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: white;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-whatsapp {
  background: #22c55e;
  color: white;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

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

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
}

/* ===================================================================
   Hero Slider Section
   =================================================================== */
.hero-section,
.hero-admin-bar {
  display: none !important;
}

.hero-slider-wrap {
  position: relative;
}

.hero-slide {
  display: none;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.hero-slide.active {
  display: grid;
  opacity: 1;
}

@media (min-width: 992px) {
  .hero-slide {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

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

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.hero-promo {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--color-primary);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #1e40af, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-feature-item svg {
  color: var(--color-brand-emerald);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform var(--transition-normal);
}

.hero-image-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-floating-pill {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pill-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--color-brand-emerald);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.pill-text span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 28px;
  background: var(--color-accent);
}

/* ===================================================================
   Value Props Ribbon
   =================================================================== */
.trust-ribbon {
  background: transparent;
  padding: 0;
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
}

.trust-grid {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.75rem 2.25rem;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #ffedd5;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.trust-text p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
}

/* ===================================================================
   Section Headings
   =================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ea580c;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  letter-spacing: -0.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.section-title span.accent-text,
.section-title span {
  color: #ea580c;
}

.section-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}



/* ===================================================================
   Homepage Priority Section Header & Aesthetic Filter Chips Marquee
   =================================================================== */
.priority-section-header {
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.priority-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.priority-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Ticker / Marquee Wrapper with Luxury Soft Edge Fades */
.filter-pills-ticker-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 680px;
  width: 100%;
  padding: 0.35rem 0.2rem 0.5rem 0.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.filter-pills-ticker-wrap:active {
  cursor: grabbing;
}

.filter-pills-ticker-wrap::-webkit-scrollbar {
  display: none;
}

.filter-pills-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  flex-wrap: nowrap;
  padding: 0.2rem 0.5rem;
}

.filter-pill {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  outline: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  user-select: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  flex-shrink: 0;
}

.filter-pill:hover:not(.active) {
  color: #0f172a;
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  font-weight: 700;
  border-color: #ea580c;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.32);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .priority-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .filter-pills-ticker-wrap {
    max-width: 100%;
  }

  .filter-pill {
    padding: 0.5rem 0.95rem;
    font-size: 0.825rem;
  }
}

/* ===================================================================
   Bigger Category Department Cards (Visual, High-Impact Showcase)
   =================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

.category-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.15rem 1rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -6px rgba(234, 88, 12, 0.18), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
  border-color: #ea580c;
}

.category-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 4px;
}

.category-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-thumb-img {
  transform: scale(1.08);
}

.category-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.category-card-info h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.category-card:hover .category-card-info h3 {
  color: #ea580c;
}

.category-card-action {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s ease;
}

.category-card:hover .category-card-action {
  transform: translateX(3px);
}

/* ===================================================================
   Priority Product Cards (High-End Luxury E-Commerce Presentation)
   =================================================================== */
.priority-product-card {
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.priority-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 32px -8px rgba(234, 88, 12, 0.16), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  border-color: #fed7aa;
}

.priority-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
  padding: 4px;
}

.priority-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.priority-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ea580c;
  border: 1px solid #fed7aa;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.02em;
}

.priority-tag-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

.priority-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.priority-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.priority-card-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.priority-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: auto;
}

.priority-rate-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.priority-rate-val {
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
}

.priority-btn-cta {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.28);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.priority-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
  color: #ffffff;
}

/* ===================================================================
   Full Catalog Gateway Card
   =================================================================== */
.catalog-gateway-card {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.catalog-gateway-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.catalog-gateway-card p {
  color: #64748b;
  font-size: 0.925rem;
  max-width: 650px;
  margin: 0;
  line-height: 1.55;
}

.btn-gateway {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.75rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-gateway:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* ===================================================================
   Trending Products Grid
   =================================================================== */
.product-category-selector-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.product-category-dropdown-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cat-dropdown-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.cat-dropdown-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cat-dropdown-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 2;
}

.home-category-dropdown {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 2px solid #ea580c;
  border-radius: 9999px;
  padding: 0.65rem 2.5rem 0.65rem 2.8rem;
  font-size: 0.925rem;
  font-weight: 700;
  color: #ea580c;
  cursor: pointer;
  outline: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.12);
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ea580c' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  font-family: inherit;
}

.home-category-dropdown:hover,
.home-category-dropdown:focus {
  background-color: #fff7ed;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.2);
}

/* Active Category Status Banner */
.active-category-status-banner {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: fadeInMenu 0.15s ease-out;
}

.cat-status-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #9a3412;
  font-size: 0.925rem;
}

.cat-status-icon {
  font-size: 1.25rem;
}

.cat-status-count {
  font-size: 0.8rem;
  color: #c2410c;
  font-weight: 600;
  margin-left: 0.35rem;
}

.cat-status-catalog-link {
  font-size: 0.825rem;
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fed7aa;
  transition: all 0.15s;
}

.cat-status-catalog-link:hover {
  background: #ea580c;
  color: #ffffff;
}

.btn-clear-category {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-clear-category:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

/* Category Select Placeholder / Empty State */
.category-select-placeholder-card {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.placeholder-icon-ring {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #ffedd5;
  color: #ea580c;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
}

.placeholder-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.placeholder-desc {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ffffff;
  padding: 4px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: var(--glass-blur);
  color: white;
  font-size: 0.725rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 0.5rem;
}

.product-rating span {
  color: var(--text-muted);
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price-label {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.product-price-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ===================================================================
   Homepage Instant Quote Calculator Widget
   =================================================================== */
.calculator-teaser {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  color: white;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.calculator-teaser::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .calculator-teaser-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
  }
}

.teaser-content h2 {
  color: white;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.teaser-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.teaser-calc-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.teaser-form-group {
  margin-bottom: 1.25rem;
}

.teaser-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.teaser-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.teaser-input,
.teaser-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  outline: none;
  font-size: 0.9rem;
}

.teaser-input:focus,
.teaser-select:focus {
  border-color: var(--color-brand-cyan);
}

.teaser-price-box {
  background: rgba(6, 182, 212, 0.1);
  border: 1px dashed var(--color-brand-cyan);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.teaser-price-box .price-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.teaser-price-box .price-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-heading);
}

/* ===================================================================
   How It Works (4 Simple Steps)
   =================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-brand-cyan));
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: #eff6ff;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 1.25rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===================================================================
   Testimonials / Reviews Carousel
   =================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.review-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================================================
   Footer
   =================================================================== */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===================================================================
   Floating Sticky WhatsApp Support Widget
   =================================================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  background: #25D366;
  color: #ffffff;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.55);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.whatsapp-floating-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}

.whatsapp-floating-btn span {
  display: none !important;
}

.whatsapp-floating-btn:hover {
  background: #20bd5a;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 15px 32px -4px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.whatsapp-floating-btn:hover svg {
  transform: scale(1.05);
}

.whatsapp-pulse {
  display: none;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ===================================================================
   Mobile Sticky Bottom Action Bar
   =================================================================== */
.mobile-bottom-bar {
  display: none !important;
}

/* Mobile Overrides & Responsive System */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: none !important;
  }

  .whatsapp-floating-btn {
    bottom: 1.25rem !important;
    right: 1.25rem !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
  }

  .whatsapp-floating-btn svg {
    width: 26px !important;
    height: 26px !important;
  }

  .whatsapp-floating-btn span {
    display: none !important;
  }

  /* Top Announcement Bar */
  .top-bar {
    padding: 0.4rem 0 !important;
    font-size: 0.72rem !important;
  }

  .top-bar-content {
    justify-content: center !important;
    text-align: center !important;
  }

  .top-bar-highlights {
    justify-content: center !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  .top-bar-links {
    display: none !important;
  }

  /* Navbar */
  .navbar {
    height: auto !important;
    min-height: 3.75rem !important;
    padding: 0.4rem 0 !important;
  }

  .navbar-container {
    padding: 0 1rem !important;
  }

  .brand-logo {
    font-size: 1.15rem !important;
    gap: 0.45rem !important;
  }

  .brand-mark {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 7px !important;
  }

  .hamburger-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    font-size: 1.25rem !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 1.75rem 0 2.25rem !important;
  }

  .hero-slide {
    gap: 1.5rem !important;
  }

  .hero-title {
    font-size: clamp(1.65rem, 5.5vw, 2.25rem) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
  }

  .hero-features-list {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    font-size: 0.76rem !important;
  }

  .hero-image-card {
    transform: none !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12) !important;
  }

  /* Value Props Ribbon */
  .trust-ribbon {
    margin-top: -1.25rem !important;
  }

  .trust-grid {
    grid-template-columns: 1fr !important;
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    gap: 0.85rem !important;
  }

  /* Categories Showcase (2 per row on mobile) */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .category-card {
    padding: 0.75rem 0.6rem !important;
    border-radius: 14px !important;
  }

  .category-thumb-wrap {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    background: #ffffff !important;
    padding: 4px !important;
    border-radius: 10px !important;
  }

  .category-thumb-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #ffffff !important;
  }

  .priority-card-media {
    aspect-ratio: 1 / 1 !important;
    background: #ffffff !important;
    padding: 4px !important;
  }

  .priority-card-media img {
    object-fit: contain !important;
    background: #ffffff !important;
  }

  /* Catalog Final Products Grid (ALWAYS 2 in a row on mobile) */
  .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .catalog-product-card {
    min-width: 0 !important;
  }

  /* Calculator Teaser */
  .calculator-teaser {
    padding: 1.5rem 1.25rem !important;
    border-radius: 18px !important;
  }

  .calculator-teaser-grid {
    gap: 1.5rem !important;
  }

  .teaser-calc-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
  }

  .teaser-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.65rem !important;
  }

  /* Steps Section */
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .step-card {
    padding: 1.5rem 1.25rem !important;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem !important;
  }

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

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }
}

/* ===================================================================
   Mobile Navigation Drawer
   =================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: white;
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transition: left var(--transition-normal);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  left: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

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

.drawer-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.drawer-links a:hover {
  background: #f8fafc;
  color: #ea580c;
}

/* Responsive Overrides */
@media (max-width: 992px) {

  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }
}

/* ===================================================================
   Global Modal & Dialog System (In-Place Admin & Checkout)
   =================================================================== */
.checkout-modal,
.admin-modal,
.site-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999 !important;
  display: none;
  /* Crucial: MUST BE HIDDEN BY DEFAULT */
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.checkout-modal.active,
.admin-modal.active,
.site-modal.active {
  display: flex !important;
}

.modal-content {
  background: #ffffff !important;
  border-radius: 16px !important;
  max-width: 500px;
  width: 100%;
  padding: 2rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.925rem;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Hero Admin Floating Bar & Manager Modal */
.hero-admin-bar {
  display: flex;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: #fff7ed;
  border-bottom: 1px dashed #fdba74;
}

.btn-admin-hero {
  background: #ea580c;
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-admin-hero:hover {
  background: #c2410c;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.35);
}

.banner-card-edit-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.banner-card-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f1f5f9;
}

/* Artwork Upload Required Pulsing Highlight */
@keyframes artworkPulseGlow {
  0%, 100% {
    border-color: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    border-color: #dc2626;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.15);
  }
}

.artwork-dropzone.artwork-required-pulse {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  animation: artworkPulseGlow 1.2s infinite ease-in-out !important;
}

/* High-Performance Smooth Image Rendering & Viewport Containment */
.category-card,
.priority-product-card,
.catalog-product-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}

.category-thumb-img,
.priority-card-media img,
.catalog-card-media img,
.carousel-slide img {
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}
