/* =====================================================
   Cheyn Gadgets — Global Stylesheet
   Project: Online Ordering & Delivery Management System
   Tech: Bootstrap 5.3 + Vanilla JS
   ===================================================== */

/* ----- Google Font import (Inter) ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ----- CSS Custom Properties ----- */
:root {
  --ct-primary:       #d81b60; /* Cheyn signature berry (WCAG AA 4.95:1) */
  --ct-primary-dark:  #ad1457;
  --ct-primary-light: #fce4ec;
  --ct-primary-soft:  #fdf2f8; /* Ultra-soft subtle berry wash */

  --ct-white:         #ffffff;
  --ct-bg:            #f8fafc; /* Slate-50 modern neutral canvas */
  --ct-surface:       #ffffff;
  --ct-text:          #0f172a; /* Slate-900 crisp, high-contrast text */
  --ct-text-secondary:#334155; /* Slate-700 readable secondary */
  --ct-muted:         #64748b; /* Slate-500 neutral captions */
  --ct-border:        #e2e8f0; /* Slate-200 crisp hairline borders */
  --ct-border-light:  #f1f5f9; /* Slate-100 */

  --ct-radius-sm:     8px;
  --ct-radius:        12px;
  --ct-radius-lg:     18px;

  --ct-shadow-xs:     0 1px 2px rgba(15, 23, 42, 0.05);
  --ct-shadow:        0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --ct-shadow-md:     0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --ct-shadow-lg:     0 20px 25px -5px rgba(15, 23, 42, 0.09), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --ct-shadow-pink:   0 8px 20px rgba(216, 27, 96, 0.16);
  --ct-transition:    all 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  --navbar-height:    66px;
  --nav-height:       66px;
}

/* ----- Bootstrap primary override ----- */
.btn-primary   { --bs-btn-bg: var(--ct-primary); --bs-btn-border-color: var(--ct-primary); --bs-btn-hover-bg: var(--ct-primary-dark); --bs-btn-hover-border-color: var(--ct-primary-dark); }
.text-primary  { color: var(--ct-primary) !important; }
.bg-primary    { background-color: var(--ct-primary) !important; }
.border-primary{ border-color: var(--ct-primary) !important; }
a             { color: var(--ct-primary); }
a:hover       { color: var(--ct-primary-dark); }

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  color: var(--ct-text);
  background: #fff;
  min-height: 100vh;
}

img { max-width: 100%; }

/* ===================================================
   NAVBAR (Apple-grade slim translucent navigation)
   =================================================== */
.navbar-ct {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow: none !important;
  padding: 0 1rem !important;
  height: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s ease;
  z-index: 1020;
}

.navbar-ct.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

.navbar-ct .brand-name {
  font-weight: 500;
  font-size: 0.85rem;
  color: #1d1d1f !important;
  letter-spacing: -0.01em;
}

.navbar-ct .brand-name .brand-dot {
  color: #d81b60;
}

.navbar-ct .nav-link {
  font-weight: 400;
  font-size: 0.78rem;
  color: rgba(29, 29, 31, 0.72) !important;
  padding: 0.18rem 0.55rem !important;
  border-radius: 9999px;
  transition: all 0.15s ease;
}

.navbar-ct .nav-link:hover {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

.navbar-ct .nav-link.active {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.07) !important;
  font-weight: 500;
}

.nav-icons a,
.nav-icons .nav-user-btn {
  color: rgba(29, 29, 31, 0.72) !important;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  text-decoration: none;
}

.nav-icons a:hover,
.nav-icons .nav-user-btn:hover {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.55rem !important;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(29, 29, 31, 0.7) !important;
  font-size: 0.78rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.nav-search-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.14);
  color: #000000 !important;
}

.search-kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 0px 4px;
  color: rgba(29, 29, 31, 0.55);
  line-height: 1.3;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  background: var(--ct-primary);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid #ffffff;
}

/* Toggler */
.navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
}
.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}
.navbar-toggler-icon {
  width: 1.15em;
  height: 1.15em;
}

/* ===================================================
   TOP UTILITY BAR (Secondary Navigation)
   =================================================== */
.top-utility-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.78rem;
  padding: 0.35rem 0;
  color: #64748b;
  position: relative;
  z-index: 1021;
}

.top-utility-bar a.utility-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: var(--ct-transition);
  padding: 0.15rem 0.2rem;
  display: inline-flex;
  align-items: center;
}

.top-utility-bar a.utility-link:hover,
.top-utility-bar a.utility-link.active {
  color: var(--ct-primary);
}

.top-utility-bar .utility-btn {
  background: var(--ct-primary);
  color: #fff !important;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.74rem;
  transition: var(--ct-transition);
  display: inline-flex;
  align-items: center;
}

.top-utility-bar .utility-btn:hover {
  background: var(--ct-primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.top-utility-bar .utility-divider {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

.top-utility-bar .utility-text {
  font-size: 0.76rem;
  color: #64748b;
}

.top-utility-bar .dropdown-menu {
  font-size: 0.82rem;
  border-radius: var(--ct-radius);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--ct-border);
}

/* ===================================================
   APPLE-LIKE NAVBAR DROPDOWNS
   =================================================== */
.navbar-ct .dropdown-menu {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  padding: 0.5rem;
  min-width: 260px;
}

.navbar-ct .dropdown-item {
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ct-text);
  transition: all 0.18s ease;
  white-space: normal;
}

.navbar-ct .dropdown-item:hover {
  background: var(--ct-primary-light);
  color: var(--ct-primary);
  transform: translateX(2px);
}

.navbar-ct .dropdown-item i {
  font-size: 1.15rem;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.navbar-ct .dropdown-item:hover i {
  transform: scale(1.1);
}

.navbar-ct .dropdown-item-desc {
  font-size: 0.72rem;
  display: block;
  line-height: 1.25;
  color: #64748b !important;
}

/* Remove dropdown caret arrows everywhere in navbar */
.navbar-ct .nav-link::after,
.navbar-ct .dropdown-toggle::after,
.navbar-ct .nav-link.dropdown-toggle::after {
  display: none !important;
  content: none !important;
}

/* Hover-to-Open Behavior on Desktop */
@media (min-width: 992px) {

  .navbar-ct .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar-ct .nav-item.dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    margin-top: 0;
  }

  .navbar-ct .nav-item.dropdown > .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }

  /* Full-width Nav Tray (Apple-style dropdown block) */
  .navbar-ct .container,
  .navbar-ct .navbar-collapse,
  .navbar-ct .navbar-nav,
  .navbar-ct .nav-item.has-nav-tray {
    position: static;
  }

  .navbar-ct .dropdown-menu.nav-tray {
    position: absolute;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 0 0 20px 20px !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(32px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(190%) !important;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08) !important;
    padding: 2.75rem 0 3.25rem !important;
    margin: 0 !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.32s ease !important;
    pointer-events: none;
    z-index: 1020;
  }

  /* Active or Hover State for Nav Tray */
  .navbar-ct .nav-item.has-nav-tray.is-active > .dropdown-menu.nav-tray,
  .navbar-ct .nav-item.has-nav-tray:hover > .dropdown-menu.nav-tray {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) !important;
    pointer-events: auto;
  }

  .navbar-ct .nav-item.has-nav-tray.is-active > .nav-link,
  .navbar-ct .nav-item.has-nav-tray:hover > .nav-link {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.05) !important;
  }

  .navbar-ct .dropdown-menu.nav-tray::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
  }

  /* Smooth subtle glide on links when tray opens */
  .navbar-ct .dropdown-menu.nav-tray .nav-tray-col {
    opacity: 0.2;
    transform: translateY(-4px);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .navbar-ct .nav-item.has-nav-tray.is-active > .dropdown-menu.nav-tray .nav-tray-col,
  .navbar-ct .nav-item.has-nav-tray:hover > .dropdown-menu.nav-tray .nav-tray-col {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-tray-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #86868b;
    margin-bottom: 0.85rem;
    display: block;
    text-transform: uppercase;
  }

  .nav-tray-link-lg {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    display: block;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    transition: color 0.15s ease, transform 0.15s ease;
  }

  .nav-tray-link-lg:hover {
    color: var(--ct-primary);
    transform: translateX(2px);
  }

  .nav-tray-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-tray-links li {
    margin-bottom: 0.45rem;
  }

  .nav-tray-links a {
    font-size: 0.84rem;
    font-weight: 400;
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-block;
    line-height: 1.45;
  }

  .nav-tray-links a:hover {
    color: var(--ct-primary);
  }
}

/* ===================================================
   APPLE-STYLE FULL-SCREEN BACKDROP BLUR
   =================================================== */
.nav-backdrop {
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
  pointer-events: none;
  z-index: 1010;
}

@media (min-width: 992px) {
  .navbar-ct:has(.has-nav-tray:hover) + .nav-backdrop,
  body.nav-tray-active .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* ===================================================
   SEARCH OVERLAY
   =================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.9);
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-inner {
  width: 100%;
  max-width: 620px;
  transform: translateY(-20px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.search-overlay input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ct-primary);
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  padding: 0.5rem 0;
  caret-color: var(--ct-primary);
}

.search-overlay input::placeholder { color: rgba(255,255,255,0.45); }
.search-hint { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin-top: 0.6rem; }

.search-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: var(--ct-transition);
}

.search-close:hover { color: var(--ct-primary); transform: rotate(90deg); }

/* ===================================================
   BREADCRUMB
   =================================================== */
.breadcrumb-wrap,
.breadcrumb-bar {
  background: var(--ct-bg);
  border-bottom: 1px solid var(--ct-border);
  padding: 0.65rem 0;
  font-size: 0.83rem;
}

.breadcrumb-wrap .breadcrumb,
.breadcrumb-bar .breadcrumb { margin: 0; }
.breadcrumb-item a { color: var(--ct-muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--ct-primary); }
.breadcrumb-item.active { color: var(--ct-text); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--ct-muted); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn-ct {
  background: var(--ct-primary);
  color: #fff;
  border: 1.5px solid var(--ct-primary);
  border-radius: var(--ct-radius-sm);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: var(--ct-transition);
  padding: 0.55rem 1.4rem;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(216, 27, 96, 0.22);
}

.btn-ct:hover {
  background: var(--ct-primary-dark);
  border-color: var(--ct-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--ct-shadow-pink);
}

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

.btn-ct-outline {
  background: #fff;
  color: var(--ct-text-secondary);
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: var(--ct-transition);
  padding: 0.55rem 1.4rem;
  line-height: 1.4;
}

.btn-ct-outline:hover {
  background: var(--ct-primary-soft);
  border-color: var(--ct-primary);
  color: var(--ct-primary);
  transform: translateY(-1px);
}

.btn-ct-sm { padding: 0.35rem 0.95rem; font-size: 0.84rem; }

/* Add to Cart — success feedback state (set via JS for 1.5 s) */
.btn-added,
.btn-added:disabled {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
  opacity: 1 !important;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}

/* ===================================================
   CONDITION / STATUS BADGES
   =================================================== */
.badge-available    { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; font-weight: 600; }
.badge-refurbished  { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; font-weight: 600; }
.badge-preowned     { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; font-weight: 600; }
.badge-outofstock   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; font-weight: 600; }

.badge-ct {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.7em;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ===================================================
   PRODUCT CARDS
   =================================================== */
.product-card {
  border: 1px solid var(--ct-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.product-card:hover {
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
  border-color: #94a3b8;
}

.product-card .card-img-wrap {
  position: relative;
  background: var(--ct-bg);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  border-bottom: 1px solid var(--ct-border-light);
}

.product-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card .card-img-wrap .badge-ct {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.product-card .card-body {
  padding: 0.95rem 1rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  min-height: 2.8em;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--ct-text);
}

.product-price {
  color: var(--ct-text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-top: auto;
  margin-bottom: 0.6rem;
}

.product-card .card-footer {
  background: #fff;
  border-top: 1px solid var(--ct-border-light);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.45rem;
  margin-top: auto;
}

/* ===================================================
   CATEGORY CARDS
   =================================================== */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  border-radius: var(--ct-radius);
  background: #fff;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  text-align: center;
  border: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow-xs);
}

.category-card:hover {
  background: #fff;
  border-color: var(--ct-primary);
  transform: translateY(-3px);
  box-shadow: var(--ct-shadow-md);
}

.category-card .cat-img-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  overflow: hidden;
  transition: var(--ct-transition);
}

.category-card:hover .cat-img-wrap {
  background: var(--ct-primary-soft);
  border-color: rgba(216, 27, 96, 0.25);
  transform: scale(1.06);
}

.category-card .cat-img-wrap img { width: 44px; height: 44px; object-fit: contain; }
.category-card .cat-icon { font-size: 1.85rem; color: var(--ct-text-secondary); transition: var(--ct-transition); }
.category-card:hover .cat-icon { color: var(--ct-primary); }

.category-card .cat-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ct-text);
  transition: var(--ct-transition);
  margin-bottom: 0.2rem;
}

.category-card .cat-count {
  font-size: 0.78rem;
  color: var(--ct-muted);
  transition: var(--ct-transition);
}

.category-card:hover .cat-count { color: var(--ct-primary); }

/* ===================================================
   SECTION HEADINGS
   =================================================== */
.section-header { margin-bottom: 2rem; }
.section-label,
.section-header .section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ct-primary);
  margin-bottom: 0.35rem;
}
.section-header .section-title {
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--ct-text);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.section-header .section-subtitle { color: var(--ct-muted); margin-top: 0.4rem; font-size: 0.92rem; }

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
  background: radial-gradient(ellipse at 85% 15%, #fdf2f8 0%, #ffffff 55%);
  border-bottom: 1px solid var(--ct-border);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ct-text);
}

.hero-section h1 .highlight { color: var(--ct-primary); }

.hero-section p.lead {
  font-size: 1.05rem;
  color: var(--ct-text-secondary);
  max-width: 500px;
  line-height: 1.65;
}

.hero-img-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.05);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-img-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px -12px rgba(15, 23, 42, 0.14);
}

.hero-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.12));
  transition: transform 0.35s ease;
}

.hero-img-frame:hover .hero-product-img {
  transform: scale(1.03);
}

.hero-img-caption {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ct-text-secondary);
  letter-spacing: 0.01em;
}

/* Live availability pulsating dot */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Hero hardware diagnostic wrapper & floating HUD chips */
.hero-device-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hud-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--ct-border);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ct-text);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.hero-device-wrapper:hover .hud-chip {
  transform: translateY(-2px);
}

.hud-top-left {
  top: -10px;
  left: -15px;
}

.hud-bottom-left {
  bottom: 25px;
  left: -20px;
}

.hud-bottom-right {
  bottom: 30px;
  right: -15px;
}

@media (max-width: 991.98px) {
  .hud-chip {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
  .hud-top-left { top: -5px; left: 0; }
  .hud-bottom-left { bottom: 15px; left: 0; }
  .hud-bottom-right { bottom: 15px; right: 0; }
}

/* Hardware grade proof pill */
.badge-grade {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--ct-border);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ct-text-secondary);
  box-shadow: var(--ct-shadow-xs);
}

/* Diagnostic checklist strip */
.diagnostic-strip {
  background: #ffffff;
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
  padding: 1.25rem 0;
}

.diagnostic-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--ct-radius-sm);
  background: #fff;
  transition: var(--ct-transition);
}

.diagnostic-item .diag-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--ct-primary);
  flex-shrink: 0;
}

.diagnostic-item .diag-info {
  display: flex;
  flex-direction: column;
}

.diagnostic-item .diag-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ct-text);
  line-height: 1.25;
}

.diagnostic-item .diag-spec {
  font-size: 0.76rem;
  color: var(--ct-muted);
  line-height: 1.2;
}

.diagnostic-item .diag-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Product Card Spec Pills */
.product-spec-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.spec-chip {
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ct-text-secondary);
  line-height: 1.2;
}

/* CTA Quick Filter Pills */
.quick-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--ct-transition);
  display: inline-flex;
  align-items: center;
}

.quick-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Tactile button micro-depression */
.btn-ct:active,
.btn-ct-outline:active,
.btn-cta-light:active,
.quick-pill:active,
.tier-pill-btn:active {
  transform: translateY(1px) scale(0.99) !important;
}

/* ===================================================
   AMBIENT CURSOR SPOTLIGHT (Awwwards-grade light tracking)
   =================================================== */
.spotlight-card,
.product-card {
  position: relative;
}

.spotlight-card::before,
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    480px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(37, 99, 235, 0.08),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before,
.product-card:hover::before {
  opacity: 1;
}


/* ===================================================
   FILTER SIDEBAR
   =================================================== */
.filter-sidebar { font-size: 0.9rem; }

.filter-sidebar .filter-group {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ct-border);
}

.filter-sidebar .filter-group:last-child { border-bottom: none; }

.filter-sidebar .filter-title {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ct-text);
  margin-bottom: 0.75rem;
}

.filter-sidebar .form-check-label { cursor: pointer; }

.color-swatch {
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--ct-border);
  vertical-align: middle;
  margin-right: 0.35rem;
}

/* ===================================================
   ORDER STEPPER (Track Order)
   =================================================== */
.order-stepper {
  display: flex;
  position: relative;
  padding-top: 4px;
  padding-bottom: 0.5rem;
}

/* connecting line */
.order-stepper::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--ct-border);
  z-index: 0;
}

.order-stepper .step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 4px;
}

.step-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 3px solid var(--ct-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--ct-muted);
  margin-bottom: 0.6rem;
  transition: var(--ct-transition);
  font-weight: 700;
  flex-shrink: 0;
}

.step.completed .step-circle {
  background: var(--ct-primary);
  border-color: var(--ct-primary);
  color: #fff;
}

.step.active .step-circle {
  border-color: var(--ct-primary);
  color: var(--ct-primary);
  box-shadow: 0 0 0 5px var(--ct-primary-light);
}

.step-label {
  font-size: 0.75rem;
  text-align: center;
  color: var(--ct-muted);
  max-width: 110px;
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.step.completed .step-label,
.step.active .step-label { color: var(--ct-primary); font-weight: 600; }

/* stepper fill line */
.order-stepper .step-fill {
  position: absolute;
  top: 22px;
  left: 12.5%;
  height: 3px;
  background: var(--ct-primary);
  z-index: 0;
  transition: width 0.5s ease;
  max-width: 75%;
}

/* ===================================================
   ADMIN SIDEBAR
   =================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--ct-bg);
}

.admin-sidebar {
  width: 250px;
  background: #ffffff;
  border-right: 1px solid var(--ct-border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1050;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-sidebar .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--ct-border-light);
  text-decoration: none;
}

.admin-sidebar .brand-name {
  color: var(--ct-text);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.admin-sidebar .sidebar-section-label {
  color: var(--ct-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.15rem 1.25rem 0.35rem;
  font-weight: 600;
}

.admin-sidebar .nav-link {
  color: #475569;
  padding: 0.55rem 0.85rem;
  margin: 0.15rem 0.75rem;
  border-radius: var(--ct-radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  transition: var(--ct-transition);
  text-decoration: none;
}

.admin-sidebar .nav-link i {
  font-size: 1.05rem;
  width: 1.2rem;
  color: #64748b;
  transition: var(--ct-transition);
}

.admin-sidebar .nav-link:hover {
  color: var(--ct-text);
  background: #f1f5f9;
}

.admin-sidebar .nav-link:hover i {
  color: var(--ct-text);
}

.admin-sidebar .nav-link.active {
  color: var(--ct-primary);
  background: var(--ct-primary-soft);
  border-color: rgba(216, 27, 96, 0.18);
  font-weight: 600;
}

.admin-sidebar .nav-link.active i {
  color: var(--ct-primary);
}

.admin-content {
  margin-left: 250px;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  background: var(--ct-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.admin-topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ct-border);
  padding: 0.55rem 1.75rem;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.admin-topbar h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  color: var(--ct-text);
}

.admin-main {
  padding: 1.75rem 2rem;
  flex: 1;
}

.stat-card {
  background: #fff;
  border-radius: var(--ct-radius);
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--ct-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--ct-shadow-xs);
  transition: var(--ct-transition);
}

.stat-card:hover {
  box-shadow: var(--ct-shadow);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--ct-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: #f1f5f9;
  color: var(--ct-text-secondary);
  border: 1px solid var(--ct-border);
}

.stat-icon.pink-soft,
.stat-icon.stat-primary {
  background: var(--ct-primary-soft);
  color: var(--ct-primary);
  border-color: rgba(216, 27, 96, 0.2);
}

.stat-icon.blue-soft,
.stat-icon.stat-info {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

.stat-icon.green-soft,
.stat-icon.stat-success {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.stat-icon.yellow-soft,
.stat-icon.stat-warning {
  background: #fefce8;
  color: #ca8a04;
  border-color: #fef08a;
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ct-text);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ct-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* ===================================================
   TOAST NOTIFICATION
   =================================================== */
.toast-ct {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a2e;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.toast-ct.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-ct.toast-success { background: var(--ct-primary-dark); }
.toast-ct.toast-error   { background: #9b1c1c; }
.toast-ct.toast-info    { background: var(--ct-primary); }

/* ===================================================
   BACK TO TOP
   =================================================== */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ct-primary);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(233,30,140,0.35);
  z-index: 998;
  transition: var(--ct-transition);
  cursor: pointer;
}

#backToTop.visible { display: flex; }
#backToTop:hover   { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(233,30,140,0.45); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
  padding: 4rem 0 3.5rem;
  font-size: 0.9rem;
}

.site-footer .footer-brand-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-footer p {
  line-height: 1.65;
  color: #94a3b8;
}

.site-footer .footer-heading {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}

.site-footer .footer-links a {
  color: #94a3b8;
  text-decoration: none;
  display: block;
  padding: 0.22rem 0;
  font-size: 0.88rem;
  transition: var(--ct-transition);
}

.site-footer .footer-links a:hover {
  color: #ffffff;
  padding-left: 0.3rem;
}

.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  transition: var(--ct-transition);
  font-size: 0.95rem;
}

.site-footer .social-links a:hover {
  background: var(--ct-primary);
  border-color: var(--ct-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-edu-note {
  font-size: 0.72rem;
  color: #64748b;
  opacity: 0.8;
  letter-spacing: -0.01em;
}

.footer-meta-note {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ===================================================
   FORMS
   =================================================== */
.form-control:focus, .form-select:focus {
  border-color: var(--ct-primary);
  box-shadow: 0 0 0 0.2rem rgba(233,30,140,0.15);
}

.form-check-input:checked {
  background-color: var(--ct-primary);
  border-color: var(--ct-primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(233,30,140,0.2);
}

/* ===================================================
   RESPONSIVE TWEAKS
   =================================================== */
@media (max-width: 991.98px) {
  .admin-layout {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }
  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 35px rgba(0,0,0,0.55);
  }
  .admin-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
  .admin-topbar {
    top: 0;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .navbar-ct .navbar-collapse {
    border-top: 1px solid var(--ct-border);
    padding: 0.75rem 0;
    margin-top: 0.5rem;
  }
  .nav-icons { margin-top: 0.75rem; }

  /* Mobile Dropdown Accordion */
  .navbar-ct .dropdown-menu {
    display: none;
    background: #f8fafc;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 0.4rem;
    margin: 0.35rem 0 0.5rem;
    box-shadow: none;
    min-width: 100%;
  }
  .navbar-ct .dropdown-menu.show {
    display: block;
  }
  .navbar-ct .dropdown-item {
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
  }

  .navbar-ct .dropdown-menu.nav-tray {
    padding: 0.4rem !important;
  }
  .navbar-ct .dropdown-menu.nav-tray .container {
    padding: 0 !important;
  }
  .navbar-ct .nav-tray-label {
    display: none;
  }
  .navbar-ct .nav-tray-link-lg {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ct-text);
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    display: block;
    margin-bottom: 0.15rem;
    text-decoration: none;
  }
  .navbar-ct .nav-tray-link-lg:hover {
    background: rgba(0, 0, 0, 0.04);
  }
  .nav-backdrop {
    display: none !important;
  }

  /* Disable sticky positioning on tablet and mobile screens (< 992px) */
  .filter-card,
  .summary-card,
  .checkout-summary-card,
  .product-gallery {
    position: static !important;
    top: auto;
  }
}

@media (max-width: 767.98px) {
  .admin-main {
    padding: 1rem 0.75rem;
  }

  /* Compact responsive stat-cards on mobile */
  .stat-card {
    padding: 0.75rem 0.65rem;
    gap: 0.55rem;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  .stat-value {
    font-size: 1.25rem;
    line-height: 1.1;
  }
  .stat-label {
    font-size: 0.7rem;
    line-height: 1.2;
    word-break: break-word;
  }

  /* Admin table & card responsiveness */
  .admin-content .card-header.px-4,
  .admin-content .card-body.px-4,
  .admin-content .card.px-4,
  .admin-content .card.p-4 {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .admin-content .card.p-4 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  .admin-content .table th.ps-4,
  .admin-content .table td.ps-4 {
    padding-left: 0.75rem !important;
  }
  .admin-content .table th.pe-4,
  .admin-content .table td.pe-4 {
    padding-right: 0.75rem !important;
  }
  .admin-content .table .td-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .low-stock-name {
    font-size: 0.82rem;
    word-break: break-word;
  }
  .low-stock-icon {
    width: 36px;
    height: 36px;
  }
  .low-stock-icon i {
    font-size: 1rem;
  }

  .hero-section { padding: 3rem 0; }
  .hero-img-frame { max-width: 300px; }
  .category-card { padding: 1.25rem 0.75rem; }
  .order-stepper .step-label { font-size: 0.7rem; max-width: 85px; word-wrap: break-word; overflow-wrap: break-word; }
}

@media (max-width: 575.98px) {
  .admin-topbar {
    padding: 0.65rem 0.75rem;
  }
  .admin-topbar h5 {
    font-size: 0.95rem;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .admin-user-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .stat-card {
    padding: 0.65rem 0.5rem;
    gap: 0.45rem;
  }
  .stat-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .stat-value {
    font-size: 1.15rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }

  .section-header .section-title { font-size: 1.35rem; }
}


/* ===================================================
   HOME PAGE — Feature Strip (Certification Bar)
   =================================================== */
.feature-strip {
  background: #ffffff;
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
  padding: 1.25rem 0;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ct-text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--ct-radius-sm);
  transition: var(--ct-transition);
}

.feature-strip-item i {
  font-size: 1.4rem;
  color: var(--ct-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--ct-radius-sm);
  background: var(--ct-primary-soft);
}

.feature-strip-item .strip-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.feature-strip-item .strip-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ct-text);
  line-height: 1.25;
}

.feature-strip-item .strip-desc {
  font-size: 0.76rem;
  color: var(--ct-muted);
  line-height: 1.2;
}

/* ===================================================
   HOME PAGE — Hero micro-label
   =================================================== */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f1f5f9;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ct-text-secondary);
  margin-bottom: 1rem;
}

.hero-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

/* ===================================================
   HOME PAGE — Feature / Why-Choose-Us cards
   =================================================== */
.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--ct-primary);
  margin: 0 auto 1.2rem;
  transition: var(--ct-transition);
  flex-shrink: 0;
}

.feature-card {
  padding: 2.25rem 1.5rem;
  border-radius: var(--ct-radius);
  text-align: center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  border: 1px solid var(--ct-border);
  background: #fff;
  height: 100%;
  box-shadow: var(--ct-shadow-xs);
}

.feature-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: var(--ct-shadow-md);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--ct-primary-soft);
  border-color: rgba(216, 27, 96, 0.25);
  transform: scale(1.06);
}

.feature-card h3,
.feature-card h5,
.feature-card .feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--ct-text); }

/* ===================================================
   HOME PAGE — Section divider
   =================================================== */
.section-divider { border-top: 1px solid var(--ct-border); margin: 0; }

/* ===================================================
   HOME PAGE — Testimonial cards
   =================================================== */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 1.6rem;
  transition: var(--ct-transition);
  height: 100%;
  box-shadow: var(--ct-shadow-xs);
}

.testimonial-card:hover {
  box-shadow: var(--ct-shadow-md);
  border-color: #cbd5e1;
}
.testimonial-card .stars { color: #f59e0b; font-size: 0.9rem; }

/* ===================================================
   HOME PAGE — CTA Banner section
   =================================================== */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid #1e293b;
  padding: 5rem 0;
  color: #fff;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.btn-cta-light {
  background: var(--ct-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--ct-radius-sm);
  padding: 0.65rem 2rem;
  border: 1.5px solid var(--ct-primary);
  transition: var(--ct-transition);
  box-shadow: 0 4px 14px rgba(216, 27, 96, 0.3);
}

.btn-cta-light:hover {
  background: var(--ct-primary-dark);
  border-color: var(--ct-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-cta-outline-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--ct-radius-sm);
  padding: 0.65rem 2rem;
  transition: var(--ct-transition);
}

.btn-cta-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

/* ===================================================
   SHARED — Avatar initials circle
   =================================================== */
.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ct-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ct-primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-name  { font-size: 0.88rem; font-weight: 600; }
.testimonial-place { font-size: 0.75rem; }

/* ===================================================
   ADMIN — Table & Cards Styling
   =================================================== */
.admin-th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ct-muted);
}

.admin-layout .table thead th {
  background: #f8fafc;
  color: #64748b;
  border-bottom: 1px solid var(--ct-border);
  padding: 0.75rem 1rem;
}

.admin-layout .table tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ct-border-light);
  font-size: 0.875rem;
  vertical-align: middle;
}

.admin-layout .table tbody tr:hover td {
  background-color: #f8fafc;
}

/* Standardize card corner radiuses in admin area to var(--ct-radius) */
.admin-card,
.admin-layout .card,
.admin-content .card,
.admin-main .card,
.stat-card,
.quick-action-card,
.order-count-card {
  border-radius: var(--ct-radius);
  border: 1px solid var(--ct-border);
  box-shadow: var(--ct-shadow-xs);
}

.admin-layout .card-header:first-child,
.admin-content .card-header:first-child,
.admin-main .card-header:first-child {
  border-top-left-radius: var(--ct-radius);
  border-top-right-radius: var(--ct-radius);
  border-bottom: 1px solid var(--ct-border-light);
}

.admin-layout .card-footer:last-child,
.admin-content .card-footer:last-child,
.admin-main .card-footer:last-child {
  border-bottom-left-radius: var(--ct-radius);
  border-bottom-right-radius: var(--ct-radius);
  border-top: 1px solid var(--ct-border-light);
}

.admin-card {
  background: #fff;
  border: 1px solid var(--ct-border);
}

.admin-card .card-body { padding: 1.25rem 1.5rem; }

/* Action buttons in admin area */
.admin-layout .btn-primary,
.admin-content .btn-primary,
.admin-main .btn-primary {
  background-color: var(--ct-primary);
  border-color: var(--ct-primary);
  color: #fff;
}

.admin-layout .btn-primary:hover,
.admin-content .btn-primary:hover,
.admin-main .btn-primary:hover {
  background-color: var(--ct-primary-dark);
  border-color: var(--ct-primary-dark);
  color: #fff;
}

.admin-layout .btn-outline-primary,
.admin-content .btn-outline-primary,
.admin-main .btn-outline-primary {
  color: var(--ct-primary);
  border-color: var(--ct-primary);
  background-color: transparent;
}

.admin-layout .btn-outline-primary:hover,
.admin-content .btn-outline-primary:hover,
.admin-main .btn-outline-primary:hover {
  background-color: var(--ct-primary);
  border-color: var(--ct-primary);
  color: #fff;
}

.order-count-card {
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  box-shadow: var(--ct-shadow-xs);
  text-align: center;
  padding: 0.85rem 0.65rem;
  transition: var(--ct-transition);
}
.order-count-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--ct-shadow);
}

.stat-count-sm   { font-size: 1.4rem; font-weight: 800; color: var(--ct-text); line-height: 1.1; }
.stat-label-sm   { font-size: 0.72rem; color: var(--ct-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; }

.qa-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--ct-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  border: 1px solid var(--ct-border);
}

.qa-icon-wrap.pink {
  background: var(--ct-primary-soft);
  color: var(--ct-primary);
  border-color: rgba(216, 27, 96, 0.2);
}

.qa-icon-wrap.green {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
}

.qa-icon-wrap.blue {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

/* ===================================================
   ADMIN — Sidebar overlay + states
   =================================================== */
#sidebarOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1040;
  display: none;
  cursor: pointer;
}

#sidebarOverlay.active { display: block; }

.sidebar-logout   { color: #f87171 !important; }
.sidebar-disabled { opacity: 0.4; pointer-events: none; }

/* ===================================================
   ADMIN — Topbar user avatar
   =================================================== */
.admin-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ct-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.admin-username { font-size: 0.88rem; font-weight: 600; }

/* ===================================================
   ADMIN — Profile dropdown
   =================================================== */
.admin-profile-btn {
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  border-radius: var(--ct-radius-sm);
  padding: 0.25rem 0.4rem !important;
  transition: background var(--ct-transition);
}
.admin-profile-btn:hover,
.admin-profile-btn:focus {
  background: rgba(0,0,0,0.05);
  box-shadow: none;
}

.admin-chevron {
  font-size: 0.7rem;
  color: #6c757d;
  transition: transform 0.2s;
}
.admin-profile-btn[aria-expanded="true"] .admin-chevron {
  transform: rotate(180deg);
}

.admin-profile-menu {
  min-width: 220px;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 0.25rem 0;
}

.admin-profile-header {
  background: #f8f9fa;
  border-radius: var(--ct-radius) var(--ct-radius) 0 0;
}

.admin-profile-name { font-size: 0.9rem; }
.admin-profile-role { font-size: 0.75rem; }

.admin-profile-menu .dropdown-item {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}
.admin-profile-menu .dropdown-item:hover {
  background: var(--ct-primary-soft);
  color: var(--ct-primary);
}
.admin-profile-menu .dropdown-item.text-danger:hover {
  background: #fff5f5;
  color: #dc3545;
}

/* ===================================================
   ADMIN — Product images in tables / modals
   =================================================== */
.product-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--ct-radius-sm);
  object-fit: cover;
}

.product-thumb-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.img-preview {
  width: 60px;
  height: 60px;
  border-radius: var(--ct-radius-sm);
  object-fit: cover;
}

/* ===================================================
   CART BADGE — hidden initially; JS shows when count > 0
   =================================================== */
.cart-badge { display: none; }

/* ===================================================
   MISC
   =================================================== */
.text-xs  { font-size: 0.76rem; }
.text-sm  { font-size: 0.85rem; }
.lh-tight { line-height: 1.3; }

/* ===================================================
   UTILITIES
   =================================================== */
.text-ct   { color: var(--ct-primary) !important; }
.bg-ct     { background-color: var(--ct-primary) !important; }
.bg-ct-soft{ background-color: var(--ct-bg) !important; }
.bg-ct-light { background-color: var(--ct-primary-light) !important; }

.rounded-ct    { border-radius: var(--ct-radius) !important; }
.rounded-ct-lg { border-radius: var(--ct-radius-lg) !important; }

.fw-800 { font-weight: 800 !important; }
.fw-700 { font-weight: 700 !important; }

/* Page transition shimmer skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--ct-radius-sm);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===================================================
   PAGE HEADER (Shared across subpages)
   =================================================== */
.page-header,
.page-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--ct-border);
}

.page-header h1,
.page-hero h1 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ct-text);
  margin: 0;
  line-height: 1.25;
}

.page-header .page-subtitle,
.page-header p,
.page-hero .page-subtitle,
.page-hero p {
  color: var(--ct-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.catalog-result-count { font-size: 0.88rem; color: var(--ct-muted); margin: 0; }

/* ===================================================
   CATALOG MODERNIZATION (Apple-grade subtle elegance)
   =================================================== */
.catalog-hero {
  background: #ffffff;
}

.catalog-hero-title {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  color: var(--ct-text);
}

.catalog-hero-sub {
  font-size: 0.88rem;
  color: var(--ct-muted);
}

/* Horizontal Category Navigation Bar */
.catalog-category-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1010;
}

.catalog-category-bar.sticky-top {
  top: 44px !important;
}

.category-pills-scroller {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 28px), transparent 100%);
}
.category-pills-scroller::-webkit-scrollbar {
  display: none;
}

.category-pill {
  border: 1px solid var(--ct-border);
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  font-size: 0.84rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.category-pill.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.category-pill .pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  line-height: 1;
}

.category-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Toolbar */
.catalog-toolbar-wrap {
  background: #f8fafc;
  border-bottom: 1px solid var(--ct-border);
}

.condition-pill-group {
  background: rgba(0, 0, 0, 0.05);
  padding: 2px;
  border-radius: 999px;
  display: inline-flex;
}

.btn-condition-pill {
  border: none !important;
  background: transparent;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.85rem;
  border-radius: 999px !important;
  transition: all 0.16s ease;
}

.btn-condition-pill:hover {
  color: #0f172a;
}

.btn-condition-pill.active {
  background: #ffffff !important;
  color: #0f172a !important;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.catalog-search-pill {
  position: relative;
  min-width: 220px;
}

.catalog-search-pill .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.82rem;
  pointer-events: none;
}

.catalog-search-pill input {
  padding-left: 2rem;
  padding-right: 0.75rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  background: #ffffff;
  transition: all 0.2s ease;
}

.catalog-search-pill input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
  outline: none;
}

.sort-pill-select {
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  background-color: #ffffff;
  cursor: pointer;
  padding: 0.28rem 1.8rem 0.28rem 0.75rem;
}

.sort-pill-select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

/* Active tags */
.active-filters-wrap {
  font-size: 0.82rem;
}

.filter-card {
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-height, 66px) + 1.25rem);
  box-shadow: var(--ct-shadow-xs);
}

.filter-title-bar { font-weight: 800; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ct-text); margin-bottom: 1rem; padding-bottom: 0.65rem; border-bottom: 2px solid var(--ct-border); display: flex; align-items: center; justify-content: space-between; }
.filter-title-bar a { font-size: 0.75rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ct-muted); text-decoration: none; }
.filter-title-bar a:hover { color: var(--ct-primary); }

.filter-group-label { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ct-text); margin-bottom: 0.6rem; }
.filter-group { margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--ct-border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-check .form-check { margin-bottom: 0.3rem; }
.filter-check .form-check-label { font-size: 0.87rem; cursor: pointer; }

.color-option { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.35rem; cursor: pointer; }
.color-dot    { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.12); display: inline-block; flex-shrink: 0; }
.color-label  { font-size: 0.87rem; }
.filter-colors-wrap { max-height: 220px; overflow-y: auto; padding-right: 4px; }
.filter-colors-wrap::-webkit-scrollbar { width: 4px; }
.filter-colors-wrap::-webkit-scrollbar-thumb { background: var(--ct-border); border-radius: 4px; }
.filter-count { font-size: 0.78rem; font-weight: 500; }

.price-inputs { display: flex; align-items: center; gap: 0.5rem; }
.price-inputs .form-control { font-size: 0.85rem; border-radius: var(--ct-radius-sm); padding: 0.35rem 0.6rem; }
.price-sep    { color: var(--ct-muted); font-size: 0.85rem; flex-shrink: 0; }
.price-symbol { font-size: 0.82rem; color: var(--ct-muted); }

.catalog-search-wrap { position: relative; margin-bottom: 1rem; }
.catalog-search-wrap input { padding-right: 2.4rem; border-radius: var(--ct-radius-sm); font-size: 0.88rem; }
.catalog-search-wrap .search-icon { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--ct-muted); font-size: 0.95rem; pointer-events: none; }

.sort-bar { background: #fff; border: 1.5px solid var(--ct-border); border-radius: var(--ct-radius-sm); padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.sort-label { font-size: 0.85rem; color: var(--ct-muted); white-space: nowrap; }

.page-link { border-radius: var(--ct-radius-sm) !important; color: var(--ct-primary); border-color: var(--ct-border); font-size: 0.88rem; font-weight: 600; padding: 0.45rem 0.8rem; }
.page-link:hover { background: var(--ct-primary-light); border-color: var(--ct-primary); color: var(--ct-primary); }
.page-item.active .page-link   { background: var(--ct-primary); border-color: var(--ct-primary); }
.page-item.disabled .page-link { color: var(--ct-muted); }

@media (max-width: 991.98px) { .filter-col { display: none !important; } }

.offcanvas-filter .offcanvas-header { border-bottom: 1px solid var(--ct-border); }
.offcanvas-filter .offcanvas-title  { font-weight: 800; font-size: 1rem; }
.offcanvas-filter .offcanvas-body   { padding: 1.25rem; }

.active-filters { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.85rem; }
.filter-tag { background: #f1f5f9; color: #0f172a; border: 1px solid #e2e8f0; border-radius: 999px; font-size: 0.75rem; font-weight: 500; padding: 0.2em 0.75em 0.2em 0.65em; display: inline-flex; align-items: center; gap: 0.35rem; }
.filter-tag button { background: none; border: none; padding: 0; color: #64748b; cursor: pointer; font-size: 0.85rem; line-height: 1; opacity: 0.7; }
.filter-tag button:hover { opacity: 1; color: #0f172a; }

.product-desc { font-size: 0.8rem; color: var(--ct-muted); margin-bottom: 0.5rem; line-height: 1.5; }

.empty-state-box {
  background: #fff;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 3rem 1.5rem;
  text-align: center;
  max-width: 520px;
  margin: 1.5rem auto;
}
.empty-state-box .empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--ct-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--ct-primary);
  margin: 0 auto 1.25rem;
}
.empty-state-box h3 {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ct-text);
  margin-bottom: 0.5rem;
}
.empty-state-box p {
  color: var(--ct-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* ===================================================
   CART PAGE
   =================================================== */
.cart-section    { padding: 2.5rem 0 4rem; }
.cart-page-title { font-weight: 800; font-size: 1.6rem; }
.cart-page-title-icon { color: var(--ct-primary); }

.cart-item-card { background: #fff; border: 1px solid var(--ct-border); border-radius: var(--ct-radius); padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: 1.1rem; transition: var(--ct-transition); box-shadow: var(--ct-shadow-xs); }
.cart-item-card:hover { border-color: #cbd5e1; box-shadow: var(--ct-shadow); }
.cart-item-img     { width: 84px; height: 84px; border-radius: var(--ct-radius-sm); object-fit: contain; padding: 6px; background: var(--ct-bg); border: 1px solid var(--ct-border); flex-shrink: 0; }
.cart-item-info    { flex: 1; min-width: 0; }
.cart-item-name    { font-weight: 700; font-size: 0.95rem; color: var(--ct-text); margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-variant { font-size: 0.8rem; color: var(--ct-muted); margin-bottom: 0.35rem; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--ct-border); border-radius: var(--ct-radius-sm); overflow: hidden; user-select: none; background: #fff; }
.qty-stepper button { background: none; border: none; padding: 0.3rem 0.65rem; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ct-text); transition: background 0.15s; }
.qty-stepper button:hover { background: var(--ct-primary-soft); color: var(--ct-primary); }
.qty-stepper .qty-val { min-width: 32px; text-align: center; font-weight: 700; font-size: 0.88rem; border-left: 1px solid var(--ct-border); border-right: 1px solid var(--ct-border); padding: 0.3rem 0; }

.cart-item-price { font-weight: 800; color: var(--ct-text); font-size: 1.05rem; white-space: nowrap; }
.cart-item-unit  { font-size: 0.75rem; color: var(--ct-muted); }
.btn-remove      { background: none; border: none; color: var(--ct-muted); font-size: 1.15rem; cursor: pointer; padding: 0.3rem 0.5rem; border-radius: var(--ct-radius-sm); transition: var(--ct-transition); flex-shrink: 0; }
.btn-remove:hover { color: #dc3545; background: #fee2e2; }

.summary-card  { background: #fff; border: 1px solid var(--ct-border); border-radius: var(--ct-radius); padding: 1.5rem; position: sticky; top: calc(var(--nav-height, 66px) + 1.25rem); box-shadow: var(--ct-shadow-xs); }
.summary-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--ct-border); color: var(--ct-text); }
.summary-title-icon { color: var(--ct-primary); }
.summary-row   { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.7rem; font-size: 0.9rem; }
.summary-row .label      { color: var(--ct-muted); }
.summary-row .value      { font-weight: 600; color: var(--ct-text); }
.summary-row .value-note { font-size: 0.8rem; }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.9rem; margin-top: 0.5rem; border-top: 2px solid var(--ct-border); font-weight: 800; font-size: 1.05rem; }
.summary-total .value { color: var(--ct-primary); font-size: 1.25rem; }
.checkout-btn { font-size: 1rem; }

.shipping-note { background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: var(--ct-radius-sm); padding: 0.65rem 0.85rem; font-size: 0.8rem; color: #9d174d; display: flex; gap: 0.4rem; align-items: flex-start; margin-bottom: 1rem; }
.secure-note   { font-size: 0.75rem; color: var(--ct-muted); text-align: center; margin-top: 0.65rem; }

.empty-cart     { text-align: center; padding: 4rem 1rem; }
.empty-icon     { width: 90px; height: 90px; border-radius: 50%; background: #f1f5f9; border: 1px solid var(--ct-border); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--ct-muted); margin: 0 auto 1.5rem; }
.empty-cart h3  { font-weight: 800; font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--ct-text); }
.continue-link  { font-size: 0.88rem; color: var(--ct-muted); text-decoration: none; font-weight: 600; }
.continue-link:hover { color: var(--ct-primary); }

@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(233,30,140,0.4); } 70% { box-shadow: 0 0 0 10px rgba(233,30,140,0); } 100% { box-shadow: 0 0 0 0 rgba(233,30,140,0); } }
.step.active .step-circle { animation: pulse-ring 1.6s ease-out infinite; }
@media (max-width: 575.98px) { .cart-item-card { flex-wrap: wrap; } .cart-item-img { width: 70px; height: 70px; } }

/* ===================================================
   CHECKOUT PAGE
   =================================================== */
.checkout-section     { padding: 2.5rem 0 4rem; }
.checkout-step-heading { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--ct-primary-light); color: var(--ct-text); }
.checkout-step-num    { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ct-primary); color: #fff; font-size: 0.78rem; font-weight: 700; margin-right: 0.5rem; flex-shrink: 0; }

.radio-card,
.option-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background-color: #fff;
  border: 2px solid var(--ct-border);
  border-radius: var(--ct-radius);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, outline 0.2s ease;
  position: relative;
  outline: none;
}

.radio-card:hover,
.option-card:hover {
  border-color: rgba(233, 30, 140, 0.45);
}

/* Distinct focus ring when navigating via keyboard */
.radio-card:focus-visible,
.radio-card:has(input:focus-visible),
.option-card:focus-visible,
.option-card:has(input:focus-visible) {
  outline: 2px solid var(--ct-primary);
  outline-offset: 2px;
  border-color: var(--ct-primary);
}

/* Selected state: bold primary border and subtle soft-pink tint */
.radio-card.selected,
.radio-card:has(input:checked),
.option-card.selected {
  border-color: var(--ct-primary);
  background-color: var(--ct-primary-soft);
}

.radio-card .form-check-input {
  flex-shrink: 0;
  margin-top: 0.2rem;
  cursor: pointer;
  border-width: 2px;
}

.radio-card .form-check-input:checked {
  background-color: var(--ct-primary);
  border-color: var(--ct-primary);
}

.radio-card .form-check-input:focus-visible {
  outline: none;
}

.radio-icon,
.option-card .option-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ct-primary-light);
  color: var(--ct-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: var(--ct-transition);
}

.radio-card.selected .radio-icon,
.radio-card:has(input:checked) .radio-icon {
  background: var(--ct-primary);
  color: #fff;
}

.radio-label,
.option-card .option-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ct-text);
  margin-bottom: 0.2rem;
}

.radio-sub,
.option-card .option-detail {
  font-size: 0.83rem;
  color: var(--ct-muted);
  line-height: 1.45;
}

/* Smooth expand/collapse for nested delivery address */
.delivery-address-wrapper,
#deliveryAddressFields {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
  margin-top: 0;
  padding-top: 0;
}

.delivery-address-wrapper.open,
.delivery-address-wrapper.show,
#deliveryAddressFields.open,
#deliveryAddressFields.show,
#deliveryAddressFields:not(.d-none) {
  max-height: 600px;
  opacity: 1;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(233, 30, 140, 0.2);
}

/* Payment info boxes */
.payment-info-box,
.payment-instructions {
  display: none;
  background: var(--ct-primary-light);
  border-radius: var(--ct-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.payment-info-box.show,
.payment-instructions.show,
.payment-instructions.visible {
  display: block;
}
.payment-instructions strong { color: var(--ct-primary-dark); }

.checkout-summary-card  { background: #fff; border: 1.5px solid var(--ct-border); border-radius: var(--ct-radius); padding: 1.25rem; position: sticky; top: calc(var(--nav-height, 65px) + 1.25rem); }
.checkout-summary-item  { display: flex; justify-content: space-between; align-items: start; padding: 0.5rem 0; border-bottom: 1px solid var(--ct-border); font-size: 0.88rem; }
.checkout-summary-item:last-of-type { border-bottom: none; }
.checkout-item-name  { font-weight: 600; }
.checkout-item-meta  { font-size: 0.76rem; color: var(--ct-muted); }
.checkout-item-price { font-weight: 700; color: var(--ct-primary); white-space: nowrap; }

.trust-badge   { display: flex; flex-direction: column; align-items: center; font-size: 0.72rem; color: var(--ct-muted); text-align: center; gap: 0.25rem; }
.trust-badge i { font-size: 1.2rem; color: var(--ct-primary); }

/* ===================================================
   TRACK ORDER PAGE
   =================================================== */
.track-search-wrap {
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  padding: 2.5rem 2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.track-form-card { background: #fff; border: 1.5px solid var(--ct-border); border-radius: var(--ct-radius); padding: 2rem; max-width: 560px; margin: 0 auto; }

.track-result         { display: none; }
.track-result.visible { display: block; }

.track-not-found-card {
  background: #fff;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  word-break: break-word;
  overflow-wrap: break-word;
}

.track-not-found-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--ct-primary-light);
  color: var(--ct-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.25rem;
}

.order-result-card,
.order-info-card {
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.result-header,
.order-info-header {
  background: #1a1a2e;
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.result-order-id,
.order-info-id {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  word-break: break-all;
}

.result-product,
.order-info-product {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.25rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.result-meta,
.order-info-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  word-break: break-word;
}

.result-status-badge,
.order-info-badge {
  display: inline-flex;
  align-items: center;
  background: var(--ct-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(233, 30, 140, 0.35);
  white-space: nowrap;
}

.result-body,
.order-info-body {
  padding: 2rem;
  background: #fff;
}

.status-history-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ct-text);
  margin-bottom: 1.25rem;
}

/* Stepper spacing inside result card */
.order-info-card .order-stepper,
.order-result-card .order-stepper {
  margin: 1.25rem 0 2.5rem;
}

/* Status History Timeline */
.status-history {
  position: relative;
  margin-top: 1.5rem;
}

.history-item,
.status-history-item {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.history-item:last-child,
.status-history-item:last-child {
  padding-bottom: 0.5rem;
}

/* Vertical connecting line */
.history-item:not(:last-child)::before,
.status-history-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: var(--ct-border);
}

.history-item.done:not(:last-child)::before,
.status-history-item.done:not(:last-child)::before {
  background: var(--ct-primary);
}

/* Checkpoint Dots */
.history-dot,
.status-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid var(--ct-border);
  color: var(--ct-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  transition: var(--ct-transition);
}

/* Highlighted completed checkpoint */
.history-item.done .history-dot,
.status-history-item.done .status-dot,
.status-dot-done {
  background: var(--ct-primary);
  border-color: var(--ct-primary);
  color: #fff;
}

/* Current / in-progress checkpoint */
.history-item.current .history-dot,
.status-history-item.current .status-dot,
.status-dot-current {
  background: #fff;
  border-color: var(--ct-primary);
  color: var(--ct-primary);
  box-shadow: 0 0 0 4px var(--ct-primary-light);
}

/* Pending milestone */
.status-history-item.pending,
.status-history-item:not(.done):not(.current) {
  opacity: 0.6;
}

.status-history-item.pending .status-dot,
.status-dot-pending {
  background: #f8f9fa;
  border-color: var(--ct-border);
  color: var(--ct-muted);
}

.history-info {
  flex: 1;
  min-width: 0;
  padding-top: 0.2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hist-time,
.status-history-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ct-muted);
  margin-bottom: 0.2rem;
}

.hist-msg,
.status-history-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hist-sub,
.status-history-note {
  font-size: 0.85rem;
  color: var(--ct-muted);
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Help Strip */
.help-strip {
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 1.1rem 1.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.help-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ct-text);
  min-width: 0;
  word-break: break-word;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-section   { padding: 3rem 0 5rem; }
.contact-form-card { background: #fff; border: 1.5px solid var(--ct-border); border-radius: var(--ct-radius); padding: 2rem; }
.contact-info-card {
  background: #fff;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-info-header {
  background: #1a1a2e;
  padding: 1.5rem 1.75rem;
}

.contact-info-body {
  padding: 1.5rem 1.75rem;
}

.contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ct-primary-light);
  color: var(--ct-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item       { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(233,30,140,0.12); font-size: 0.9rem; }
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon       { font-size: 1.1rem; color: var(--ct-primary); flex-shrink: 0; }
.contact-info-label      { font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ct-muted); margin-bottom: 0.15rem; }
.contact-info-value      { font-weight: 500; }

.map-placeholder { background: var(--ct-primary-soft); border: 1.5px dashed rgba(233, 30, 140, 0.25); border-radius: var(--ct-radius); height: 160px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--ct-muted); font-size: 0.85rem; gap: 0.4rem; margin-top: 1rem; }
.map-placeholder i { font-size: 2rem; color: var(--ct-primary); }

/* ===================================================
   APPLE ID DEDICATED MINIMALIST AUTH CANVAS (account.apple.com style)
   =================================================== */
.apple-minimal-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  height: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}
.apple-minimal-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}
.apple-minimal-brand:hover {
  color: #000000;
}
.apple-minimal-title {
  color: #1d1d1f;
}
.apple-minimal-back {
  font-size: 0.82rem;
  color: #0071e3;
  font-weight: 500;
  transition: color 0.15s ease;
}
.apple-minimal-back:hover {
  color: #0077ed;
  text-decoration: underline !important;
}

.apple-auth-viewport {
  min-height: calc(100vh - 48px - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 3rem 1.25rem;
  width: 100%;
}

.apple-auth-container {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.apple-minimal-footer {
  background: #f5f5f7;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  font-size: 0.75rem;
  color: #86868b;
  width: 100%;
}
.apple-minimal-footer-links a {
  color: #515154;
  text-decoration: none;
  transition: color 0.15s ease;
}
.apple-minimal-footer-links a:hover {
  color: #1d1d1f;
  text-decoration: underline;
}
.apple-minimal-footnote {
  color: #86868b;
  font-size: 0.72rem;
}

/* Header Glyph & Typography */
.apple-auth-hero {
  margin-bottom: 0.5rem;
}
.apple-hero-glyph-wrap {
  display: flex;
  justify-content: center;
}
.apple-hero-glyph {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d1d1f 0%, #343438 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.apple-hero-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin-bottom: 0.45rem;
}
.apple-hero-subtitle {
  font-size: 0.95rem;
  color: #6e6e73;
  line-height: 1.45;
  max-width: 360px;
  margin: 0 auto;
}

/* Segmented Pill Switcher (Sign In / Create Account) */
.apple-segmented-container {
  max-width: 330px;
  margin: 0 auto 2.25rem;
}
.apple-segmented-pills {
  background: #f0f0f2;
  border-radius: 9999px;
  padding: 4px;
  display: flex;
  gap: 4px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.apple-segmented-pills .nav-link {
  border: none;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #6e6e73;
  padding: 0.58rem 1.1rem;
  text-align: center;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-segmented-pills .nav-link:hover:not(.active) {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.5);
}
.apple-segmented-pills .nav-link.active {
  background: #ffffff;
  color: #1d1d1f;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Stepped Stage & Smooth Slide Animations */
.apple-auth-stage {
  width: 100%;
}
.apple-auth-stage .tab-pane {
  display: none;
}
.apple-auth-stage .tab-pane.active {
  display: block !important;
  opacity: 1 !important;
}
@keyframes appleFadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.apple-auth-step {
  animation: appleFadeSlideIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes appleShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.apple-shake {
  animation: appleShake 0.35s ease;
}

/* Single Input Box with Circular Action Button */
.apple-step-body {
  width: 100%;
}
.apple-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.apple-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.apple-input-box:focus-within {
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}
.apple-input-box.is-invalid {
  border-color: #ff3b30 !important;
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12) !important;
}
.apple-single-input {
  flex: 1;
  height: 52px;
  border: none;
  background: transparent;
  padding: 0 1.15rem;
  font-size: 1.02rem;
  color: #1d1d1f;
  outline: none;
  min-width: 0;
}
.apple-single-input::placeholder {
  color: #86868b;
  font-size: 0.94rem;
}
.apple-circle-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #d2d2d7;
  background: #ffffff;
  color: #1d1d1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.55rem;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.apple-circle-action-btn:hover {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
  transform: scale(1.05);
}
.apple-circle-action-btn.apple-submit-btn {
  background: var(--ct-primary);
  border-color: var(--ct-primary);
  color: #ffffff;
}
.apple-circle-action-btn.apple-submit-btn:hover {
  background: var(--ct-primary-dark);
  border-color: var(--ct-primary-dark);
  transform: scale(1.05);
}
.apple-eye-btn {
  background: transparent;
  border: none;
  color: #86868b;
  padding: 0 0.5rem;
  font-size: 1.15rem;
  cursor: pointer;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.apple-eye-btn:hover {
  color: #1d1d1f;
}
.apple-field-error {
  display: none;
  font-size: 0.8rem;
  color: #ff3b30;
  margin-top: 0.35rem;
}

/* User Identity Pill (Step 2 of Login) */
.apple-identity-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0f0f2;
  border-radius: 9999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.88rem;
  color: #1d1d1f;
  font-weight: 500;
}
.apple-identity-edit-btn {
  background: transparent;
  border: none;
  color: #86868b;
  font-size: 0.76rem;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.apple-identity-edit-btn:hover {
  color: var(--ct-primary);
}

/* Stepped Progress Dots (Registration) */
.apple-step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.75rem;
}
.apple-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2d2d7;
  transition: all 0.25s ease;
}
.apple-step-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: var(--ct-primary);
}

/* Buttons, Checkbox & Links */
.apple-step-pill-btn {
  height: 44px;
  border-radius: 9999px;
  padding: 0 1.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--ct-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.apple-step-pill-btn:hover {
  background: var(--ct-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.35);
}
.apple-step-pill-btn:active {
  transform: scale(0.98);
}
.apple-back-text-btn {
  color: #6e6e73;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.apple-back-text-btn:hover {
  color: #1d1d1f;
}
.apple-checkbox {
  border-radius: 6px;
  border: 1.5px solid #d2d2d7;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.15em;
  cursor: pointer;
}
.apple-checkbox:checked {
  background-color: var(--ct-primary);
  border-color: var(--ct-primary);
}
.apple-checkbox:focus {
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
  border-color: var(--ct-primary);
}
.apple-check-label {
  font-size: 0.84rem;
  color: #424245;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}
.apple-subtle-link {
  color: var(--ct-primary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.apple-subtle-link:hover {
  text-decoration: underline;
  color: var(--ct-primary-dark);
}
.apple-accent-link {
  color: var(--ct-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.apple-accent-link:hover {
  text-decoration: underline;
  color: var(--ct-primary-dark);
}
.apple-form-help {
  font-size: 0.76rem;
  color: #86868b;
  margin-top: 0.25rem;
}

/* Apple-style Subtle Footnote */
.apple-auth-footnote {
  padding-top: 2rem;
  max-width: 440px;
  margin: 0 auto;
}
.apple-footnote-text {
  font-size: 0.72rem;
  color: #86868b;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.apple-footnote-link {
  color: #6e6e73;
  text-decoration: underline;
  transition: color 0.15s ease;
}
.apple-footnote-link:hover {
  color: #1d1d1f;
}
.apple-footnote-edu {
  font-size: 0.69rem;
  color: #a1a1a6;
  letter-spacing: -0.01em;
}

/* Legacy & Fallback Support */
.auth-wrapper {
  background: #ffffff;
  min-height: calc(100vh - 65px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3.5rem;
}
.auth-card {
  background: transparent;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: 460px;
}
.pass-toggle {
  background: transparent;
  border: none;
}
.forgot-link {
  color: var(--ct-primary);
}


@media (max-width: 576px) {
  .apple-auth-viewport {
    padding: 2rem 1rem 3rem;
    min-height: auto;
  }
  .apple-hero-title {
    font-size: 1.55rem;
  }
  .apple-hero-subtitle {
    font-size: 0.88rem;
  }
  .apple-single-input {
    height: 48px;
    font-size: 0.96rem;
  }
}

/* ===================================================
   ABOUT PAGE
   =================================================== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--ct-primary-light);
  border: 1px solid rgba(233, 30, 140, 0.2);
  color: var(--ct-primary);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-badge i { color: var(--ct-primary); }

.store-feature-card {
  background: #ffffff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  overflow: hidden;
  box-shadow: var(--ct-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.store-feature-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.store-feature-caption {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--ct-border-light);
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  overflow: hidden;
  box-shadow: var(--ct-shadow-xs);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ct-shadow-md);
  border-color: #cbd5e1;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-body {
  padding: 1rem 1.25rem;
  flex: 1;
}

.gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ct-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ct-text);
  margin-bottom: 0.25rem;
}

.gallery-desc {
  font-size: 0.84rem;
  color: var(--ct-text-secondary);
  line-height: 1.45;
  margin-bottom: 0;
}

.mission-box {
  background: var(--ct-primary-soft);
  border-left: 3px solid var(--ct-primary);
  border-radius: 0 var(--ct-radius) var(--ct-radius) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

/* ===================================================
   ADMIN — Quick Action cards
   =================================================== */
.quick-action-card { background: #fff; border: none; border-radius: var(--ct-radius); box-shadow: 0 1px 4px rgba(0,0,0,0.06); text-align: center; padding: 1.5rem; }

.qa-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.qa-icon-wrap.pink   { background: var(--ct-primary-light); }
.qa-icon-wrap.green  { background: #d1fae5; }
.qa-icon-wrap.blue   { background: #dbeafe; }
.qa-icon-wrap.yellow { background: #fef3c7; }

.qa-icon-wrap i { font-size: 1.6rem; }
.qa-icon-wrap.pink   i { color: var(--ct-primary); }
.qa-icon-wrap.green  i { color: #065f46; }
.qa-icon-wrap.blue   i { color: #1d4ed8; }
.qa-icon-wrap.yellow i { color: #92400e; }

.qa-desc { font-size: 0.82rem; }

/* ===================================================
   ADMIN — Low Stock item row
   =================================================== */
.low-stock-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.low-stock-icon.pink   { background: var(--ct-primary-light); }
.low-stock-icon.blue   { background: #dbeafe; }
.low-stock-icon.yellow { background: #fef3c7; }
.low-stock-icon.green  { background: #d1fae5; }

.low-stock-icon i { font-size: 1.1rem; }
.low-stock-icon.pink   i { color: var(--ct-primary); }
.low-stock-icon.blue   i { color: #1d4ed8; }
.low-stock-icon.yellow i { color: #92400e; }
.low-stock-icon.green  i { color: #065f46; }

.low-stock-name { font-size: 0.85rem; font-weight: 600; }
.low-stock-qty  { font-size: 0.76rem; color: var(--ct-muted); }

/* ===================================================
   ADMIN — Table cell text helpers
   =================================================== */
.td-id       { font-size: 0.83rem; font-weight: 600; }
.td-name     { font-size: 0.83rem; }
.td-meta     { font-size: 0.82rem; color: var(--ct-muted); }
.td-price    { font-size: 0.83rem; font-weight: 600; }
.td-sm-badge { font-size: 0.72rem; }

/* Alert icon in admin */
.alert-icon-blue { color: #1d4ed8; }


/* ===================================================
   ADMIN — Status badge colours (static, non-JS)
   =================================================== */
.badge-status-processing { background: #dbeafe; color: #1e3a8a; }
.badge-status-ready      { background: #fde68a; color: #78350f; }
.badge-status-pending    { background: #fef3c7; color: #92400e; }
.badge-status-pickup     { background: #f1f5f9; color: #475569; }
.badge-status-delivery   { background: #e0f2fe; color: #0369a1; }
.badge-status-completed  { background: #d1fae5; color: #065f46; }
.badge-status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ===================================================
   CHECKOUT / TRACK — info panel and helpers
   =================================================== */
.checkout-page-title      { font-size: 1.6rem; font-weight: 800; }
.checkout-page-icon       { color: var(--ct-primary); }
.submit-btn-lg            { font-size: 1.05rem; }
.secure-form-note         { font-size: 0.78rem; color: var(--ct-muted); }
.payment-number           { font-size: 1rem; font-weight: 700; letter-spacing: 1px; }

/* ===================================================
   MODALS & BACKDROP TRANSITIONS
   =================================================== */
.modal.fade {
  transition: opacity 0.25s ease;
}

.modal.fade .modal-dialog {
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(-20px);
  opacity: 0;
}

.modal.show .modal-dialog {
  transform: none;
  opacity: 1;
}

.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.show {
  opacity: 0.5;
}

/* ===================================================
   ORDER CONFIRMATION MODAL
   =================================================== */
.modal-gradient-header {
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-primary-dark));
  color: #fff;
  text-align: center;
}

.modal-check-badge,
.modal-content .track-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: #10b981;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.modal-check-badge i,
.modal-content .track-emoji i {
  font-size: 3rem;
  color: #10b981;
}

.modal-order-id {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ct-primary-dark);
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1.5px dashed var(--ct-primary);
  border-radius: var(--ct-radius-sm);
  background: #fff;
}

.confirm-modal-note {
  color: var(--ct-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.confirm-info-box {
  background: var(--ct-primary-soft);
  border: 1px solid var(--ct-primary-light);
  border-radius: var(--ct-radius);
  padding: 1rem 1.25rem;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--ct-primary-light);
  font-size: 0.92rem;
}

.confirm-row:first-child {
  padding-top: 0;
}

.confirm-row:last-child {
  border-bottom: none;
  border-top: 2px solid var(--ct-primary-light);
  padding-top: 0.85rem;
}

.confirm-row .cl {
  color: var(--ct-muted);
  font-weight: 500;
  flex: 0 0 110px;
}

.confirm-row .fw-600 {
  text-align: right;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.confirm-row:last-child .confirm-total-value,
.confirm-total-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ct-primary-dark);
}

#confirmationModal .alert,
.modal-body .alert:not([class*="alert-"]) {
  background: var(--ct-primary-soft);
  border: none;
  border-left: 4px solid var(--ct-primary);
  color: var(--ct-text);
  border-radius: var(--ct-radius-sm);
  padding: 0.85rem 1rem;
}

#confirmationModal .alert i,
.modal-body .alert:not([class*="alert-"]) i {
  color: var(--ct-primary);
}

@media (max-width: 575.98px) {
  .confirm-row {
    flex-direction: column;
    gap: 0.15rem;
  }
  .confirm-row .cl {
    flex-basis: auto;
  }
  .confirm-row .fw-600 {
    text-align: left;
  }
}

.track-container          { max-width: 820px; }
.track-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ct-primary-light);
  color: var(--ct-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.track-emoji              { font-size: 2.5rem; margin-bottom: 0.5rem; }
.track-info-icon          { font-size: 1.35rem; color: #64748b; margin-bottom: 0.4rem; }
.track-info-label         { font-size: 0.85rem; font-weight: 600; color: #1e293b; }
.track-info-text          { font-size: 0.76rem; color: #64748b; margin-top: 0.2rem; }
.track-info-panel         { background: #f8fafc; border: 1px solid var(--ct-border); border-radius: var(--ct-radius-sm); padding: 0.85rem 1rem; }
.track-action-link        { color: var(--ct-primary); text-decoration: none; font-weight: 600; }
.track-action-link:hover  { text-decoration: underline; }
.hist-msg-note            { color: var(--ct-muted); }
.status-fill-bar          { left: 12.5%; }


/* ===================================================
   PRODUCT DETAIL PAGE
   =================================================== */
.product-gallery { position: sticky; top: calc(var(--nav-height, 65px) + 1.25rem); }

.gallery-main {
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  overflow: hidden;
  background: var(--ct-bg);
  box-shadow: var(--ct-shadow-xs);
}

.gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1.5rem;
  max-height: 460px;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.08));
}

.gallery-thumb {
  background: #fff;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-sm);
  padding: 4px;
  cursor: pointer;
  transition: var(--ct-transition);
  width: 72px;
  height: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }

.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--ct-primary); box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.16); }

/* Color option buttons on product page */
.color-option-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  padding: 0.35rem 0.75rem;
  border: 2px solid var(--ct-border);
  border-radius: 999px;
  transition: var(--ct-transition);
  user-select: none;
}

.color-option-btn:hover    { border-color: var(--ct-primary); }
.color-option-btn.active   { border-color: var(--ct-primary); background: var(--ct-primary-soft); }

/* Storage button active state */
.storage-btn.active { background: var(--ct-primary) !important; color: #fff !important; border-color: var(--ct-primary) !important; }

/* ===================================================
   STANDARDIZED :FOCUS-VISIBLE BEHAVIOR
   =================================================== */
/* Remove generic browser outlines on pointer focus */
.btn:focus,
.btn-ct:focus,
.btn-ct-outline:focus,
.form-control:focus,
.form-select:focus,
.radio-card:focus {
  outline: none;
}

/* Unified custom focus ring across all buttons, inputs, and radio cards */
.btn:focus-visible,
.btn-ct:focus-visible,
.btn-ct-outline:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.radio-card:focus-visible,
.radio-card:has(input:focus-visible) {
  outline: 2px solid var(--ct-primary) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* Ensure buttons with hover transforms do not shift or distort when focused via keyboard navigation */
.btn:focus-visible,
.btn-ct:focus-visible,
.btn:focus-visible:hover,
.btn-ct:focus-visible:hover,
.btn-ct-outline:focus-visible:hover {
  transform: none !important;
}

/* ===================================================
   SHIMMER SKELETON LOADERS
   =================================================== */
@keyframes skeletonPulse {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-box {
  background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: skeletonPulse 1.4s ease infinite;
  border-radius: var(--ct-radius-sm);
}

.skeleton-card {
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius);
  overflow: hidden;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.skeleton-card .skeleton-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
}

.skeleton-card .skeleton-body {
  padding: 0.85rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.skeleton-card .skeleton-line {
  height: 14px;
}

.skeleton-card .skeleton-line.title {
  width: 80%;
  height: 18px;
}

.skeleton-card .skeleton-line.price {
  width: 45%;
  height: 20px;
  margin-top: 0.35rem;
}

.skeleton-card .skeleton-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--ct-border);
}

.skeleton-card .skeleton-btn {
  height: 38px;
  width: 100%;
}

/* ===================================================
   STICKY MOBILE PURCHASE BAR
   =================================================== */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--ct-border);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  z-index: 1025;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.5rem 0;
}

.sticky-mobile-bar.visible {
  transform: translateY(0);
}

.sticky-bar-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--ct-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ct-border);
  flex-shrink: 0;
  background: var(--ct-primary-soft);
}

.sticky-bar-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ct-text);
  max-width: 180px;
}

.sticky-bar-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ct-primary);
  line-height: 1.2;
}

/* ===================================================
   QUALITY ASSURANCE BADGES GRID (PDP)
   =================================================== */
.quality-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 1rem;
}

.quality-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.quality-badge-item i {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.2;
  flex-shrink: 0;
}

.quality-badge-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
}

.quality-badge-item span {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.25;
}

/* ===================================================
   STORE LOCATION CARD
   =================================================== */
.store-location-card {
  background: #fff;
  border: 1.5px solid var(--ct-border);
  border-radius: var(--ct-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ct-shadow);
  transition: var(--ct-transition);
}

.store-location-card:hover {
  border-color: var(--ct-primary);
  box-shadow: var(--ct-shadow-pink);
}

.store-badge-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--ct-radius);
  background: var(--ct-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ct-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ===================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   =================================================== */

/* Tablet & Mobile Screens (< 992px) */
@media (max-width: 991.98px) {
  /* Prevent horizontal viewport overflow on mobile devices */
  html, body {
    overflow-x: clip;
  }

  /* Mobile Quick Navigation Buttons */
  .mobile-nav-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.03);
    text-decoration: none;
    font-size: 1.02rem;
    transition: all 0.15s ease;
    position: relative;
    flex-shrink: 0;
  }

  .mobile-nav-btn:hover,
  .mobile-nav-btn:active {
    color: #000000;
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
  }

  .mobile-nav-btn .cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ct-primary);
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    line-height: 1;
  }

  .navbar-ct .navbar-toggler {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .navbar-ct .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1rem 0.85rem;
    margin-top: 0.5rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  }

  .navbar-ct .nav-link {
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #1d1d1f !important;
    border-radius: 8px;
  }

  .navbar-ct .nav-link:hover,
  .navbar-ct .nav-link.active {
    color: #000000 !important;
    background: rgba(0, 0, 0, 0.04) !important;
  }

  .mobile-nav-user {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.75rem;
    padding-top: 1rem;
  }

  .page-header {
    padding: 1.75rem 0;
  }
}

/* Tablet & Mobile Screens (< 768px) */
@media (max-width: 767.98px) {
  /* Prevent iOS automatic input zoom by ensuring font-size is at least 16px */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select.form-select,
  textarea.form-control {
    font-size: 16px !important;
  }

  /* Responsive Headings */
  h1, .page-header h1 {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-title {
    font-size: 1.35rem;
  }

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

  .hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .hero-section .lead {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .hero-device-wrapper {
    max-width: 250px;
    margin: 1.25rem auto 0;
    padding: 0.75rem 0.25rem;
  }

  .hero-img-frame {
    max-width: 210px;
    margin: 0 auto;
  }

  .hero-img-caption {
    font-size: 0.75rem;
    margin-top: 0.45rem;
  }

  /* Diagnostic Inspection Strip */
  .diagnostic-strip {
    padding: 0.75rem 0;
  }

  .diagnostic-item {
    padding: 0.55rem 0.65rem;
    gap: 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--ct-border);
    background: #ffffff;
  }

  .diagnostic-item .diag-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  .diagnostic-item .diag-title {
    font-size: 0.76rem;
    font-weight: 700;
  }

  .diagnostic-item .diag-spec {
    font-size: 0.65rem;
    color: var(--ct-muted);
  }

  .diagnostic-item .diag-status {
    font-size: 0.62rem;
    font-weight: 600;
    margin-top: 1px;
  }

  /* Product Details (PDP) */
  .product-gallery {
    margin-bottom: 0.5rem;
  }

  .gallery-thumb {
    width: 52px;
    height: 52px;
  }

  .quality-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .quality-badge-item {
    gap: 0.45rem;
  }

  .quality-badge-item i {
    font-size: 1.15rem;
  }

  .quality-badge-item strong {
    font-size: 0.75rem;
  }

  .quality-badge-item span {
    font-size: 0.68rem;
  }

  #productTabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1.5px solid var(--ct-border);
    padding-bottom: 1px;
  }

  #productTabs .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.75rem 0 2rem;
  }

  .footer-heading {
    margin-top: 0.5rem;
    font-size: 0.85rem;
  }

  .footer-links a {
    font-size: 0.82rem;
    padding: 0.2rem 0;
  }
}

/* Small Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
  /* Container Padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Diagnostic strip 2x2 on small mobile */
  .diagnostic-strip .row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
  .diagnostic-strip .col {
    flex: 0 0 auto;
    width: 50%;
  }

  /* HUD Proof Chips */
  .hud-chip {
    font-size: 0.62rem;
    padding: 0.2rem 0.45rem;
  }

  .hud-top-left { top: 0; left: 0; }
  .hud-bottom-left { bottom: 0; left: 0; }
  .hud-bottom-right { bottom: 0; right: 0; }

  /* Product Card in 2-Column Grid */
  .product-card .card-body {
    padding: 0.65rem 0.65rem 0.35rem;
  }

  .product-name {
    font-size: 0.82rem;
    min-height: 2.4em;
    line-height: 1.3;
    margin-bottom: 0.25rem;
  }

  .product-spec-row {
    gap: 0.2rem;
    margin-bottom: 0.35rem;
  }

  .spec-chip {
    font-size: 0.62rem;
    padding: 0.1rem 0.35rem;
  }

  .product-price {
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
  }

  .product-card .card-footer {
    padding: 0.45rem 0.6rem 0.6rem;
    gap: 0.3rem;
  }

  .product-card .card-footer .btn {
    font-size: 0.74rem;
    padding: 0.35rem 0.4rem;
    min-height: 32px;
  }

  .product-card .card-footer .btn i {
    font-size: 0.78rem;
  }

  /* Catalog Sort & Filter Bar */
  .sort-bar {
    padding: 0.5rem 0.75rem;
    gap: 0.4rem;
  }

  .sort-label {
    font-size: 0.76rem;
  }

  .category-card {
    padding: 1rem 0.5rem;
  }

  .cat-icon {
    font-size: 1.75rem;
  }

  .cat-name {
    font-size: 0.82rem;
  }

  .cat-count {
    font-size: 0.68rem;
  }

  /* Cart Items on Mobile */
  .cart-item-card {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .cart-item-img {
    width: 66px;
    height: 66px;
    padding: 4px;
  }

  .cart-item-info {
    flex: 1 1 calc(100% - 110px);
    min-width: 0;
    padding-right: 1.75rem;
  }

  .cart-item-name {
    font-size: 0.88rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    margin-bottom: 0.2rem;
  }

  .cart-item-variant {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .btn-remove-item {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.35rem;
    font-size: 1.1rem;
  }

  .cart-item-card > .text-end {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.55rem;
    margin-top: 0.2rem;
    border-top: 1px dashed var(--ct-border);
    flex-direction: row-reverse;
  }

  .cart-item-price {
    font-size: 1rem;
  }

  .cart-item-unit {
    margin-bottom: 0 !important;
    font-size: 0.75rem;
  }

  .qty-stepper button {
    min-width: 32px;
    min-height: 32px;
    padding: 0.25rem 0.5rem;
  }

  .qty-stepper .qty-val {
    min-width: 28px;
    font-size: 0.85rem;
  }

  .summary-card {
    padding: 1.15rem;
  }

  .summary-title {
    font-size: 0.98rem;
    margin-bottom: 0.95rem;
    padding-bottom: 0.6rem;
  }

  /* Checkout Radio & Options */
  .checkout-section {
    padding: 1.5rem 0 3rem;
  }

  .radio-card {
    padding: 0.85rem 0.95rem;
    gap: 0.75rem;
  }

  .radio-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .radio-label {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .radio-sub {
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .payment-info-box {
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
  }

  .checkout-summary-card {
    padding: 1rem;
  }

  /* Order Tracking */
  .track-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .track-search-wrap {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem !important;
  }

  .order-info-header {
    padding: 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .order-info-header .align-items-end {
    align-items: flex-start !important;
  }

  .order-info-id {
    font-size: 1.15rem;
  }

  .order-info-product {
    font-size: 0.85rem;
  }

  .order-info-body {
    padding: 1.25rem 1rem;
  }

  .order-stepper {
    margin: 0.75rem 0 1.75rem !important;
    padding-top: 2px;
  }

  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
    border-width: 2.5px;
    margin-bottom: 0.35rem;
  }

  .order-stepper::before,
  .order-stepper .step-fill {
    top: 17px;
    left: 12.5%;
  }

  .order-stepper::before {
    right: 12.5%;
  }

  .order-stepper .step-label {
    font-size: 0.65rem;
    max-width: 75px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .history-item,
  .status-history-item {
    gap: 0.85rem;
    padding-bottom: 1.5rem;
  }

  .history-dot,
  .status-dot {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .history-item:not(:last-child)::before,
  .status-history-item:not(:last-child)::before {
    left: 14px;
    top: 30px;
  }

  /* Toast notification on mobile */
  .toast-ct {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
    transform: translateY(20px);
  }

  .toast-ct.show {
    transform: translateY(0);
  }
}

/* ===================================================
   PRINT STYLES FOR ORDER CLAIM SLIP & RECEIPTS
   =================================================== */
@media print {
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
  }
  header, footer, nav, .navbar, .track-header, .track-search-section, #trackInfoCards, .help-strip, .d-print-none, .btn {
    display: none !important;
  }
  .order-info-card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .order-info-header {
    background: #f8f9fa !important;
    border-bottom: 2px solid #333 !important;
  }
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ===================================================
   APPLE-GRADE DESIGN OVERHAUL (HOMEPAGE & GLOBAL TOKENS)
   =================================================== */

/* Gradient text accent (Berry pink highlight) */
.apple-gradient-text {
  background: linear-gradient(135deg, #d81b60 0%, #ff4081 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* ===================================================
   APPLE-GRADE SEAMLESS CINEMA HERO STAGE
   =================================================== */
.apple-hero-video-section {
  position: relative;
  background: #000000;
  color: #f5f5f7;
  padding: 3.25rem 1rem 3.75rem;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.apple-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.22rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: #a1a1a6;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.apple-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
}

.apple-hero-headline {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f5f5f7;
  max-width: 820px;
  margin: 0 auto 0.6rem;
}

.apple-hero-subtitle {
  font-size: clamp(0.94rem, 1.5vw, 1.08rem);
  font-weight: 400;
  color: #86868b;
  max-width: 620px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.apple-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.apple-hero-link-primary {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.45rem 1.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.apple-hero-link-primary:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.apple-hero-link-secondary {
  font-size: 0.9rem;
  font-weight: 400;
  color: #86868b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.18s ease;
}
.apple-hero-link-secondary:hover {
  color: #f5f5f7;
  transform: translateX(2px);
}

/* Video Stage Wrapper - Seamless Borderless Stage */
.apple-video-frame {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: transparent;
  box-shadow: none;
  border: none;
}

.apple-video-frame video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
  background: #000000;
}

/* Docked Hardware Inspection HUD */
.apple-hero-hud {
  max-width: 960px;
  margin: 1.75rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
}

.apple-hud-card {
  padding: 0 0.5rem;
}
.apple-hud-card:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.apple-hud-stat {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f5f5f7;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.apple-hud-label {
  font-size: 0.76rem;
  font-weight: 500;
  color: #a1a1a6;
  margin-top: 0.2rem;
  line-height: 1.25;
}

.apple-hud-sub {
  font-size: 0.7rem;
  color: #6e6e73;
  line-height: 1.3;
  margin-top: 0.15rem;
}

@media (max-width: 991.98px) {
  .apple-hero-hud {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    padding: 1.25rem;
  }
  .apple-hud-card:not(:last-child) {
    border-right: none;
  }
  .apple-hud-card:nth-child(1),
  .apple-hud-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .apple-hero-video-section {
    padding: 2.25rem 1rem 2.75rem;
  }
  .apple-hero-hud {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: center;
    padding: 1rem;
  }
  .apple-hud-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
  }
}

/* ===================================================
   DEVICE CATEGORY RIBBON
   =================================================== */
.apple-category-section {
  background: #ffffff;
  padding: 4.5rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.apple-section-header {
  margin-bottom: 2.75rem;
}
.apple-section-tag {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d81b60;
  display: block;
  margin-bottom: 0.35rem;
}
.apple-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin-bottom: 0.4rem;
}
.apple-section-subtitle {
  font-size: 0.95rem;
  color: #6e6e73;
  max-width: 540px;
  line-height: 1.45;
}

.apple-category-card {
  background: #fbfbfd;
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: #1d1d1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.apple-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: rgba(216, 27, 96, 0.2);
  color: #1d1d1f;
}
.apple-category-img-wrap {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}
.apple-category-card:hover .apple-category-img-wrap {
  transform: scale(1.04);
}
.apple-category-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.apple-category-pill {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  background: #ececf0;
  color: #6e6e73;
  margin-bottom: 0.35rem;
}
.apple-category-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.2rem;
  color: #1d1d1f;
}
.apple-category-desc {
  font-size: 0.78rem;
  color: #86868b;
  margin-bottom: 0.65rem;
}
.apple-category-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d81b60;
  margin-top: auto;
}

/* ===================================================
   HONEST & HUMBLE BENTO TRUST GRID
   =================================================== */
.apple-bento-section {
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 4.5rem 1rem;
}

.apple-bento-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.apple-bento-card:hover {
  border-color: rgba(216, 27, 96, 0.2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}
.apple-bento-card-featured {
  background: #ffffff;
}

.apple-bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(216, 27, 96, 0.08);
  border: 1px solid rgba(216, 27, 96, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #d81b60;
  margin-bottom: 1.25rem;
}

.apple-bento-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}

.apple-bento-text {
  font-size: 0.9rem;
  color: #6e6e73;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.apple-diag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}
.apple-diag-pill {
  font-size: 0.74rem;
  font-weight: 500;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #515154;
  padding: 0.28rem 0.7rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.apple-diag-pill i {
  color: #d81b60;
  font-size: 0.8rem;
}

.apple-bento-metric {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #1d1d1f;
  margin-bottom: 0.25rem;
}
.apple-bento-metric-label {
  font-size: 0.78rem;
  color: #d81b60;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===================================================
   STOREFRONT PRESENCE CANVAS
   =================================================== */
.apple-storefront-section {
  background: #ffffff;
  padding: 4.5rem 1rem;
}

.apple-storefront-card {
  background: #f5f5f7;
  border-radius: 24px;
  padding: 3rem 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .apple-bento-section,
  .apple-category-section,
  .apple-storefront-section {
    padding: 3.5rem 1rem;
  }
  .apple-storefront-card {
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }
}

