:root {
  --navy: #0f172a;
  --purple: #6366f1;
  --purple-dark: #4f46e5;
  --purple-light: #818cf8;
  --lilac-bg: #f5f3ff;
  --amber: #f59e0b;
  --red: #f43f5e;
  --green: #10b981;
  --ink: #0f172a;
  --gray: #64748b;
  --line: #e2e8f0;
  --radius: 16px;

  /* Default Fonts */
  --font-body: 'Inter', sans-serif;
  --font-headings: 'Poppins', sans-serif;
}

/* ==========================================================================
   THEME COLOR STYLE PRESETS (VERSION 2)
   ========================================================================== */

/* Version 2: Indigo Spark (Vibrant Indigo & Deep Violet) */
[data-theme="v2_indigo"] {
  --navy: #0f172a;
  --purple: #6366f1;
  --purple-dark: #4f46e5;
  --purple-light: #818cf8;
  --lilac-bg: #f5f3ff;
  --amber: #f59e0b;
  --red: #f43f5e;
  --green: #10b981;
  --ink: #0f172a;
  --gray: #64748b;
  --line: #e2e8f0;
  --radius: 16px;
}

/* Version 2: Ocean Teal (Fresh Teal & Dark Cyan) */
[data-theme="v2_teal"] {
  --navy: #042f2e;
  --purple: #0d9488;
  --purple-dark: #0f766e;
  --purple-light: #2dd4bf;
  --lilac-bg: #f0fdfa;
  --amber: #fbbf24;
  --red: #e11d48;
  --green: #10b981;
  --ink: #0f172a;
  --gray: #4b5563;
  --line: #e5e7eb;
  --radius: 16px;
}

/* Version 2: Emerald Green (Clean Emerald & Slate Blue) */
[data-theme="v2_emerald"] {
  --navy: #022c22;
  --purple: #10b981;
  --purple-dark: #059669;
  --purple-light: #34d399;
  --lilac-bg: #ecfdf5;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #10b981;
  --ink: #0f172a;
  --gray: #4b5563;
  --line: #e5e7eb;
  --radius: 16px;
}

/* Version 2: Crimson Rose (Velvet Pink & Dark Plum) */
[data-theme="v2_rose"] {
  --navy: #4c0519;
  --purple: #ec4899;
  --purple-dark: #db2777;
  --purple-light: #f472b6;
  --lilac-bg: #fdf2f8;
  --amber: #f59e0b;
  --red: #e11d48;
  --green: #10b981;
  --ink: #1c1917;
  --gray: #78716c;
  --line: #e7e5e4;
  --radius: 16px;
}

/* Version 2: Cyber Slate (Dark Charcoal & Purple Accent) */
[data-theme="v2_dark"] {
  --navy: #18181b;
  --purple: #a855f7;
  --purple-dark: #9333ea;
  --purple-light: #c084fc;
  --lilac-bg: #faf5ff;
  --amber: #eab308;
  --red: #ef4444;
  --green: #22c55e;
  --ink: #09090b;
  --gray: #71717a;
  --line: #e4e4e7;
  --radius: 16px;
}

/* ==========================================================================
   TYPOGRAPHY CONFIGURATION (FONTS PAIRS)
   ========================================================================== */

[data-font="poppins_inter"] {
  --font-body: 'Inter', sans-serif;
  --font-headings: 'Poppins', sans-serif;
}
[data-font="outfit_jakarta"] {
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-headings: 'Outfit', sans-serif;
}
[data-font="montserrat_lato"] {
  --font-body: 'Lato', sans-serif;
  --font-headings: 'Montserrat', sans-serif;
}
[data-font="syne_space"] {
  --font-body: 'Space Grotesk', sans-serif;
  --font-headings: 'Syne', sans-serif;
}
[data-font="lexend"] {
  --font-body: 'Lexend', sans-serif;
  --font-headings: 'Lexend', sans-serif;
}

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

body {
  font-family: var(--font-body, 'Inter', sans-serif);
  color: var(--ink);
  background: #fafafd;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Override all Headings and text using Poppins with var(--font-headings) */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.price-now,
.countdown-num,
.checkout-logo b,
.panel-number,
.cart-line-total,
.cart-estimated-total strong,
.affiliate-hero-copy h1,
.affiliate-card-top b,
.affiliate-section-heading h2,
.affiliate-process-grid article > b,
.affiliate-application-copy h2,
.affiliate-guest-card h2 {
  font-family: var(--font-headings, 'Poppins', sans-serif) !important;
}

/* Override all text using Inter with var(--font-body) */
body,
.affiliate-application-card textarea,
.affiliate-application-card form button,
.summary-heading h2 small,
.cart-panel-heading h2 small {
  font-family: var(--font-body, 'Inter', sans-serif) !important;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: #2d6fb7;
  color: #ffffff;
  font-size: 13px;
}

.topbar a {
  color: #ffffff !important;
}

.topbar-left i {
  color: #ffffff !important;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.topbar-left {
  display: flex;
  gap: 26px;
  align-items: center;
}

.topbar-left span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-left i {
  color: var(--amber);
  font-size: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #cfd3e6;
  transition: .2s;
}

.topbar-right a:hover {
  background: var(--purple);
  color: #fff;
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .15);
  font-size: 13px;
}

/* ---------- HEADER ---------- */
header.main {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

header.main .wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-image{display:block;width:auto;max-width:205px;height:48px;object-fit:contain;object-position:left center;}


.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  box-shadow: 0 8px 18px -6px rgba(91, 61, 240, .55);
  flex-shrink: 0;
}

.brand-name {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
}

.brand-tag {
  font-size: 11.5px;
  color: var(--gray);
  margin-top: 1px;
}

.search-bar {
  flex: 1;
  display: flex;
  align-items: stretch;
  height: 46px;
  border: 2px solid var(--purple);
  border-radius: 10px;
  overflow: hidden;
  max-width: 620px;
  min-width: 0;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.search-bar select {
  border: none;
  outline: none;
  background: #f5f4fc;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--gray);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  max-width: 150px;
}

.search-bar button {
  background: var(--purple);
  color: #fff;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: .2s;
  flex-shrink: 0;
}

.search-bar button:hover {
  background: var(--purple-dark);
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}

.head-action {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
}

.head-action .ic-circle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  position: relative;
}

.head-action .badge {
  position: absolute;
  top: -9px;
  right: -10px;
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-action .label {
  font-size: 12px;
  line-height: 1.3;
}

.head-action .label b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.head-action .label span {
  color: var(--gray);
}

.mobile-menu-btn {
  display: none;
  font-size: 22px;
  color: var(--ink);
  margin-left: auto;
}

/* ---------- NAV ROW / MEGA MENU ---------- */
.navrow {
  background: #f4f7f9;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 50;
}

.navrow .wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Nav links inside navrow */
.navrow .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a1a !important;
  text-decoration: none !important;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}

.navrow .nav-link:hover {
  color: var(--purple) !important;
  border-bottom-color: var(--purple);
}

.navrow .nav-link.active {
  color: var(--purple) !important;
  border-bottom-color: transparent !important;
}

.navrow .nav-link i {
  color: var(--purple);
  font-size: 11px;
}



.cat-toggle {
  background: var(--purple);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  height: 46px;
  border-radius: 8px 8px 0 0;
  margin-top: -1px;
  position: relative;
}

.cat-toggle:hover,
.cat-toggle.open {
  background: var(--purple-dark);
}

/* mega menu panel */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: none;
  box-shadow: 0 20px 40px -18px rgba(20, 20, 50, .25);
  display: none;
  z-index: 60;
  border-radius: 0 0 10px 10px;
  overflow: visible;
}

.cat-toggle-wrap {
  position: relative;
}

.cat-toggle-wrap.open .mega-panel {
  display: block;
}

.mega-panel li {
  position: relative;
}

.mega-panel li>a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--ink);
  transition: .15s;
}

.mega-panel li>a i.cat-ic {
  width: 18px;
  text-align: center;
  color: var(--purple);
  font-size: 14px;
}

.mega-panel li>a .chev {
  margin-left: auto;
  color: var(--gray);
  font-size: 10px;
}

.mega-panel li:hover>a {
  background: var(--lilac-bg);
  color: var(--purple);
}

.mega-panel li:hover .sub-panel {
  display: block;
}

.sub-panel {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-height: 100%;
  width: 640px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -18px rgba(20, 20, 50, .2);
  padding: 22px 26px;
  border-radius: 0 10px 10px 0;
}

.sub-panel .sub-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sub-col h4 {
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 700;
}

.sub-col a {
  display: block;
  font-size: 12.8px;
  color: var(--gray);
  padding: 5px 0;
  transition: .15s;
}

.sub-col a:hover {
  color: var(--purple);
  padding-left: 4px;
}

.navmenu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 24px;
}

.navmenu a {
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.navmenu a:hover {
  color: #ffffff;
}

.navmenu a.active {
  color: var(--purple-light);
  font-weight: 700;
}

.navmenu a.active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  background: var(--purple-light);
  border-radius: 3px 3px 0 0;
}

.navmenu .hot-tag {
  background: var(--red);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  letter-spacing: .5px;
}

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, .2);
  transition: right .3s ease;
  overflow-y: auto;
}

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

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-head b {
  font-size: 16px;
}

.drawer-close {
  font-size: 20px;
  color: var(--gray);
}

.drawer-section {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-section>a,
.drawer-section>button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 14px;
  width: 100%;
  text-align: left;
  color: var(--ink);
}

.drawer-section>button i.cat-ic {
  width: 18px;
  color: var(--purple);
}

.drawer-section>button .chev {
  margin-left: auto;
  transition: .2s;
}

.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  background: #faf9ff;
}

.drawer-sub.open {
  max-height: 600px;
}

.drawer-sub a {
  display: block;
  padding: 9px 20px 9px 50px;
  font-size: 13px;
  color: var(--gray);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 25, .45);
  z-index: 150;
  display: none;
}

.overlay.show {
  display: block;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  padding: 26px 0;
  background: #fafafd;
}

.hero-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
}

.side-cats {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 0;
  height: fit-content;
  box-shadow: 0 2px 10px -6px rgba(20, 20, 50, .06);
}

.side-cats li {
  position: relative;
}

.side-cats li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  font-size: 14px;
  color: var(--ink);
  transition: .15s;
}

.side-cats li a i.cat-ic {
  width: 18px;
  text-align: center;
  color: var(--purple);
  font-size: 15px;
}

.side-cats li a:hover {
  background: var(--lilac-bg);
  color: var(--purple);
}

.side-cats li a .chev {
  margin-left: auto;
  color: var(--gray);
  font-size: 11px;
}

.side-cats .all-cats {
  color: var(--purple);
  font-weight: 600;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}

.side-cats li:hover .side-sub {
  display: block;
}

.side-sub {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  width: 620px;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -18px rgba(20, 20, 50, .2);
  padding: 22px 26px;
  border-radius: 0 12px 12px 0;
  z-index: 70;
}

.side-sub .sub-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.side-sub h4 {
  font-size: 13.5px;
  margin-bottom: 10px;
  font-weight: 700;
}

.side-sub a {
  display: block;
  font-size: 12.8px;
  color: var(--gray);
  padding: 5px 0;
  transition: .15s;
}

.side-sub a:hover {
  color: var(--purple);
  padding-left: 4px;
}

.hero-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at 78% 40%, #ece8fd 0%, #dcd6fb 45%, #cdc4f8 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 0 0 0 42px;
  max-width: 430px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-copy h2 {
  font-size: 33px;
  line-height: 1.28;
  font-weight: 700;
}

.hero-copy h2 .accent {
  color: var(--purple);
}

.hero-copy p {
  margin-top: 14px;
  font-size: 14.5px;
  color: #4c4d63;
  line-height: 1.7;
  max-width: 360px;
}

.hero-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 9px;
  box-shadow: 0 10px 22px -8px rgba(91, 61, 240, .6);
  transition: .2s;
}

.hero-cta:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.hero-discount {
  position: absolute;
  top: 36px;
  right: 60px;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(91, 61, 240, .65);
  text-align: center;
}

.hero-discount b {
  font-size: 22px;
  line-height: 1;
}

.hero-discount span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .5px;
}

.hero-visual {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 46%;
  max-width: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 20, 50, .15);
  font-size: 14px;
  transition: .2s;
}

.hero-nav-btn:hover {
  background: var(--purple);
  color: #fff;
}

.hero-nav-btn.prev {
  left: 16px;
}

.hero-nav-btn.next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c2f2;
  transition: .25s;
}

.hero-dots button.active {
  width: 24px;
  border-radius: 6px;
  background: var(--purple);
}

/* ---------- FEATURES STRIP ---------- */
.features {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 24px auto 0;
  display: flex;
  box-shadow: 0 2px 10px -6px rgba(20, 20, 50, .05);
}

.feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item i {
  font-size: 26px;
  color: var(--purple);
}

.feature-item b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.feature-item p {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

/* ---------- FLASH SALE ---------- */
.flash-section {
  padding: 36px 0;
}

.flash-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
}

.flash-promo {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(155deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  padding: 26px 22px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.flash-promo::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.flash-promo .tag {
  font-size: 15px;
  font-weight: 700;
}

.flash-promo .sub {
  font-size: 12.5px;
  opacity: .85;
  margin-top: 6px;
}

.flash-promo .big {
  font-size: 14px;
  margin-top: 22px;
  font-weight: 600;
}

.flash-promo .pct {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-top: 2px;
}

.flash-promo .flash-coming-soon {
  font-size: 30px;
  letter-spacing: 1px;
}

.flash-promo .shop-btn {
  margin-top: auto;
  background: var(--amber);
  color: #3a2900;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.flash-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.flash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.flash-title {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flash-title h3 {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash-title h3 i {
  color: var(--red);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown .box {
  background: var(--navy);
  color: #fff;
  border-radius: 7px;
  text-align: center;
  padding: 6px 10px;
  min-width: 40px;
}

.countdown .box .countdown-num {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.countdown .box .cd-label {
  font-size: 9px;
  opacity: .75;
  margin-top: 2px;
}

.countdown .sep {
  color: var(--gray);
  font-weight: 700;
}

.see-all {
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.see-all:hover {
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: .2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 12px 24px -12px rgba(20, 20, 50, .18);
  transform: translateY(-3px);
  border-color: #ded9f7;
}

.product-thumb {
  aspect-ratio: 1/1;
  background: #f6f5fc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 22px;
}

.product-thumb i {
  font-size: 56px;
  color: var(--purple-light);
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray);
  box-shadow: 0 2px 6px rgba(20, 20, 50, .12);
  transition: .2s;
}

.fav-btn:hover {
  color: var(--red);
}

.product-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray);
}

.product-rating i {
  color: var(--amber);
  font-size: 11px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-now {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--red);
}

.price-old {
  font-size: 12.5px;
  color: var(--gray);
  text-decoration: line-through;
}

.cart-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 14px;
  transition: .2s;
  flex-shrink: 0;
}

.cart-btn:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* ---------- OFFER BANNERS ---------- */
.offers {
  padding: 0 0 44px;
}

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

.offer-card {
  border-radius: 12px;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.offer-card .oc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.offer-card b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.offer-card span {
  font-size: 12.5px;
  opacity: .9;
  display: block;
  margin-top: 3px;
}

.oc-1 {
  background: linear-gradient(120deg, #f5a623, #e8871e);
}

.oc-2 {
  background: linear-gradient(120deg, #1aa971, #0f8a58);
}

.oc-3 {
  background: linear-gradient(120deg, #3f8cf0, #2f6fd6);
}

.oc-4 {
  background: linear-gradient(120deg, #ec6d8c, #e0507a);
}

footer {
  background: var(--navy);
  color: #c3c7dd;
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
}

footer b {
  color: #fff;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width:1180px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .side-sub,
  .sub-panel {
    width: 460px;
  }

  .side-sub .sub-cols,
  .sub-panel .sub-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:980px) {

  .hero-grid,
  .flash-grid {
    grid-template-columns: 1fr;
  }

  .side-cats {
    display: none;
  }

  .cat-toggle-wrap {
    display: none;
  }

  .flash-promo {
    min-height: auto;
  }

  .hero-copy {
    padding-left: 24px;
  }

  .hero-visual {
    width: 60%;
    opacity: .9;
  }

  .navmenu {
    overflow-x: auto;
    padding-left: 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .navmenu::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width:860px) {
  .head-action .label {
    display: none;
  }

  .head-actions {
    gap: 18px;
  }

  /* Tablet: hide secondary topbar spans to prevent wrapping */
  .topbar-left span:not(:first-child) {
    display: none;
  }
}

@media (max-width:720px) {
  .topbar-left span:not(:first-child) {
    display: none;
  }

  header.main .wrap {
    flex-wrap: nowrap;
  }

  .search-bar {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 12px;
  }

  header.main .wrap {
    flex-wrap: wrap;
  }

  .search-bar select {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .navrow {
    display: none;
  }

  .features {
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--line);
  }

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

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h2 {
    font-size: 22px;
  }

  .hero-copy p {
    font-size: 13px;
  }

  .hero-discount {
    width: 72px;
    height: 72px;
    top: 14px;
    right: 14px;
  }

  .hero-discount b {
    font-size: 17px;
  }

  .hero-banner {
    min-height: 360px;
  }
}

@media (max-width:480px) {
  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .brand-logo-image {
    max-width: 155px;
    height: 40px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tag {
    font-size: 10px;
  }

  .head-action .ic-circle {
    font-size: 16px;
  }

  .hero-visual {
    width: 74%;
    opacity: .55;
  }

  .hero-copy {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .countdown .box {
    padding: 5px 7px;
    min-width: 32px;
  }

  .flash-title h3 {
    font-size: 18px;
  }
}

/* ---------- 2026 STOREFRONT POLISH ---------- */
:root {
  --navy: #10223d;
  --purple: #f45d2f;
  --purple-dark: #d9471d;
  --purple-light: #ff9877;
  --lilac-bg: #fff1eb;
  --amber: #ffb020;
  --red: #dc3f4d;
  --green: #15956d;
  --ink: #142033;
  --gray: #667287;
  --line: #e5eaf1;
  --surface: #ffffff;
  --page: #f5f7fb;
  --mint: #dff7ef;
  --radius: 18px;
}

body {
  background: var(--page);
  padding-bottom: 0;
}

.wrap {
  max-width: 1400px;
  padding-left: clamp(14px, 2.4vw, 32px);
  padding-right: clamp(14px, 2.4vw, 32px);
}

a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(244, 93, 47, .28);
  outline-offset: 3px;
}

.topbar {
  background: #2d6fb7;
  color: #fff;
}

.topbar a {
  color: #fff;
}

.topbar .wrap {
  height: 36px;
}

.topbar-left i {
  color: #fff;
}

.topbar-right a:hover {
  background: var(--navy);
}

header.main {
  padding: 15px 0;
  box-shadow: 0 8px 24px rgba(16, 34, 61, .04);
}

.logo-mark {
  background: linear-gradient(145deg, var(--purple), #ff885f);
  border-radius: 15px;
  box-shadow: 0 10px 24px -9px rgba(244, 93, 47, .65);
}

.brand-name {
  color: var(--navy);
  letter-spacing: -.5px;
}

.search-bar {
  height: 48px;
  border: 1.5px solid var(--purple);
  border-radius: 14px;
  background: #f8fafc;
  transition: .2s;
  margin: 0 auto;
}

.search-bar:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(244, 93, 47, .09);
  background: #fff;
}

.search-bar input,
.search-bar select {
  background: transparent;
}

.search-bar select {
  background: #f2f5f8;
}

.search-bar button {
  background: var(--purple);
  width: 54px;
}

.search-bar button:hover {
  background: var(--purple-dark);
}

.head-action {
  padding: 7px 0;
  color: var(--navy);
}

button.head-action {
  font: inherit;
  text-align: left;
}

.head-action .badge {
  background: var(--purple);
  box-shadow: 0 0 0 2px #fff;
}

.head-action:hover .ic-circle {
  color: var(--purple);
}

.navrow {
  box-shadow: 0 5px 16px rgba(16, 34, 61, .025);
}

.cat-toggle {
  background: var(--purple);
  border-radius: 10px 10px 0 0;
}

.cat-toggle:hover,
.cat-toggle.open {
  background: var(--purple-dark);
}

.navmenu a.active {
  color: var(--purple);
}

.hero-section {
  padding: 28px 0 16px;
  background: var(--page);
}

.hero-grid {
  gap: 24px;
  grid-template-columns: 310px minmax(0, 1fr);
}

.side-cats {
  border: 0;
  box-shadow: 0 10px 35px rgba(16, 34, 61, .07);
  padding: 12px 0;
}

.side-cats li a {
  padding: 13.5px 24px;
  font-size: 16px;
  font-weight: 500;
}

.side-cats li a i.cat-ic {
  color: var(--purple);
  font-size: 18px;
  width: 22px;
}

.side-cats li a .chev {
  font-size: 13px;
}

.side-sub h4 {
  font-size: 15px;
}

.side-sub a {
  font-size: 14px;
}

.hero-banner {
  min-height: 432px;
  background: linear-gradient(120deg, #fff4e9 0%, #fffaf5 48%, #e8f7f1 100%);
  border: 1px solid rgba(16, 34, 61, .06);
  box-shadow: 0 20px 50px -32px rgba(16, 34, 61, .42);
}

.hero-banner::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -90px;
  top: -120px;
  border-radius: 50%;
  background: rgba(244, 93, 47, .08);
}

.hero-copy {
  padding-left: clamp(32px, 4vw, 58px);
  max-width: 51%;
}

.hero-pill {
  background: rgba(16, 34, 61, .08);
  color: var(--navy);
  border: 1px solid rgba(16, 34, 61, .08);
  margin-bottom: 16px;
}

.hero-copy h2 {
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.15;
  letter-spacing: -1.1px;
  color: var(--navy);
}

.hero-copy p {
  font-size: 15px;
  max-width: 420px;
  color: #536075;
}

.hero-cta {
  background: var(--navy);
  border-radius: 12px;
  padding: 14px 24px;
  box-shadow: 0 12px 24px -12px rgba(16, 34, 61, .6);
}

.hero-cta:hover {
  background: var(--purple);
}

.hero-discount {
  top: 30px;
  right: 35px;
  width: 84px;
  height: 84px;
  background: var(--purple);
  border: 5px solid rgba(255, 255, 255, .72);
  z-index: 5;
}

.hero-visual {
  right: -1%;
  width: 54%;
  max-width: 650px;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 24px rgba(16, 34, 61, .16));
}

.hero-nav-btn {
  width: 40px;
  height: 40px;
  box-shadow: 0 6px 20px rgba(16, 34, 61, .14);
}

.hero-nav-btn:hover {
  background: var(--navy);
}

.hero-nav-btn.next {
  right: 12px;
}

.hero-dots button {
  background: #cad4d0;
}

.features {
  border: 0;
  box-shadow: 0 10px 35px rgba(16, 34, 61, .06);
  overflow: hidden;
}

.feature-item {
  padding: 20px clamp(14px, 1.7vw, 24px);
}

.feature-item i {
  color: var(--purple);
}

.flash-section {
  padding: 40px 0 48px;
}

.flash-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.flash-promo {
  background: linear-gradient(155deg, #10223d 0%, #183a5e 100%);
  box-shadow: 0 20px 40px -28px rgba(16, 34, 61, .7);
}

.flash-promo::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border: 26px solid rgba(223, 247, 239, .1);
  border-radius: 50%;
  right: -38px;
  top: 35px;
}

.flash-promo .shop-btn {
  background: #ffb95c;
  color: var(--navy);
  border-radius: 10px;
}

.flash-title h3 {
  color: var(--navy);
}

.countdown .box {
  background: var(--navy);
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.product-card {
  border: 1px solid #e6ebf1;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(16, 34, 61, .045);
  min-width: 0;
}

.product-card:hover {
  box-shadow: 0 18px 38px -22px rgba(16, 34, 61, .38);
  transform: translateY(-4px);
  border-color: #f5b7a4;
}

.product-thumb {
  aspect-ratio: 1.05/1;
  padding: 0;
  overflow: hidden;
  background-color: #edf1f5;
  background-image: url('assets/eshop-hero-products.png');
  background-repeat: no-repeat;
  background-size: 250% auto;
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(16, 34, 61, .08));
  pointer-events: none;
}

.crop-watch {
  background-position: 88% 100%;
}

.crop-earbuds {
  background-position: 70% 100%;
}

.crop-headphones {
  background-position: 36% 88%;
}

.crop-phone {
  background-position: 72% 60%;
}

.crop-backpack {
  background-position: 98% 8%;
}

.discount-badge {
  top: 11px;
  left: 11px;
  background: var(--purple);
  border-radius: 7px;
  box-shadow: 0 4px 10px rgba(244, 93, 47, .22);
  z-index: 2;
}

.fav-btn {
  display: flex;
  z-index: 2;
  width: 32px;
  height: 32px;
}

.fav-btn.active {
  color: var(--red);
  background: #fff1f3;
}

.product-info {
  padding: 14px;
  gap: 7px;
  flex: 1;
}

.product-kicker {
  font-size: 10.5px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .55px;
}

.product-name {
  -webkit-line-clamp: 2;
  min-height: 38px;
  font-size: 13.5px;
  color: var(--navy);
}

.product-price-row {
  align-items: flex-start;
  margin-top: auto;
}

.price-block {
  gap: 5px;
  flex-wrap: wrap;
}

.price-now {
  color: var(--navy);
  font-size: 17px;
}

.product-card .buy-now-btn {
  width: 100%;
  height: 38px;
  border: 0;
  background: #2d6fb7;
  color: #fff !important;
  gap: 8px;
  font-weight: 700;
  border-radius: 10px;
  margin-top: 4px;
  transition: background 0.15s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.product-card .buy-now-btn:hover {
  background: #1e5591;
}

.product-card .cart-btn.added {
  background: var(--green);
  transform: scale(.98);
}

/* full cart drawer */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(430px, 100%);
  background: #fff;
  z-index: 210;
  transform: translateX(105%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 50px rgba(16, 34, 61, .2);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head-title {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}

.cart-head-title i {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--lilac-bg);
  color: var(--purple);
  display: grid;
  place-items: center;
}

.cart-head h3 {
  font-size: 18px;
}

.cart-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f5f8;
  color: var(--gray);
  font-size: 18px;
}

.cart-items {
  padding: 12px 20px;
  overflow-y: auto;
  flex: 1;
}

.cart-empty {
  height: 100%;
  min-height: 330px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--gray);
  padding: 30px;
}

.cart-empty i {
  font-size: 42px;
  color: #c9d1dc;
  margin-bottom: 14px;
}

.cart-empty b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 6px;
}

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

.cart-line-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background-color: #edf1f5;
  background-image: url('assets/eshop-hero-products.png');
  background-repeat: no-repeat;
  background-size: 250% auto;
}

.cart-line-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.cart-line-price {
  font-size: 13px;
  color: var(--purple);
  font-weight: 700;
  margin-top: 5px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-top: 8px;
  overflow: hidden;
}

.qty-control button {
  width: 29px;
  height: 29px;
  color: var(--navy);
  background: #f7f9fb;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.remove-item {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #a1a9b6;
}

.remove-item:hover {
  background: #fff0f2;
  color: var(--red);
}

.cart-summary {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: var(--gray);
  font-size: 13px;
}

.cart-summary-row.total {
  font-size: 17px;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0 14px;
}

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px -12px rgba(244, 93, 47, .7);
}

.checkout-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.shipping-note {
  font-size: 11px;
  color: var(--green);
  text-align: center;
  margin-top: 10px;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  background: var(--navy);
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(16, 34, 61, .25);
  font-size: 13px;
  font-weight: 600;
  transition: .25s;
}

.cart-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.drawer-open {
  overflow: hidden;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width:860px) {
  .product-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "gallery" "info" "buybox";
  }

  .gallery,
  .buy-box {
    position: static;
  }

  .head-action .label {
    display: none;
  }
}

@media (max-width:1280px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .head-actions {
    gap: 18px;
  }
}

@media (max-width:1080px) {

  .hero-grid,
  .flash-grid {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy {
    max-width: 53%;
  }

  .head-action .label {
    display: none;
  }
}

@media (max-width:980px) {

  .hero-grid,
  .flash-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 50%;
  }

  .flash-promo {
    min-height: 168px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .flash-promo .sub,
  .flash-promo .big,
  .flash-promo .pct,
  .flash-promo>div[style] {
    grid-column: 1;
  }

  .flash-promo .shop-btn {
    grid-column: 2;
    grid-row: 1/6;
    width: 145px;
    padding: 13px 18px;
    margin: 0;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width:820px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-item {
    flex: 1 1 33.33%;
  }

  .hero-copy h2 {
    font-size: 32px;
  }
}

#productGrid .product-card:nth-child(n+6),
.category-product-grid .product-card:nth-child(n+6) {
  display: none;
}

@media (max-width:720px) {
  body {
    padding-bottom: 66px;
  }

  .topbar .wrap {
    height: 34px;
    justify-content: center;
  }

  .topbar-left span:first-child {
    font-size: 11.5px;
  }

  .topbar-right {
    display: none;
  }

  header.main {
    padding: 10px 0 12px;
  }

  header.main .wrap {
    gap: 10px;
  }

  .logo {
    gap: 8px;
  }

  .logo-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-tag {
    display: none;
  }

  .head-actions {
    gap: 10px;
    margin-left: auto;
  }

  .head-action.account-action {
    display: none;
  }

  .head-action {
    padding: 7px 3px;
  }

  .head-action .ic-circle {
    font-size: 18px;
  }

  .mobile-menu-btn {
    margin-left: 2px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #f2f5f8;
    font-size: 19px;
  }

  .search-bar {
    order: 4;
    flex-basis: 100%;
    margin-top: 1px;
    height: 45px;
  }

  .hero-section {
    padding-top: 14px;
  }

  .hero-banner {
    min-height: 540px;
    display: block;
  }

  .hero-copy {
    max-width: 100%;
    padding: 28px 25px 0;
    text-align: left;
  }

  .hero-copy h2 {
    font-size: 30px;
    max-width: 430px;
  }

  .hero-copy p {
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 360px;
  }

  .hero-cta {
    margin-top: 18px;
    padding: 12px 20px;
  }

  .hero-visual {
    right: -2%;
    bottom: -4px;
    width: 96%;
    height: 55%;
    max-width: none;
  }

  .hero-discount {
    top: auto;
    bottom: 215px;
    right: 19px;
    width: 72px;
    height: 72px;
  }

  .hero-nav-btn {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 36px;
    height: 36px;
  }

  .hero-dots {
    bottom: 30px;
  }

  .features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 14px;
  }

  .feature-item {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 15px 14px;
    gap: 10px;
  }

  .feature-item:nth-child(even) {
    border-right: 0;
  }

  .feature-item i {
    font-size: 21px;
  }

  .feature-item b {
    font-size: 12.5px;
  }

  .feature-item p {
    font-size: 10.5px;
  }

  .flash-section {
    padding: 28px 0 34px;
  }

  .flash-promo {
    min-height: 145px;
    padding: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .product-info {
    padding: 11px;
  }

  .product-name {
    font-size: 12.5px;
    min-height: 34px;
  }

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

  .price-old {
    font-size: 11px;
  }

  .cart-btn {
    height: 36px;
    font-size: 12px;
  }

  .mobile-bottom-nav {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    z-index: 120;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 25px rgba(16, 34, 61, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bottom-nav button,
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--gray);
    font-size: 10px;
    position: relative;
  }

  .mobile-bottom-nav i {
    font-size: 18px;
  }

  .mobile-bottom-nav .active {
    color: var(--purple);
  }

  .mobile-cart-badge {
    position: absolute;
    top: 7px;
    left: calc(50% + 5px);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--purple);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border: 2px solid #fff;
  }

  .cart-toast {
    bottom: 82px;
    max-width: calc(100% - 28px);
    white-space: nowrap;
  }

  #productGrid .product-card:nth-child(6),
  .category-product-grid .product-card:nth-child(6) {
    display: flex !important;
  }

  #productGrid .product-card:nth-child(n+7),
  .category-product-grid .product-card:nth-child(n+7) {
    display: none !important;
  }
}

@media (max-width:480px) {
  .hero-banner {
    min-height: 510px;
  }

  .hero-copy {
    padding: 24px 20px 0;
  }

  .hero-copy h2 {
    font-size: 26px;
    letter-spacing: -.6px;
  }

  .hero-copy p {
    margin-top: 10px;
  }

  .hero-pill {
    font-size: 10.5px;
    margin-bottom: 12px;
  }

  .hero-discount {
    bottom: 190px;
  }

  .hero-visual {
    height: 51%;
    width: 103%;
    right: -5%;
  }

  .hero-dots {
    bottom: 27px;
  }

  .flash-head {
    align-items: flex-start;
  }

  .flash-title {
    gap: 10px;
  }

  .countdown {
    gap: 3px;
  }

  .countdown .box {
    padding: 5px 6px;
    min-width: 31px;
  }

  .countdown .box .countdown-num {
    font-size: 14px;
  }

  .flash-promo {
    display: flex;
    min-height: 180px;
  }

  .flash-promo .shop-btn {
    width: 100%;
    margin-top: auto;
  }

  .product-thumb {
    background-size: 265% auto;
  }

  .cart-line {
    grid-template-columns: 64px 1fr auto;
  }

  .cart-line-img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width:360px) {
  .hero-copy h2 {
    font-size: 23px;
  }

  .product-grid {
    gap: 8px;
  }

  .product-info {
    padding: 9px;
  }

  .product-rating {
    font-size: 10.5px;
  }

  .price-block {
    display: block;
  }

  .price-old {
    margin-left: 4px;
  }
}

/* Laravel storefront integration */
.search-bar {
  position: relative;
  overflow: visible;
}

.storefront-sticky-header {
  position: -webkit-sticky;
  position:sticky;top:0;z-index:110;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 34, 61, .06);
}

.head-actions{margin-left:auto;justify-content:flex-end;}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.search-bar input {
  border-radius: 12px 0 0 12px;
}

.search-bar button {
  border-radius: 0 12px 12px 0;
}

.live-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 240;
  max-height: 390px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(16, 34, 61, .18);
  padding: 7px;
}

.live-search-results[hidden] {
  display: none;
}

.live-search-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 9px;
  border-radius: 10px;
}

.live-search-item:hover,
.live-search-item.active {
  background: var(--lilac-bg);
}

.live-search-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 9px;
  background: #f3f5f8;
}

.live-search-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.live-search-copy strong {
  font-size: 12.5px;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-search-copy span {
  font-size: 11px;
  color: var(--gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-search-price {
  font-size: 12.5px;
  color: var(--purple);
  white-space: nowrap;
}

.live-search-status {
  padding: 18px;
  text-align: center;
  color: var(--gray);
  font-size: 12.5px;
}

.live-search-all {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 10px;
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.search-bar select {
  cursor: pointer;
}

.search-bar .live-search-results {
  font-family: 'Inter', sans-serif;
}

.navmenu a {
  white-space: nowrap;
}

.cat-toggle {
  cursor: pointer;
}

.desktop-category-label,.desktop-category-label:hover {
  background: var(--purple);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}


.mega-panel,
.sub-panel,
.side-sub {
  overflow: visible;
}

.category-empty {
  padding: 18px;
  text-align: center;
  color: var(--gray);
  font-size: 13px;
}

.hero-banner.hero-slider-carousel {
  isolation: isolate;
}

.hero-banner.has-custom-banner::after {
  display: none !important;
}

.hero-banner.has-custom-banner .hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -1;
}

.hero-background:not([src]) {
  display: none;
}

.hero-banner.has-custom-banner .hero-visual {
  display: none;
}

.hero-copy,
.hero-discount,
.hero-nav-btn,
.hero-dots {
  z-index: 4;
}

.product-thumb {
  background-image: none !important;
  background: #f5f7fa;
  padding: 0;
  cursor: pointer;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card:hover .product-thumb img {
  transform: scale(1.035);
}

.product-card.is-out-of-stock .product-thumb img {
  filter: grayscale(.35);
  opacity: .7;
}

.flash-section .fav-btn,
.flash-section .wishlist,
#productGrid [aria-label*="wishlist"] {
  display: none !important;
}

.stock-badge {
  position: absolute;
  left: 11px;
  bottom: 11px;
  z-index: 3;
  background: rgba(16, 34, 61, .84);
  color: #fff;
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 9.5px;
  font-weight: 700;
}

.fav-btn {
  border: 0;
  z-index: 5;
}

.fav-btn.active {
  color: var(--red);
  background: #fff1f3;
}

.cart-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.cart-btn:disabled:hover {
  background: var(--navy);
}

.empty-products {
  grid-column: 1/-1;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d6dce5;
  border-radius: 16px;
  color: var(--gray);
}

.empty-products i {
  font-size: 38px;
  color: #b8c1ce;
  margin-bottom: 10px;
}

.empty-products b {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
}

.category-products-section {
  padding: 8px 0 64px;
}

.category-products-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.category-products-heading>div>span {
  display: block;
  margin-bottom: 5px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .75px;
  text-transform: uppercase;
}

.category-products-heading h2 {
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.7px;
}

.category-products-heading p {
  margin-top: 7px;
  color: var(--gray);
  font-size: 13px;
}

.category-products-heading>a,
.home-category-header>a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.category-products-heading>a:hover,
.home-category-header>a:hover {
  color: var(--purple-dark);
}

.home-category-block {
  margin-bottom: 28px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e6ebf1;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(16, 34, 61, .045);
}

.home-category-block:last-child {
  margin-bottom: 0;
}

.home-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.home-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-category-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--lilac-bg);
  color: var(--purple);
  font-size: 17px;
}

.home-category-title h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.home-category-title p {
  margin-top: 2px;
  color: var(--gray);
  font-size: 11.5px;
}

.category-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.cart-line-img {
  background-image: none !important;
  overflow: hidden;
}

.cart-line-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-btn[aria-disabled="true"] {
  opacity: .45;
  pointer-events: none;
  box-shadow: none;
}

.desktop-only {
  display: inline-flex;
}

.hero-cta.secondary {
  margin-left: 8px;
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(16, 34, 61, .2);
  box-shadow: none;
}

.hero-cta.secondary:hover {
  background: #fff;
  color: var(--purple);
}

.flash-promo .coupon-code {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  font-size: 11px;
  color: #ffcf8a;
}

.flash-promo .coupon-code b {
  color: #fff;
  letter-spacing: .7px;
}

.storefront-footer {
  padding: 0;
  background: #0b1a30;
  color: #aeb8ca;
  text-align: left;
}

.storefront-footer a {
  color: #aeb8ca;
  transition: color .2s ease, transform .2s ease;
}

.storefront-footer a:hover {
  color: #fff;
}

.footer-main {
  padding: 58px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(4, minmax(0, 1fr));
  gap: 42px;
}

.footer-brand-column {
  padding-right: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
}

.footer-logo-mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--purple), #ff885f);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 10px 24px -9px rgba(244, 93, 47, .55);
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-img {
  height: 42px !important;
  max-width: 180px !important;
}

.footer-brand>span:last-child {
  display: flex;
  flex-direction: column;
}

.footer-brand b {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  line-height: 1.2;
}

.footer-brand small {
  font-size: 10.5px;
  color: #8f9bb0;
  margin-top: 2px;
}

.footer-brand-column>p {
  max-width: 330px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #8f9bb0;
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #d8deea;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  background: var(--purple);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h3 {
  position: relative;
  margin-bottom: 8px;
  padding-bottom: 11px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
}

.footer-column>a{font-size:14px;line-height:1.5;}

.footer-column>a:hover {
  transform: translateX(3px);
}


.footer-contact-column>a,
.footer-contact-column>p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-column i {
  width: 16px;
  margin-top: 2px;
  color: #ff8d69;
  text-align: center;
}

.footer-contact-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #aeb8ca;
}

.footer-contact-column small {
  margin-top: 2px;
  color: #738096;
  font-size: 12px;
}

.footer-payment-strip {
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #0e2039;
}

.footer-payment-strip>.wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-security {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-security>i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(21, 149, 109, .14);
  color: #54d4aa;
  font-size: 17px;
}

.footer-security>span {
  display: flex;
  flex-direction: column;
}

.footer-security b {
  font-size: 14px;
  color: #fff;
}

.footer-security small {
  margin-top: 2px;
  color: #7f8ba0;
  font-size: 12px;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-methods span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 7px;
  background: rgba(255, 255, 255, .05);
  color: #d5dbe6;
  font-size: 11.5px;
  font-weight: 700;
}

.footer-bottom {
  background: #081627;
}

.footer-bottom>.wrap {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #718096;
  font-size: 13px;
}

.mobile-drawer .account-link {
  color: var(--purple);
  font-weight: 700;
}

.mobile-drawer .drawer-section a i.cat-ic {
  width: 18px;
  color: var(--purple);
  text-align: center;
}

.mobile-drawer .drawer-sub a {
  display: block;
}

@media (max-width:720px) {
  .desktop-only {
    display: none !important;
  }

  .live-search-results {
    top: calc(100% + 6px);
  }

  .hero-banner.has-custom-banner::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .78) 55%, rgba(255, 255, 255, .25) 100%);
  }

  .footer-main {
    padding: 42px 0 34px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
  }

  .footer-brand-column {
    grid-column: 1/-1;
    padding-right: 0;
  }

  .footer-brand-column>p {
    max-width: 100%;
  }

  .footer-payment-strip>.wrap {
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .payment-methods {
    justify-content: flex-start;
  }

  .footer-bottom>.wrap {
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .category-products-section {
    padding: 4px 0 44px;
  }

  .category-products-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .category-products-heading>a {
    display: none;
  }

  .home-category-block {
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 15px;
  }

  .category-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
}

@media (max-width:480px) {
  .live-search-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .live-search-item img {
    width: 42px;
    height: 42px;
  }

  .live-search-price {
    grid-column: 2;
  }

  .hero-cta.secondary {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-column {
    grid-column: auto;
  }
}

@media (min-width:721px) and (max-width:1080px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
  }

  .footer-brand-column {
    grid-row: span 2;
  }

  .category-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalog-card-image,
.product-image,
.product-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4 !important;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border-radius: 0 !important;
}

.catalog-card-image img.primary-image,
.product-image img.primary-image,
.product-thumb img.primary-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: opacity 0.35s ease;
}

.catalog-card-image img.secondary-image,
.product-image img.secondary-image,
.product-thumb img.secondary-image {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease;
}

.catalog-card-image .secondary-image,
.product-image .secondary-image,
.product-thumb .secondary-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 1;
}

.catalog-product-card:has(.secondary-image):hover .primary-image,
.product-card:has(.secondary-image):hover .primary-image {
  opacity: 0;
}

.catalog-product-card:hover .secondary-image,
.product-card:hover .secondary-image {
  opacity: 1;
}

/* Full width slider when side-cats is removed */
.hero-grid.full-width-slider {
  grid-template-columns: 1fr;
}

/* Desktop click-toggle subcategories support */
.mega-panel li.active-sub .side-sub {
  display: block;
}

/* Mobile nested drawer subcategory accordions */
.drawer-sub-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.drawer-subcat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 20px 10px 50px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.drawer-subcat-btn:hover {
  background: var(--lilac-bg);
}

.drawer-subcat-btn .chev {
  margin-left: auto;
  font-size: 10px;
  color: var(--gray);
  transition: transform 0.2s;
}

.drawer-child {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  background: #f1f3f9;
}

.drawer-child.open {
  max-height: 500px;
}

.drawer-child a {
  display: block;
  padding: 8px 20px 8px 70px;
  font-size: 12.5px;
  color: var(--gray);
}

.drawer-child a:hover {
  color: var(--purple);
}

/* ==========================================================================
   BOOTSTRAP HARMONY & REORGANIZATION OVERRIDES
   ========================================================================== */

/* Override Bootstrap variables dynamically with storefront themes */
:root {
  --bs-primary: var(--purple) !important;
  --bs-primary-rgb: 99, 102, 241 !important; /* Default fallback */
  --bs-link-color: var(--purple) !important;
  --bs-link-hover-color: var(--purple-dark) !important;
}

[data-theme="v2_indigo"] { --bs-primary-rgb: 99, 102, 241 !important; }
[data-theme="v2_teal"] { --bs-primary-rgb: 13, 148, 136 !important; }
[data-theme="v2_emerald"] { --bs-primary-rgb: 16, 185, 129 !important; }
[data-theme="v2_rose"] { --bs-primary-rgb: 244, 63, 94 !important; }
[data-theme="v2_dark"] { --bs-primary-rgb: 168, 85, 247 !important; }

/* Prevent Bootstrap from forcing underlines on all links */
a, 
.logo, 
.head-action, 
.navmenu a, 
.desktop-cat-link, 
.home-category-block a, 
.footer-column a, 
.footer-bottom a {
  text-decoration: none !important;
  color: inherit;
}

a:hover {
  text-decoration: none !important;
  color: var(--purple);
}

/* Map Bootstrap interactive utilities to custom theme variables */
.btn-primary {
  background-color: var(--purple) !important;
  border-color: var(--purple) !important;
  color: #ffffff !important;
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
  background-color: var(--purple-dark) !important;
  border-color: var(--purple-dark) !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: var(--purple) !important;
  border-color: var(--purple) !important;
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus, 
.btn-outline-primary:active {
  background-color: var(--purple) !important;
  border-color: var(--purple) !important;
  color: #ffffff !important;
}

.badge.bg-primary-subtle {
  background-color: var(--lilac-bg) !important;
  color: var(--purple) !important;
}

.text-primary {
  color: var(--purple) !important;
}

.text-gradient-v2 {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout adjustments */
.max-w-600 {
  max-width: 600px;
}

/* Countdown spacing adjustments */
.countdown .box {
  min-width: 45px;
  text-align: center;
}

.countdown-num {
  font-size: 16px;
  line-height: 1.2;
}

/* Fix Bootstrap button padding resets */
.cart-btn, .shop-btn {
  padding: 10px 18px !important;
}

.hero-banner {
  min-height: 480px;
}

@media (max-width: 991px) {
  .hero-banner {
    min-height: auto;
  }
}

/* Category Slider Styles */
.category-slider-track::-webkit-scrollbar {
  display: none !important;
}

.category-slider-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.category-slider-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--purple) !important;
}

.category-slider-item:hover .category-slider-icon-circle {
  background-color: var(--purple) !important;
  border-color: var(--purple) !important;
}

.category-slider-item:hover .category-slider-icon-circle i {
  color: #ffffff !important;
}

/* =============================================
   NAV DROPDOWN MENU (Flyout Accordion Style)
   ============================================= */

/* প্যারেন্ট কন্টেইনার যাতে ওভারফ্লোর কারণে ড্রপডাউন কেটে না ফেলে */
.navrow, .storefront-sticky-header, .navmenu-wrapper, .navmenu {
  overflow: visible !important;
}

.nav-dropdown {
  position: relative;
  z-index: 9999 !important; /* সবার উপরে রাখার জন্য z-index বাড়িয়ে দেওয়া হলো */
}

/* Vertical dropdown for subcategories */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 40px -12px rgba(20, 20, 50, 0.25);
  z-index: 10000 !important; /* ব্যানারের উপরে ভাসানোর জন্য সর্বোচ্চ z-index */
  padding: 8px 0;
  margin: 0;
  list-style: none;
  animation: navDropFadeIn 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.show-dropdown .nav-dropdown-menu {
  display: block;
}

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

/* Dropdown subcategory item */
.nav-dropdown-item {
  position: relative;
  margin: 0;
  padding: 0;
}

/* Links inside the dropdown */
.nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: background-color 0.15s, color 0.15s;
}

.nav-dropdown-link:hover {
  background-color: var(--lilac-bg);
  color: var(--purple) !important;
}

/* Flyout panel for child categories (appears on hover of subcategory item) */
.nav-dropdown-flyout {
  display: none;
  position: absolute;
  top: -8px; /* Align slightly above/equal to subcategory item */
  left: 100%;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 16px 40px -12px rgba(20, 20, 50, 0.25);
  z-index: 10001 !important; /* সাব-ফ্লাইআউট মেনু সবার উপরে থাকবে */
  padding: 8px 0;
  margin: 0;
  list-style: none;
  animation: navDropFadeIn 0.15s ease;
}

.nav-dropdown-item:hover .nav-dropdown-flyout {
  display: block;
}

/* Navmenu Horizontal Scrolling Wrapper and Scroll Buttons */
.navmenu-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.navmenu-wrapper::-webkit-scrollbar {
  display: none;
}

.nav-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--purple);
  font-size: 12px;
  transition: all 0.2s ease;
  padding: 0;
}

.nav-scroll-btn:hover {
  background: var(--purple);
  color: #ffffff;
  border-color: var(--purple);
}

.nav-scroll-btn.left-btn {
  left: 5px;
}

.nav-scroll-btn.right-btn {
  right: 5px;
}