:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #f97316;
  --gradient-1: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #f97316 100%);
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--bg-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: #2563eb;
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: #7c3aed;
  bottom: -50px;
  right: -50px;
}

.glow-3 {
  width: 300px;
  height: 300px;
  background: #f97316;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-text h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

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

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--gradient-1);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.products-section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
  font-size: 18px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  padding: 30px;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.product-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.product-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.product-meta span {
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 6px;
  color: var(--text-secondary);
}

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

.price {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
}

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

.vape-device {
  position: relative;
  width: 80px;
  height: 200px;
}

.vape-body {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.vape-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 40px 0 0 40px;
}

.vape-led {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px #22c55e;
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 20px #22c55e;
  }
}

.vape-mouthpiece {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 25px;
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  border-radius: 25px 25px 0 0;
}

.product-vape {
  transform: scale(0.8);
}

.gradient-vape-1 .vape-body { background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%); }
.gradient-vape-2 .vape-body { background: linear-gradient(180deg, #a855f7 0%, #7c3aed 100%); }
.gradient-vape-3 .vape-body { background: linear-gradient(180deg, #ec4899 0%, #db2777 100%); }
.gradient-vape-4 .vape-body { background: linear-gradient(180deg, #06b6d4 0%, #0891b2 100%); }
.gradient-vape-5 .vape-body { background: linear-gradient(180deg, #10b981 0%, #059669 100%); }
.gradient-vape-6 .vape-body { background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%); }
.gradient-vape-7 .vape-body { background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%); }
.gradient-vape-8 .vape-body { background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%); }
.gradient-vape-9 .vape-body { background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%); }
.gradient-vape-10 .vape-body { background: linear-gradient(180deg, #f97316 0%, #ea580c 100%); }
.gradient-vape-11 .vape-body { background: linear-gradient(180deg, #6366f1 0%, #a855f7 50%, #ec4899 100%); }
.gradient-vape-12 .vape-body { background: linear-gradient(180deg, #0ea5e9 0%, #6366f1 100%); }

.footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 20px;
}

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

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

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 16px 0;
}

.footer-contact p {
  color: var(--text-secondary);
  margin: 8px 0;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.warning {
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
}

/* ===== Product Detail - Two Column Layout ===== */
.product-detail {
  padding: 100px 0 60px;
  background: var(--bg);
  min-height: 100vh;
}

.product-detail-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left Column - Product Info */
.product-left-col {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.product-gallery {
  margin-bottom: 30px;
}

.main-image {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  margin-bottom: 16px;
}

.main-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.main-image .vape-device {
  transform: scale(1.3);
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumbnail {
  background: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  border-color: var(--primary-light);
}

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

.thumbnail img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.thumbnail .vape-device {
  transform: scale(0.4);
  width: 60px;
  height: 120px;
}

.product-info-detail h1 {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.stars {
  color: #fbbf24;
  font-size: 18px;
}

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

.product-price-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.product-price-detail .price {
  font-size: 32px;
  color: var(--primary);
}

.product-price-detail .price-old {
  font-size: 18px;
}

.product-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 15px;
}

.product-specs {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.spec-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14px;
}

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

.quantity-label {
  color: var(--text-primary);
  font-weight: 600;
}

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

.qty-btn {
  background: var(--bg);
  border: none;
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s ease;
}

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

.qty-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 60px;
  text-align: center;
  font-size: 16px;
  outline: none;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-tabs {
  margin-top: 30px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.tab-btn {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.tab-content h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 20px;
}

.tab-content p {
  margin-bottom: 12px;
}

.tab-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.tab-content ul li {
  margin-bottom: 8px;
}

/* Right Column - Similar Products */
.product-right-col {
  position: sticky;
  top: 100px;
}

.similar-products-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.similar-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.similar-product-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.similar-product-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.similar-product-img {
  width: 70px;
  height: 70px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.similar-product-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.similar-product-info {
  flex: 1;
  min-width: 0;
}

.similar-product-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-product-meta {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.similar-product-meta span {
  font-size: 12px;
  padding: 2px 8px;
  background: var(--bg);
  border-radius: 4px;
  color: var(--text-secondary);
}

.similar-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a {
  padding: 10px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.pagination a:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.pagination a.active {
  background: var(--gradient-1);
  color: white;
  border-color: transparent;
}

.pagination-label {
  color: var(--text-secondary);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  background: var(--gradient-1);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-card h2 {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Page Header */
.page-header {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

.page-header-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 48px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Related Products (Old style - kept for other pages) */
.related-products {
  margin-top: 60px;
}

.related-products h2 {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 30px;
}

/* Product images inside description content */
.content-product-img {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 24px auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  background: var(--bg);
  padding: 16px;
  object-fit: contain;
}

/* Merged description + features block */
.product-description-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.product-description-block h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 16px;
}

.product-description-block h3:first-child {
  margin-top: 0;
}

.product-description-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-description-block ul {
  list-style: none;
  padding: 0;
}

.product-description-block ul li {
  position: relative;
  padding-left: 28px;
  padding-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-description-block ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ============================================
   MALL-STYLE HOMEPAGE
   ============================================ */

/* Top Bar */
.top-bar {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}

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

.top-bar-right a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}

.top-bar-right a:hover {
  text-decoration: underline;
}

/* Search bar in navbar */
.nav-search {
  flex: 1;
  max-width: 400px;
  position: relative;
  display: flex;
  margin: 0 24px;
}

.search-input {
  width: 100%;
  padding: 10px 44px 10px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background: var(--bg);
}

.search-input:focus {
  border-color: var(--primary);
  background: #fff;
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}

.search-btn:hover {
  color: var(--primary);
}

/* Mall Layout: Sidebar + Main */
.mall-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 120px;
}

.sidebar {
  width: 240px;
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 120px;
  height: calc(100vh - 120px);
  overflow-y: auto;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 0 24px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.category-nav {
  display: flex;
  flex-direction: column;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.category-item:hover {
  background: var(--bg);
  color: var(--primary);
  border-left-color: var(--primary);
}

.cat-name {
  font-weight: 500;
}

.cat-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 2px 8px;
  border-radius: 10px;
}

.sidebar-promise {
  margin-top: 24px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.promise-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* Hero adjustments for mall */
.mall-layout .hero {
  padding: 60px 0 40px;
}

.hero-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.product-float {
  display: block;
  text-decoration: none;
  position: relative;
}

.float-price {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* Promo Banner */
.promo-banner {
  padding: 30px 0;
}

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

.promo-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.promo-1 {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}

.promo-2 {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

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

.promo-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.9;
  display: block;
  margin-bottom: 6px;
}

.promo-content h3 {
  font-size: 22px;
  margin: 0 0 4px;
}

.promo-content p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

.promo-arrow {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Brands Strip */
.brands-strip {
  padding: 24px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands-strip-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.brand-pill {
  padding: 8px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.brand-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Section header row (title + view all) */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-header {
  border-bottom: 2px solid var(--border);
  padding-bottom: 16px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: gap 0.2s;
}

.view-all-link:hover {
  gap: 10px;
}

/* Brand section */
.brand-section {
  padding: 50px 0;
}

/* Product card - mall style enhancements */
.product-card .product-brand {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-card .product-image {
  background: var(--bg);
}

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

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

.btn-add-cart {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
}

/* Badges */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  z-index: 2;
}

.badge.hot {
  background: #ef4444;
}

.badge.new {
  background: #10b981;
}

.badge.sale {
  background: #f97316;
}

/* Stats section */
.stats-section {
  padding: 60px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-card {
  text-align: center;
  padding: 24px;
}

.stat-big {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }

  .nav-search {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-search {
    display: none;
  }

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

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

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Contact */
.contact-info {
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-label {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .product-detail-two-col {
    grid-template-columns: 1fr;
  }

  .product-right-col {
    position: static;
    top: auto;
  }

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

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

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-subtitle {
    font-size: 16px;
  }

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

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

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 16px;
  }

  .cta-card {
    padding: 40px 20px;
  }

  .cta-card h2 {
    font-size: 28px;
  }

  .cta-card p {
    font-size: 16px;
  }

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

  .product-price-detail .price {
    font-size: 24px;
  }

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

  .glow-1 {
    width: 300px;
    height: 300px;
  }

  .glow-2 {
    width: 250px;
    height: 250px;
  }

  .glow-3 {
    width: 200px;
    height: 200px;
  }
}

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

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

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

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 16px;
  }

  .main-image {
    min-height: 250px;
    padding: 20px;
  }
}
