:root {
  --rap-navy: #08101d;
  --rap-navy-card: #0e1b2f;
  --rap-navy-light: #162a45;
  --rap-blue: #0284c7;
  --rap-blue-d: #0369a1;
  --rap-cyan: #06b6d4;
  --rap-cyan-glow: rgba(6, 182, 212, 0.35);
  --rap-aqua: #38bdf8;
  --rap-gold: #f59e0b;
  --rap-red: #ef4444;
  --rap-green: #10b981;
  --rap-ink: #0f172a;
  --rap-muted: #64748b;
  --rap-line: #e2e8f0;
  --rap-bg-soft: #f8fafc;

  /* Legacy variable mappings */
  --um-blue: #0284c7;
  --um-blue-d: #0369a1;
  --um-orange: #f97316;
  --um-ink: #0f172a;
  --um-muted: #64748b;
  --um-line: #e2e8f0;
  --um-bg: #ffffff;
  --um-green: #10b981;
  --um-navy: #08101d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--rap-ink);
  background: #ffffff;
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.has-tabbar { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
a { color: var(--rap-blue); text-decoration: none; transition: color .2s ease, transform .2s ease; }
a:hover { color: var(--rap-blue-d); }
img { max-width: 100%; height: auto; }

/* Utilities & Colors */
.text-cyan { color: var(--rap-cyan) !important; }
.bg-cyan { background-color: var(--rap-cyan) !important; }
.smaller { font-size: 12px; }

/* =========================================
   LUXURY BREADCRUMBS PILL BAR
   ========================================= */
.crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
  box-shadow: 0 2px 10px rgba(8, 16, 29, 0.04);
}
.crumbs a {
  color: var(--rap-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all .15s ease;
}
.crumbs a:hover {
  color: var(--rap-blue-d);
  transform: translateY(-1px);
}
.crumbs .crumb-sep {
  color: #94a3b8;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
}
.crumbs .crumb-current {
  color: var(--rap-navy);
  font-weight: 700;
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 13.5px;
  padding: .58rem 1.15rem;
  letter-spacing: .01em;
  transition: all .24s cubic-bezier(.22,1,.36,1);
}
.btn-um {
  background: linear-gradient(135deg, var(--rap-blue), #0284c7);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}
.btn-um:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
}
.btn-deep {
  background: var(--rap-navy);
  color: #fff;
  border: 0;
  box-shadow: 0 4px 14px rgba(8, 16, 29, 0.25);
}
.btn-deep:hover {
  background: var(--rap-navy-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 16, 29, 0.35);
}
.btn-aqua {
  background: linear-gradient(135deg, var(--rap-cyan), var(--rap-blue));
  color: #fff;
  border: 0;
}
.btn-aqua:hover {
  filter: brightness(1.08);
  color: #fff;
}
.btn-outline-primary {
  border-color: var(--rap-blue);
  color: var(--rap-blue);
}
.btn-outline-primary:hover {
  background: var(--rap-blue);
  color: #fff;
  border-color: var(--rap-blue);
}

/* Forms & Inputs */
.form-control, .form-select {
  border-color: var(--rap-line);
  border-radius: 10px;
  font-size: 14px;
  padding: .65rem .95rem;
  background-color: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--rap-cyan);
  box-shadow: 0 0 0 .25rem var(--rap-cyan-glow);
}
.flabel {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rap-navy);
  margin-bottom: 6px;
  letter-spacing: .01em;
}

/* =========================================
   FORM PAGES & SIDE TIPS CARDS
   ========================================= */
.form-page {
  background: linear-gradient(180deg, #f0f9ff, #ffffff 40%);
  min-height: 80vh;
}
.form-card, .filter-card, .summary-box, .auth-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
}
.side-tips {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.side-tip-card, .side-tips > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(8, 16, 29, 0.04);
  transition: transform .2s ease, border-color .2s ease;
}
.side-tip-card:hover, .side-tips > div:hover {
  transform: translateY(-2px);
  border-color: var(--rap-blue);
}
.side-tip-card i, .side-tips > div > i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--rap-blue);
  font-size: 20px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.side-tip-card div, .side-tips > div > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.side-tip-card strong, .side-tips > div > div > strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--rap-navy);
  display: block;
}
.side-tip-card span, .side-tips > div > div > span {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
  display: block;
}
.file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all .2s;
}
.file-drop:hover {
  background: #f0f9ff;
  border-color: var(--rap-blue);
}
.file-drop input { display: none; }
.file-drop span {
  font-weight: 600;
  color: var(--rap-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Top Utility Bar */
.top-bar {
  background: var(--rap-navy);
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}
.top-bar-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.22);
  display: inline-block;
}
.top-bar-link {
  color: #cbd5e1;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.top-bar-link:hover {
  color: var(--rap-aqua);
}
.admin-pill-link {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--rap-aqua);
  font-weight: 600;
}
.admin-pill-link:hover {
  background: rgba(6, 182, 212, 0.3);
  color: #fff;
}

/* Glassmorphic Sticky Header */
.rap-header, .um-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px rgba(8, 16, 29, 0.04);
  transition: all .3s ease;
  z-index: 1020;
}

/* Brand Identity */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.03em;
  color: var(--rap-navy);
  text-decoration: none;
}
.brand-gem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rap-blue), var(--rap-cyan));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: 0 4px 12px var(--rap-cyan-glow);
  position: relative;
  transition: transform .3s ease;
}
.brand:hover .brand-gem {
  transform: rotate(-6deg) scale(1.05);
}
.brand-name {
  color: var(--rap-navy);
}
.brand-aqua {
  color: var(--rap-blue);
  margin-left: 1px;
}

/* Desktop Navigation */
.mid-nav {
  gap: .75rem;
  margin: 0 auto;
}
.nav-item-link {
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  padding: .5rem .8rem;
  border-radius: 8px;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.nav-item-link:hover, .nav-item-link.active {
  color: var(--rap-blue);
  background: rgba(2, 132, 199, 0.06);
}
.nav-item-link.dropdown-toggle::after {
  font-size: 11px;
  vertical-align: 1px;
  margin-left: 4px;
}
.nav-btn-quote {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309 !important;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
}
.nav-btn-quote:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #92400e !important;
}

/* Dropdown Menus */
.rap-dropdown-menu {
  border-radius: 14px;
  border: 1px solid var(--rap-line);
  padding: 8px;
  min-width: 230px;
  margin-top: 8px;
  animation: dropSlide .2s cubic-bezier(.22,1,.36,1);
}
@keyframes dropSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.rap-dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: .55rem .85rem;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  transition: all .15s ease;
}
.rap-dropdown-menu .dropdown-item:hover {
  background: rgba(2, 132, 199, 0.08);
  color: var(--rap-blue);
  transform: translateX(3px);
}
.dropdown-toggle.no-arrow::after { display: none; }

/* Header Tools & Actions */
.head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  position: relative;
  color: #334155;
  font-size: 1.25rem;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.tool:hover {
  background: #fff;
  border-color: var(--rap-line);
  color: var(--rap-blue);
  box-shadow: 0 4px 12px rgba(8, 16, 29, 0.08);
  transform: translateY(-1px);
}
.tool .dot {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: linear-gradient(135deg, var(--rap-red), #f97316);
  color: #fff;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Luxury Cart Pill */
.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--rap-navy), var(--rap-navy-light));
  color: #fff;
  padding: 4px 14px 4px 6px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(8, 16, 29, 0.25);
  transition: all .24s ease;
}
.cart-pill:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 16, 29, 0.35);
  background: linear-gradient(135deg, var(--rap-blue), #0369a1);
}
.cart-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-size: 15px;
  position: relative;
}
.cart-pill-icon .dot {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  background: var(--rap-cyan);
  color: var(--rap-navy);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.cart-pill-body {
  line-height: 1.1;
  text-align: left;
}
.cart-pill-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .75;
}
.cart-pill-val {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

/* Search Sheet & Inputs */
.rap-search-sheet {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--rap-cyan);
}
.search-input-group {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rap-line);
}
.search-input-group .form-control {
  font-size: 15px;
  padding: .75rem 1rem;
}

/* Mobile Hamburger Menu Button */
.menu-sq {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--rap-navy);
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  transition: all .2s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 2px 6px rgba(8, 16, 29, 0.04);
}
.menu-sq:hover, .menu-sq:active, .menu-sq:focus {
  background: #ffffff;
  border-color: var(--rap-blue);
  color: var(--rap-blue);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  outline: none;
}

/* Offcanvas Mobile Menu Drawer */
.rap-offcanvas {
  max-width: 320px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(8, 16, 29, 0.18);
}
.rap-offcanvas .offcanvas-header {
  padding: 1.25rem;
  background: #f8fafc;
}
.mobile-nav-links .m-link {
  display: flex;
  align-items: center;
  padding: .75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  color: #334155;
  transition: all .15s ease;
  text-decoration: none;
  font-size: 14px;
}
.mobile-nav-links .m-link:hover, .mobile-nav-links .m-link.active {
  background: rgba(2, 132, 199, 0.08);
  color: var(--rap-blue);
  transform: translateX(4px);
}

/* =========================================
   MASTER HERO SHOWCASE & ASSURANCES STRIP
   ========================================= */
.hero-master {
  background: transparent;
}
.hero-card {
  background: radial-gradient(circle at 80% 30%, rgba(224, 242, 254, 0.6) 0%, rgba(255, 255, 255, 0.95) 60%, #f8fafc 100%);
  border-radius: 28px !important;
  border: 1px solid #e2e8f0;
}
.hero-headline {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.hero-gradient-text {
  background: linear-gradient(135deg, var(--rap-blue), var(--rap-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 15px;
  line-height: 1.65;
  max-width: 580px;
}
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-aura {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(2, 132, 199, 0.08) 60%, transparent 80%);
  filter: blur(28px);
  z-index: 1;
}
.hero-prod-img {
  position: relative;
  z-index: 2;
  max-height: 340px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(8, 16, 29, 0.16));
  animation: floaty 4.5s ease-in-out infinite;
}
.hero-float-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 999px;
  text-align: left;
  animation: floaty 3.8s ease-in-out infinite alternate;
}
.hero-float-pill i {
  font-size: 20px;
}
.hero-float-pill strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--rap-navy);
  line-height: 1.2;
}
.hero-float-pill span {
  display: block;
  font-size: 10.5px;
  color: #64748b;
}
.float-top-right {
  top: 10px;
  right: 0px;
}
.float-bottom-left {
  bottom: 10px;
  left: 0px;
}

/* Trust & Assurances Strip */
.trust-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(8, 16, 29, 0.08);
  border-color: var(--rap-blue);
}
.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f9ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.transition-hover {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.transition-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(8, 16, 29, 0.09) !important;
  border-color: var(--rap-blue) !important;
}

/* =========================================
   LUXURY SECTION HEADER DESIGN SYSTEM
   ========================================= */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eef2f6;
  position: relative;
  flex-wrap: wrap;
}
.section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--rap-blue), var(--rap-cyan));
  border-radius: 99px;
}
.sec-head-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sec-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--rap-blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(2, 132, 199, 0.18);
  width: fit-content;
}
.sec-kicker-badge i {
  font-size: 11px;
}
.section-title {
  font-weight: 800;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -.03em;
  color: var(--rap-navy);
  margin: 0;
  line-height: 1.2;
}
.sec-desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 2px 0 0;
}
.btn-viewall, .btn-sec-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--rap-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px 6px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(8, 16, 29, 0.04);
  transition: all .24s cubic-bezier(.22,1,.36,1);
  text-decoration: none;
  white-space: nowrap;
}
.btn-viewall .link-circle, .btn-sec-link .link-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f9ff;
  color: var(--rap-blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  transition: all .2s;
}
.btn-viewall:hover, .btn-sec-link:hover {
  border-color: var(--rap-blue);
  color: var(--rap-blue);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.15);
}
.btn-viewall:hover .link-circle, .btn-sec-link:hover .link-circle {
  background: var(--rap-blue);
  color: #ffffff;
  transform: translateX(2px);
}
.pop-shell {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  background: #f1f5f9;
  border-radius: 24px 0 24px 24px;
  padding: 18px;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
}
.pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile {
  background: #fff;
  border-radius: 16px;
  padding: 16px 14px 38px;
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 8px;
  position: relative;
  min-height: 136px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
  text-decoration: none;
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15,23,42,.08);
  border-color: var(--rap-cyan);
}
.cat-tile strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--rap-navy); margin-bottom: 4px; }
.cat-tile span { display: block; font-size: 12px; color: #64748b; line-height: 1.4; }
.cat-tile img { width: 80px; height: 90px; object-fit: contain; align-self: center; border-radius: 8px; }
.cat-go {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid #bae6fd;
  border-radius: 50%;
  color: var(--rap-blue);
  display: grid;
  place-items: center;
  font-size: 13px;
  background: #f0f9ff;
  transition: all .2s;
}
.cat-tile:hover .cat-go {
  background: var(--rap-blue);
  color: #fff;
  border-color: var(--rap-blue);
}
.cat-banner {
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.cat-banner h3 { font-weight: 800; font-size: 1.35rem; color: #14532d; margin: .2rem 0; }
.cat-banner img { max-height: 150px; margin-top: .5rem; border-radius: 12px; object-fit: contain; }

/* Tabs */
.pill-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  flex-wrap: wrap;
}
.pill-tabs button, .pill-tabs a {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .45rem .95rem;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: all .2s;
  text-decoration: none;
}
.pill-tabs button.active, .pill-tabs a:hover {
  background: #fff;
  color: var(--rap-navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* =========================================
   PRODUCT CARDS (HIGH-END MODERN E-COMMERCE)
   ========================================= */
.card-product {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(8, 16, 29, 0.04);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .28s;
  display: flex;
  flex-direction: column;
}
.card-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(8, 16, 29, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
}
.card-product .thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #ffffff 50%, #f8fafc 100%);
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.card-product .thumb .thumb-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-product .thumb img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
  filter: drop-shadow(0 6px 14px rgba(8, 16, 29, 0.08));
}
.card-product:hover .thumb img {
  transform: scale(1.07);
}
.card-product .badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}
.chip {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 8px;
  border-radius: 6px;
  color: #fff;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.chip-new { background: linear-gradient(135deg, #10b981, #059669); }
.chip-hot { background: linear-gradient(135deg, #f59e0b, #d97706); }
.chip-sale { background: linear-gradient(135deg, #ef4444, #dc2626); }
.chip-quote { background: linear-gradient(135deg, #0284c7, #0369a1); }

.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: all .2s ease;
  cursor: pointer;
}
.wish-btn:hover {
  color: #ef4444;
  background: #fff1f2;
  border-color: #fecaca;
  transform: scale(1.1);
}
.wish-btn.on {
  color: #ef4444;
  background: #fff1f2;
}
.wish-btn.on i::before { content: "\f415"; }

.card-product .card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pcat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--rap-blue);
  text-decoration: none;
}
.stock-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 1px 8px;
  display: inline-flex;
  align-items: center;
}
.stock-pill.low {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}
.pname {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--rap-navy);
  margin: 4px 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  text-decoration: none;
}
.pname:hover {
  color: var(--rap-blue);
}
.stars-gold {
  color: #f59e0b;
  font-size: 11.5px;
}
.reviews-count {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 500;
}
.perk-badge {
  font-size: 11.5px;
  color: #475569;
  font-weight: 500;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price-row b {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--rap-navy);
}
.price-row s {
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 500;
}
.off-pill {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fee2e2;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 7px;
}

/* Primary Cart Button */
.btn-cart-primary {
  background: linear-gradient(135deg, var(--rap-blue), #0284c7);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  padding: .6rem 1rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all .2s ease;
  text-decoration: none;
}
.btn-cart-primary:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.38);
}
.compare-action-link {
  background: none;
  border: 0;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 0;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: color .2s;
  text-decoration: none;
  display: block;
}
.compare-action-link:hover {
  color: var(--rap-navy);
}

/* =========================================
   PRODUCT DETAILS PAGE (PDP) LUXURY STYLES
   ========================================= */
.pdp-gallery-wrap {
  border-radius: 28px !important;
  border: 1px solid #e2e8f0;
}
.main-img-stage {
  background: radial-gradient(circle at center, #ffffff 40%, #f0f9ff 100%);
  min-height: 400px;
  border: 1px solid #e2e8f0;
}
.main-img-stage img {
  max-height: 360px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(8, 16, 29, 0.14));
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.main-img-stage:hover img {
  transform: scale(1.04);
}
.gallery-thumbs {
  margin-top: 1rem;
}
.thumb-card {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
  transition: all .2s cubic-bezier(.22,1,.36,1);
}
.thumb-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.thumb-card.active, .thumb-card:hover {
  border-color: var(--rap-blue);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transform: translateY(-2px);
}
.pdp-details-card {
  border-radius: 28px !important;
  border: 1px solid #e2e8f0;
}
.pdp-title {
  letter-spacing: -.03em;
  line-height: 1.2;
}
.pdp-pricing-box {
  background: linear-gradient(135deg, #f0f9ff, #f8fafc);
  border: 1px solid #bae6fd;
}
.pdp-short-desc {
  font-size: 14.5px;
  line-height: 1.6;
}
.qty-step {
  display: inline-flex;
  border: 1px solid var(--rap-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.qty-step button {
  width: 40px;
  height: 46px;
  border: 0;
  background: #f8fafc;
  font-weight: 800;
  color: #334155;
  transition: background .15s;
}
.qty-step button:hover {
  background: #e2e8f0;
}
.qty-step input {
  width: 54px;
  height: 46px;
  border: 0;
  text-align: center;
  font-weight: 700;
  color: var(--rap-navy);
}
.pdp-tabs-container {
  border-radius: 28px !important;
  border: 1px solid #e2e8f0;
}
.pdp-tabs-container .nav-pills .nav-link {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
  transition: all .2s ease;
}
.pdp-tabs-container .nav-pills .nav-link:hover {
  background: #f0f9ff;
  color: var(--rap-blue);
  border-color: #bae6fd;
}
.pdp-tabs-container .nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--rap-blue), #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  border-color: transparent;
}

/* =========================================
   SHOPPING CART (YOUR BAG) STYLES
   ========================================= */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.25rem;
  transition: all .24s ease;
}
.cart-item:hover {
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 8px 24px rgba(8, 16, 29, 0.06);
}
.cart-item-thumb {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 14px;
  background: radial-gradient(circle, #ffffff, #f8fafc);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.cart-item-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(8, 16, 29, 0.08));
}
.cart-item-content {
  flex-grow: 1;
  min-width: 0;
}

/* =========================================
   NEWSLETTER SUBSCRIPTION BAR (UNIFIED ROW)
   ========================================= */
.um-news {
  background: linear-gradient(135deg, var(--rap-navy), #0e1b2f);
  color: #ffffff;
}
.um-news h3 {
  color: #ffffff !important;
}
.um-news p {
  color: #cbd5e1 !important;
}
.news-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.news-form .form-control {
  border: 0 !important;
  box-shadow: none !important;
  padding: .75rem 1.1rem;
  background: transparent;
  font-size: 14.5px;
  flex: 1;
  min-width: 0;
  color: #0f172a;
}
.news-form .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}
.news-form .btn {
  border-radius: 10px !important;
  white-space: nowrap;
  padding: .75rem 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Best Deal Wrap & Countdown */
.best-wrap {
  border: 1px solid #bae6fd;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
.best-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 12px 20px;
  border-bottom: 1px solid #bae6fd;
}
.best-tab {
  font-weight: 800;
  font-size: 17px;
  color: var(--rap-navy);
  display: flex;
  align-items: center;
}
.hurry {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
}
.hurry span {
  background: var(--rap-navy);
  color: #fff;
  border-radius: 6px;
  padding: .25rem .5rem;
  font-size: 11px;
}
.hurry b { font-size: 12px; font-weight: 700; color: var(--rap-cyan); }
.stock-bar {
  height: 5px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}
.stock-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
}

/* =========================================
   THIS WEEK'S HIGHLIGHTS (CLEAN HORIZONTAL CARDS)
   ========================================= */
.hl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 14px;
  transition: all .24s ease;
  position: relative;
  text-decoration: none;
}
.hl-item:hover {
  border-color: var(--rap-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(8, 16, 29, 0.08);
}
.hl-thumb {
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  flex-shrink: 0;
  background: radial-gradient(circle, #fff, #f8fafc);
  border-radius: 12px;
  padding: 6px;
  display: grid;
  place-items: center;
  border: 1px solid #f1f5f9;
}
.hl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hl-info {
  flex-grow: 1;
  min-width: 0;
}
.hl-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rap-navy);
}
.hl-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--rap-navy);
}
.hl-mrp {
  font-size: 12px;
  color: #94a3b8;
  margin-left: 4px;
}
.hl-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8fafc;
  color: #64748b;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all .2s;
}
.hl-item:hover .hl-arrow {
  background: var(--rap-blue);
  color: #fff;
  transform: translateX(2px);
}

/* Favorite Brand Pills */
.brand-pill {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.2rem .8rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.brand-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15,23,42,.08);
  border-color: var(--rap-cyan);
}
.brand-pill strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rap-navy);
}

/* =========================================
   FOOTER (HIGH CONTRAST & READABLE TEXT)
   ========================================= */
.footer-rap {
  background: #060e1a !important;
  color: #cbd5e1 !important;
  font-size: 13.5px;
}
.footer-rap .brand .brand-name {
  color: #ffffff !important;
}
.footer-rap .brand .brand-aqua {
  color: #38bdf8 !important;
}
.footer-rap .text-muted {
  color: #94a3b8 !important;
}
.footer-rap .smaller {
  color: #94a3b8 !important;
}
.footer-title {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.1rem;
}
.footer-links li {
  margin-bottom: .5rem;
}
.footer-links a {
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: all .15s ease;
  font-size: 13.5px;
}
.footer-links a:hover {
  color: #38bdf8 !important;
  padding-left: 4px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.admin-link-highlight {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 5px 12px;
  border-radius: 8px;
  color: #38bdf8 !important;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.admin-link-highlight:hover {
  background: rgba(6, 182, 212, 0.3);
  color: #ffffff !important;
  transform: translateY(-1px);
}
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pay-row span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11.5px;
  color: #e2e8f0;
}
.footer-bottom {
  color: #94a3b8 !important;
}
.footer-bottom strong {
  color: #ffffff !important;
}
.footer-bottom a {
  color: #cbd5e1 !important;
}
.footer-bottom a:hover {
  color: #38bdf8 !important;
}

/* =========================================
   LUXURY FLOATING BOTTOM TABBAR (MOBILE)
   ========================================= */
.tabbar {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1030;
  background: rgba(8, 16, 29, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 26px;
  box-shadow: 0 14px 40px rgba(8, 16, 29, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  padding: 6px 10px;
  justify-content: space-around;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tabbar a {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all .2s cubic-bezier(.22,1,.36,1);
  padding: 4px 6px;
  border-radius: 14px;
  position: relative;
  min-width: 48px;
}
.tabbar a .tab-icon {
  font-size: 19px;
  line-height: 1;
  position: relative;
  transition: transform .2s ease;
}
.tabbar a:hover, .tabbar a.active {
  color: #38bdf8;
}
.tabbar a.active .tab-icon {
  transform: translateY(-2px);
  color: #38bdf8;
  filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.6));
}
.tabbar a.active span {
  font-weight: 700;
  color: #ffffff;
}
.tab-badge {
  position: absolute;
  top: -4px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #08101d;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Floating WhatsApp & To Top */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(130px + env(safe-area-inset-bottom, 0px));
  z-index: 1010;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.1);
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 1010;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--rap-navy);
  color: var(--rap-aqua);
  border: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 6px 18px rgba(8, 16, 29, 0.3);
  transition: transform .2s;
}
.to-top:hover {
  transform: translateY(-3px);
  background: var(--rap-blue);
  color: #fff;
}

/* Toast Notifications */
.toast-rap {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(12px);
  background: var(--rap-navy);
  color: #fff;
  border: 1px solid var(--rap-cyan);
  box-shadow: 0 8px 24px rgba(8, 16, 29, 0.4);
  padding: .6rem 1.3rem;
  border-radius: 999px;
  opacity: 0;
  z-index: 1090;
  transition: .24s ease;
  font-weight: 600;
  font-size: 13.5px;
  pointer-events: none;
}
.toast-rap.show { opacity: 1; transform: translateX(-50%); }

/* Admin Panel Styles */
.admin-side {
  min-height: 100vh;
  background: #08101d;
  width: 250px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.admin-side a {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 2px;
}
.admin-side a:hover, .admin-side a.active {
  background: rgba(2, 132, 199, 0.15);
  color: var(--rap-aqua);
}
.stat {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--rap-line);
  box-shadow: 0 6px 20px rgba(8, 16, 29, 0.04);
}

/* Micro-animations */
@keyframes floaty { 50% { transform: translateY(-8px); } }
@keyframes orbPulse { 50% { box-shadow: 0 10px 30px rgba(2, 132, 199, 0.6); transform: scale(1.05); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.dot.pop { animation: pop .45s ease; }
.fly-ghost {
  position: fixed;
  z-index: 2000;
  pointer-events: none;
  object-fit: contain;
  border-radius: 12px;
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .6s;
}
.is-loading { position: relative; pointer-events: none; opacity: .7; }
.btn-cart.is-loading::after, .btn-deep.is-loading::after, .btn-cart-primary.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin .6s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Live Search Results Dropdown */
.live-results {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--rap-line);
  border-radius: 14px;
  overflow: hidden;
}
.live-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.live-hit:hover { background: #f8fafc; }
.live-hit img { width: 44px; height: 44px; object-fit: contain; background: #f1f5f9; border-radius: 8px; }
.live-hit b { margin-left: auto; font-size: 13.5px; color: var(--rap-blue); }

/* =========================================
   CUSTOMER ACCOUNT DASHBOARD LUXURY STYLES
   ========================================= */
.account-avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rap-blue), #0369a1);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
}
.account-sidebar-link {
  color: #475569;
  text-decoration: none;
  background: transparent;
  transition: all .2s cubic-bezier(.22,1,.36,1);
  border: 1px solid transparent;
}
.account-sidebar-link .sidebar-icon-sq {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: all .2s ease;
}
.account-sidebar-link:hover {
  background: #f0f9ff;
  color: var(--rap-blue);
  border-color: #bae6fd;
  transform: translateX(3px);
}
.account-sidebar-link:hover .sidebar-icon-sq {
  background: var(--rap-blue);
  color: #ffffff;
}
.account-sidebar-link.active {
  background: linear-gradient(135deg, var(--rap-blue), #0369a1) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}
.account-sidebar-link.active .sidebar-icon-sq {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.account-mobile-pill {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.account-mobile-pill:hover {
  background: #f0f9ff;
  color: var(--rap-blue);
}
.account-mobile-pill.active {
  background: var(--rap-blue);
  color: #ffffff;
  border-color: var(--rap-blue);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.stat-icon-sq {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* =========================================
   ENTERPRISE STRIPE-STYLE DATATABLES
   ========================================= */
.dt-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(8, 16, 29, 0.04);
}
.dt-toolbar {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.dt-search-box {
  position: relative;
  min-width: 280px;
}
.dt-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}
.dt-search-box input {
  padding-left: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 13.5px;
  background: #f8fafc;
  width: 100%;
  height: 38px;
  transition: all .2s;
}
.dt-search-box input:focus {
  background: #ffffff;
  border-color: #0284c7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.dt-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}
.dt-table thead th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.dt-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 13.5px;
  color: #334155;
}
.dt-table tbody tr:hover td {
  background: #fafcff;
}
.dt-thumb-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.dt-thumb-box img {
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}
.dt-prod-title {
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.3;
}
.dt-prod-title:hover {
  color: #0284c7;
}
.dt-sku {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #64748b;
}
.status-pill-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
}
.status-pill-dot .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-pill-dot.published { color: #15803d; }
.status-pill-dot.published .dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.status-pill-dot.draft { color: #b45309; }
.status-pill-dot.draft .dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }

.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.stock-indicator.in-stock { color: #15803d; }
.stock-indicator.low-stock { color: #c2410c; }
.stock-indicator.out-of-stock { color: #b91c1c; }

.dt-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  text-decoration: none;
  transition: all .18s ease;
}
.dt-action-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f9ff;
}
.dt-action-btn.delete:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: #fef2f2;
}

.dt-pagination-bar {
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.dt-pagination-info {
  font-size: 13px;
  color: #64748b;
}
.dt-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.dt-page-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
}
.dt-page-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.dt-page-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
  background: #f8fafc;
}

/* Dynamic Specifications Matrix */
.spec-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.spec-matrix-table td {
  padding: 0 4px;
  vertical-align: middle;
}
.spec-num-badge {
  width: 28px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.spec-del-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #94a3b8;
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  transition: all .18s ease;
}
.spec-del-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #ef4444;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
}

/* Media Queries */
@media (max-width: 991.98px) {
  .rap-header .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .brand {
    font-size: 18px;
    gap: 7px;
  }
  .brand-gem {
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 9px;
  }
  .head-tools {
    gap: 6px;
  }
  .tool {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .cart-pill {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .cart-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #08101d;
    color: #ffffff;
    border: 1px solid #08101d;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(8, 16, 29, 0.25);
  }
  .cart-pill-icon .dot {
    top: -4px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    background: #06b6d4;
    color: #08101d;
    font-size: 9.5px;
    font-weight: 800;
  }
  .tabbar { display: flex; }
  .promo-card { grid-template-columns: 1fr; min-height: 0; padding: 1.5rem; }
  .promo-life { max-height: 190px; }
  .pop-shell { grid-template-columns: 1fr; clip-path: none; border-radius: 20px; }
  .pop-grid { grid-template-columns: 1fr 1fr; }
  .duo-nav { display: none; }
}
@media (min-width: 992px) {
  body.has-tabbar { padding-bottom: 0; }
  .tabbar { display: none !important; }
  .wa-float { bottom: 84px; }
  .to-top { bottom: 24px; }
}
