:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --accent: #ff0000;
  --accent-hover: #cc0000;
  --card-bg: #ffffff;
  --border: #ddd;
  --border-light: #eee;
  --header-bg: #ffffff;
  --footer-bg: #1a1a2e;
  --footer-text: #ccc;
  --shadow: rgba(0,0,0,0.08);
  --shadow-hover: rgba(0,0,0,0.15);
  --sidebar-bg: #ffffff;
  --input-bg: #ffffff;
  --hero-overlay: linear-gradient(135deg, rgba(255,0,0,0.7), rgba(0,0,0,0.5));
  --newsletter-bg: linear-gradient(135deg, #1a1a2e, #16213e);
  --flash-sale-bg: linear-gradient(135deg, #ff0000, #cc0000);
  --topbar-bg: #ff0000;
  --cart-overlay: rgba(0,0,0,0.5);
  --chatbot-body-bg: #e5ddd5;
  --receipt-bg: #f9f9f9;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

[data-theme="dark"] {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --text-light: #777777;
  --accent: #ff3333;
  --accent-hover: #ff5555;
  --card-bg: #1e1e1e;
  --border: #333;
  --border-light: #2a2a2a;
  --header-bg: #1a1a1a;
  --footer-bg: #0a0a0a;
  --footer-text: #888;
  --shadow: rgba(0,0,0,0.3);
  --shadow-hover: rgba(0,0,0,0.5);
  --sidebar-bg: #1a1a1a;
  --input-bg: #2a2a2a;
  --hero-overlay: linear-gradient(135deg, rgba(150,0,0,0.8), rgba(0,0,0,0.7));
  --newsletter-bg: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  --flash-sale-bg: linear-gradient(135deg, #8b0000, #cc0000);
  --topbar-bg: #8b0000;
  --cart-overlay: rgba(0,0,0,0.7);
  --chatbot-body-bg: #1e1e1e;
  --receipt-bg: #252525;
  --sort-bg: #2a2a2a;
  --sort-text: #e0e0e0;
  --sort-border: #444;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-primary);
  transition: background-color 0.3s, color 0.3s;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1950px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--topbar-bg);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-left a {
  color: #fff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-right a {
  color: #fff;
  font-size: 16px;
  transition: opacity 0.3s;
}

.top-bar-right a:hover {
  opacity: 0.8;
}

/* ========== HEADER / NAVBAR ========== */
.header {
  background: var(--header-bg);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.logo img {
  height: 40px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions a {
  color: var(--text-primary);
  font-size: 18px;
  position: relative;
  transition: color 0.3s;
}

.header-actions a:hover {
  color: var(--accent);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-toggle {
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.search-overlay.active {
  display: flex;
}

.search-overlay form {
  width: 600px;
  max-width: 90%;
  display: flex;
  gap: 0;
}

.search-overlay input {
  flex: 1;
  padding: 18px 20px;
  font-size: 18px;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  border-radius: 4px 0 0 4px;
  background: var(--input-bg);
  color: var(--text-primary);
}

.search-overlay button {
  padding: 18px 30px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  border-radius: 0 4px 4px 0;
  transition: background 0.3s;
}

.search-overlay button:hover {
  background: var(--accent-hover);
}

.search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

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

.hero-slide .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-slide .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-slide .slide-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide .slide-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
  border-radius: 4px;
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
}

.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
  border-radius: 4px;
}

.btn-outline:hover {
  background: #fff;
  color: var(--accent);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
  pointer-events: none;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}

.slider-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

/* ========== FEATURES BAR ========== */
.features-bar {
  background: var(--bg-primary);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.features-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-item .icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 15px;
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========== FLASH SALE ========== */
.flash-sale {
  padding: 60px 0;
  background: var(--flash-sale-bg);
  color: #fff;
  text-align: center;
}

.flash-sale h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.flash-sale p {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 15px 25px;
  min-width: 80px;
}

.countdown-item .num {
  font-size: 36px;
  font-weight: 700;
  display: block;
}

.countdown-item .label {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 5px;
}

/* ========== SECTION TITLE ========== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.section-title .title-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 15px auto 0;
}

/* ========== PRODUCTS GRID ========== */
.products-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

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

.product-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.product-card .product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
}

.product-card .product-img .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
}

.product-card .product-img .badge.sale {
  background: #f59e0b;
}

.product-info {
  padding: 18px;
}

.product-info .category-tag {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-info .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.product-info .price .old-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.product-info .rating {
  color: #f59e0b;
  font-size: 13px;
  margin-bottom: 12px;
}

.add-to-cart {
  width: 100%;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.add-to-cart:hover {
  background: var(--accent-hover);
}

.load-more {
  text-align: center;
  margin-top: 40px;
}

/* ========== CATEGORIES ========== */
.categories-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

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

.category-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card .cat-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  color: #fff;
}

.category-card .cat-overlay h3 {
  font-size: 16px;
  font-weight: 600;
}

.category-card .cat-overlay span {
  font-size: 12px;
  opacity: 0.8;
}

/* ========== NEWSLETTER ========== */
.newsletter {
  padding: 60px 0;
  background: var(--newsletter-bg);
  color: #fff;
  text-align: center;
}

.newsletter h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.newsletter p {
  margin-bottom: 30px;
  opacity: 0.8;
}

.newsletter form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
}

.newsletter input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.newsletter button {
  padding: 15px 30px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  transition: background 0.3s;
}

.newsletter button:hover {
  background: var(--accent-hover);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 0;
}

.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent);
  margin-top: 10px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--footer-text);
  font-size: 13px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-col .social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-col .social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 16px;
  transition: all 0.3s;
}

.footer-col .social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-col .contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.footer-col .contact-info li i {
  color: var(--accent);
  margin-top: 3px;
  min-width: 16px;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--text-primary);
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-bottom span {
  color: var(--accent);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ========== SHOP PAGE SPECIFIC ========== */
.page-hero {
  background: var(--topbar-bg);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 15px;
  opacity: 0.9;
}

.breadcrumb {
  margin-top: 10px;
  font-size: 13px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb span {
  color: #fff;
}

.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
  padding: 40px 0;
}

.sidebar {
  background: var(--sidebar-bg);
  border-radius: 8px;
  padding: 20px 15px;
  box-shadow: 0 2px 10px var(--shadow);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.sidebar h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.sidebar .filter-group {
  margin-bottom: 25px;
}

.sidebar .filter-group .category-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  background: var(--input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.3s;
}

.sidebar .filter-group .category-select:focus {
  border-color: var(--accent);
}

.sidebar .filter-group .category-select option {
  padding: 5px;
}

.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding: 15px 20px;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
}

.shop-header .result-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.shop-header .sort-select {
  padding: 8px 15px;
  border: 1px solid var(--sort-border, var(--border));
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  background: var(--sort-bg, var(--input-bg));
  color: var(--sort-text, var(--text-primary));
}

/* ========== ABOUT PAGE ========== */
.about-section {
  padding: 60px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content .about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-content .about-text p {
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.about-content .about-image {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== CONTACT PAGE ========== */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.contact-info-box p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.contact-info-box .contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-box .contact-detail .icon {
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-box .contact-detail h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info-box .contact-detail p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-form {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
}

.contact-form h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  background: var(--input-bg);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* ========== CART SIDEBAR ========== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  background: var(--card-bg);
  box-shadow: -5px 0 20px var(--shadow-hover);
  z-index: 3000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  right: 0;
}

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

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

.cart-sidebar-header button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

.cart-bulk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}
.cart-bulk-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
}
.cart-bulk-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cart-bulk-remove:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
}
.cart-bulk-remove:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-bulk-remove svg {
  width: 15px;
  height: 15px;
}

.cart-item-select {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cart-item-select input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.cart-item-remove svg {
  width: 18px;
  height: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  background: var(--bg-secondary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.cart-item-info .cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-item-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty span {
  font-size: 14px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 13px;
  align-self: flex-start;
  transition: color 0.3s;
}

.cart-item-remove:hover {
  color: var(--accent);
}

.cart-sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cart-total .total-price {
  color: var(--accent);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  transition: background 0.3s;
}

.checkout-btn:hover {
  background: var(--accent-hover);
}

.cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cart-overlay);
  z-index: 2999;
}

.cart-overlay.active {
  display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .features-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .hero-slider {
    height: 400px;
  }

  .hero-slide .slide-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

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

  .hamburger {
    display: flex;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 5px;
  }

  .hero-slider {
    height: 350px;
  }

  .hero-slide .slide-content h1 {
    font-size: 28px;
  }

  .hero-slide .slide-content p {
    font-size: 15px;
  }

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

  .countdown {
    gap: 10px;
  }

  .countdown-item {
    padding: 10px 15px;
    min-width: 60px;
  }

  .countdown-item .num {
    font-size: 24px;
  }

  .cart-sidebar {
    width: 320px;
  }
}

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

  .features-bar .container {
    grid-template-columns: 1fr;
  }

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

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

/* ========== CHECKOUT MODAL - MULTI-STEP ========== */
.checkout-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--cart-overlay); z-index: 10000; align-items: center; justify-content: center;
}
.checkout-overlay.active { display: flex; }
.checkout-modal.multi-step {
  background: var(--card-bg); border-radius: 12px; width: 700px; max-width: 95%;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  padding: 35px; position: relative;
}
.checkout-modal.multi-step .close-btn {
  position: absolute; top: 15px; right: 15px; background: none; border: none;
  font-size: 28px; cursor: pointer; color: var(--text-light); z-index: 2;
}

/* Progress Bar */
.checkout-progress {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 30px; gap: 0; padding: 0 20px;
}
.progress-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; position: relative; flex-shrink: 0;
}
.progress-step .step-circle {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700; border: 2px solid var(--border);
  color: var(--text-light); background: var(--card-bg); transition: all .3s;
}
.progress-step .step-label {
  font-size: 10px; color: var(--text-light); text-transform: uppercase;
  letter-spacing: 0.3px; font-weight: 500; text-align: center; white-space: nowrap;
}
.progress-step.active .step-circle {
  border-color: var(--accent); background: var(--accent); color: #fff;
}
.progress-step.active .step-label { color: var(--accent); font-weight: 600; }
.progress-step.completed .step-circle {
  border-color: #22c55e; background: #22c55e; color: #fff;
}
.progress-step.completed .step-circle span { display: none; }
.progress-step.completed .step-circle::after { content: '✓'; font-size: 16px; }
.progress-step.completed .step-label { color: #22c55e; }
.progress-line {
  flex: 1; height: 2px; background: var(--border); margin: 0 8px;
  align-self: flex-start; margin-top: 17px; transition: background .3s; min-width: 20px;
}
.progress-line.completed { background: #22c55e; }

/* Step Content */
.checkout-step { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.checkout-step h2 { font-size: 22px; margin-bottom: 5px; color: var(--text-primary); }
.checkout-step > p { font-size: 13px; color: var(--text-secondary); margin-bottom: 25px; }
.step-form { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checkout-step .form-group { margin-bottom: 18px; }
.checkout-step .form-group label {
  display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary);
}
.checkout-step .form-group input,
.checkout-step .form-group select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 14px; font-family: 'Montserrat',sans-serif; outline: none;
  background: var(--input-bg); color: var(--text-primary); transition: border-color .3s;
}
.checkout-step .form-group input:focus,
.checkout-step .form-group select:focus { border-color: var(--accent); }
.step-actions {
  display: flex; gap: 12px; justify-content: flex-end; margin-top: 25px; padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.step-actions .btn-primary,
.step-actions .btn-outline { padding: 12px 30px; font-size: 14px; border-radius: 6px; }

/* Shipping Method Cards */
.shipping-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.shipping-card {
  border: 2px solid var(--border-light); border-radius: 10px; padding: 25px 20px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.shipping-card:hover { border-color: var(--accent); box-shadow: 0 4px 15px var(--shadow); }
.shipping-card.selected { border-color: var(--accent); background: #fff5f5; }
[data-theme="dark"] .shipping-card.selected { background: rgba(255,0,0,0.1); }
.shipping-card .shipping-icon { font-size: 40px; color: var(--accent); margin-bottom: 10px; }
.shipping-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; color: var(--text-primary); }
.shipping-card p { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.shipping-card .shipping-cost {
  display: inline-block; font-size: 14px; font-weight: 700; color: #22c55e;
  background: #f0fdf4; padding: 3px 12px; border-radius: 20px;
}
[data-theme="dark"] .shipping-card .shipping-cost { background: rgba(34,197,94,0.15); }

/* Delivery Routes Table */
.delivery-routes {
  background: var(--receipt-bg); border-radius: 8px; padding: 20px; margin-bottom: 20px;
}
.delivery-routes h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.route-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.route-table tr { border-bottom: 1px solid var(--border-light); }
.route-table td { padding: 8px 12px; color: var(--text-primary); }
.route-table td:last-child { text-align: right; font-weight: 600; color: var(--accent); }

/* Payment Method Cards */
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.payment-card {
  border: 2px solid var(--border-light); border-radius: 10px; padding: 18px 15px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.payment-card:hover { border-color: var(--accent); box-shadow: 0 4px 15px var(--shadow); }
.payment-card.selected { border-color: var(--accent); background: #fff5f5; }
[data-theme="dark"] .payment-card.selected { background: rgba(255,0,0,0.1); }
.payment-card .payment-icon { font-size: 30px; margin-bottom: 8px; color: var(--accent); }
.payment-card h3 { font-size: 13px; font-weight: 600; margin-bottom: 3px; color: var(--text-primary); }
.payment-card p { font-size: 11px; color: var(--text-secondary); }

/* Payment Forms */
.payment-form { background: var(--receipt-bg); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.payment-form .btn-primary { width: 100%; padding: 13px; font-size: 14px; border-radius: 6px; margin-top: 5px; }
.stk-status-msg {
  margin-top: 12px; padding: 12px; background: #f0fdf4; border-radius: 6px; border: 1px solid #bbf7d0;
  font-size: 13px; color: #166534; text-align: center;
}
[data-theme="dark"] .stk-status-msg { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #86efac; }

/* Bank Details */
.bank-details { padding: 5px 0; }
.bank-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; color: var(--text-primary); }
.bank-row strong { color: var(--text-primary); }

/* M-Pesa Reference */
.mpesa-reference {
  background: var(--receipt-bg); border-radius: 8px; padding: 16px 20px; margin-bottom: 20px;
}
.mpesa-reference h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); }
.mpesa-reference h4 i { color: var(--accent); margin-right: 6px; }
.mpesa-ref-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: var(--text-primary); }
.mpesa-ref-row strong { color: var(--accent); }

/* Order Summary in Step 4 */
.checkout-summary {
  background: var(--receipt-bg); border-radius: 8px; padding: 20px; margin-bottom: 20px;
}
.checkout-summary h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); }
.summary-item { display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.summary-item span:last-child { font-weight: 500; color: var(--text-primary); }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--text-secondary); }
.summary-row.vat { font-size: 12px; color: var(--text-light); }
.summary-divider { border-top: 1px dashed var(--border); margin: 8px 0; }
.summary-row.total { font-size: 16px; font-weight: 700; color: var(--text-primary); }

/* Receipt / Success Screen */
.receipt-screen { text-align: center; padding: 10px 0; }
.receipt-screen .success-check { font-size: 56px; color: #22c55e; margin-bottom: 10px; }
.receipt-screen h2 { font-size: 20px; margin-bottom: 15px; color: var(--text-primary); }
.receipt-details {
  background: var(--receipt-bg, #f9f9f9); border-radius: 8px; padding: 20px;
  text-align: left; font-size: 12px; color: var(--text-primary);
}
.receipt-details .receipt-invoice-header { text-align: center; font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: 3px; margin-bottom: 4px; }
.receipt-details .receipt-invoice-meta { text-align: center; font-size: 11px; color: var(--text-secondary); margin-bottom: 10px; }
.receipt-details .receipt-divider { border-top: 1px dashed var(--border); margin: 10px 0; }
.receipt-details .receipt-section-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.receipt-details .receipt-customer p { font-size: 12px; color: var(--text-secondary); margin: 2px 0; }
.receipt-details .receipt-items-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.receipt-details .receipt-items-table th { background: var(--bg-secondary); padding: 6px 8px; text-align: left; font-size: 10px; text-transform: uppercase; color: var(--text-secondary); border-bottom: 2px solid var(--border); }
.receipt-details .receipt-items-table th:last-child { text-align: right; }
.receipt-details .receipt-items-table td { padding: 5px 8px; border-bottom: 1px solid var(--border-light); color: var(--text-primary); }
.receipt-details .receipt-items-table td:last-child { text-align: right; }
.receipt-details .receipt-items-table td:nth-child(3), .receipt-details .receipt-items-table td:nth-child(4) { text-align: center; }
.receipt-details .receipt-summary { font-size: 12px; }
.receipt-details .receipt-summary .row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-secondary); }
.receipt-details .receipt-summary .row.total-row { font-size: 15px; font-weight: 700; color: var(--text-primary); border-top: 1px solid var(--border); padding-top: 6px; margin-top: 3px; }
.receipt-details .receipt-summary .row.vat-row { font-size: 11px; color: var(--text-light); }
.receipt-details .receipt-payment-method { font-size: 11px; color: var(--text-secondary); margin-bottom: 8px; }
.receipt-details .receipt-barcode-wrap { text-align: center; padding: 8px 0; }
.receipt-details .receipt-barcode-wrap canvas { max-width: 100%; }
.receipt-details .receipt-barcode-text { text-align: center; font-size: 11px; color: var(--text-secondary); margin-top: 4px; letter-spacing: 2px; }
.receipt-details .receipt-footer { text-align: center; font-size: 12px; color: var(--text-secondary); font-style: italic; margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--border); line-height: 1.6; }
.receipt-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 15px; }
.receipt-actions .btn-primary, .receipt-actions .btn-outline { width: 100%; max-width: 320px; padding: 13px; font-size: 14px; border-radius: 6px; }

/* Responsive */
@media (max-width: 600px) {
  .checkout-modal.multi-step { padding: 20px; }
  .checkout-progress { padding: 0 5px; }
  .progress-step .step-circle { width: 30px; height: 30px; font-size: 12px; }
  .progress-step .step-label { font-size: 8px; }
  .progress-line { margin: 0 4px; margin-top: 14px; min-width: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .shipping-options { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
  .step-actions { flex-direction: column; }
  .step-actions .btn-primary,
  .step-actions .btn-outline { width: 100%; }
}

/* ========== CHATBOT ========== */
.chatbot-btn {
  position: fixed; bottom: 90px; right: 20px; width: 56px; height: 56px;
  background: #25D366; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 28px; box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  cursor: pointer; z-index: 9999; border: none; transition: transform .2s;
}
.chatbot-btn:hover { transform: scale(1.1); }
.chatbot-btn.active { opacity: 0; pointer-events: none; }

.chatbot-overlay {
  position: fixed; bottom: 90px; right: 20px; width: 360px; max-width: calc(100vw - 40px);
  background: var(--card-bg); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 9998; display: none; flex-direction: column; overflow: hidden;
  max-height: 520px; animation: chatSlideUp .3s ease;
}
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.chatbot-overlay.active { display: flex; }

.chatbot-header {
  background: #075E54; color: #fff; padding: 16px 18px; display: flex;
  align-items: center; gap: 12px;
}
.chatbot-header .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.chatbot-header .info { flex: 1; }
.chatbot-header .info h4 { font-size: 15px; font-weight: 600; margin: 0; }
.chatbot-header .info p { font-size: 11px; opacity: 0.8; margin: 2px 0 0; }
.chatbot-header .close-btn { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; opacity: 0.7; }
.chatbot-header .close-btn:hover { opacity: 1; }

.chatbot-body {
  padding: 16px; flex: 1; overflow-y: auto; background: var(--chatbot-body-bg);
  display: flex; flex-direction: column; gap: 8px; min-height: 280px;
}
.chatbot-body .msg {
  max-width: 80%; padding: 10px 14px; border-radius: 8px; font-size: 13px;
  line-height: 1.5; word-wrap: break-word;
}
.chatbot-body .msg.bot {
  background: var(--card-bg); align-self: flex-start; border-bottom-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.chatbot-body .msg.user {
  background: #dcf8c6; align-self: flex-end; border-bottom-right-radius: 2px;
}

.chatbot-form { padding: 12px 16px 16px; border-top: 1px solid var(--border-light); }
.chatbot-form .field { margin-bottom: 10px; }
.chatbot-form .field label { display: block; font-size: 12px; font-weight: 500; color: #555; margin-bottom: 3px; }
.chatbot-form .field input,
.chatbot-form .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 13px; font-family: 'Montserrat',sans-serif; outline: none; box-sizing: border-box;
}
.chatbot-form .field input:focus,
.chatbot-form .field textarea:focus { border-color: #25D366; }
.chatbot-form .field textarea { resize: none; height: 60px; }
.chatbot-form .send-btn {
  width: 100%; padding: 11px; background: #25D366; color: #fff; border: none;
  border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'Montserrat',sans-serif; transition: background .2s;
}
.chatbot-form .send-btn:hover { background: #1da851; }
.chatbot-form .send-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.chatbot-form .wa-link {
  display: block; text-align: center; margin-top: 10px;
  font-size: 12px; color: #075E54; text-decoration: none; font-weight: 500;
}
.chatbot-form .wa-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .chatbot-overlay { bottom: 80px; right: 10px; width: calc(100vw - 20px); max-height: 480px; }
  .chatbot-btn { bottom: 80px; right: 10px; }
}

/* ========== PRODUCT DETAIL MODAL ========== */
.product-modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--cart-overlay); z-index: 11000; align-items: center; justify-content: center;
  padding: 20px;
}
.product-modal-overlay.active { display: flex; }
.product-modal {
  background: var(--card-bg); border-radius: 12px; width: 780px; max-width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative; padding: 0;
}
.product-modal-close {
  position: absolute; top: 12px; right: 15px; background: none; border: none;
  font-size: 30px; cursor: pointer; color: var(--text-light); z-index: 2;
  line-height: 1; transition: color 0.2s;
}
.product-modal-close:hover { color: var(--accent); }
.product-modal-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.product-modal-image {
  background: var(--bg-secondary); display: flex; align-items: center;
  justify-content: center; padding: 30px; position: relative;
  min-height: 350px; border-radius: 12px 0 0 12px;
}
.product-modal-image img {
  max-width: 100%; max-height: 300px; object-fit: contain;
}
.product-modal-image .badge {
  position: absolute; top: 15px; left: 15px; background: var(--accent);
  color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 4px;
}
.product-modal-image .badge.sale { background: #f59e0b; }
.product-modal-info {
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
}
.product-modal-category {
  font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-modal-info h2 {
  font-size: 18px; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin: 0;
}
.product-modal-price {
  font-size: 24px; font-weight: 700; color: var(--accent);
}
.product-modal-price .old-price {
  font-size: 16px; color: var(--text-light); text-decoration: line-through;
  font-weight: 400; margin-left: 10px;
}
.product-modal-rating {
  color: #f59e0b; font-size: 16px;
}
.product-modal-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7; flex: 1;
}
.product-modal-info .add-to-cart {
  padding: 14px; font-size: 14px; margin-top: auto;
}
@media (max-width: 700px) {
  .product-modal-inner { grid-template-columns: 1fr; }
  .product-modal-image { min-height: 250px; border-radius: 12px 12px 0 0; }
  .product-modal-info { padding: 20px; }
}

/* ========== CART LOCATION & RECEIPT ========== */
.cart-location { padding: 0 20px 12px; display: none; }
.cart-location.show { display: block; }
.cart-location label { display: block; font-size: 12px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.cart-location select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 12px; font-family: 'Montserrat',sans-serif; outline: none; background: var(--input-bg);
  cursor: pointer; box-sizing: border-box; color: var(--text-primary);
}
.cart-location select:focus { border-color: var(--accent); }
.cart-coupon { padding: 0 20px 10px; display: none; }
.cart-coupon.show { display: block; }
.cart-coupon .coupon-row { display: flex; gap: 8px; }
.cart-receipt { padding: 0 20px 12px; display: none; }
.cart-receipt.show { display: block; }
.receipt-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: #555; }
.receipt-row.vat-row { font-size: 12px; color: #888; }
.receipt-divider { border-top: 1px dashed var(--border); margin: 6px 0; }
.receipt-row.receipt-total { font-size: 15px; font-weight: 700; color: var(--text-primary); padding: 6px 0; }
