/* ================================================================
   UPERWEED CANNABIS - E-COMMERCE STYLESHEET
   Enterprise Theme Inspired Design
   Professional Cannabis Dispensary
   ================================================================ */

/* ================================================================
   VARIABLES & RESET
   ================================================================ */

:root {
  --color-dark-header: #0a0a0a;
  --color-light-bg: #f5f5f5;
  --color-card-bg: #ffffff;
  --color-orange-accent: #4caf50;
  --color-orange-hover: #388e3c;
  --color-text-dark: #1a1a1a;
  --color-text-light: #555555;
  --color-text-white: #ffffff;
  --color-border: #e0e0e0;
  --color-success: #27ae60;
  --color-error: #e74c3c;
  --color-warning: #f39c12;
  --color-info: #3498db;
  --color-green-accent: #2d6a4f;
  --color-green-light: #1a472a;
  --color-primary: #4caf50;
  --color-primary-hover: #388e3c;
  --color-dark-green: #1b5e20;
  --color-dark-bg: #0a0a0a;
  --color-dark-accent: #0d1f12;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-light-bg);
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--color-text-dark);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  color: var(--color-orange-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-orange-hover);
}

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

/* ================================================================
   LAYOUT: CONTAINER & MAIN STRUCTURE
   ================================================================ */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-main {
  background-color: var(--color-dark-header);
  color: var(--color-text-white);
  position: relative;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0.4rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-white);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  border-radius: 6px;
}

.logo a {
  color: var(--color-text-white);
}

.logo a:hover {
  color: var(--color-orange-accent);
}

/* ================================================================
   NAVIGATION
   ================================================================ */

.main-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}

.main-nav > a,
.main-nav > .nav-item > .nav-link,
.main-nav > .nav-link {
  color: var(--color-text-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.325rem 0.625rem;
  border-bottom: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #4caf50 0%, #1b5e20 100%);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav > a:hover,
.main-nav > .nav-item > .nav-link:hover,
.main-nav > .nav-link:hover {
  color: #fff;
  background: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
  border-bottom-color: transparent;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
}

.main-nav > a.active,
.main-nav > .nav-item > .nav-link.active,
.main-nav > .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Reset mega menu links - no gradient */
.mega-menu a {
  background: none !important;
  border-radius: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ================================================================
   MEGA MENU
   ================================================================ */

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

.nav-item.has-mega > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-item.has-mega > .nav-link svg {
  transition: transform 0.2s ease;
}

.nav-item.has-mega:hover > .nav-link svg {
  transform: rotate(180deg);
}

.nav-item.has-mega {
  position: static;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-card-bg);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  min-width: 700px;
  max-width: 96vw;
  padding: 2rem;
  border-top: 3px solid var(--color-orange-accent);
}

.nav-item.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu-inner {
  display: flex;
  gap: 1.5rem;
}
.mega-categories {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-content: start;
}
.mega-menu-inner.has-promo-banner {
  min-width: 900px;
}
.mega-menu-inner.has-promo-banner .promotion-mega-banner {
  width: 300px;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  align-self: start;
}

.mega-col .mega-heading {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  text-decoration: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-orange-accent);
  transition: color 0.2s;
}

.mega-col .mega-heading:hover {
  color: var(--color-orange-accent);
}

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

.mega-links li {
  margin-bottom: 0.4rem;
}

.mega-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
  padding: 0.25rem 0;
}

.mega-links a:hover {
  color: var(--color-orange-accent);
  padding-left: 4px;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.cart-link:hover {
  background-color: var(--color-orange-hover);
  text-decoration: none;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  background-color: var(--color-error);
  color: var(--color-text-white);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 0.25rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.mobile-menu-toggle:hover {
  color: var(--color-orange-accent);
}

/* ================================================================
   TRUST BAR - Below Header
   ================================================================ */

.trust-bar {
  background-color: var(--color-card-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.6rem 0;
}

.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--color-orange-accent);
}

/* ================================================================
   MAIN CONTENT & FOOTER
   ================================================================ */

.site-main {
  min-height: calc(100vh - 200px);
  padding-bottom: 2rem;
}

/* Breadcrumb sits flush against header; other content gets spacing */
.site-main > .container:first-child {
  padding-top: 1.5rem;
}

.site-main > .breadcrumb-section {
  margin-bottom: 0;
}

.site-main > .breadcrumb-section + .container {
  padding-top: 1.5rem;
}

/* ================================================================
   DELIVERY AREAS SECTION
   ================================================================ */

.delivery-areas-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1f12 100%);
  padding: 2.5rem 0;
  margin-top: 3rem;
}

.delivery-areas-inner {
  text-align: center;
}

.delivery-areas-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.delivery-areas-header svg {
  color: #4caf50;
  stroke: #4caf50;
  flex-shrink: 0;
}

.delivery-areas-header h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
}

.delivery-areas-header p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.delivery-areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.delivery-area-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #4caf50 0%, #1b5e20 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.delivery-area-link:hover {
  background: linear-gradient(135deg, #1b5e20 0%, #4caf50 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
  color: #fff;
}

.delivery-areas-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.delivery-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #e8600a 0%, #c0392b 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.delivery-cta-phone:hover {
  background: linear-gradient(135deg, #c0392b 0%, #e8600a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 96, 10, 0.35);
}

.delivery-cta-phone svg {
  stroke: #fff;
}

.delivery-cta-hours {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .delivery-areas-header {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .delivery-areas-header h3 {
    font-size: 1.1rem;
  }

  .delivery-areas-list {
    gap: 0.4rem;
  }

  .delivery-area-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .delivery-areas-cta {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background-color: var(--color-dark-header);
  color: var(--color-text-white);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

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

.footer-brand,
.footer-content,
.footer-links,
.footer-contact {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: #888;
}

.footer-admin-link {
  font-size: 0.85rem;
  color: #555 !important;
}

.footer-logo,
.footer-brand h4,
.site-footer h4 {
  color: var(--color-text-white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #b0b0b0;
}

.site-footer a {
  color: #b0b0b0;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--color-orange-accent);
}

.footer-copy {
  font-size: 0.85rem;
  color: #888;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */

.breadcrumb-section {
  padding: 0.75rem 0;
  background-color: var(--color-card-bg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.breadcrumb-section .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breadcrumb-phone {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e8600a 0%, #c0392b 100%);
  color: #fff;
  padding: 0.325rem 0.625rem;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.breadcrumb-phone:hover {
  background: linear-gradient(135deg, #c0392b 0%, #e8600a 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 96, 10, 0.35);
}

.breadcrumb-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-phone svg {
  stroke: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  font-size: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin: 0 0.6rem;
  color: #aaa;
  font-size: 1rem;
  font-weight: 400;
}

.breadcrumb li:last-child {
  color: var(--color-text-light);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--color-text-light);
}

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

.breadcrumb .separator {
  color: #aaa;
  margin: 0 0.5rem;
}

.breadcrumb .current {
  color: var(--color-text-dark);
  font-weight: 500;
}

/* ================================================================
   PROMO BAR
   ================================================================ */

.promo-bar {
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
  padding: 0.5rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.promo-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================================================================
   HERO SECTION (static fallback)
   ================================================================ */

.hero-section,
.hero {
  background: linear-gradient(135deg, var(--color-dark-header) 0%, #2a2a2a 100%);
  color: var(--color-text-white);
  padding: 5rem 2rem;
  border-radius: 0;
  margin-bottom: 0;
  text-align: center;
}

.hero-content,
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-text-white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ddd;
}

/* ================================================================
   HERO CAROUSEL (Swiper)
   ================================================================ */

.hero-carousel {
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  aspect-ratio: 2.88 / 1; /* 1440÷500 — full ultrawide, no clipping */
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: 100% 100%; /* fill exactly — no clipping, preserves position accuracy */
  background-position: center;
  background-color: #0a0a0a;
  overflow: hidden;
}

.hero-slide .promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 500px;
  transform-origin: 0 0;
  z-index: 2;
  /* transform: scale() applied by JS to fit current banner width */
}

.hero-el {
  position: absolute;
  white-space: nowrap;
  max-width: 70%;
  overflow: visible;
  padding: 0.1em 0;
}

.hero-headline {
  font-weight: 800;
  line-height: 1.4;
  opacity: 0.8;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
}

.hero-subtext {
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-cta {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  filter: brightness(1.1);
}

/* Swiper overrides for hero */
.hero-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.6);
  opacity: 1;
  width: 10px;
  height: 10px;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-swiper:hover .swiper-button-prev,
.hero-swiper:hover .swiper-button-next {
  opacity: 0.7;
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-swiper { aspect-ratio: 1 / 1; max-height: 480px; } /* square for mobile images */
  .hero-slide-content { width: 390px; height: 390px; } /* mobile virtual canvas */
  .hero-headline { white-space: nowrap; }
  .hero-subtext { white-space: nowrap; }
}
@media (max-width: 480px) {
  .hero-swiper { max-height: 390px; }
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-orange-accent);
}

.section-link:hover {
  color: var(--color-orange-hover);
}

.section-title {
  margin-bottom: 2rem;
  padding: 0;
}

.section-header h2,
.section-title h2 {
  color: var(--color-text-dark);
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.section-header p,
.section-title p {
  color: var(--color-text-light);
  font-size: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   GRIDS: FEATURED, CATEGORY, BUNDLE
   ================================================================ */

.featured-section {
  padding: 3rem 0;
  background-color: var(--color-card-bg);
}

.featured-grid,
.category-grid,
.bundle-grid,
.articles-grid,
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ================================================================
   CATEGORY CIRCLES
   ================================================================ */

.categories-section {
  padding: 3rem 0;
}

.category-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.category-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  text-decoration: none;
  color: var(--color-text-dark);
  transition: var(--transition);
  min-width: 100px;
}

.category-circle:hover {
  transform: translateY(-4px);
}

.category-circle:hover .category-icon {
  background-color: var(--color-orange-accent);
  color: white;
}

.category-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  color: var(--color-text-dark);
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

.category-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-dark);
}

.category-cta {
  font-size: 0.75rem;
  color: var(--color-orange-accent);
  font-weight: 500;
}

.category-circle img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ================================================================
   SORT CONTROLS & CATEGORY HEADER
   ================================================================ */

.sort-form {
  margin-bottom: 2rem;
}

.sort-form select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.85rem;
  background-color: var(--color-card-bg);
  color: var(--color-text-dark);
  cursor: pointer;
  appearance: auto;
}

.sort-form select:focus {
  outline: none;
  border-color: var(--color-orange-accent);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.08);
}

.sort-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.25rem;
  background-color: var(--color-card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.sort-controls label {
  font-weight: 600;
  color: var(--color-text-dark);
}

.sort-controls select,
.sort-controls input {
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.9rem;
  background-color: var(--color-card-bg);
  color: var(--color-text-dark);
}

.sort-controls select:hover,
.sort-controls input:hover {
  border-color: var(--color-orange-accent);
}

.sort-controls select:focus,
.sort-controls input:focus {
  outline: none;
  border-color: var(--color-orange-accent);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Shop Search */
.shop-search {
  margin-bottom: 1.25rem;
}

.search-form {
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: var(--color-card-bg);
  color: var(--color-text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-orange-accent);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-input::placeholder {
  color: #aaa;
}

.search-clear {
  position: absolute;
  right: 0.75rem;
  font-size: 1.25rem;
  color: var(--color-text-light);
  text-decoration: none;
  line-height: 1;
  padding: 0.25rem;
}

.search-clear:hover {
  color: var(--color-text-dark);
}

.shop-header {
  margin-bottom: 1.5rem;
}

.shop-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.shop-header p {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Section spacing improvements */
.categories-section {
  padding: 3.5rem 0;
}

.featured-section {
  padding: 3.5rem 0;
}

.featured-section + section,
section + section {
  border-top: 1px solid #eee;
}

.category-header {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.category-header h1 {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.category-header p {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ================================================================
   PRODUCT CARD
   ================================================================ */

.product-card {
  background-color: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card .product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-light-bg);
  overflow: hidden;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.strain-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-white);
  z-index: 10;
}

.strain-badge.indica {
  background-color: #9b59b6;
}

.strain-badge.sativa {
  background-color: #f39c12;
}

.strain-badge.hybrid {
  background-color: #27ae60;
}

.strain-badge.cbd {
  background-color: #3498db;
}

.sale-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: var(--color-error);
  color: var(--color-text-white);
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.lab-tested-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--color-success);
  color: var(--color-text-white);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

.lab-tested-badge::before {
  content: '✓';
  font-size: 1.1rem;
}

.verified-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-success);
  color: var(--color-text-white);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card .product-info {
  padding: 1rem 1.25rem 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card .btn {
  margin-top: auto;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--color-text-dark);
}

.product-card .product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  min-height: 2.6em;
}

.product-card .product-price {
  font-size: 1.35rem;
  color: var(--color-orange-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card .original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.product-card .sale-price {
  color: var(--color-error);
  font-weight: 700;
}

.product-card .product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-card .stars {
  display: flex;
  gap: 0.2rem;
}

.product-card .stars .star {
  color: #ddd;
  font-size: 0.9rem;
}

.product-card .stars .star.filled {
  color: #f39c12;
}

.product-card .product-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.btn-add-cart {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-add-cart:hover {
  background-color: var(--color-orange-hover);
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */

.category-faq {
  margin-top: 3rem;
  background-color: var(--color-card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}

.category-faq h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-orange-accent);
}

.category-faq .faq-accordion {
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.faq-accordion {
  background-color: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

/* Expert Advice section on category pages */
.expert-advice-section {
  margin-top: 2rem;
  background-color: var(--color-card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}

.expert-advice-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-orange-accent);
}

.expert-advice-section .articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.advice-item {
  background-color: var(--color-light-bg);
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.advice-item:hover {
  border-color: var(--color-orange-accent);
  background-color: #fff;
}

.advice-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.advice-item .article-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.advice-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.advice-item .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange-accent);
  text-decoration: none;
}

.advice-item .read-more:hover {
  text-decoration: underline;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

/* Details-based FAQ (product page tabs) */
details.faq-item {
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

details.faq-item:last-child {
  border-bottom: none;
}

details.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: var(--transition);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

details.faq-item[open] summary::after {
  content: '−';
  color: var(--color-orange-accent);
}

details.faq-item summary:hover {
  color: var(--color-orange-accent);
  background-color: rgba(76, 175, 80, 0.03);
}

details.faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

.faq-question {
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-light-bg);
  transition: var(--transition);
  font-weight: 600;
  color: var(--color-text-dark);
}

.faq-question:hover {
  background-color: #eaeaea;
}

.faq-question.active {
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: transparent;
  color: currentColor;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  transition: var(--transition);
}

.faq-question.active .faq-toggle {
  background-color: rgba(255, 255, 255, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: var(--color-card-bg);
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.25rem;
}

.faq-answer p {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ================================================================
   TABS
   ================================================================ */

.product-tabs {
  margin-top: 3rem;
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button,
.tab-nav button {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.tab-button:hover,
.tab-nav button:hover {
  color: var(--color-text-dark);
}

.tab-button.active,
.tab-nav button.active {
  color: var(--color-orange-accent);
  border-bottom-color: var(--color-orange-accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */

.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-column: 1;
  grid-row: 1;
}

.product-gallery .main-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-light-bg);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-gallery,
.product-gallery .thumbnail-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.thumbnail {
  aspect-ratio: 1;
  background-color: var(--color-light-bg);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
}

.thumbnail:hover {
  border-color: var(--color-orange-accent);
}

.thumbnail.active {
  border-color: var(--color-orange-accent);
}

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

.product-info-section {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1 / 3;
}

.product-details-below {
  grid-column: 1;
  grid-row: 2;
}

.product-info-section .product-name {
  font-size: 1.4rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 700;
}

.product-header {
  margin-bottom: 0.5rem;
}

.product-header h1 {
  font-size: 1.75rem;
  line-height: 1.2;
}

.product-description {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.product-badges .strain-badge {
  position: static;
  display: inline-block;
}

.product-badges-section .strain-badge,
.product-info-section .strain-badge {
  position: static;
  display: inline-block;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--color-light-bg);
  border-radius: 8px;
}

.product-meta-item {
  flex: 0 0 auto;
}

.product-meta-item strong {
  display: block;
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.product-meta-item span {
  color: var(--color-text-dark);
  font-weight: 600;
}

.product-rating-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

.price-display {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-bottom: none;
  background: linear-gradient(135deg, #f8f4f0 0%, #fdf9f5 100%);
  border-radius: 10px;
  border: 1px solid rgba(212, 165, 116, 0.25);
}

.price-display .current-price {
  font-size: 2.5rem;
  color: var(--color-orange-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price-display .original-price {
  font-size: 1.15rem;
  color: #999;
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.price-display .sale-price {
  font-size: 1.85rem;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-display .sale-ends-date {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  font-weight: 500;
  margin-top: 0.3rem;
  opacity: 0.85;
}

.terpenes-section,
.effects-section {
  margin-bottom: 2rem;
}

.terpenes-section h4,
.effects-section h4 {
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.terpene-tags,
.effect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.terpene-tag,
.effect-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
}

.terpene-tag {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.effect-tag {
  background-color: #fff3e0;
  color: #e65100;
}

.weight-options {
  margin-bottom: 2rem;
}

.weight-options > label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.options-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.weight-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--color-text-dark);
}

.weight-option:hover {
  border-color: var(--color-orange-accent);
  background-color: var(--color-light-bg);
}

.weight-option.selected {
  border-color: var(--color-orange-accent);
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--color-orange-accent);
}

.weight-option input[type="radio"] {
  display: none;
}

.option-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  cursor: pointer;
}

.option-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.weight-options .option-sale {
  color: var(--color-error);
  font-weight: 700;
  font-size: 1rem;
}

.weight-options .option-original {
  color: #999;
  text-decoration: line-through;
  font-size: 0.85rem;
  font-weight: 400;
}

.add-to-cart-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.add-to-cart-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

/* Pill-shaped quantity selector */
.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}

.qty-selector-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  line-height: 1;
  user-select: none;
}

.qty-selector-btn:hover:not(.disabled) {
  background: var(--color-bg-light);
}

.qty-selector-btn.disabled {
  opacity: 0.3;
  cursor: default;
}

.qty-selector-input {
  width: 2.5rem;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-selector-input::-webkit-outer-spin-button,
.qty-selector-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-to-cart-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  flex: 1;
}

.add-to-cart-btn:hover {
  background-color: var(--color-orange-hover);
  box-shadow: var(--shadow-md);
}

.add-to-cart-btn:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .add-to-cart-row {
    gap: 0.5rem;
  }
  .qty-selector-btn {
    width: 2.25rem;
  }
  .add-to-cart-btn {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }
}

/* ================================================================
   REVIEWS
   ================================================================ */

.review-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 1rem;
  background-color: var(--color-card-bg);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name {
  font-weight: 600;
  color: var(--color-text-dark);
}

.review-date {
  font-size: 0.85rem;
  color: #999;
}

.review-rating {
  display: flex;
  gap: 0.2rem;
}

.review-rating .star {
  color: #f39c12;
  font-size: 1rem;
}

.review-text {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ================================================================
   RELATED PRODUCTS
   ================================================================ */

.related-products {
  margin-top: 3rem;
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.related-products .section-title {
  margin-bottom: 2rem;
}

.related-products .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ================================================================
   CART PAGE
   ================================================================ */

/* Cart page layout — sidebar + items */
.cart-page-container h1 {
  margin-bottom: 1.5rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.cart-items-section {
  min-width: 0;
}

.cart-actions-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cart-product-summary {
  font-size: 0.78rem;
  color: #999;
  line-height: 1.3;
  max-width: 250px;
}

.cart-items {
  background-color: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead {
  background-color: var(--color-light-bg);
  border-bottom: 2px solid var(--color-border);
}

.cart-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-dark);
}

.cart-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-table tr:last-child td {
  border-bottom: none;
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  background-color: var(--color-light-bg);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Cart table thumbnail */
.cart-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background-color: var(--color-light-bg);
  flex-shrink: 0;
}

.cart-product a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-text-dark);
}

.cart-product a:hover .cart-product-name {
  color: var(--color-orange-accent);
}

.cart-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cart-product-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  transition: color 0.15s;
}

.cart-product-option {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
  background: #f5f5f5;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.cart-price {
  white-space: nowrap;
}

.cart-original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.85rem;
  display: block;
}

.cart-sale-price {
  color: #d32f2f;
  font-weight: 600;
}

.cart-subtotal {
  white-space: nowrap;
}

.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.15s;
}

.cart-remove-btn:hover {
  color: #d32f2f;
  background: #fef2f2;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.qty-selector-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  transition: background 0.15s;
}

.qty-selector-btn:hover:not(.disabled) {
  background: #e8e8e8;
}

.qty-selector-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-selector-display {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  line-height: 36px;
}

/* Cart page breadcrumb nav spacing */
nav.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

nav.breadcrumb a {
  color: #666;
  text-decoration: none;
}

nav.breadcrumb a:hover {
  color: var(--color-orange-accent);
}

.cart-item-details {
  flex: 1;
  min-width: 200px;
}

.cart-item-name {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.25rem;
}

.cart-item-option {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.cart-item-price {
  font-weight: 600;
  color: var(--color-orange-accent);
  text-align: right;
  min-width: 80px;
}

/* Cart price display - sale vs regular */
.cart-price {
  white-space: nowrap;
}

.cart-original-price {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.15rem;
}

.cart-sale-price {
  color: var(--color-error);
  font-weight: 700;
  display: block;
}

.cart-regular-price {
  font-weight: 600;
  color: var(--color-text-dark);
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Cart quantity selector - pill style matching product page */
.cart-quantity .qty-selector {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.cart-quantity .qty-selector-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  line-height: 1;
}

.cart-quantity .qty-selector-btn:hover:not(:disabled) {
  background: var(--color-light-bg);
}

.cart-quantity .qty-selector-btn:disabled,
.cart-quantity .qty-selector-btn.disabled {
  opacity: 0.3;
  cursor: default;
}

.cart-quantity .qty-selector-display {
  width: 2rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 0;
}

.cart-quantity .quantity-form {
  margin: 0;
}

/* Cart remove button - trash icon style */
.cart-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
}

.cart-remove-btn:hover {
  background: #fef2f2;
  border-color: var(--color-error);
  color: var(--color-error);
}

.cart-remove-btn svg {
  pointer-events: none;
}

/* Legacy remove-btn (keep for backwards compat) */
.remove-btn {
  background: none;
  border: none;
  color: var(--color-error);
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
  transition: var(--transition);
}

.remove-btn:hover {
  color: #c0392b;
}

.cart-summary {
  position: sticky;
  top: 180px;
}

.summary-card {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.summary-card h2 {
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: none;
}

.summary-row.total {
  padding: 1rem 0;
  border-bottom: none;
  border-top: 2px solid var(--color-orange-accent);
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.summary-row.total strong {
  color: var(--color-orange-accent);
}

.summary-row strong {
  color: var(--color-text-dark);
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--color-card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.empty-cart h2 {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.empty-cart p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  margin-bottom: 3rem;
}

.checkout-form {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-dark);
  background-color: var(--color-card-bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange-accent);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

.order-summary {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky;
  top: 140px;
}

.order-summary h3 {
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.order-summary-item:last-of-type {
  border-bottom: none;
}

.order-summary-item-name {
  flex: 1;
  color: var(--color-text-dark);
}

.order-summary-item-price {
  font-weight: 600;
  color: var(--color-orange-accent);
}

.order-summary .order-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 2px solid var(--color-orange-accent);
  margin-top: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.order-total strong {
  color: var(--color-orange-accent);
}

/* ================================================================
   MODERN CHECKOUT
   ================================================================ */

.co-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.co-alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.co-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}

/* ── Steps ── */
.co-step {
  background: var(--color-card-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  overflow: hidden;
}

.co-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background: #fafafa;
}

.co-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-orange-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.co-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.3;
}

.co-step-desc {
  font-size: 0.85rem;
  color: #888;
  margin: 0.15rem 0 0;
}

.co-step-body {
  padding: 1.5rem;
}

/* ── Fields ── */
.co-field {
  margin-bottom: 1rem;
}

.co-field:last-child {
  margin-bottom: 0;
}

.co-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.4rem;
}

.co-field input,
.co-field select,
.co-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
  outline: none;
  border-color: var(--color-orange-accent);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.co-field input::placeholder,
.co-field textarea::placeholder {
  color: #bbb;
}

.co-field-error input,
.co-field-error select,
.co-field-error textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

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

.co-row-3 {
  grid-template-columns: 2fr 1fr 1fr;
}

/* ── Contact cards ── */
.co-contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.co-contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}

.co-contact-card input[type="radio"] {
  display: none;
}

.co-contact-card:hover {
  border-color: #ccc;
  background: #fafafa;
}

.co-contact-card.selected {
  border-color: var(--color-orange-accent);
  background: #fff7ed;
}

.co-contact-icon {
  color: #666;
  transition: color 0.15s;
}

.co-contact-card.selected .co-contact-icon {
  color: var(--color-orange-accent);
}

.co-icon-whatsapp {
  color: #25D366;
}

.co-contact-card.selected .co-icon-whatsapp {
  color: #25D366;
}

.co-contact-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  margin-bottom: 0.15rem;
}

.co-contact-text span {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.3;
}

/* ── Actions ── */
.co-actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.co-btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-orange-accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.co-btn-submit:hover {
  background: #d4550a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.co-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.co-btn-back:hover {
  color: var(--color-text-dark);
}

/* ── Sidebar / Summary ── */
.co-sidebar {
  position: sticky;
  top: 180px;
}

.co-summary {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
}

.co-summary h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--color-text-dark);
}

.co-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.co-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.co-item-img {
  position: relative;
  flex-shrink: 0;
}

.co-item-img img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #eee;
}

.co-item-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--color-orange-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-item-info {
  flex: 1;
  min-width: 0;
}

.co-item-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-item-option {
  font-size: 0.78rem;
  color: #999;
}

.co-item-price {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--color-text-dark);
}

/* Totals */
.co-totals {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.co-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #666;
}

.co-free {
  color: #16a34a;
  font-weight: 600;
}

.co-total-final {
  border-top: 2px solid var(--color-text-dark);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--color-text-dark);
}

.co-total-final strong {
  font-size: 1.2rem;
  color: var(--color-orange-accent);
}

/* Payment method */
.co-payment {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.co-payment h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 0.75rem;
}

.co-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.co-payment-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}

.co-payment-card input[type="radio"] {
  display: none;
}

.co-payment-card:hover {
  border-color: #ccc;
  background: #fafafa;
}

.co-payment-card.selected {
  border-color: var(--color-orange-accent);
  background: #fff7ed;
}

.co-payment-icon {
  color: #666;
  flex-shrink: 0;
  transition: color 0.15s;
}

.co-payment-card.selected .co-payment-icon {
  color: var(--color-orange-accent);
}

.co-payment-text {
  flex: 1;
}

.co-payment-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.co-payment-text span {
  font-size: 0.75rem;
  color: #999;
}

.co-payment-info {
  margin-top: 0.75rem;
}

.co-payment-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f0f9ff;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
}

.co-payment-detail svg {
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Trust signals */
.co-trust {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.co-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #888;
}

.co-trust-item svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* ── Checkout responsive ── */
@media (max-width: 900px) {
  .co-layout {
    grid-template-columns: 1fr;
  }
  .co-sidebar {
    position: static;
    order: -1;
  }
  .co-contact-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .co-row,
  .co-row-3 {
    grid-template-columns: 1fr;
  }
  .co-step-body {
    padding: 1rem;
  }
  .co-step-header {
    padding: 1rem;
  }
  .co-summary {
    padding: 1rem;
  }
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-primary {
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--color-dark-header);
  color: var(--color-text-white);
  border-radius: 6px;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  text-decoration: none;
}

.btn-danger {
  background-color: var(--color-error);
  color: var(--color-text-white);
}

.btn-danger:hover {
  background-color: #c0392b;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

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

.cart-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cart-buttons .btn {
  flex: 1;
  min-width: 150px;
}

/* ================================================================
   ALERTS & MESSAGES
   ================================================================ */

.alert {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border-left: 4px solid;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-left-color: var(--color-success);
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border-left-color: var(--color-error);
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-left-color: var(--color-info);
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-left-color: var(--color-warning);
}

/* ================================================================
   STARS & RATING
   ================================================================ */

.stars {
  display: flex;
  gap: 0.2rem;
}

.stars .star {
  font-size: 1rem;
  color: #ddd;
}

.stars .star.filled {
  color: #f39c12;
}

/* ================================================================
   AGE GATE
   ================================================================ */

.age-gate {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.age-gate-content {
  background-color: var(--color-card-bg);
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
}

/* ================================================================
   ARTICLE & BUNDLE CARDS
   ================================================================ */

.article-card,
.bundle-card {
  background-color: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article-card:hover,
.bundle-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Article Card — Homepage */
.article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
}

.article-card-body {
  padding: 1.25rem;
}

.article-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange-accent);
  margin-bottom: 0.5rem;
}

.article-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 1rem;
}

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

.article-card-date {
  font-size: 0.8rem;
  color: #999;
}

.article-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange-accent);
  text-decoration: none;
}

.article-card-link:hover {
  text-decoration: underline;
}

/* Article Card — Clickable Wrapper */
.article-card-link-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card-link-wrap:hover {
  text-decoration: none;
  color: inherit;
}

/* Articles Page — Product Recommendations */
.articles-product-recs {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border, #eee);
}

.articles-product-recs .section-header {
  margin-bottom: 1.5rem;
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */

@media (max-width: 1024px) {
  .product-page-layout {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .product-detail {
    gap: 2rem;
    padding: 1.5rem;
  }

  .checkout-layout {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-dark-header);
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
    border-top: 1px solid #333;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    border-bottom: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
  }

  .mobile-menu-toggle {
    display: block;
    order: 3;
  }

  .logo {
    flex-grow: 1;
  }

  .cart-link {
    margin-left: 0;
    order: 2;
  }

  .trust-bar .container {
    gap: 1rem;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section,
  .hero {
    padding: 2.5rem 1rem;
  }

  .hero-content,
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header h2,
  .section-title h2 {
    font-size: 1.75rem;
  }

  .featured-grid,
  .category-grid,
  .bundle-grid,
  .articles-grid,
  .bundles-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    top: auto;
    margin-bottom: 2rem;
  }

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

  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    order: 1;
    grid-column: auto;
    grid-row: auto;
  }

  .product-info-section {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .product-details-below {
    order: 3;
    grid-column: auto;
    grid-row: auto;
  }

  .product-gallery .thumbnail-row,
  .thumbnail-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    top: auto;
  }

  /* ── Mobile Cart: card-based layout ── */
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody {
    display: block;
  }

  .cart-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.25rem 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
  }

  .cart-row:last-child {
    border-bottom: none;
  }

  /* Image — top-left */
  .cart-product {
    grid-column: 1;
    grid-row: 1 / 3;
    padding: 0;
  }

  .cart-product a {
    flex-direction: column;
    gap: 0;
  }

  .cart-product .cart-product-info {
    display: none;
  }

  .cart-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
  }

  /* Name + option — shown via ::before or separate mobile element */
  .cart-row::before {
    content: attr(data-product-name);
    grid-column: 2 / 4;
    grid-row: 1;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.3;
    padding-right: 2rem;
  }

  /* Price, qty, subtotal — bottom row next to image */
  .cart-price,
  .cart-quantity,
  .cart-subtotal {
    padding: 0;
    display: flex;
    align-items: center;
  }

  .cart-price {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.85rem;
  }

  .cart-quantity {
    grid-column: 2;
    grid-row: 3;
  }

  .cart-subtotal {
    grid-column: 3;
    grid-row: 2 / 4;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 1rem;
  }

  /* Remove button — top-right corner */
  .cart-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.5rem;
    padding: 0;
  }

  .cart-quantity .qty-selector {
    transform: scale(0.9);
    transform-origin: left center;
  }

  .cart-actions-row {
    justify-content: center;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
  }

  .tab-nav {
    gap: 0;
  }

  .tab-nav button,
  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 1rem;
  }

  .site-header {
    padding: 0;
  }

  .site-header .container {
    padding: 0.5rem 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .cart-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .trust-bar .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero-section,
  .hero {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .hero-content,
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .section-header h2,
  .section-title h2 {
    font-size: 1.5rem;
  }

  .featured-grid,
  .category-grid,
  .bundle-grid,
  .articles-grid,
  .bundles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sort-controls {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .sort-controls label,
  .sort-controls select {
    width: 100%;
  }

  .category-header {
    padding: 1.5rem 1rem;
  }

  .category-header h1 {
    font-size: 1.5rem;
  }

  .product-detail {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }

  .product-info-section .product-name {
    font-size: 1.05rem;
  }

  .product-card .product-name {
    font-size: 0.95rem;
  }

  .price-display .current-price {
    font-size: 2rem;
  }

  .price-display .sale-price {
    font-size: 1.5rem;
  }

  .options-list {
    grid-template-columns: 1fr;
  }

  .add-to-cart-btn {
    padding: 0.75rem 1rem;
  }

  .checkout-layout {
    gap: 1rem;
  }

  .checkout-form {
    padding: 1.5rem 1rem;
  }

  .order-summary {
    padding: 1rem;
  }

  .cart-buttons {
    flex-direction: column;
  }

  .cart-buttons .btn {
    min-width: auto;
    width: 100%;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-price {
    width: 100%;
    text-align: left;
    margin-top: 0.5rem;
  }

  .cart-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .tab-nav button,
  .tab-button {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .summary-row {
    font-size: 0.9rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}

/* ================================================================
   SHOP TOOLBAR & SORT (base styles)
   ================================================================ */

.product-count {
  font-size: 0.88rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.sort-form-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-form-inline label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
  white-space: nowrap;
}

.sort-form-inline select {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.85rem;
  background-color: var(--color-card-bg);
  color: var(--color-text-dark);
  cursor: pointer;
}

.sort-form-inline select:focus {
  outline: none;
  border-color: var(--color-orange-accent);
}

/* Full-width product grid (no sidebar) */
.shop-full .product-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ================================================================
   SHOP LAYOUT — SIDEBAR + MAIN
   ================================================================ */

.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: start;
}

.shop-page-header {
  margin-bottom: 0.75rem;
}

.shop-page-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.shop-page-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.7;
}

.shop-page-desc p,
.shop-page-desc .desc-preview,
.shop-page-desc .desc-full {
  margin: 0;
  display: inline;
}

.desc-toggle {
  background: none;
  border: none;
  color: var(--color-orange-accent);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0 0 0 5px;
  margin: 0;
  display: inline;
  vertical-align: baseline;
  letter-spacing: 0.5px;
}

.desc-toggle:hover {
  text-decoration: underline;
}

/* ── Shop Sidebar ── */
.shop-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.shop-sidebar::-webkit-scrollbar { width: 4px; }
.shop-sidebar::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.sidebar-mobile-header {
  display: none;
}

.sidebar-section {
  background: var(--color-card-bg);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

/* Category List */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-item {
  margin-bottom: 0;
}

.sidebar-cat-row {
  display: flex;
  align-items: center;
}

.sidebar-cat-item > a,
.sidebar-cat-row > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  color: var(--color-text-dark);
  font-size: 0.88rem;
  font-weight: 500;
  flex: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-cat-item > a:hover,
.sidebar-cat-row > a:hover {
  background: var(--color-light-bg);
  color: var(--color-orange-accent);
}

.sidebar-cat-item.active > a,
.sidebar-cat-item.active > .sidebar-cat-row > a {
  background: rgba(76, 175, 80, 0.08);
  color: var(--color-orange-accent);
  font-weight: 600;
}

.cat-count {
  font-size: 0.75rem;
  color: var(--color-text-light);
  background: var(--color-light-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.sidebar-cat-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sidebar-cat-toggle.open {
  transform: rotate(180deg);
}

.sidebar-subcats {
  display: none;
  list-style: none;
  padding: 0 0 0 0.75rem;
  margin: 0;
  border-left: 2px solid var(--color-border);
  margin-left: 1rem;
}

.sidebar-subcat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  color: var(--color-text-light);
  font-size: 0.84rem;
  font-weight: 400;
  transition: background 0.15s ease, color 0.15s ease;
}

.sidebar-subcat-item a:hover {
  background: var(--color-light-bg);
  color: var(--color-orange-accent);
}

.sidebar-subcat-item.active a {
  color: var(--color-orange-accent);
  font-weight: 600;
}

/* ── Sidebar Filters ── */
.filter-group {
  margin-bottom: 1rem;
}

.filter-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--color-card-bg);
}

.filter-pill:hover {
  border-color: var(--color-orange-accent);
  background: rgba(76, 175, 80, 0.04);
}

.filter-pill.active {
  border-color: var(--color-orange-accent);
  background: rgba(76, 175, 80, 0.08);
  color: var(--color-orange-accent);
  font-weight: 600;
}

.filter-pill input[type="radio"] {
  display: none;
}

.filter-pill-clear {
  color: var(--color-text-light);
  border-style: dashed;
}

.strain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.strain-dot-indica { background: #9b59b6; }
.strain-dot-sativa { background: #f39c12; }
.strain-dot-hybrid { background: #27ae60; }
.strain-dot-cbd { background: #3498db; }

/* Price Range */
.filter-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-price-input {
  position: relative;
  flex: 1;
}

.filter-price-symbol {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.filter-price-input input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.82rem;
  background: var(--color-card-bg);
  color: var(--color-text-dark);
}

.filter-price-input input:focus {
  outline: none;
  border-color: var(--color-orange-accent);
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.08);
}

.filter-price-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.filter-price-input input { -moz-appearance: textfield; }

.filter-price-dash {
  color: var(--color-text-light);
  font-weight: 300;
  flex-shrink: 0;
}

/* Toggle switches */
.filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--color-text-dark);
  padding: 0.35rem 0;
}

.filter-toggle input {
  display: none;
}

.filter-toggle-switch {
  width: 36px;
  height: 20px;
  background: #ddd;
  border-radius: 10px;
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.filter-toggle-switch::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.filter-toggle input:checked + .filter-toggle-switch {
  background: var(--color-orange-accent);
}

.filter-toggle input:checked + .filter-toggle-switch::after {
  transform: translateX(16px);
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.5rem;
}

.filter-apply-btn {
  flex: 1;
  padding: 0.55rem 1rem !important;
  font-size: 0.82rem !important;
}

.filter-clear-link {
  font-size: 0.8rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.filter-clear-link:hover {
  color: var(--color-error);
}

/* ── Active Filter Chips ── */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-orange-accent);
}

.filter-chip-remove {
  font-size: 1rem;
  color: var(--color-orange-accent);
  line-height: 1;
  opacity: 0.7;
}

.filter-chip-remove:hover {
  opacity: 1;
  color: var(--color-error);
}

.filter-chip-clear {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.filter-chip-clear:hover {
  color: var(--color-error);
}

/* ── Shop Toolbar ── */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--color-card-bg);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toolbar-filter-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-card-bg);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: border-color 0.15s;
}

.toolbar-filter-btn:hover {
  border-color: var(--color-orange-accent);
}

.toolbar-filter-badge {
  background: var(--color-orange-accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  line-height: 1;
}

/* Per-page selector */
.toolbar-per-page {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.toolbar-per-page label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-weight: 500;
  white-space: nowrap;
}

.per-page-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 28px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  transition: all 0.15s;
}

.per-page-opt:hover {
  border-color: var(--color-orange-accent);
  color: var(--color-orange-accent);
}

.per-page-opt.active {
  background: var(--color-orange-accent);
  border-color: var(--color-orange-accent);
  color: white;
}

/* Sort (already has .sort-form-inline base styles) */
.toolbar-sort select {
  padding: 0.4rem 0.65rem;
}

/* View Toggle */
.toolbar-view-toggle {
  display: flex;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  color: var(--color-text-light);
  transition: all 0.15s;
  text-decoration: none;
}

.view-btn:hover {
  color: var(--color-orange-accent);
  background: rgba(76, 175, 80, 0.04);
}

.view-btn.active {
  background: var(--color-orange-accent);
  color: white;
}

.view-btn + .view-btn {
  border-left: 1px solid var(--color-border);
}

/* ── Shop Main ── */
.shop-main {
  min-width: 0;
}

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

/* ── List View ── */
.product-list-view {
  grid-template-columns: 1fr !important;
}

.product-list-view .product-card {
  flex-direction: row;
  height: auto;
}

.product-list-view .product-card .product-image {
  width: 180px;
  min-width: 180px;
  aspect-ratio: 1;
  border-radius: 8px 0 0 8px;
}

.product-list-view .product-card .product-info {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-list-view .product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.product-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.product-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.meta-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--color-light-bg);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.meta-tag-success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--color-success);
}

.rating-count {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-left: 0.25rem;
}

/* ── Filter Overlay (mobile) ── */
.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
  .shop-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-layout {
    grid-template-columns: 220px 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  /* Hide desktop sidebar, show as slide-over */
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    max-height: 100vh;
    z-index: 999;
    background: var(--color-card-bg);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    overflow-y: auto;
    border-radius: 0;
  }

  .shop-sidebar.mobile-open {
    left: 0;
  }

  .sidebar-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-dark-header);
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .sidebar-mobile-header h3 {
    color: white;
    font-size: 1rem;
    margin: 0;
  }

  .sidebar-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
  }

  .sidebar-section {
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
  }

  .toolbar-filter-btn {
    display: flex;
  }

  .toolbar-per-page {
    display: none;
  }

  .toolbar-sort {
    flex: 1;
    min-width: 0;
  }

  .toolbar-sort select {
    width: 100%;
  }

  .shop-main .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-list-view .product-card .product-image {
    width: 120px;
    min-width: 120px;
  }

  .product-list-view .product-card .product-info {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 480px) {
  .shop-main .product-grid:not(.product-list-view) {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .product-card .product-info {
    padding: 0.65rem 0.75rem 0.85rem;
  }

  .product-card h3 {
    font-size: 0.85rem;
  }

  .product-list-view .product-card .product-image {
    width: 100px;
    min-width: 100px;
  }

  .toolbar-view-toggle {
    display: none;
  }
}

/* ================================================================
   MOBILE MENU DRAWER
   ================================================================ */

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--color-card-bg);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-dark-header);
}

.mobile-menu-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.25rem;
  display: flex;
  align-items: center;
}

.mobile-nav {
  padding: 0.5rem 0;
}

.mobile-nav-link {
  display: block;
  padding: 0.9rem 1.25rem;
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
  background: var(--color-light-bg);
  color: var(--color-orange-accent);
}

.mobile-nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.mobile-nav-group-header .mobile-nav-link {
  padding: 0;
  border: none;
  flex: 1;
}

.mobile-nav-group-header svg {
  color: #999;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-group.open .mobile-nav-group-header svg {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fafafa;
}

.mobile-nav-group.open .mobile-nav-submenu {
  max-height: 2000px;
}

.mobile-cat-group {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.mobile-cat-group:last-child {
  border-bottom: none;
}

.mobile-cat-heading {
  display: block;
  padding: 0.5rem 1.5rem;
  color: var(--color-text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mobile-cat-heading:hover {
  color: var(--color-orange-accent);
}

.mobile-cat-subs {
  padding: 0 0 0.25rem;
}

.mobile-sub-link {
  display: block;
  padding: 0.35rem 2rem;
  color: #666;
  text-decoration: none;
  font-size: 0.88rem;
}

.mobile-sub-link:hover {
  color: var(--color-orange-accent);
}

/* ================================================================
   STICKY BUY BAR (Desktop)
   ================================================================ */

.sticky-buy-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-card-bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  border-bottom: 2px solid var(--color-orange-accent);
}

.sticky-buy-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.sticky-bar-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.sticky-bar-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-light-bg);
  flex-shrink: 0;
}

.sticky-bar-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-orange-accent);
  white-space: nowrap;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.sticky-bar-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.85rem;
  background: var(--color-card-bg);
  cursor: pointer;
  min-width: 120px;
}

.sticky-bar-select:focus {
  outline: none;
  border-color: var(--color-orange-accent);
}

.sticky-bar-btn {
  white-space: nowrap;
  padding: 0.65rem 1.75rem;
  font-size: 0.9rem;
}

/* ================================================================
   MOBILE BOTTOM BUY BAR
   ================================================================ */

.mobile-buy-bar {
  display: none;
}

/* ================================================================
   MOBILE RESPONSIVE
   ================================================================ */

@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
  }

  /* Hide desktop nav */
  .main-nav {
    display: none !important;
  }

  /* Full-width shop grid on mobile */
  .shop-full .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Hide sticky desktop bar on mobile */
  .sticky-buy-bar {
    display: none !important;
  }

  /* Show mobile buy bar */
  .mobile-buy-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-card-bg);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
    z-index: 998;
    padding: 0.75rem 1rem;
    border-top: 2px solid var(--color-orange-accent);
  }

  .mobile-buy-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-buy-price {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-orange-accent);
    white-space: nowrap;
  }

  .mobile-buy-select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 0.85rem;
    min-width: 0;
  }

  .mobile-buy-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  /* Add padding at bottom of product page to account for fixed bar */
  .product-tabs,
  .related-products {
    padding-bottom: 80px;
  }

  /* Mobile mega menu hide */
  .mega-menu {
    display: none !important;
  }

  /* Promo bar adjustments */
  .promo-bar p {
    font-size: 0.75rem;
  }

  /* Product page layout stacks on mobile */
  .product-page-layout {
    grid-template-columns: 1fr !important;
  }

  .product-detail {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .shop-full .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-buy-inner {
    flex-wrap: wrap;
  }

  .mobile-buy-price {
    width: auto;
  }

  .mobile-buy-select {
    flex: 1;
  }

  .mobile-buy-btn {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .shop-full .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ================================================================
   PAGINATION
   ================================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 1.5rem 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
  border-color: var(--color-orange-accent);
  color: var(--color-orange-accent);
  background: #fff;
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dark);
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.pagination-num:hover:not(.active) {
  border-color: var(--color-orange-accent);
  color: var(--color-orange-accent);
}

.pagination-num.active {
  background: var(--color-orange-accent);
  border-color: var(--color-orange-accent);
  color: #fff;
  cursor: default;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2.25rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

@media (max-width: 600px) {
  .pagination {
    gap: 0.25rem;
    flex-wrap: wrap;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .pagination-num {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }
}

/* ================================================================
   SALES PAGE
   ================================================================ */

/* Nav Sale Link */
.nav-link-sale {
  color: #fff !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
}

.nav-link-sale:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.35);
}

/* Promo Bar Sale Link */
.promo-bar-link {
  color: var(--color-text-white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.promo-bar-link:hover {
  opacity: 0.9;
  text-decoration: underline;
}

/* Mobile Sale Link */
.mobile-nav-sale {
  color: var(--color-error) !important;
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-sale-badge {
  background-color: var(--color-error);
  color: var(--color-text-white);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.2;
}

/* Sales Hero Banner */
.sales-hero {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 50%, #d05008 100%);
  color: var(--color-text-white);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sales-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.sales-hero-content {
  position: relative;
  z-index: 1;
}

.sales-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.sales-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.sales-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.sales-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.sales-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sales-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
}

.sales-stat-label {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Sales Filter Tabs */
.sales-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 1.5rem 0 0.5rem;
}

.sales-filter-btn {
    padding: 8px 20px;
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
}

.sales-filter-btn:hover {
    border-color: #f97316;
    color: #f97316;
}

.sales-filter-btn.active {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}

.filter-count {
    display: inline-block;
    background: rgba(0,0,0,0.1);
    padding: 1px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 4px;
}

.sales-filter-btn.active .filter-count {
    background: rgba(255,255,255,0.3);
}

/* Type badge on sale cards */
.type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.bundle-type-badge {
    background: #7c3aed;
    color: #fff;
}

.mix-type-badge {
    background: #d97706;
    color: #fff;
}

/* Sales Toolbar */
.sales-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
}

/* Sale Product Card Enhancements */
.sale-product-card {
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sale-product-card:hover {
  border-color: var(--color-error);
}

/* Sale Variants Summary in Card */
.sale-variants-summary {
  margin: 0.5rem 0 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sale-variant-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.sale-variant-label {
  color: var(--color-text-light);
  font-weight: 500;
  flex-shrink: 0;
}

.sale-variant-prices {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sale-variant-prices .original-price {
  text-decoration: line-through;
  color: var(--color-text-light);
  font-size: 0.78rem;
}

.sale-variant-prices .sale-price {
  color: var(--color-error);
  font-weight: 700;
}

.sale-ends-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background-color: #fef3f2;
  color: var(--color-error);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.sale-ends-badge svg {
  flex-shrink: 0;
}

/* No Sales Message */
.no-sales-message {
  text-align: center;
  padding: 4rem 1rem;
}

.no-sales-icon {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  opacity: 0.4;
}

.no-sales-message h2 {
  margin-bottom: 0.5rem;
}

.no-sales-message p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Sales */
@media (max-width: 768px) {
  .sales-hero {
    padding: 2rem 1rem;
  }

  .sales-hero h1 {
    font-size: 1.8rem;
  }

  .sales-hero p {
    font-size: 0.95rem;
  }

  .sales-stats {
    gap: 1.5rem;
  }

  .sales-stat-number {
    font-size: 1.3rem;
  }
}

/* ================================================================
   ARTICLE PAGE LAYOUT
   ================================================================ */

.article-container {
  padding: 2rem 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.article-main {
  background-color: var(--color-card-bg);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.article-header h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.article-featured-image {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-text-light);
  align-items: center;
}

.article-author,
.article-date {
  color: var(--color-text-light);
}

.article-category {
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.article-category:hover {
  background-color: var(--color-orange-hover);
}

/* ================================================================
   ARTICLE CONTENT RICH TYPOGRAPHY
   ================================================================ */

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-dark);
}

.article-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--color-green-accent);
  color: var(--color-dark-header);
}

.article-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark-header);
}

.article-content h4 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-header);
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content strong {
  color: var(--color-dark-header);
  font-weight: 700;
}

.article-content a {
  color: var(--color-orange-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.article-content a:hover {
  border-bottom-color: var(--color-orange-accent);
  color: var(--color-orange-hover);
}

.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 4px solid var(--color-green-accent);
  background-color: #f9faf9;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-light);
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content ul,
.article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content img {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.article-content figure {
  margin: 2rem 0;
  text-align: center;
}

.article-content figcaption {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  font-style: italic;
}

.article-content hr {
  margin: 2rem 0;
  border: none;
  border-top: 2px solid var(--color-border);
}

.article-content code {
  background-color: #f0f0f0;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.article-content pre {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ================================================================
   ARTICLE SIDEBAR
   ================================================================ */

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-orange-accent);
  color: var(--color-dark-header);
}

.info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1rem;
  font-size: 0.9rem;
}

.info-list dt {
  font-weight: 600;
  color: var(--color-text-dark);
}

.info-list dd {
  color: var(--color-text-light);
  margin: 0;
}

.info-list dd a {
  color: var(--color-orange-accent);
  text-decoration: none;
}

.info-list dd a:hover {
  text-decoration: underline;
}

.related-articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.related-articles-list li:last-child {
  border-bottom: none;
}

.related-articles-list a {
  color: var(--color-text-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  text-decoration: none;
  transition: var(--transition);
}

.related-articles-list a:hover {
  color: var(--color-orange-accent);
}

.related-articles-list small {
  color: var(--color-text-light);
  font-size: 0.8rem;
}

.shop-promo p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.sidebar-button {
  display: block;
  background-color: var(--color-orange-accent);
  color: var(--color-text-white);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.sidebar-button:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   ARTICLE INFOGRAPHIC + LIGHTBOX
   ================================================================ */

.article-infographic,
.sc-infographic {
  margin: 2rem 0;
}

.article-infographic h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.infographic-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.infographic-thumb {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.infographic-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.infographic-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.infographic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.infographic-thumb:hover .infographic-overlay {
  opacity: 1;
}

.infographic-overlay span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lightbox-fade-in 0.25s ease;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 24px;
  z-index: 10001;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ================================================================
   ARTICLE FOOTER
   ================================================================ */

.article-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
}

.back-to-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-orange-accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.back-to-category:hover {
  color: var(--color-orange-hover);
  transform: translateX(-4px);
}

/* ================================================================
   ARTICLE SHORTCODE COMPONENTS
   ================================================================ */

/* Pull Quote */
.pull-quote {
  background-color: var(--color-green-accent);
  color: var(--color-text-white);
  padding: 1.75rem;
  margin: 2rem 0;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-size: 3rem;
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  opacity: 0.3;
}

/* ── Inline Product Card (article shortcode) ── */
/* Card is a <div>, uses stretched-link pattern for full-card click */
.sc-product-card,
.article-content .sc-product-card {
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  gap: 0 !important;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin: 1.75rem 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}
.sc-product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  border-color: var(--color-green-accent);
  transform: translateY(-2px);
}

/* Stretched link — invisible overlay for full-card click */
.sc-pc-stretched-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}
.article-content .sc-pc-stretched-link,
.article-content a.sc-pc-stretched-link,
.article-content a.sc-pc-stretched-link:hover {
  border-bottom: none !important;
  text-decoration: none !important;
}

/* Image column */
.sc-pc-image-wrap {
  position: relative;
  overflow: hidden;
  background: #f9fafb;
}
.sc-product-card .sc-pc-image-wrap img,
.article-content .sc-product-card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 180px !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform 0.3s;
  max-width: none !important;
  float: none !important;
}
.sc-product-card:hover img {
  transform: scale(1.05);
}
.sc-pc-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(231,76,60,0.35);
  z-index: 2;
}

/* Body column */
.sc-product-card .sc-product-card-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sc-pc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.sc-pc-strain {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.sc-pc-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
}
.sc-pc-rating .stars {
  color: #f5a623;
  font-size: 0.85rem;
  letter-spacing: -1px;
}
.sc-pc-rating .star.filled { color: #f5a623; }
.sc-pc-rating .star.half { color: #f5a623; opacity: 0.6; }
.sc-pc-rating .star.empty { color: #ddd; }
.sc-pc-rating-text {
  color: #999;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Override article-content h4/p inside product card */
.sc-product-card h4,
.article-content .sc-product-card h4 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin: 0 0 4px !important;
  margin-top: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
  border: none !important;
  border-top: none !important;
  color: #1a1a1a !important;
  line-height: 1.3 !important;
}
.sc-product-card p,
.article-content .sc-product-card p {
  font-size: 0.82rem !important;
  color: #777 !important;
  line-height: 1.5 !important;
  margin: 0 0 8px !important;
}

/* THC / CBD / Lab Tested badges */
.sc-pc-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.sc-pc-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f0f4f0;
  color: #555;
  letter-spacing: 0.3px;
}
.sc-pc-badge-lab {
  background: #e8f5e9;
  color: #2e7d32;
}

/* Price */
.sc-pc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 10px;
  flex-wrap: wrap;
}
.sc-pc-price-now {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-green-accent, #2e7d32);
}
.sc-pc-price-old {
  font-size: 0.9rem;
  color: #bbb;
  text-decoration: line-through;
  font-weight: 500;
}
.sc-pc-price-range {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
}

/* CTA button — sits above stretched link */
.sc-product-card .sc-product-card-link,
.article-content .sc-product-card .sc-product-card-link,
.article-content .sc-product-card a.sc-product-card-link {
  display: inline-block !important;
  background: var(--color-green-accent, #2e7d32) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  transition: background 0.2s, box-shadow 0.2s;
  border: none !important;
  border-bottom: none !important;
  align-self: flex-start;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 2;
}
.sc-product-card:hover .sc-product-card-link {
  background: var(--color-dark-header, #1a3a1a) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  color: #fff !important;
}

/* Product Grid (shortcode) */
.sc-product-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

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

.sc-product-grid-item {
  background-color: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.sc-product-grid-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.sc-product-grid-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.sc-product-grid-item-body {
  padding: 1rem;
}

.sc-product-grid-item-body h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.sc-product-grid-item-body .price {
  color: var(--color-orange-accent);
  font-weight: 700;
  font-size: 1rem;
}

/* Alert Boxes */
.sc-alert {
  padding: 1.25rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 4px solid;
  font-size: 0.95rem;
  line-height: 1.6;
}

.sc-alert p:last-child { margin-bottom: 0; }

.sc-alert-title {
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}

.sc-alert.alert-info {
  background-color: #e3f2fd;
  border-color: var(--color-info);
  color: #1565c0;
}

.sc-alert.alert-warning {
  background-color: #fff3e0;
  border-color: var(--color-warning);
  color: #e65100;
}

.sc-alert.alert-success {
  background-color: #e8f5e9;
  border-color: var(--color-success);
  color: #1b5e20;
}

.sc-alert.alert-danger {
  background-color: #ffebee;
  border-color: var(--color-error);
  color: #b71c1c;
}

/* CTA Box */
.sc-cta {
  background: linear-gradient(135deg, var(--color-green-accent) 0%, var(--color-green-light) 100%);
  color: var(--color-text-white);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.sc-cta h3 {
  color: var(--color-text-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.sc-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.sc-cta-btn,
.article-content .sc-cta-btn {
  display: inline-block;
  background-color: var(--color-orange-accent);
  color: var(--color-text-white) !important;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  border-bottom: none !important;
}

.sc-cta-btn:hover,
.article-content .sc-cta-btn:hover {
  background-color: var(--color-orange-hover);
  transform: scale(1.05);
  color: var(--color-text-white) !important;
  border-bottom: none !important;
}

/* Stats Grid */
.sc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: var(--color-light-bg);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.sc-stat-item {
  text-align: center;
  padding: 0.5rem;
}

.sc-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-orange-accent);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.sc-stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* FAQ Accordion (shortcode) */
.sc-faq-section {
  margin: 2.5rem 0;
  padding: 2rem 0;
}
.article-content .sc-faq-section {
  border-top: none !important;
}
.sc-faq-title,
.article-content .sc-faq-section .sc-faq-title {
  text-align: center !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #0a0a0a !important;
  margin: 0 0 1.5rem !important;
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
}
.sc-faq {
  margin: 0;
}

.sc-faq-item {
  margin-bottom: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.sc-faq-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sc-faq-question {
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  display: block;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  user-select: none;
  color: #333;
  line-height: 1.5;
}

.sc-faq-question:hover {
  background: #f8faf8;
}

.sc-faq-question.active {
  background: var(--color-green-accent);
  color: #fff;
}

.sc-faq-question::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: #aaa;
  line-height: 1;
  transition: color 0.15s;
}

.sc-faq-question.active::after {
  content: '−';
  color: rgba(255,255,255,0.8);
}

.sc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  line-height: 1.7;
  color: #555;
  font-size: 0.92rem;
}

.sc-faq-answer.active {
  max-height: 500px;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #eee;
}

.sc-faq-answer p { margin: 0; }
.sc-faq-answer p + p { margin-top: 0.75rem; }
.sc-faq-answer p:last-child { margin-bottom: 0; }

/* ================================================================
   ARTICLE CONTENT BLOCKS (component rendering)
   ================================================================ */

/* Hero Block */
.cb-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--color-text-white);
  overflow: hidden;
}

.cb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.75), rgba(45, 106, 79, 0.6));
}

.cb-hero-inner {
  position: relative;
  z-index: 1;
}

.cb-hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-white);
  border: none;
  padding: 0;
}

.cb-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Split Block (two columns) */
.cb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
  align-items: center;
}

.cb-split.reverse {
  direction: rtl;
}

.cb-split.reverse > * {
  direction: ltr;
}

.cb-split img {
  width: 100%;
  border-radius: 8px;
  margin: 0;
}

.cb-split-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Testimonials Block */
.cb-testimonials {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cb-testimonial {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--color-green-accent);
}

.cb-testimonial-quote {
  font-style: italic;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.cb-testimonial-author {
  font-weight: 600;
  color: var(--color-dark-header);
  font-size: 0.9rem;
}

.cb-testimonial-role {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

/* Gallery Block */
.cb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.cb-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0;
  transition: var(--transition);
}

.cb-gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* Value Cards Block */
.cb-value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.cb-value-card {
  background-color: var(--color-card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.cb-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cb-value-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cb-value-card h4 {
  margin-bottom: 0.5rem;
  color: var(--color-dark-header);
}

.cb-value-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Internal Links Widget */
.related-links-widget {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links-widget li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.related-links-widget li:last-child {
  border-bottom: none;
}

.related-links-widget a {
  color: var(--color-text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.related-links-widget a:hover {
  color: var(--color-orange-accent);
}

.related-links-widget .link-type {
  background-color: var(--color-light-bg);
  color: var(--color-text-light);
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ================================================================
   ARTICLE RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 768px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-main {
    padding: 1.5rem;
  }

  .article-header h1 {
    font-size: 1.75rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-meta {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .sc-product-card,
  .article-content .sc-product-card {
    grid-template-columns: 1fr !important;
  }

  .sc-pc-image-wrap {
    max-height: 200px;
  }

  .article-content .sc-product-card img,
  .sc-product-card img {
    height: 200px !important;
    min-height: unset !important;
  }

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

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

  .cb-split {
    grid-template-columns: 1fr;
  }

  .cb-split.reverse {
    direction: ltr;
  }

  .cb-hero h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .sc-product-grid.cols-2,
  .sc-product-grid.cols-3,
  .sc-product-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */

@media print {
  .site-header,
  .site-footer,
  .trust-bar,
  .promo-bar,
  .mobile-menu-toggle,
  .sort-controls,
  .btn,
  .cart-actions {
    display: none;
  }

  body {
    background: white;
  }

  .product-card,
  .product-detail {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ===== Bundle & Mix-Match Pages ===== */

/* Grid listing */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.bundle-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.bundle-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

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

.bundle-card-info {
    padding: 1.25rem;
}

.bundle-card-info h3 {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    color: #0a0a0a;
}

.bundle-card-desc {
    color: #666;
    font-size: .9rem;
    margin: 0 0 .75rem;
    line-height: 1.5;
}

.bundle-card-meta {
    display: flex;
    gap: .75rem;
    margin-bottom: .75rem;
    flex-wrap: wrap;
}

.bundle-item-count,
.bundle-pick-qty {
    display: inline-block;
    font-size: .8rem;
    padding: .25rem .65rem;
    border-radius: 20px;
    font-weight: 500;
}

.bundle-item-count {
    background: #e8f4f8;
    color: #1a8a6a;
}

.bundle-pick-qty {
    background: #f0e6ff;
    color: #6b21a8;
}

.bundle-card-price {
    margin-bottom: 1rem;
}

.bundle-card-price .price-now {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a8a6a;
}

.bundle-card-price .price-was {
    text-decoration: line-through;
    color: #999;
    font-size: .95rem;
    margin-right: .5rem;
}

/* Detail page */
.bundle-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0 3rem;
}

@media (max-width: 768px) {
    .bundle-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.bundle-main-image {
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1;
}

.bundle-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-thumbs {
    display: flex;
    gap: .5rem;
    margin-top: .75rem;
}

.bundle-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: .6;
    transition: opacity .2s, border-color .2s;
}

.bundle-thumb.active,
.bundle-thumb:hover {
    border-color: #6b21a8;
    opacity: 1;
}

.bundle-detail-info h1 {
    margin: 0 0 .75rem;
    font-size: 1.8rem;
    color: #0a0a0a;
}

.bundle-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.bundle-detail-price {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.bundle-detail-price .price-was {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.price-large {
    font-size: 2rem !important;
}

.price-savings {
    background: #ecfdf5;
    color: #059669;
    padding: .25rem .75rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 600;
}

/* Mix & match info badge */
.mix-match-info {
    margin-bottom: 1.5rem;
}

.mix-match-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #f5f0ff;
    border: 1px solid #ddd0f7;
    color: #6b21a8;
    padding: .65rem 1rem;
    border-radius: 10px;
    font-size: .95rem;
}

/* Bundle products list */
.bundle-products-section {
    margin-bottom: 2rem;
}

.bundle-products-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #0a0a0a;
}

.bundle-products-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.bundle-product-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem;
    background: #f9f9fb;
    border-radius: 10px;
    transition: background .15s;
}

.bundle-product-row:hover {
    background: #f0f0f5;
}

.bundle-product-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

.bundle-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bundle-product-details {
    flex: 1;
    min-width: 0;
}

.bundle-product-name {
    display: block;
    font-weight: 600;
    color: #0a0a0a;
    text-decoration: none;
    font-size: .95rem;
}

.bundle-product-name:hover {
    color: #6b21a8;
}

.bundle-product-option {
    font-size: .8rem;
    color: #888;
}

.bundle-product-qty {
    font-weight: 700;
    color: #6b21a8;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Add to cart section */
.bundle-add-cart {
    margin-top: 1.5rem;
}

.bundle-qty-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bundle-qty-row label {
    font-weight: 600;
    color: #333;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.1rem;
    color: #333;
    transition: background .15s;
}

.qty-control button:hover {
    background: #e0e0e0;
}

.qty-control input {
    width: 48px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    justify-content: center;
    padding: .9rem 1.5rem;
    font-size: 1.05rem;
}

.btn-lg {
    padding: .9rem 2rem;
    font-size: 1.05rem;
}

/* Mix & Match picker */
.mix-match-picker {
    margin-bottom: 1rem;
}

.picker-instruction {
    font-weight: 600;
    color: #333;
    margin-bottom: .75rem;
}

.mix-match-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .75rem;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: .5rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.mix-match-option:hover {
    border-color: #ccc;
    background: #fafafa;
}

.mix-match-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6b21a8;
    flex-shrink: 0;
}

.mix-match-option input:checked + .mix-option-content {
    font-weight: 500;
}

.mix-match-option:has(input:checked) {
    border-color: #6b21a8;
    background: #faf5ff;
}

.mix-option-content {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
}

.mix-option-content img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.mix-option-name {
    display: block;
    font-size: .95rem;
    color: #0a0a0a;
}

.mix-option-label {
    display: block;
    font-size: .8rem;
    color: #888;
}

.mix-match-status {
    text-align: center;
    padding: .65rem;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #555;
}

/* Bundle / Mix & Match — qty + add-to-cart side by side */
.bundle-action-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.bundle-qty-inline {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.bundle-qty-inline button {
    width: 44px;
    height: 48px;
    border: none;
    background: #f5f5f5;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
    transition: background 0.15s;
}

.bundle-qty-inline button:hover {
    background: #e8e8e8;
}

.bundle-qty-inline input[type="number"] {
    width: 48px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-size: 1.05rem;
    font-weight: 600;
    background: #fff;
    -moz-appearance: textfield;
}

.bundle-qty-inline input[type="number"]::-webkit-inner-spin-button,
.bundle-qty-inline input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.bundle-action-row .btn-add-cart {
    flex: 1;
    justify-content: center;
    height: 48px;
}

#mixSubmitBtn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Bundle reviews */
.bundle-reviews-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.bundle-reviews-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card {
    background: #f9f9fb;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: .75rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: .35rem;
}

.review-date {
    color: #999;
    font-size: .85rem;
}

.review-rating {
    margin-bottom: .5rem;
}

/* Rating summary under title */
.bundle-rating-summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.bundle-rating-summary .rating-text {
    font-size: .9rem;
    color: #666;
}

/* Reviews summary block */
.reviews-summary {
    margin-bottom: 1.25rem;
}

.reviews-avg {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: #333;
}

.reviews-count {
    color: #888;
    font-size: .85rem;
}

/* Mix & Match quantity picker (replaces checkbox picker) */
.mix-match-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: .5rem;
    transition: border-color .15s, background .15s;
}

.mix-match-item:hover {
    border-color: #ddd;
    background: #fafafa;
}

.mix-match-item .mix-option-content {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
    min-width: 0;
}

.mix-match-item .mix-option-content img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mix-option-text {
    min-width: 0;
}

.mix-item-qty {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-shrink: 0;
}

.mix-qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s;
}

.mix-qty-btn:hover:not(:disabled) {
    background: #e8e8e8;
    border-color: #ccc;
}

.mix-qty-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.mix-qty-display {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #6b21a8;
}

/* Related bundles */
.related-bundles-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    margin-bottom: 2rem;
}

.related-bundles-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #0a0a0a;
}


/* ================================================================
   PROMOTIONS / BANNERS
   ================================================================ */

/* ── Top Banner (728×90, full-width wrapper) ── */
.promotion-top-banner-wrap {
    width: 100%;
    background: #111;
    position: relative;
    z-index: 100;
}

.promotion-top-banner {
    display: block;
    text-decoration: none;
    width: 728px;
    height: 90px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #0a0a0a;
    cursor: pointer;
}

.promotion-top-banner .promo-overlay {
    position: absolute;
    inset: 0;
}
.promotion-top-banner .promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    gap: 16px;
    text-align: left;
}
.promotion-top-banner .promo-text {
    flex: 1;
    min-width: 0;
}
.promotion-top-banner .promo-headline {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.promotion-top-banner .promo-subtext {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 2px;
    font-weight: 500;
}
.promotion-top-banner .promo-cta {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    white-space: nowrap;
    background: var(--color-orange-accent);
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s;
}
.promotion-top-banner .promo-cta:hover {
    background: var(--color-orange-hover);
}
/* ── Popup (600×350) ── */
.promotion-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: promo-fade-in 0.3s ease;
}
.promotion-popup-backdrop.hidden { display: none; }

@keyframes promo-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.promotion-popup {
    width: 600px;
    max-width: 95vw;
    height: 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    background-size: cover;
    background-position: center;
    background-color: #0a0a0a;
    animation: promo-popup-in 0.3s ease-out;
}
@keyframes promo-popup-in {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.promotion-popup .promo-overlay {
    position: absolute;
    inset: 0;
}
.promotion-popup .promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.promotion-popup .promo-headline {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.promotion-popup .promo-subtext {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 420px;
}
.promotion-popup .promo-cta {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    background: var(--color-orange-accent);
    color: #fff;
    transition: all 0.2s ease;
}
.promotion-popup .promo-cta:hover {
    background: var(--color-orange-hover);
    transform: translateY(-1px);
}
.promotion-popup .promo-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}
.promotion-popup .promo-close:hover {
    background: rgba(0,0,0,0.7);
}

/* ── Mega Menu Banner ── */
.promotion-mega-banner {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: block;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-color: #0a0a0a;
}
.promotion-mega-banner .promo-overlay {
    position: absolute;
    inset: 0;
}
.promotion-mega-banner .promo-content {
    position: relative;
    z-index: 2;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}
.promotion-mega-banner .promo-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    width: fit-content;
    background: var(--color-error);
    color: #fff;
}
.promotion-mega-banner .promo-headline {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.promotion-mega-banner .promo-subtext {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 12px;
}
.promotion-mega-banner .promo-cta {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    width: fit-content;
    background: var(--color-orange-accent);
    color: #fff;
    transition: background 0.2s;
}
.promotion-mega-banner .promo-cta:hover {
    background: var(--color-orange-hover);
}
.promotion-mega-banner:hover {
    box-shadow: var(--shadow-md);
}

/* ── Overlay Style Variants ── */
.promo-overlay-gradient-left {
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.promo-overlay-brand-tint {
    background: linear-gradient(90deg, rgba(26,71,42,0.85) 0%, rgba(26,71,42,0.5) 60%, transparent 100%);
}
.promo-overlay-accent-fade {
    background: linear-gradient(90deg, rgba(76,175,80,0.85) 0%, rgba(76,175,80,0.4) 60%, transparent 100%);
}
.promo-overlay-dark {
    background: rgba(0,0,0,0.55);
}
.promo-overlay-bottom-fade {
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .promotion-top-banner-wrap {
        display: none;
    }

    .promotion-popup {
        width: 95vw;
        height: auto;
        min-height: 280px;
    }
    .promotion-popup .promo-headline { font-size: 22px; }

    .promotion-mega-banner {
        width: 100%;
        aspect-ratio: 1 / 1;
        max-width: 350px;
    }
}


/* ═══════════════════════════════════════════
   VAPE PICKER
   ═══════════════════════════════════════════ */

.vape-picker-section {
    margin-top: 16px;
}

.vape-picker-open-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
}
.vape-picker-open-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Overlay */
.vape-picker-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modal */
.vape-picker-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

.vape-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #eee;
}
.vape-picker-header h3 {
    margin: 0;
    font-size: 18px;
    color: #0a0a0a;
}
.vape-picker-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.vape-picker-close:hover { color: #333; }

/* Body — 3 column desktop */
.vape-picker-body {
    display: grid;
    grid-template-columns: 200px 1fr 240px;
    flex: 1;
    overflow: hidden;
}
.vape-picker-body > div {
    padding: 16px;
    overflow-y: auto;
}
.vape-picker-body h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 0 0 12px;
}

/* Column 1: Flavors */
.vape-picker-flavors {
    border-right: 1px solid #eee;
    background: #fafafa;
}

.vape-flavor-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vape-flavor-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    font-size: 14px;
}
.vape-flavor-btn:hover {
    border-color: #ddd;
    background: #f8f8f8;
}
.vape-flavor-btn.active {
    border-color: var(--flavor-color, #27ae60);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.vape-flavor-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.vape-flavor-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}
.vape-flavor-check {
    display: none;
    color: var(--flavor-color, #27ae60);
    font-weight: 700;
    font-size: 16px;
}
.vape-flavor-btn.active .vape-flavor-check {
    display: inline;
}

/* Flavor has items in basket (not currently active) */
.vape-flavor-btn.has-items:not(.active) {
    border-color: #e74c3c;
    background: #fef5f5;
}
.vape-flavor-btn.has-items:not(.active) .vape-flavor-name {
    color: #c0392b;
    font-weight: 600;
}

/* Item count badge on flavor button */
.vape-flavor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}
.vape-flavor-btn.active .vape-flavor-badge {
    background: var(--flavor-color, #27ae60);
}

/* Column 2: Weight / Qty picker */
.vape-picker-weights {
    border-right: 1px solid #eee;
}

.vape-tier-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vape-tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.vape-tier-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vape-tier-label {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}
.vape-tier-price {
    font-size: 14px;
    color: #27ae60;
    font-weight: 500;
}
.vape-tier-sale { color: #e74c3c; font-weight: 600; }
.vape-tier-original { text-decoration: line-through; color: #aaa; font-size: 12px; margin-left: 4px; }

.vape-tier-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.vape-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.1s;
}
.vape-qty-btn:hover { background: #e0e0e0; }
.vape-qty-display {
    width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.vape-add-selection-btn {
    font-weight: 600;
    transition: all 0.2s;
}

/* Column 3: Running summary */
.vape-picker-summary-col {
    background: #fafafa;
}

.vape-empty-msg {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    padding: 20px 0;
}

.vape-summary-line {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}
.vape-summary-line-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.vape-summary-flavor {
    font-weight: 600;
    color: #333;
}
.vape-summary-tier {
    font-size: 11px;
    color: #888;
}
.vape-summary-qty {
    font-size: 11px;
    color: #666;
}
.vape-summary-line-price {
    font-weight: 600;
    color: #27ae60;
    white-space: nowrap;
}
.vape-summary-remove {
    border: none;
    background: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 4px;
    opacity: 0.5;
    transition: opacity 0.15s;
}
.vape-summary-remove:hover { opacity: 1; }

#vape-picker-running-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-top: 8px;
    border-top: 2px solid #27ae60;
}
.vape-running-total-label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.vape-running-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
}

/* ── Mobile: split screen ── */
@media (max-width: 768px) {
    .vape-picker-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .vape-picker-modal {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }

    .vape-picker-body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto; /* flavors flex, tiers fixed at bottom */
        height: calc(100vh - 56px);
    }

    /* Flavors take remaining space and scroll */
    .vape-picker-flavors {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
        overflow-y: auto;
        min-height: 0; /* allow shrink in grid */
    }
    .vape-flavor-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .vape-flavor-btn {
        white-space: nowrap;
        min-width: auto;
        padding: 6px 12px;
        font-size: 12px;
        flex: 0 0 auto;
    }
    .vape-flavor-dot {
        width: 10px;
        height: 10px;
    }
    .vape-flavor-check {
        font-size: 13px;
    }
    .vape-flavor-badge {
        min-width: 16px;
        height: 16px;
        font-size: 10px;
    }

    /* Weight tiers pinned at bottom — always visible, 2-column grid */
    .vape-picker-weights {
        border-right: none;
        border-top: 2px solid #eee;
        padding: 12px;
        overflow-y: visible;
        flex-shrink: 0;
    }
    .vape-picker-weights h4 {
        margin-bottom: 8px;
    }
    .vape-tier-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .vape-tier-row {
        padding: 8px 10px;
        border-radius: 8px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .vape-tier-info {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    .vape-tier-label {
        font-size: 13px;
    }
    .vape-tier-price {
        font-size: 12px;
    }
    .vape-tier-qty {
        align-self: center;
    }
    .vape-qty-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .vape-qty-display {
        width: 30px;
        font-size: 14px;
    }

    /* Hide summary column on mobile (shown on product page instead) */
    .vape-picker-summary-col {
        display: none;
    }
}
