@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Syne:wght@600;700;800&display=swap');

/* Design System & Variables */
:root {
  --primary: #0D0B61;
  --secondary: #D6E6F2;
  --bg-color: #F7F3EE;
  --text-main: #111111;
  --text-muted: #666666;
  --border-color: #EFEBE4; /* Softer border */
  --white: #FFFFFF;
  --success: #1E9E4A;
  --error: #D62828;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .hero-title, .section-title, .product-title, .cart-title, .checkout-title, .panel-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

h1 {
  font-size: 40px;
  line-height: 1.2;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: #08064a;
  box-shadow: 0 6px 16px rgba(13, 11, 97, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
}

.badge {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(13, 11, 97, 0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.88;
}

.logo-mark {
  height: 24px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.logo:hover .logo-mark {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.logo-sub {
  font-family: var(--font-main);
  font-size: 7.5px;
  font-weight: 700;
  color: #78591E; /* Rich deep gold — WCAG AA compliant on white */
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-brand .logo-mark {
  height: 28px;
  max-width: 60px;
}

.footer-brand .logo-title {
  font-size: 24px;
}

.footer-brand .logo-sub {
  font-size: 9px;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-main);
  transition: color 0.3s;
  font-weight: bold;
}

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

.nav-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  position: relative;
  transition: color 0.3s, transform 0.2s;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.icon-btn:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 12px;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 560px;
}

.hero-content {
  flex: 1;
}

.hero-title {
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-link {
  color: var(--primary);
  text-decoration: underline;
  font-size: 14px;
  font-weight: bold;
}

.hero-image {
  flex: 1;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.hero-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

/* Collections */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.collection-card {
  text-align: center;
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.collection-img {
  width: 100%;
  height: 220px;
  background-color: var(--secondary);
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
.collection-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.collection-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--primary);
}

.collection-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Dynamic grid columns */
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

.product-card {
  padding: 20px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.product-img {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--bg-color);
  border-radius: 8px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-img .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
}

.product-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.product-img img.hover-img {
  opacity: 0;
}

.product-card:hover .product-img img.main-img {
  opacity: 0;
}

.product-card:hover .product-img img.hover-img {
  opacity: 1;
  transform: scale(1.03);
}

.photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(255,255,255,0.85);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.photo-count svg { width: 14px; height: 14px; }

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-main);
  cursor: pointer;
}
.product-name:hover {
  color: var(--primary);
}

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

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.color-dot:hover {
  transform: scale(1.2);
}

.color-dot.active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--primary);
}

.color-more {
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  margin-left: 4px;
}

.product-price {
  font-weight: bold;
  color: var(--primary);
  font-size: 16px;
  margin-top: auto;
}

/* Points Section */
.points-section {
  background-color: var(--secondary);
  text-align: center;
  padding: 80px 24px;
  border-radius: 12px;
  margin: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.points-icon {
  margin-bottom: 20px;
  color: var(--primary);
}
.points-icon svg { width: 48px; height: 48px; }

.points-title {
  color: var(--primary);
  margin-bottom: 16px;
}

.points-desc {
  font-size: 16px;
  margin-bottom: 32px;
  color: var(--text-main);
  max-width: 500px;
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.article-img {
  width: 100%;
  height: 240px;
  background-color: #eaeaea;
  position: relative;
  overflow: hidden;
}
.article-img img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.5s ease;
}

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

.article-img .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(255,255,255,0.9);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
  border-radius: 20px;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: rgba(13, 11, 97, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s, background-color 0.3s;
  pointer-events: none;
}
.article-card:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--primary);
}

.article-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary);
}

.article-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

/* Features Info */
.features-section {
  background-color: var(--white);
  padding: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  color: var(--primary);
  background-color: var(--secondary);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 32px; height: 32px; }

.feature-text {
  font-weight: bold;
  color: var(--primary);
  font-size: 16px;
}

/* Shop Layout with Sidebar */
.shop-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.shop-sidebar {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.shop-main {
  flex-grow: 1;
}

.shop-page-title {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.sidebar-section {
  margin-bottom: 32px;
}

.sidebar-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-slider {
  width: 100%;
  accent-color: var(--text-main);
}

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

.btn-filter-small {
  background: var(--text-muted);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-filter-small:hover {
  background: var(--text-main);
}

.price-label {
  font-size: 12px;
  color: var(--text-main);
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-list > li {
  border-bottom: 1px solid var(--border-color);
}

.sidebar-cat-list > li:first-child {
  border-top: 1px solid var(--border-color);
}

.cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
}

.cat-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.cat-link.active {
  font-weight: bold;
}

.has-sub.open .cat-link svg {
  transform: rotate(180deg);
}

.sub-cat-list {
  list-style: none;
  padding: 0 0 12px 16px;
  margin: 0;
  display: none;
}

.has-sub.open .sub-cat-list {
  display: block;
}

.sub-cat-list a {
  display: block;
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.sub-cat-list a:hover {
  color: var(--primary);
}

/* Shop Category Page specifics */
.category-header {
  margin-bottom: 40px;
}

.category-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.category-title {
  font-size: 32px;
  color: var(--primary);
}

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

.category-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-main);
  transition: background 0.3s;
}
.filter-btn:hover { background: var(--bg-color); }

.view-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.view-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  padding: 4px;
  transition: color 0.3s;
}

.view-btn.active {
  font-weight: bold;
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 24px;
  margin-top: 40px;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 320px;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--primary);
  background-color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.footer-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.3s;
}

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

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

/* Mobile Nav Drawer & Responsive */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open { left: 0; }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 8px;
}
.close-menu svg { width: 24px; height: 24px; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-main);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 11, 97, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .product-grid, .product-grid.cols-6, .product-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 20px;
    gap: 40px;
  }
  
  .hero-actions { justify-content: center; }
  .hero-image { width: 100%; height: 320px; }
  
  .collections-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .product-grid, .product-grid.cols-6, .product-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid, .product-grid.cols-6, .product-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 32px; }
  .view-controls { display: none; } /* Hide view controls on mobile */
}

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

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Image Gallery */
.gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-color);
  margin-bottom: 16px;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

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

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

/* Product Info Panel */
.product-detail-info {
  padding-top: 8px;
}

.product-detail-info .badge {
  margin-bottom: 16px;
}

.product-detail-name {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}

.product-detail-code {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.product-detail-price {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 16px;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--success);
  margin-bottom: 28px;
}
.stock-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
}

.points-hint {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 28px 0;
}

.variant-label {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.variant-label span {
  color: var(--text-main);
  font-weight: bold;
}

.color-options {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

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

.color-swatch:hover { transform: scale(1.15); }

.color-swatch.active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary);
}

.color-name-label {
  font-size: 13px;
  color: var(--text-muted);
  height: 20px;
  margin-bottom: 24px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.wishlist-btn {
  width: 100%;
  padding: 14px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.3s;
}

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

/* Accordion */
.accordion {
  margin-top: 32px;
}

.accordion-item {
  border-top: 1px solid var(--border-color);
}

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

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 18px 0;
  font-weight: bold;
  font-size: 15px;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}

.accordion-trigger .acc-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.accordion-trigger.open .acc-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body.open {
  max-height: 500px;
}

.accordion-body-inner {
  padding-bottom: 20px;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-list li {
  display: flex;
  gap: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.spec-list li strong {
  color: var(--text-main);
  min-width: 140px;
}

/* Related Products */
.related-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border-color);
}

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

  .gallery { position: static; }

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

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

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-title {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 32px;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-color);
}

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

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

.cart-item-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}

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

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

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-main);
  transition: background 0.2s;
}

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

.qty-val {
  padding: 8px 16px;
  font-weight: bold;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  min-width: 44px;
  text-align: center;
}

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

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  align-self: flex-start;
  transition: color 0.2s;
}

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

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.cart-summary-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.summary-row.total {
  font-weight: bold;
  font-size: 18px;
  color: var(--text-main);
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  margin-top: 14px;
}

.summary-row .val {
  color: var(--text-main);
  font-weight: bold;
}

.summary-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 16px 0;
}

.summary-note a {
  color: var(--primary);
  text-decoration: underline;
}

.cart-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  opacity: 0.3;
}

.cart-empty h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-main);
}

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

  .cart-summary {
    position: static;
  }
}

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

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.checkout-title {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.checkout-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.checkout-section-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,11,97,0.08);
}

.form-input.error {
  border-color: var(--error);
}

.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 15px;
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-main);
  cursor: pointer;
  transition: border-color 0.2s;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,11,97,0.08);
}

/* Points Box */
.points-box {
  background: var(--secondary);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 28px;
}

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

.points-box-title {
  font-weight: bold;
  color: var(--primary);
}

.points-box-balance {
  font-size: 14px;
  color: var(--text-muted);
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-track {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-color);
  border-radius: 24px;
  transition: background-color 0.3s;
}

.toggle-switch input:checked + .toggle-track {
  background-color: var(--primary);
}

.toggle-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch input:checked + .toggle-track::before {
  transform: translateX(20px);
}

/* Order Summary Sidebar */
.order-summary-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.order-summary-items {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.order-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.order-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-color);
  position: relative;
}

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

.order-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

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

.order-item-name {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 2px;
}

.order-item-variant {
  font-size: 13px;
  color: var(--text-muted);
}

.order-item-price {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .order-summary-card { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .shop-layout {
    flex-direction: column;
  }
  .shop-sidebar {
    width: 100%;
    position: static;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

/* =============================================
   LOGIN / REGISTER PAGE
   ============================================= */

.auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo .logo {
  font-size: 28px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-color);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

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

.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--primary);
  font-weight: bold;
}

.forgot-link {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 20px;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; }
}

/* =============================================
   DASHBOARD PAGE
   ============================================= */

.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.dashboard-sidebar {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.dashboard-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.dashboard-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 12px;
}
.dashboard-avatar svg { width: 36px; height: 36px; }

.dashboard-username {
  font-weight: bold;
  font-size: 15px;
  color: var(--primary);
}

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

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-nav-item:hover {
  background: var(--bg-color);
  color: var(--primary);
}

.sidebar-nav-item.active {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
}

.dashboard-content {
  min-height: 400px;
}

/* Dashboard Panels */
.dashboard-panel { display: none; }
.dashboard-panel.active { display: block; }

.panel-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 24px;
}

/* Stat Cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary);
}

.stat-unit {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: normal;
}

/* Data Table */
.data-table {
  width: 100%;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.data-table th {
  background: var(--bg-color);
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

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

.data-table tr:hover td { background: var(--bg-color); }

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.status-badge.pending {
  background: #FFF3CD;
  color: #856404;
}

.status-badge.processing {
  background: #D1ECF1;
  color: #0c5460;
}

.status-badge.shipped {
  background: var(--secondary);
  color: var(--primary);
}

.status-badge.done {
  background: #D4EDDA;
  color: #155724;
}

/* Points ledger */
.points-in { color: var(--success); font-weight: bold; }
.points-out { color: var(--error); font-weight: bold; }

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 100%;
    min-width: 0;
  }
  .dashboard-content {
    min-width: 0;
    max-width: 100%;
  }
  .dashboard-sidebar {
    position: static;
    max-width: 100%;
  }
  .stat-cards { grid-template-columns: 1fr; }
  .data-table { width: 100%; min-width: 480px; }
}

/* =============================================
   ORDER STATUS PAGE
   ============================================= */

.order-status-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.order-status-card {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 560px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.status-icon.success { background: #D4EDDA; color: var(--success); }
.status-icon.pending { background: #FFF3CD; color: #856404; }
.status-icon.failed  { background: #F8D7DA; color: var(--error); }

.status-icon svg { width: 40px; height: 40px; }

.status-title {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.status-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.order-detail-card {
  background: var(--bg-color);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 12px;
}

.order-detail-row:last-child { margin-bottom: 0; }

.order-detail-row .label { color: var(--text-muted); }
.order-detail-row .val { font-weight: bold; color: var(--text-main); }

.order-status-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =============================================
   JOURNAL / ARTICLE PAGES
   ============================================= */

.journal-header {
  padding: 60px 0 40px;
  text-align: center;
}

.journal-header h1 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.journal-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.journal-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-tag {
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.filter-tag:hover, .filter-tag.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Article Detail */
.article-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.article-detail-main {
  max-width: 700px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-cat-tag {
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

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

.article-detail-title {
  font-size: 36px;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 24px;
}

.article-lead {
  font-size: 18px;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.article-cover {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

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

.youtube-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #000;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.article-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body h2 {
  font-size: 22px;
  color: var(--primary);
  margin: 32px 0 16px;
}

.article-body ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body ul li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.article-sidebar-section {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.sidebar-section-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.related-article-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.related-article-item:last-child { margin-bottom: 0; }

.related-article-img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.related-article-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.4;
  transition: color 0.2s;
}

.related-article-item:hover .related-article-title {
  color: var(--primary);
}

.related-article-date {
  font-size: 13px;
  color: var(--text-muted);
}

/* Related Product mini cards in article */
.related-products-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-product-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s;
}

.mini-product-card:hover {
  border-color: var(--primary);
}

.mini-product-img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-color);
}

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

.mini-product-name {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 2px;
}

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

@media (max-width: 768px) {
  .article-detail-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar { position: static; }
  .article-detail-title { font-size: 26px; }
  .article-cover { height: 240px; }
}

/* =============================================
   INFO / STATIC PAGES
   ============================================= */

.info-page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.info-sidebar {
  position: sticky;
  top: 100px;
}

.info-sidebar-title {
  font-size: 13px;
  font-weight: bold;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.info-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-sidebar-link {
  display: block;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.info-sidebar-link:hover {
  background: var(--bg-color);
  color: var(--primary);
}

.info-sidebar-link.active {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
}

.info-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.info-title {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 10px;
}

.info-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.info-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.info-body h3 {
  font-size: 18px;
  color: var(--primary);
  margin: 28px 0 12px;
}

.info-body ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.info-body ul li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.info-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 15px;
}

.info-step-content h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.info-step-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .info-page-layout {
    grid-template-columns: 1fr;
  }
  .info-sidebar {
    position: static;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .info-sidebar-title { display: none; }
  .info-sidebar-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .info-sidebar-link {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 6px 14px;
    font-size: 14px;
  }
  .info-title { font-size: 24px; }
}

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

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

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.breadcrumb .sep {
  opacity: 0.4;
}

.breadcrumb .current {
  color: var(--text-main);
  font-weight: bold;
}

/* =============================================
   COLLECTION CAROUSEL (index.html)
   ============================================= */

.collections-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.collections-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.collection-slide {
  min-width: calc(33.333% - 16px);
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.collection-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.collection-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.collection-slide-body {
  padding: 20px 24px;
}

.collection-slide-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 8px;
}

.collection-slide-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, box-shadow 0.2s;
  color: var(--primary);
}

.carousel-arrow:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(13,11,97,0.2);
}

.carousel-arrow svg { width: 18px; height: 18px; }

.carousel-arrow-left { left: -20px; }
.carousel-arrow-right { right: -20px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) 1s both;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  color: #fff;
}

.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }

@keyframes wa-pop {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* =============================================
   LENS SELECTION MODAL (product.html)
   ============================================= */

.lens-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,11,97,0.4);
  backdrop-filter: blur(4px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lens-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lens-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  max-width: 560px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.lens-modal-overlay.open .lens-modal {
  transform: translateY(0);
}

.lens-modal-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 6px;
}

.lens-modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.lens-option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lens-option:hover,
.lens-option.selected {
  border-color: var(--primary);
  background: rgba(13,11,97,0.03);
}

.lens-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lens-option-text strong {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 3px;
}

.lens-option-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.lens-modal-warning {
  background: #FFF8E6;
  border: 1px solid #FFC107;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #7A5000;
  margin-bottom: 20px;
  display: none;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.lens-modal-warning.show { display: flex; }

.lens-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.lens-modal-actions .btn {
  flex: 1;
  padding: 14px;
  font-size: 15px;
  text-align: center;
}

/* =============================================
   LENSES CATALOG PAGE
   ============================================= */

.lenses-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a175f 100%) !important;
  color: var(--white);
  padding: 64px 0 48px;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
  display: block;
}

.lenses-hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.lenses-hero-sub {
  font-size: 17px;
  opacity: 0.8;
  max-width: 500px;
  margin: 0 auto;
}

.lenses-brand-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.brand-tab {
  padding: 8px 20px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  background: none;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.brand-tab.active,
.brand-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,11,97,0.05);
}

.lens-type-toggle {
  display: flex;
  gap: 0;
  border: 2px solid var(--primary);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 32px;
}

.lens-type-btn {
  padding: 10px 28px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lens-type-btn.active {
  background: var(--primary);
  color: var(--white);
}

.lens-color-section {
  margin-bottom: 40px;
}

.lens-color-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lens-color-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.lens-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lens-color-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.lens-color-swatch:hover .lens-color-circle,
.lens-color-swatch.active .lens-color-circle {
  border-color: var(--primary);
  transform: scale(1.08);
}

.lens-color-name {
  font-size: 11px;
  font-weight: bold;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.lens-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lens-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.lens-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lens-card-body {
  padding: 16px 20px;
}

.lens-card-brand {
  font-size: 11px;
  font-weight: bold;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.lens-card-name {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}

.lens-card-type {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

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

@media (max-width: 768px) {
  .lens-color-grid { grid-template-columns: repeat(4, 1fr); }
  .collection-slide { min-width: calc(80% - 12px); }
  .carousel-arrow-left { left: 4px; }
  .carousel-arrow-right { right: 4px; }
  .lenses-hero-title { font-size: 28px; }
}

@media (max-width: 480px) {
  .lens-color-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-slide { min-width: calc(90% - 12px); }
}
