:root {
  --purple: #5c2de8;
  /* Premium Purple */
  --purple-dark: #4018c8;
  --purple-light: #7b52ef;
  --banner-bg: #16003d;
  --lime: #c8ff00;
  /* Premium Lime */
  --lime-dark: #a6d400;
  --black: #0d0d0d;
  --white: #ffffff;
  --off-white: #f7f6ff;
  --gray-100: #f3f2ff;
  --gray-200: #e8e6f8;
  --gray-300: #ccc9e8;
  --gray-400: #9994c2;
  --gray-600: #5a5580;
  --text: #111122;
  --text-muted: #666688;
  --border: #e2e0f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(92, 45, 232, 0.09);
  --shadow-lg: 0 10px 40px rgba(92, 45, 232, 0.15);
  --font: 'Inter', sans-serif;
  --font-display: 'Inter', sans-serif;

  /* Color fallbacks for custom subpages compatibility */
  --dark: #16003d;
  --red: #ef4444;
  --green: #10b981;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  outline: none;
  transition: all 0.2s ease;
}

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

input,
select,
textarea {
  font-family: var(--font);
  outline: none;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* ANNOUNCEMENT BAR */
.announce,
.ann-bar {
  background: var(--banner-bg);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  padding: 10px 40px;
}

.ann-bar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ann-bar-center {
  display: flex;
  align-items: center;
  gap: 32px;
}

.announce span,
.ann-bar-center span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.announce .dot,
.ann-bar-center .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

.announce-right,
.ann-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  opacity: 0.8;
}

.announce-right a:hover,
.ann-bar-right a:hover {
  color: var(--lime);
  text-decoration: none;
}

/* NAVBAR */
nav,
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  cursor: pointer;
}

.nav-logo-icon,
.nav-logo svg {
  width: 32px;
  height: 32px;
  background: var(--purple);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  padding: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  transition: all 0.2s;
  position: relative;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
  background: var(--gray-100);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

.nav-right,
.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 16px;
  width: 220px;
  font-size: 13px;
  color: var(--gray-600);
  cursor: text;
  position: relative;
}

.nav-search input {
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--text);
  width: 100%;
}

.nav-search svg {
  width: 16px;
  height: 16px;
  stroke: var(--gray-400);
  fill: none;
  flex-shrink: 0;
}

.nav-icon,
.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.nav-icon:hover,
.nav-icon-btn:hover {
  background: var(--gray-200);
}

.nav-icon svg,
.nav-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--gray-600);
  fill: none;
  stroke-width: 1.8;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  background: var(--purple);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* DROPDOWN */
.nav-dropdown-trigger,
.user-menu-trigger {
  position: relative;
}

.nav-dropdown-menu,
.user-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 1000;
  padding: 8px 0;
  margin-top: 10px;
}

.user-dropdown-menu {
  left: auto;
  right: 0;
}

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

.nav-dropdown-menu a,
.user-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
}

.nav-dropdown-menu a:hover,
.user-dropdown-menu a:hover {
  background: var(--gray-100);
  color: var(--purple);
}

.user-dropdown-header {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-600);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

/* BUTTONS */
.btn-primary {
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gray-300);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-purple {
  background: var(--purple);
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

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

.btn-lime-full {
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-lime-full:hover {
  background: var(--lime-dark);
}

/* SECTION */
.section {
  padding: 52px 40px;
}

.section-title {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title span,
.section-title .accent {
  color: var(--purple);
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.view-all:hover {
  text-decoration: underline;
  color: var(--purple-light);
}

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

/* PRODUCT CARD */
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gray-300);
  transform: translateY(-3px);
}

.product-card-img {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s;
}

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

.product-badge,
.badge-bestseller {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  background: #fef3c7;
  color: #92400e;
}

.badge-new {
  background: #dcfce7;
  color: #166534;
}

.badge-sale {
  background: #fee2e2;
  color: #991b1b;
}

.badge-purple {
  background: var(--gray-100);
  color: var(--purple);
}

.product-card-name,
.product-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.3;
  color: var(--black);
}

.product-card-sub,
.product-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-stars,
.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #f59e0b;
}

.product-stars .count,
.stars span {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

.product-card-footer,
.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price,
.price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.product-price-old,
.price-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

.price-discount {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  margin-left: 4px;
}

.add-btn,
.btn-cart {
  width: 34px;
  height: 34px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  color: white;
}

.add-btn:hover,
.btn-cart:hover {
  background: var(--purple-dark);
  transform: scale(1.1);
}

.add-btn svg,
.btn-cart svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

/* WISHLIST */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
  border: 1px solid var(--border);
  z-index: 2;
}

.product-card:hover .wishlist-btn {
  opacity: 1;
}

.wishlist-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 2;
}

.wishlist-btn.active svg {
  stroke: #ef4444;
  fill: #ef4444;
}

/* QUICK VIEW / OVERLAYS */
.quick-view-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
}

.product-card-img:hover .quick-view-overlay {
  opacity: 1;
}

.quick-view-overlay span {
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* HERO */
.hero {
  background: #08080c;
  padding: 85px 40px;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero::before {
  display: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 18px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero h1 span,
.hero h1 .accent {
  color: var(--lime);
}

.hero p,
.hero-desc {
  font-size: 16px;
  color: var(--gray-200);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 450px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-btns,
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(200, 255, 0, 0.05);
}

.hero-badges,
.hero-props {
  display: flex;
  gap: 28px;
}

.hero-badge,
.hero-prop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-300);
  text-align: left;
}

.hero-badge-icon,
.hero-prop svg {
  width: 18px;
  height: 18px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.hero-left {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.hero-bg-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
  background: var(--lime);
  width: 24px;
  border-radius: 4px;
}

.hero-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 2;
}

.hero-product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}

.hero-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
}

.hero-product-card .name {
  font-size: 12px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--black);
}

.hero-product-card .price {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
  margin-top: 3px;
}

/* USP STRIP / FEATURE STRIP */
.feature-strip,
.usp-bar {
  background: var(--black);
  padding: 32px 40px;
}

.usp-bar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item,
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

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

.feature-icon,
.usp-item-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(200, 255, 0, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.feature-icon svg,
.usp-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 1.8;
}

.feature-item h4,
.usp-text h4 {
  color: white;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p,
.usp-text p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
}

/* CATEGORIES */
.categories-section {
  padding: 52px 40px;
  background: var(--white);
}

.categories-grid,
.category-scroll {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: left;
}

.cat-item,
.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100px;
}

.cat-item::before,
.category-chip-icon {
  content: '';
  width: 72px;
  height: 72px;
  background-color: var(--gray-100);
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.cat-item:hover::before,
.category-chip:hover .category-chip-icon {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(92, 45, 232, 0.1);
}

.cat-item span,
.category-chip span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gray-600);
  margin-top: 4px;
  text-align: center;
}

/* PRODUCT GRIDS */
.featured-section {
  padding: 52px 40px;
  background: var(--gray-100);
}

.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

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

/* PREMIUM BANNER VIDEO SECTION */
.banner-video-section {
  padding: 80px 40px;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  background: #0f172a;
  /* Sleek dark background while loading */
}

/* Full-bleed cinematic modifier */
.banner-video-section.full-bleed {
  padding: 0;
  overflow: hidden;
}

.banner-video-section.full-bleed .banner-video-container {
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 1024px) {
  .banner-video-section.full-bleed .banner-video-wrapper {
    aspect-ratio: 21 / 9;
    /* Cinematic widescreen aspect ratio */
  }
}

.banner-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* Prevent 0 height collapse before video source loads */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.banner-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: #ffffff;
  pointer-events: none;
  /* Let clicks pass through to controls */
}

.banner-video-overlay * {
  pointer-events: auto;
  /* Re-enable pointer events for buttons/links */
}

.banner-video-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--lime, #a3e635);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  width: fit-content;
  letter-spacing: 1px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-video-title {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: #000000;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-video-subtitle {
  font-size: 16px;
  color: rgb(0, 0, 0);
  margin: 0 0 24px 0;
  max-width: 600px;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.banner-video-actions .btn-primary {
  padding: 12px 28px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  background: var(--purple, #6366f1);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.banner-video-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
  background: #4f46e5;
}

/* Audio control button */
.banner-video-mute-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.banner-video-mute-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.banner-video-mute-btn svg {
  width: 20px;
  height: 20px;
}

/* Responsive banner video section */
@media (max-width: 768px) {
  .banner-video-section {
    padding: 40px 20px;
  }

  .banner-video-wrapper {
    aspect-ratio: 16 / 10;
    /* Slightly taller aspect ratio on mobile */
  }

  .banner-video-overlay {
    padding: 24px;
  }

  .banner-video-title {
    font-size: 24px;
  }

  .banner-video-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .banner-video-actions .btn-primary {
    padding: 10px 20px;
    font-size: 12px;
  }
}

/* TOP PICKS (CREATIVE BOAT-STYLE - FULL IMAGE OVERLAY) */
.top-picks-section {
  padding: 60px 40px;
  background: var(--white);
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .top-picks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .top-picks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.boat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  aspect-ratio: 1 / 1;
}

.boat-card:hover {
  transform: translateY(-8px);
  border-color: var(--purple-light);
  box-shadow: 0 12px 30px rgba(92, 45, 232, 0.12);
}

.boat-card-header {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.boat-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 20px;
  color: var(--white);
}

.badge-bestseller {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.badge-new {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
}

.badge-tech {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.badge-charger {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.boat-rating {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--text);
  border: 1px solid var(--border);
}

.boat-rating .star {
  color: #f59e0b;
}

.boat-rating .reviews-count {
  color: var(--text-muted);
  font-weight: 500;
}

.boat-img-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.boat-glow-bg {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(92, 45, 232, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  transition: all 0.3s ease;
}

.boat-card:hover .boat-glow-bg {
  background: radial-gradient(circle, rgba(92, 45, 232, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  transform: scale(1.2);
}

.boat-img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  z-index: 1;
  mix-blend-mode: multiply;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.boat-card:hover .boat-img {
  transform: scale(1.08) translateY(-14px);
}

.boat-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(92, 45, 232, 0.1);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  text-align: left;
  z-index: 2;
  transform: translateY(68px);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
}

.boat-card:hover .boat-info-overlay {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
}

/* Ensure specifications and CTA button fade in smoothly */
.boat-specs-row,
.boat-footer {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.boat-card:hover .boat-specs-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.boat-card:hover .boat-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.boat-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.boat-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* When hovered, we can allow the title to wrap to 2 lines if needed, or keep it clean */
.boat-card:hover .boat-title {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 36px;
  margin-bottom: 8px;
}

.boat-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.boat-spec-tag {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(92, 45, 232, 0.04);
  border: 1px solid rgba(92, 45, 232, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.boat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.boat-price-row {
  display: flex;
  flex-direction: column;
}

.boat-price {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--purple);
}

.boat-old-price {
  font-size: 10px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 1px;
}

.boat-discount {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green);
  margin-top: 1px;
}

.boat-cta-btn {
  background: var(--black);
  color: var(--white);
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.boat-cta-btn svg {
  width: 10px;
  height: 10px;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
  transition: transform 0.2s ease;
}

.boat-card:hover .boat-cta-btn {
  background: var(--purple);
  box-shadow: 0 4px 12px rgba(92, 45, 232, 0.25);
}

.boat-card:hover .boat-cta-btn svg {
  transform: translateX(2px);
}

/* For mobile devices and touch screens, prevent hover hiding so users can read the info */
@media (hover: none) {
  .boat-card {
    aspect-ratio: auto;
    height: auto;
  }
  .boat-img-container {
    position: relative;
    height: 160px;
    inset: auto;
    margin-top: 40px;
    margin-bottom: 12px;
  }
  .boat-info-overlay {
    position: relative;
    transform: none !important;
    background: transparent !important;
    border-top: none;
    padding: 0;
  }
  .boat-specs-row,
  .boat-footer {
    opacity: 1 !important;
    transform: none !important;
  }
  .boat-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: auto;
  }
  .boat-card-header {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
  }
}

/* TRENDING */
.trending-section {
  padding: 52px 40px;
  background: var(--gray-100);
}

.categories-section .section-header,
.categories-section .category-scroll,
.featured-section .section-header,
.featured-section .products-grid-4,
.top-picks-section .section-header,
.top-picks-section .top-picks-grid,
.trending-section .section-header,
.trending-section .products-grid-5 {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* BOTTOM CARD PANELS */
.bottom-grid,
.bottom-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.3fr;
  gap: 28px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.community-card,
.blog-card,
.review-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}

.community-card h3,
.blog-card h3,
.review-card h3,
.blog-header h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--black);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.community-card p,
.blog-post p,
.review-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-icons,
.footer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.social-icon,
.soc-btn,
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s;
  background: white;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--purple) !important;
}

.social-icon:hover,
.soc-btn:hover,
.social-link:hover {
  transform: scale(1.1);
  background: var(--gray-100);
}

.blog-card {
  background: var(--purple);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card h3 {
  color: white;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.blog-header a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.blog-post {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.blog-date,
.blog-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--lime);
  color: var(--black);
  width: 48px;
  padding: 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.blog-date .day,
.blog-date-box .day {
  font-size: 18px;
  font-weight: 900;
}

.blog-post h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-post p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 12px;
}

.read-more,
.blog-card .view-all {
  font-size: 12px;
  color: var(--lime);
  font-weight: 600;
  text-decoration: none;
}

.review-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.reviewer-stars {
  color: #f59e0b;
  font-size: 14px;
}

.review-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.review-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}

.review-dot.active {
  background: var(--purple);
  width: 20px;
  border-radius: 4px;
}

/* TRUST BAR */
.trust-bar {
  background: var(--black);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(92, 45, 232, 0.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--purple-light);
  fill: none;
  stroke-width: 1.8;
}

.trust-text h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-text p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
}

/* FOOTER */
footer,
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 40px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
  text-align: left;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 20px;
}

.footer-social,
.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social a,
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: transparent;
  font-size: 14px;
  color: white;
  text-decoration: none;
}

.footer-social a:hover,
.social-link:hover {
  border-color: var(--purple);
  background: rgba(92, 45, 232, 0.2);
}

.social-link svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 1.8;
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-col a,
.footer-col ul li a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none;
}

.footer-col a:hover,
.footer-col ul li a:hover {
  color: white !important;
}

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

.footer-newsletter h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-newsletter p {
  font-size: 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-email-row,
.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  overflow: hidden;
  padding: 4px 4px 4px 16px;
  align-items: center;
}

.footer-email-row input,
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 13px;
  outline: none;
}

.footer-email-row input::placeholder,
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-email-btn,
.newsletter-form button {
  background: var(--purple);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  color: white;
}

.footer-email-btn:hover,
.newsletter-form button:hover {
  background: var(--purple-dark);
}

.newsletter-form button svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom a,
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom-links a:hover {
  color: white !important;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* GLASSMORPHIC MOBILE BOTTOM NAVIGATION */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  height: 64px;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
  z-index: 9999;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: grid;
  }

  .bottom-grid,
  .bottom-section {
    grid-template-columns: 1fr;
  }

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

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

  .products-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .products-grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .top-picks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.mobile-bottom-nav a.active {
  color: var(--purple);
  font-weight: 600;
}

.mobile-bottom-nav .mobile-nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  stroke: var(--gray-600);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-bottom-nav a.active .mobile-nav-icon {
  stroke: var(--purple);
  transform: translateY(-2px);
}

.mobile-bottom-nav .label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* ALERTS & STATUS PILLS */
.alert,
.auth-error,
.auth-success {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.alert-danger,
.auth-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

.alert-success,
.auth-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.status-pill {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

.status-pending {
  background: #fef3c7;
  color: #d97706;
}

.status-processing {
  background: #dbeafe;
  color: #2563eb;
}

.status-shipped {
  background: #f3e8ff;
  color: #7c3aec;
}

.status-delivered {
  background: #d1fae5;
  color: #059669;
}

.status-cancelled {
  background: #fee2e2;
  color: #dc2626;
}

/* PAGE 2: PRODUCTS */
.page-hero-bar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
  padding: 36px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

.page-hero-bar h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}

.page-hero-bar p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.breadcrumb a {
  color: var(--text-muted);
  cursor: pointer;
}

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

.breadcrumb-sep {
  color: var(--gray-300);
}

.promo-banner-mini {
  background: linear-gradient(135deg, var(--off-white) 0%, #ede8ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 320px;
  text-align: left;
}

.promo-banner-mini h4 {
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.promo-banner-mini p {
  font-size: 12px;
  color: var(--text-muted);
}

.category-tabs {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  overflow-x: auto;
}

.cat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}

.cat-tab.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

.cat-tab:hover:not(.active) {
  border-color: var(--purple);
  color: var(--purple);
}

.cat-tab .cat-count {
  font-size: 11px;
  opacity: 0.7;
}

.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px;
  align-items: start;
}

.filters-panel {
  position: sticky;
  top: 88px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
}

.filters-panel h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-clear {
  font-size: 12px;
  color: var(--purple);
  font-weight: 600;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group-title {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-600);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-group-title svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 2.5;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  cursor: pointer;
}

.filter-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.filter-checkbox.checked {
  background: var(--purple);
  border-color: var(--purple);
}

.filter-checkbox.checked::after {
  content: '✓';
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.filter-label {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}

.filter-count {
  font-size: 11px;
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 10px;
  color: var(--gray-600);
}

.price-range {
  margin-top: 8px;
}

.range-slider {
  width: 100%;
  accent-color: var(--purple);
  margin: 12px 0;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.products-count {
  font-size: 13px;
  color: var(--text-muted);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hide-filters-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: white;
  transition: all 0.2s;
}

.hide-filters-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.hide-filters-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.sort-select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  background: white;
  color: var(--text);
  cursor: pointer;
}

.products-grid-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.page-nums {
  display: flex;
  gap: 6px;
}

.page-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.page-num.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

.page-num:hover:not(.active) {
  border-color: var(--purple);
  color: var(--purple);
}

.page-nav-btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: white;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.page-nav-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.page-nav-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.breadcrumbs-container {
  border-bottom: 1px solid var(--border);
  background: var(--gray-100);
}

.breadcrumbs-container .breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 40px;
  margin-bottom: 0;
}

/* PAGE 3: PRODUCT DETAIL */
.product-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 340px;
  gap: 32px;
  align-items: start;
}

.product-main-img {
  border-radius: var(--radius);
  aspect-ratio: 1.1;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.product-main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.2s ease-out;
  transform-origin: center center;
}

.product-main-img.zooming img {
  transition: none !important;
}

.img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--purple);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
}

.img-discount {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.thumb {
  width: 68px;
  height: 68px;
  background: #f8f7ff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px;
}

.thumb.active,
.thumb:hover {
  border-color: var(--purple);
}

.product-info {
  text-align: left;
}

.product-info .product-tag {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-info h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  color: var(--black);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-rating .stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 0;
}

.product-rating .rating-num {
  font-weight: 700;
  color: var(--black);
}

.product-rating .reviews-link {
  font-size: 13px;
  color: var(--purple);
  cursor: pointer;
  font-weight: 600;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.product-price-main {
  font-size: 30px;
  font-weight: 800;
  color: var(--black);
}

.product-price-original {
  font-size: 17px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price-off {
  background: #fee2e2;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.price-tax-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.stock-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 16px;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
}

.features-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.features-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: #dcfce7;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.color-picker {
  margin-bottom: 20px;
}

.color-picker-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.color-swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.swatch:hover,
.swatch.active {
  border-color: var(--purple);
  transform: scale(1.15);
}

/* Variant Selector Buttons */
.variant-option-btn {
  width: auto;
  height: auto;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--border);
  color: var(--black);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.variant-option-btn:hover {
  border-color: var(--purple);
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.variant-option-btn.active {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.08);
  color: var(--purple);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--purple);
  transform: scale(1.02);
}

/* Premium Amazon CTA Button */
.btn-amazon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-amazon:hover {
  background: #FFB300 !important;
  border-color: #FFB300 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4) !important;
}

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

.quantity-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.qty-label {
  font-size: 13px;
  font-weight: 600;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--gray-100);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  transition: background 0.2s;
  user-select: none;
}

.qty-btn:hover {
  background: var(--gray-200);
}

.qty-num {
  width: 48px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-cart {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--purple);
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cart:hover {
  background: var(--purple);
  color: white;
}

.btn-cart svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.btn-buynow {
  flex: 1.2;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--lime);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-buynow:hover {
  background: var(--lime-dark);
}

.btn-buynow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.secondary-actions {
  display: flex;
  gap: 16px;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.action-link:hover {
  color: var(--purple);
}

.action-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.product-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.feat-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.feat-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text);
}

.feat-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.product-sidebar {
  text-align: left;
}

.offer-box {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}

.offer-box .timer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.offer-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
}

.countdown {
  display: flex;
  gap: 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.countdown-sep {
  color: var(--text-muted);
}

.offer-price {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 2px;
}

.offer-original {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.offer-off {
  font-size: 13px;
  color: #dc2626;
  font-weight: 700;
}

.save-box {
  background: #f0fdf4;
  border: 1.5px solid #dcfce7;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 12px;
}

.save-box h5 {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  margin-bottom: 2px;
}

.save-box p {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.sidebar-service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.sidebar-service-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-service-text h5 {
  font-size: 13px;
  font-weight: 700;
}

.sidebar-service-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.available-offers h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.offer-item-icon {
  font-size: 18px;
}

.offer-item-text {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted);
}

.offer-item-text span {
  font-weight: 700;
  color: var(--text);
}

.offer-tac {
  font-size: 11px;
  color: var(--purple);
  cursor: pointer;
}

.buy-now-sidebar {
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  height: 48px;
  border-radius: var(--radius-sm);
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  transition: background 0.2s;
  border: none;
}

.buy-now-sidebar:hover {
  background: var(--lime-dark);
}

.buy-now-sidebar svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.secure-badge svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.product-tabs-section {
  padding: 0 40px 52px;
  text-align: left;
}

.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  position: relative;
  transition: color 0.2s;
}

.tab-btn.active {
  color: var(--purple);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#tab-reviews.tab-content.active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.product-desc {
  grid-column: span 2;
}

/* Product Showcase Banners Section */
.product-showcase-banners-section {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 0;
}

.showcase-banners-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.showcase-banner-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease;
}

.showcase-banner-card:hover {
  transform: translateY(-2px);
}

.showcase-banner-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

.showcase-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.showcase-banner-overlay h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.product-desc h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
}

.product-desc p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.product-desc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-desc ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.product-desc ul li::before {
  content: '•';
  color: var(--purple);
  font-size: 18px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.big-rating {
  font-size: 48px;
  font-weight: 800;
  color: var(--black);
}

.big-stars {
  color: #f59e0b;
  font-size: 22px;
}

.based-on {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.bar-track {
  flex: 1;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 4px;
}

.bar-pct {
  width: 28px;
  text-align: right;
  color: var(--text-muted);
}

.review-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-init {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-name2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
}

.verified {
  font-size: 11px;
  color: #16a34a;
  font-weight: 600;
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

.review-title2 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.review-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* PAGE 4: CART */
.cart-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.cart-header {
  text-align: left;
}

.cart-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--black);
}

.cart-header h1 span {
  color: var(--purple);
}

.cart-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto 140px auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  text-align: left;
}

.cart-item-img {
  width: 90px;
  height: 90px;
  background: #f8f7ff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 6px;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--black);
}

.cart-item-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}

.cart-item-badge.in-stock {
  background: #dcfce7;
  color: #166534;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  color: var(--black);
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  width: fit-content;
  background: white;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s;
  user-select: none;
  background: var(--gray-100);
  border: none;
}

.cart-qty-btn:hover {
  background: var(--gray-200);
}

.cart-qty-num {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.cart-action-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
}

.cart-action-link:hover {
  color: var(--purple);
}

.cart-action-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.cart-action-link.remove:hover {
  color: #dc2626;
}

.promo-section {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 8px;
  text-align: left;
}

.promo-icon {
  width: 40px;
  height: 40px;
  background: rgba(92, 45, 232, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.promo-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  background: var(--gray-100);
}

.order-summary-box {
  position: sticky;
  top: 88px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}

.order-summary-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.shipping-bar {
  background: var(--black);
  color: white;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.shipping-bar .prog-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.shipping-bar .prog-label span:last-child {
  color: var(--lime);
  font-weight: 700;
}

.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--lime);
  border-radius: 4px;
}

.progress-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
}

.summary-label {
  color: var(--text-muted);
}

.summary-value {
  font-weight: 600;
  color: var(--black);
}

.summary-discount {
  color: #16a34a;
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--black);
}

.summary-tax-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.order-trust {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-item-small {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.trust-item-small svg {
  width: 16px;
  height: 16px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.cart-empty {
  text-align: center;
  padding: 80px 40px;
  grid-column: 1 / -1;
}

.cart-empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--black);
}

.cart-empty p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* PAGE 5: CHECKOUT */
.checkout-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.checkout-steps {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
}

.checkout-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 60%;
  width: calc(100% - 20%);
  height: 2px;
  background: var(--gray-200);
}

.checkout-step.done:not(:last-child)::after {
  background: var(--purple);
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: white;
  position: relative;
  z-index: 1;
}

.checkout-step.done .step-circle {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}

.checkout-step.active .step-circle {
  border-color: var(--purple);
  color: var(--purple);
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.checkout-step.done .step-label,
.checkout-step.active .step-label {
  color: var(--purple);
}

.form-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
  text-align: left;
}

.form-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
}

.form-section h3 svg {
  width: 18px;
  height: 18px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 2;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
}

.form-input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  transition: border-color 0.2s;
  background: var(--gray-100);
  width: 100%;
  color: var(--text);
}

.form-input:focus {
  border-color: var(--purple);
  background: white;
  outline: none;
}

.form-input.filled {
  border-color: #16a34a;
  background: white;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.input-icon svg {
  width: 18px;
  height: 18px;
  stroke: #16a34a;
  fill: none;
  stroke-width: 2;
}

.form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  background: var(--gray-100);
  width: 100%;
  cursor: pointer;
  color: var(--text);
}

.save-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  position: relative;
}

.delivery-option:hover {
  border-color: var(--purple-light);
  background: var(--gray-50);
}

.delivery-option.active {
  border-color: var(--purple);
  background: rgba(92, 45, 232, 0.04);
}

.delivery-option .radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.delivery-option.active .radio {
  border-color: var(--purple);
  background: var(--purple);
}

.delivery-option.active .radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.delivery-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--purple);
}

.delivery-option.active .delivery-icon {
  background: rgba(92, 45, 232, 0.1);
}

.delivery-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delivery-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-align: left;
  margin: 0;
}

.delivery-time {
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
  margin: 0;
}

.delivery-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-align: right;
}

.delivery-option.active .delivery-price {
  color: var(--purple);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  cursor: pointer;
  background: white;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  color: var(--text-muted);
}

.payment-method:hover {
  border-color: var(--purple-light);
  background: var(--gray-50);
}

.payment-method.active {
  border-color: var(--purple);
  background: rgba(92, 45, 232, 0.04);
  color: var(--purple);
}

.payment-method-icon {
  font-size: 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.payment-method.active .payment-method-icon {
  background: rgba(92, 45, 232, 0.1);
}

.payment-method-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.payment-method.active .payment-method-name {
  color: var(--purple);
}

.card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.checkout-summary-img {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.checkout-summary-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px;
}

.checkout-summary-name {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
  color: var(--black);
}

.checkout-summary-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

/* PAGE 6: CONFIRM */
.confirm-page {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.confirm-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: #16a34a;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirm-page h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
  color: var(--black);
}

.confirm-page>p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-align: center;
}

.confirm-order-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--black);
}

.confirm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 700px;
  margin-bottom: 32px;
  text-align: left;
}

.confirm-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.confirm-card h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.confirm-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.confirm-track {
  background: var(--black);
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 700px;
  margin-bottom: 32px;
  text-align: left;
}

.track-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.track-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.track-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.track-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.track-step.done .track-circle {
  background: var(--purple);
  border-color: var(--purple);
}

.track-step.active .track-circle {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
}

.track-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.track-step.done .track-label,
.track-step.active .track-label {
  color: white;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--black);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 18px;
}

.toast-close {
  margin-left: 8px;
  opacity: 0.6;
  cursor: pointer;
  font-size: 16px;
}

/* VIDEO REVIEWS */
.video-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.video-review-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--black);
  cursor: pointer;
  border: 1px solid var(--border);
}

.video-review-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #f8f7ff;
  transition: transform 0.3s;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background 0.2s;
}

.video-review-card:hover .video-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.play-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(92, 45, 232, 0.3);
}

.video-review-card:hover .play-icon-circle {
  transform: scale(1.1);
  background: var(--purple-light);
}

.play-icon-circle svg {
  width: 14px;
  height: 14px;
  fill: white;
  margin-left: 2px;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.video-reviewer-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  text-align: left;
}

.video-reviewer-name {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.video-reviewer-rating {
  font-size: 9px;
}

/* Homepage Coupons Section Base Styles */
.homepage-coupons-section {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.homepage-coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.coupon-ticket {
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.2s;
}

.coupon-ticket:hover {
  border-color: var(--purple-light);
  box-shadow: var(--shadow);
}

.coupon-notch-left,
.coupon-notch-right {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--gray-100);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.coupon-notch-left {
  left: -8px;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.coupon-notch-right {
  right: -8px;
  border-right-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.coupon-ticket-left {
  padding-right: 12px;
  text-align: left;
}

.coupon-min-order {
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
}

.coupon-ticket-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  border-left: 1.5px dashed var(--gray-200);
  padding-left: 20px;
  min-width: 110px;
}

/* ==========================================================================
   HIVEN RESPONSIVE DESIGN STYLESHEET
   ========================================================================== */

/* Utility fixes */
body {
  overflow-x: hidden !important;
  width: 100%;
}

.w-100 {
  width: 100% !important;
}

/* 1. ANNOUNCEMENT & NAVBAR RESPONSIVENESS */
@media (max-width: 768px) {

  .announce,
  .ann-bar {
    padding: 8px 16px;
    text-align: center;
  }

  .ann-bar-inner {
    flex-direction: column;
    gap: 6px;
  }

  .announce-right,
  .ann-bar-right {
    justify-content: center;
    width: 100%;
  }

  .ann-bar-center {
    display: none !important;
    /* Hide secondary announcements to reduce height */
  }

  nav,
  .navbar {
    padding: 10px 16px;
    height: auto;
    min-height: 60px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none !important;
    /* Hidden since we have bottom mobile nav */
  }

  .nav-search {
    width: 100%;
    order: 3;
    margin-top: 10px;
    max-width: 100%;
  }

  .nav-icons {
    order: 2;
    gap: 12px;
  }

  .nav-logo {
    order: 1;
    font-size: 16px;
  }
}

/* 2. HERO SECTION RESPONSIVENESS */

/* Small Laptops (1024px to 1300px) */
@media (max-width: 1300px) and (min-width: 1025px) {
  .hero-visual-card.position-main {
    width: 260px !important;
    height: 260px !important;
    box-shadow: 0 15px 40px rgba(92, 45, 232, 0.15) !important;
  }
  .hero-visual-card.position-left {
    width: 110px !important;
    height: 110px !important;
    top: 70px !important;
    left: 10px !important;
  }
  .hero-visual-card.position-right {
    width: 110px !important;
    height: 110px !important;
    top: 70px !important;
    right: 10px !important;
  }
}

/* Tablets & Mobile Base (up to 1024px) */
@media (max-width: 1024px) {
  .hero {
    padding: 60px 24px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-bg-slide {
    background-position: center center;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1px;
    margin-bottom: 12px;
  }

  .hero p,
  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 14.5px;
    margin-bottom: 24px;
  }

  .hero-btns,
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 28px;
    align-items: center;
  }

  .hero-btns button,
  .hero-ctas button,
  .hero-btns .btn-primary,
  .hero-ctas .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .hero-props,
  .hero-badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-visual {
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
  }

  .hero-visual-card.position-main {
    width: 200px !important;
    height: 200px !important;
    position: static !important;
    order: 2;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(92, 45, 232, 0.15) !important;
  }

  .hero-visual-card {
    position: static !important;
    animation: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
  }

  .hero-visual-card.position-left {
    width: 120px !important;
    height: 120px !important;
    order: 1;
  }

  .hero-visual-card.position-right {
    width: 120px !important;
    height: 120px !important;
    order: 3;
  }

  .hero-dots {
    display: none !important;
  }
}

/* Mobile Phones (up to 600px) */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-visual-card.position-left,
  .hero-visual-card.position-right {
    display: none !important;
  }

  .hero-visual-card.position-main {
    width: 220px !important;
    height: 220px !important;
  }
}

/* 3. USP / FEATURES BAR */
@media (max-width: 1024px) {

  .usp-bar,
  .feature-strip {
    padding: 24px;
  }

  .usp-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .usp-item,
  .feature-item {
    padding: 8px 12px;
  }
}

@media (max-width: 600px) {

  .usp-bar,
  .feature-strip {
    padding: 20px 16px;
  }

  .usp-bar-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .usp-item,
  .feature-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0 16px 0;
  }

  .usp-item:last-child,
  .feature-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* 4. CATEGORIES SECTION SCROLL */
@media (max-width: 768px) {
  .categories-section {
    padding: 30px 16px;
  }

  .category-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
  }

  .category-scroll::-webkit-scrollbar {
    display: none;
    /* Hide default scrollbar */
  }

  .category-chip {
    flex-shrink: 0;
  }
}

/* 5. PRODUCT GRIDS & TOP PICKS */
@media (max-width: 1200px) {
  .products-grid-4,
  .products-grid-5 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .products-grid-main {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .products-grid-4,
  .products-grid-5,
  .top-picks-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .products-grid-main {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {

  .products-grid-4,
  .products-grid-5,
  .top-picks-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .section {
    padding: 30px 16px;
  }
}

@media (max-width: 480px) {

  .products-grid-4,
  .products-grid-5,
  .top-picks-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .product-card {
    padding: 10px;
  }

  .product-name,
  .product-card-name {
    font-size: 13px;
    height: 36px;
    overflow: hidden;
  }

  .product-stars {
    font-size: 11px;
  }

  .product-price,
  .price-current {
    font-size: 14px;
  }

  .add-btn,
  .btn-cart {
    width: 28px;
    height: 28px;
  }

  .wishlist-btn {
    opacity: 1 !important;
    /* Ensure always visible on mobile/touch screens */
    top: 8px;
    right: 8px;
  }
}

/* 6. PRODUCTS LISTING & FILTERS PANEL */
@media (max-width: 768px) {
  .products-layout {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 20px;
  }

  .filters-panel {
    position: relative;
    top: 0;
    margin-bottom: 10px;
  }

  .products-grid-main {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .page-hero-bar {
    padding: 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-hero-bar h1 {
    font-size: 28px;
  }

  .promo-banner-mini {
    min-width: 100%;
    padding: 16px;
  }

  .category-tabs {
    padding: 12px 16px;
    gap: 6px;
  }

  .cat-tab {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* 7. PRODUCT DETAIL PAGE RESPONSIVENESS */
@media (max-width: 1200px) {
  .product-detail {
    padding: 20px 24px;
    grid-template-columns: 1fr 1fr;
  }

  .product-sidebar {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .product-actions {
    flex-direction: column;
    gap: 10px;
  }

  .product-actions form {
    width: 100%;
  }

  .product-actions button,
  .product-actions .btn-cart,
  .product-actions .btn-buynow {
    width: 100%;
    height: 48px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .product-detail {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-sidebar {
    grid-column: span 1;
  }

  .product-main-img {
    aspect-ratio: 1;
  }

  .product-thumbs {
    gap: 8px;
  }

  .product-info h1 {
    font-size: 24px;
  }

  .product-price-main {
    font-size: 22px;
  }

  .product-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-tabs-section {
    padding: 16px;
  }

  .tabs-nav {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .video-reviews-grid {
    grid-template-columns: 1fr;
  }

  .specs-table td.spec-name {
    width: 40%;
    font-size: 13px;
  }

  .specs-table td.spec-val {
    font-size: 13px;
  }
}

/* 8. CART PAGE RESPONSIVENESS */
@media (max-width: 900px) {
  .cart-page {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 12px;
    padding: 12px;
    position: relative;
  }

  .cart-item-img {
    width: 80px;
    height: 80px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .cart-item-price {
    text-align: left;
    font-size: 15px;
    margin-top: 4px;
  }

  .cart-qty {
    margin-top: 8px;
    grid-column: span 2;
  }

  .cart-item-actions {
    position: absolute;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    gap: 12px;
  }
}

/* 9. CHECKOUT PAGE RESPONSIVENESS */
@media (max-width: 900px) {
  .checkout-page {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .checkout-steps {
    flex-wrap: wrap;
    gap: 10px;
  }

  .checkout-step:not(:last-child)::after {
    display: none !important;
    /* Hide checkout stepper lines on mobile */
  }
}

/* 10. FOOTER RESPONSIVENESS */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 40px 16px 88px;
    /* Extra padding for mobile bottom bar */
  }

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

  .footer-desc {
    max-width: 100%;
  }

  .footer-newsletter {
    margin-top: 10px;
  }
}

/* ==========================================
   FREQUENTLY BOUGHT TOGETHER (FBT) COMBOS
   ========================================== */
.fbt-container {
  margin: 40px auto;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.fbt-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.fbt-combo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: var(--white);
  margin-bottom: 20px;
}

.fbt-combo-card:last-child {
  margin-bottom: 0;
}

.fbt-visuals-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.fbt-product-visual-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  text-align: center;
}

.fbt-product-img {
  width: 100px;
  height: 100px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 36px;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

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

.fbt-product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  height: 36px;
}

.fbt-plus-separator {
  font-size: 24px;
  font-weight: 300;
  color: var(--gray-400);
  margin: 0 8px 30px 8px;
}

.fbt-details-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

@media (max-width: 768px) {
  .fbt-details-row {
    grid-template-columns: 1fr;
  }
}

.fbt-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fbt-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}

.fbt-checkbox-label input[type="checkbox"] {
  display: none;
}

.fbt-checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  transition: all 0.2s ease;
  margin-top: 1px;
}

.fbt-checkbox-label input[type="checkbox"]:checked+.fbt-checkbox-custom {
  background: var(--purple);
  border-color: var(--purple);
}

.fbt-checkbox-label input[type="checkbox"]:checked+.fbt-checkbox-custom::after {
  content: "✓";
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
}

.fbt-chk-text {
  line-height: 1.4;
}

.fbt-chk-price {
  font-weight: 700;
  color: var(--purple);
  margin-left: 6px;
}

.fbt-price-summary {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
}

.fbt-total-original {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.fbt-strike {
  text-decoration: line-through;
}

.fbt-total-combo {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.fbt-combo-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--purple);
}

.fbt-savings {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 16px;
}

.btn-fbt-add {
  width: 100%;
  padding: 12px;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(92, 45, 232, 0.2);
}

.btn-fbt-add:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

.btn-fbt-add:disabled {
  background: var(--gray-300);
  color: var(--gray-600);
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================
   HOMEPAGE CUSTOMER TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  padding: 60px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 40px 16px;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial-card::before {
  display: none;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--lime);
  box-shadow: 0 25px 50px rgba(108, 43, 217, 0.3);
}

.testimonial-card.no-video {
  background: linear-gradient(135deg, #1e1b4b 0%, #311084 50%, #0f172a 100%);
}

.testimonial-quote-icon {
  position: absolute;
  top: 30px;
  left: 24px;
  font-size: 100px;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  user-select: none;
}

.testimonial-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.5s ease;
}

.testimonial-card:hover .testimonial-video-bg {
  opacity: 0.8;
  transform: scale(1.05);
}

.testimonial-video-bg-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  z-index: 1;
  opacity: 0.3;
}

.testimonial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.85) 75%, #0f172a 100%);
  z-index: 2;
}

.testimonial-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-play-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-left: 2px;
}

.testimonial-card:hover .testimonial-play-btn {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 25px rgba(163, 230, 53, 0.5);
}

.testimonial-content {
  position: relative;
  z-index: 4;
  padding: 24px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.testimonial-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  font-style: normal;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta {
  flex: 1;
}

.testimonial-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.testimonial-title {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Testimonial Horizontal Slider */
.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
}

.testimonials-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
  /* Firefox */
}

.testimonials-slider-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.testimonials-slider-track .testimonial-card {
  flex: 0 0 290px;
  scroll-snap-align: start;
}

/* Slider Nav Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.6);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.prev-arrow {
  left: -24px;
}

.next-arrow {
  right: -24px;
}

@media (max-width: 1250px) {
  .prev-arrow {
    left: -10px;
  }

  .next-arrow {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none;
  }
}

/* Combos Horizontal Slider */
.combos-slider-wrapper {
  position: relative;
  width: 100%;
}

.combos-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
  /* Firefox */
}

.combos-slider-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.combos-slider-track .combo-deal-card {
  flex: 0 0 350px;
  max-width: 85vw;
  /* Ensure card is never wider than mobile viewports */
  scroll-snap-align: start;
}

/* ==========================================
   HIVEN EXTRA RESPONSIVE OVERRIDES (MOBILE & TABLET)
   ========================================== */

/* 1. Homepage Coupons Responsive Overrides */
@media (max-width: 768px) {
  .homepage-coupons-section {
    padding: 30px 16px;
  }

  .homepage-coupons-grid {
    grid-template-columns: 1fr !important;
  }
  
  .coupon-ticket {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  
  .coupon-ticket-right {
    border-left: none !important;
    border-top: 1.5px dashed var(--gray-200) !important;
    padding-left: 0 !important;
    padding-top: 16px !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  
  .coupon-notch-left,
  .coupon-notch-right {
    display: none !important;
  }
}

/* 2. Cart Page Item Mobile Layout */
@media (max-width: 768px) {
  .cart-item {
    display: grid !important;
    grid-template-columns: 80px 1fr !important;
    gap: 12px !important;
    padding: 16px 12px !important;
    position: relative !important;
  }

  .cart-item-img {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 80px !important;
    height: 80px !important;
    align-self: center !important;
  }

  .cart-item-info {
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding-right: 90px !important; /* Avoid overlap with absolute price */
  }

  .cart-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin-top: 4px !important;
  }

  .cart-item-price {
    position: absolute !important;
    right: 12px !important;
    top: 16px !important;
    text-align: right !important;
    margin-top: 0 !important;
  }

  .cart-item-actions {
    position: absolute !important;
    right: 12px !important;
    bottom: 16px !important;
    margin-top: 0 !important;
  }
}

/* 3. Product Gallery Thumbnails Overrides */
@media (max-width: 768px) {
  .product-thumbs {
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: center !important;
  }
  
  .thumb {
    width: 60px !important;
    height: 60px !important;
  }
}

/* 4. Sticky fixed 'Buy Now' button on Product Detail */
@media (max-width: 768px) {
  .buy-now-sidebar {
    position: fixed !important;
    bottom: 60px !important; /* sit above glassmorphic bottom nav */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
    z-index: 99999 !important; /* ensure it stays on top */
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15) !important;
    height: 52px !important;
    font-size: 15px !important;
    border-top: 1.5px solid var(--border) !important;
  }
  
  #hiven-chat-widget {
    bottom: 80px !important;
    right: 16px !important;
  }
  
  body:has(.buy-now-sidebar) #hiven-chat-widget {
    bottom: 125px !important;
  }
}

/* 5. Extra Responsive & Horizontal Space Fixes */
@media (max-width: 768px) {
  .breadcrumbs-container {
    padding: 0 !important;
  }
  
  .breadcrumbs-container .breadcrumb {
    padding: 12px 16px !important;
  }
  
  .product-desc {
    grid-column: span 1 !important;
  }

  .tab-content.active {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  #tab-reviews.tab-content.active {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .product-showcase-banners-section {
    margin-top: 20px !important;
  }

  .showcase-banner-overlay {
    padding: 16px 12px !important;
  }

  .showcase-banner-overlay h4 {
    font-size: 13px !important;
  }

  .banner-video-overlay {
    padding: 24px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .homepage-combos-section {
    padding: 30px 16px !important;
  }
}

@media (max-width: 480px) {
  .marketplace-badges {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  
  .hero h1 {
    font-size: 28px !important;
  }
}

/* Coupon & Offers Styling */
.available-coupons-container {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius, 16px);
  padding: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.dark-theme .available-coupons-container {
  background: rgba(20, 20, 25, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
}

.coupons-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black, #0f172a);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.coupons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.coupon-card {
  background: var(--bg-card, #ffffff);
  border: 1.5px dashed var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.dark-theme .coupon-card {
  background: rgba(30, 41, 59, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
}

.coupon-card:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(92, 45, 232, 0.08);
}

.coupon-card.applied {
  border-style: solid;
  border-color: var(--green, #10b981);
  background: rgba(16, 185, 129, 0.03);
}

.coupon-card.applied:hover {
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.08);
}

.coupon-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coupon-badge {
  background: rgba(92, 45, 232, 0.08);
  color: var(--purple, #5c2de8);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-mono, monospace);
  border: 1px solid rgba(92, 45, 232, 0.15);
}

.coupon-card.applied .coupon-badge {
  background: rgba(16, 185, 129, 0.08);
  color: var(--green, #10b981);
  border-color: rgba(16, 185, 129, 0.15);
}

.coupon-discount-tag {
  font-size: 13px;
  font-weight: 850;
  color: var(--purple, #5c2de8);
}

.coupon-card.applied .coupon-discount-tag {
  color: var(--green, #10b981);
}

.coupon-card-desc {
  font-size: 12px;
  color: var(--text-muted, #64748b);
  line-height: 1.4;
}

.coupon-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 11px;
}

.coupon-min-val {
  color: var(--text-muted, #64748b);
}

.coupon-action-text {
  font-weight: 700;
  color: var(--purple, #5c2de8);
  transition: color 0.2s;
}

.coupon-action-text.applied {
  color: var(--green, #10b981);
}

/* Checkout sidebar coupon mini-cards */
.checkout-coupon-mini-card {
  border: 1.5px dashed var(--border, #e2e8f0);
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-theme .checkout-coupon-mini-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(30, 41, 59, 0.4);
}

.checkout-coupon-mini-card:hover {
  transform: translateY(-1px);
  border-color: var(--purple);
}

.checkout-coupon-mini-card.applied {
  border-style: solid;
}

/* MOBILE MENU DRAWER OVERLAY */
.menu-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
}

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

/* MOBILE MENU DRAWER CONTENT */
.menu-drawer-content {
  position: absolute;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 10px 0 40px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-drawer-overlay.active .menu-drawer-content {
  left: 0;
}

/* HEADER */
.menu-drawer-header {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--banner-bg, #16003d) 0%, var(--purple-dark, #4018c8) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--purple);
}

.menu-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.menu-drawer-title img {
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.menu-drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.menu-drawer-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* BODY */
.menu-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ACCOUNT SECTION */
.drawer-account-section {
  background: rgba(92, 45, 232, 0.04);
  border: 1px solid rgba(92, 45, 232, 0.08);
  border-radius: var(--radius);
  padding: 16px;
}

.drawer-welcome {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.drawer-btn {
  flex: 1;
  display: inline-block;
  background: var(--purple);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, transform 0.15s;
}

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

.drawer-btn.outline {
  background: transparent;
  color: var(--purple) !important;
  border: 1.5px solid var(--purple);
}

.drawer-btn.outline:hover {
  background: rgba(92, 45, 232, 0.06);
  transform: translateY(-1px);
}

/* DRAWER GROUPS */
.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-group-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(92, 45, 232, 0.01);
  border: 1px solid rgba(92, 45, 232, 0.02);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-links a:hover {
  background: rgba(92, 45, 232, 0.05);
  border-color: rgba(92, 45, 232, 0.1);
  color: var(--purple);
  padding-left: 18px;
}

/* LINK ITEM WITH SVG ICON */
.drawer-link-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.drawer-link-item svg {
  stroke: var(--gray-600);
  transition: stroke 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.drawer-links a:hover svg {
  stroke: var(--purple);
  transform: scale(1.05);
}

.drawer-link-item span {
  flex-grow: 1;
}

/* ==========================================
   AMAZON-STYLE BRAND SHOWCASE SECTION
   ========================================== */
.brand-trust-container {
  padding: 24px 338px 12px 338px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.brand-trust-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-trust-badge {
  background: #232f3e;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-trust-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
}

.brand-trust-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-trust-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.brand-trust-bullets li svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.from-brand-section {
  padding: 24px 338px;
  background: var(--white);
}

.from-brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.brand-showcase-card {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.brand-carousel-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #f8fafc;
}

.brand-scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  scrollbar-width: none;
}

.brand-scroller::-webkit-scrollbar {
  display: none;
}

.brand-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

.brand-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  padding: 30px 20px 20px 20px;
  color: var(--white);
}

.brand-slide-overlay h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.brand-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 10;
  cursor: pointer;
  transition: all 0.2s;
}

.brand-nav-btn:hover {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.brand-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.brand-nav-prev {
  left: 16px;
}

.brand-nav-next {
  right: 16px;
}

.brand-info-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.brand-about-us {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 20px;
  flex-grow: 1;
  border: 1px solid var(--border);
}

.brand-about-us h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-about-us p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.brand-best-seller {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

.brand-best-seller:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 16px rgba(92, 45, 232, 0.06);
}

.brand-best-seller-img {
  width: 70px;
  height: 70px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-best-seller-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-best-seller-info {
  flex-grow: 1;
}

.brand-best-seller-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.brand-best-seller-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.brand-best-seller-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-best-seller-link:hover {
  text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 1400px) {
  .brand-trust-container,
  .from-brand-section {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 992px) {
  .brand-showcase-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .brand-trust-bullets {
    flex-direction: column;
    gap: 10px;
  }
  .brand-best-seller {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .brand-best-seller-img {
    width: 100%;
    height: 120px;
  }
}

/* -------------------------------------------------------------
   NOTIFICATION SYSTEM STYLES
------------------------------------------------------------- */
.notification-bell-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--white);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Notification Drawer */
.notification-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.notification-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.notification-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

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

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.5);
}

.drawer-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--black);
}

.drawer-close-btn {
  background: none;
  font-size: 24px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
}

.drawer-close-btn:hover {
  background: var(--gray-100);
  color: var(--black);
}

.drawer-actions {
  padding: 10px 24px;
  background: var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
}

.drawer-mark-read {
  color: var(--purple);
  font-weight: 700;
  cursor: pointer;
}

.drawer-mark-read:hover {
  color: var(--purple-dark);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-body::-webkit-scrollbar {
  width: 5px;
}

.drawer-body::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

.drawer-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: var(--text-muted);
  gap: 12px;
  text-align: center;
  padding: 20px;
}

.drawer-empty-state span.emoji {
  font-size: 40px;
}

.drawer-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.drawer-item:hover {
  border-color: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(92, 45, 232, 0.05);
}

.drawer-item.unread {
  background: var(--off-white);
  border-color: rgba(92, 45, 232, 0.2);
}

.drawer-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--purple);
}

.drawer-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.drawer-item.unread .drawer-item-icon {
  background: var(--white);
  box-shadow: 0 0 10px rgba(92, 45, 232, 0.1);
}

.drawer-item-content {
  flex-grow: 1;
}

.drawer-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.drawer-item-msg {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.drawer-item-time {
  font-size: 11px;
  color: var(--gray-400);
}

/* Floating Opt-in Banner */
.notif-prompt-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 380px;
  background: var(--black);
  color: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.notif-prompt-banner.show {
  transform: translateY(0);
}

.notif-prompt-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.notif-prompt-icon {
  font-size: 28px;
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-prompt-title h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.notif-prompt-title p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.notif-prompt-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.notif-prompt-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.notif-prompt-btn-allow {
  background: var(--lime);
  color: var(--black);
}

.notif-prompt-btn-allow:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}

.notif-prompt-btn-later {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notif-prompt-btn-later:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

/* Dynamic Toasts */
.notif-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10001;
  pointer-events: none;
}

.notif-toast {
  pointer-events: auto;
  width: 360px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(92, 45, 232, 0.15);
  border-left: 5px solid var(--purple);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: 0 15px 35px rgba(92, 45, 232, 0.1), 0 5px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 14px;
  transform: translateX(120%) scale(0.9);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.notif-toast.show {
  transform: translateX(0) scale(1);
  opacity: 1;
  box-shadow: 0 20px 40px rgba(92, 45, 232, 0.18), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.notif-toast-icon-container {
  position: relative;
  flex-shrink: 0;
}

.notif-toast-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid rgba(92, 45, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 4px rgba(92, 45, 232, 0.05);
  overflow: hidden;
}

.notif-toast-pulse-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--lime);
  border: 2px solid var(--white);
  border-radius: 50%;
  animation: pulse-lime 1.5s infinite;
}

@keyframes pulse-lime {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(200, 255, 0, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(200, 255, 0, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(200, 255, 0, 0);
  }
}

.notif-toast-content {
  flex-grow: 1;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notif-toast-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.notif-toast-body {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.notif-toast-action {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  margin-top: 6px;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  cursor: pointer;
}

.notif-toast-action:hover {
  color: var(--purple-dark);
  text-decoration: underline;
}

.notif-toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.notif-toast-close:hover {
  color: var(--black);
}

@media (max-width: 480px) {
  .notification-drawer {
    width: 100%;
  }
  .notif-prompt-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .notif-toast-container {
    right: 12px;
    bottom: 12px;
  }
}

/* ==========================================
   PRODUCT DETAILS LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 100000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  color: var(--black);
  z-index: 100002;
  line-height: 1;
}

.lightbox-close-btn:hover {
  color: var(--purple);
}

.lightbox-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  width: 100%;
  height: 100%;
}

.lightbox-image-container {
  position: relative;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--border);
}

.lightbox-zoom-controls {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  gap: 12px;
  z-index: 100001;
}

.zoom-control-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  color: var(--black);
}

.zoom-control-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

.zoom-control-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-main-img-wrapper {
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

.lightbox-main-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.25s ease-out;
}

.lightbox-info-panel {
  padding: 80px 48px;
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.lightbox-product-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
  line-height: 1.4;
}

.lightbox-attributes {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}

.lightbox-attr-item {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.lightbox-attr-item .attr-label {
  font-weight: 600;
  margin-right: 6px;
  color: var(--black);
}

.lightbox-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lightbox-thumb {
  aspect-ratio: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.lightbox-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 12px rgba(92, 45, 232, 0.1);
}

/* Responsive styles for lightbox */
@media (max-width: 992px) {
  .lightbox-content {
    grid-template-columns: 1fr;
    grid-template-rows: 1.2fr 1fr;
  }
  
  .lightbox-image-container {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .lightbox-info-panel {
    padding: 32px 24px;
  }
}