/* =========================================================================
   Libas Fashion - Premium E-commerce CSS Stylesheet (Vanilla CSS)
   ========================================================================= */

/* 1. CSS Variables & Design Tokens */
:root {
  --brand-green: #0B5D3B;
  --brand-green-rgb: 11, 93, 59;
  --brand-gold: #D4AF37;
  --brand-gold-hover: #AA8B2C;
  --brand-light-gold: #F4EBD0;
  --white: #FFFFFF;
  --black: #111111;
  --gray-bg: #F9F9F9;
  --gray-border: #E0E0E0;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --success: #2E7D32;
  --error: #D32F2F;
  
  --font-playfair: "Playfair Display", serif;
  --font-poppins: "Poppins", sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  
  --header-height: 80px;
}

/* 2. Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-poppins);
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-playfair);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. Utility Classes */
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-gold);
  margin-bottom: 8px;
}
.title-divider {
  width: 80px;
  height: 2px;
  background-color: var(--brand-gold);
  margin: 16px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 0;
  transition: var(--transition-smooth);
  position: relative;
}

.btn-primary {
  background-color: var(--brand-green);
  color: var(--white);
  border: 1px solid var(--brand-green);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--brand-green);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--brand-green);
}

.btn-gold {
  background-color: var(--brand-gold);
  color: var(--white);
  border: 1px solid var(--brand-gold);
}

.btn-gold:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-green);
  border: 1px solid var(--brand-green);
}

.btn-outline:hover {
  background-color: var(--brand-green);
  color: var(--white);
}

/* 4. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header.transparent {
  background-color: transparent;
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: justify;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img-wrapper {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background-color: var(--white);
  padding: 2px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img-wrapper {
  transform: scale(1.05);
}

.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-cover: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-playfair);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
  color: var(--white);
  transition: var(--transition-smooth);
}

.logo-subtitle {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-light-gold);
  margin-top: 4px;
  line-height: 1;
  transition: var(--transition-smooth);
}

.header.scrolled .logo-title {
  color: var(--brand-green);
}

.header.scrolled .logo-subtitle {
  color: var(--brand-gold);
}

/* Nav Menu */
.nav-menu {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--brand-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--brand-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.header.scrolled .nav-link {
  color: var(--text-primary);
}

.header.scrolled .nav-link:hover {
  color: var(--brand-green);
}

.header.scrolled .nav-link::after {
  background-color: var(--brand-green);
}

/* Header Icons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-btn {
  color: var(--white);
  position: relative;
  transition: var(--transition-smooth);
}

.action-btn:hover {
  color: var(--brand-gold);
}

.header.scrolled .action-btn {
  color: var(--text-primary);
}

.header.scrolled .action-btn:hover {
  color: var(--brand-gold);
}

.badge-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--brand-gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  color: var(--white);
}

.header.scrolled .mobile-nav-toggle {
  color: var(--brand-green);
}

/* 5. Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 360px;
  height: 100%;
  background-color: var(--white);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-slow);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  left: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.drawer-close {
  color: var(--black);
  font-size: 1.5rem;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.drawer-nav-link:hover {
  color: var(--brand-green);
}

.drawer-footer {
  margin-top: auto;
  border-t: 1px solid var(--gray-border);
  padding-top: 30px;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 6. Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--brand-gold);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-title span {
  color: var(--brand-light-gold);
  font-style: italic;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* 7. Category Collections Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.category-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover .category-img {
  transform: scale(1.08);
}

.category-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 93, 59, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 24px;
  text-align: center;
  z-index: 2;
}

.category-name {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-link {
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.category-card:hover .category-link {
  opacity: 1;
  transform: translateY(0);
}

/* 8. Responsive Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  background-color: var(--white);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--gray-bg);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

/* Badges */
.badge-container {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.badge {
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.badge-new { background-color: var(--brand-green); }
.badge-bestseller { background-color: var(--brand-gold); }
.badge-discount { background-color: var(--error); }

/* Card Actions */
.product-actions {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 4;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.action-icon-btn {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  transform: translateY(15px);
}

.product-card:hover .action-icon-btn {
  transform: translateY(0);
}

.product-card:hover .action-icon-btn:nth-child(2) {
  transition-delay: 0.05s;
}

.product-card:hover .action-icon-btn:nth-child(3) {
  transition-delay: 0.1s;
}

.action-icon-btn:hover {
  background-color: var(--brand-gold);
  color: var(--white);
}

.action-icon-btn.active {
  background-color: var(--error);
  color: var(--white);
}

/* Card Content */
.product-info {
  padding: 20px 10px;
  text-align: center;
}

.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-name-link {
  display: block;
  margin-bottom: 10px;
}

.product-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-title:hover {
  color: var(--brand-green);
}

/* Star Ratings */
.rating-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.star {
  color: var(--gray-border);
  font-size: 0.8rem;
}

.star.filled {
  color: var(--brand-gold);
}

.review-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Prices */
.product-price-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green);
}

.price-original {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* 9. Promo Banner / Craftsmanship Section */
.promo-banner {
  background-color: var(--brand-green);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.promo-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 40%;
  height: 100%;
  background-color: rgba(212, 175, 55, 0.08);
  transform: skewX(-15deg);
  z-index: 1;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.promo-text h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.promo-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
}

.promo-image-container {
  position: relative;
}

.promo-image-border {
  border: 8px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.promo-image-border img {
  width: 100%;
  object-fit: cover;
}

.promo-accent-box {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-left: 2px solid var(--brand-gold);
  border-bottom: 2px solid var(--brand-gold);
  pointer-events: none;
}

/* 10. Reviews Section */
.reviews-section {
  background-color: #FAF8F5;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background-color: var(--white);
  padding: 40px 30px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.review-stars {
  color: var(--brand-gold);
  margin-bottom: 20px;
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.review-author {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-green);
}

/* 11. Newsletter Section */
.newsletter-card {
  background-color: var(--brand-green);
  color: var(--white);
  padding: 60px 30px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 24px;
  color: var(--white);
  font-size: 0.9rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  border-color: var(--brand-gold);
  background-color: rgba(255, 255, 255, 0.12);
}

/* 12. Footer */
.footer {
  background-color: var(--brand-green);
  color: var(--white);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-bottom: 24px;
  margin-top: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background-color: var(--brand-gold);
  border-color: var(--brand-gold);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background-color: var(--brand-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-link:hover {
  color: var(--brand-gold);
  padding-left: 4px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact-info-item svg {
  color: var(--brand-gold);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy a {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer-copy a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.payment-methods {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0.5;
}

.payment-methods img {
  height: 16px;
}

/* 13. Subpages Common Styles (Breadcrumb & Page Header) */
.page-hero {
  background-color: #FAF8F5;
  padding: 140px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--gray-border);
}

.page-title {
  font-size: 2.75rem;
  color: var(--brand-green);
  margin-bottom: 12px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.breadcrumb-separator {
  font-size: 0.65rem;
}

.breadcrumbs a:hover {
  color: var(--brand-green);
}

.breadcrumbs span.current {
  color: var(--brand-green);
  font-weight: 600;
}

/* 14. Shop Page Layout & Sidebar Filters */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.shop-topbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 30px;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.shop-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  border: 1px solid var(--gray-border);
  padding: 12px 16px 12px 48px;
  font-size: 0.85rem;
}

.search-input:focus {
  border-color: var(--brand-green);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.sort-select {
  width: 100%;
  border: 1px solid var(--gray-border);
  padding: 12px 16px;
  font-size: 0.85rem;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.btn-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background-color: var(--brand-green);
  color: var(--white);
}

/* Sidebar Filters */
.shop-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: var(--white);
  z-index: 210;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transition: var(--transition-slow);
}

.shop-sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.filter-widget {
  margin-bottom: 40px;
}

.filter-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clear-filter-btn {
  font-size: 0.7rem;
  color: var(--brand-gold);
  text-transform: uppercase;
  font-weight: 600;
}

.category-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-filter-btn {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: left;
  transition: var(--transition-smooth);
}

.category-filter-btn:hover, .category-filter-btn.active {
  color: var(--brand-green);
  font-weight: 600;
  padding-left: 4px;
}

/* Price Slider */
.price-slider-container {
  padding-top: 10px;
}

.price-range-slider {
  width: 100%;
  height: 4px;
  background-color: var(--gray-border);
  border-radius: 2px;
  appearance: none;
  outline: none;
}

.price-range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--brand-green);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.price-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Sidebar Promo */
.sidebar-promo {
  background-color: var(--brand-light-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 24px;
  text-align: center;
}

.sidebar-promo h4 {
  font-size: 1.15rem;
  color: var(--brand-green);
  margin-bottom: 8px;
}

.sidebar-promo p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* 15. Product Detail Page Layout */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-bottom: 80px;
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-image-wrapper {
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--gray-bg);
  border: 1px solid var(--gray-border);
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumbnail-item {
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.thumbnail-item.active, .thumbnail-item:hover {
  border-color: var(--brand-green);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.detail-info h1 {
  font-size: 2.25rem;
  color: var(--brand-green);
  margin: 12px 0 16px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-price-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-green);
}

.detail-price-original {
  font-size: 1.3rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.detail-discount-badge {
  background-color: var(--error);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

.detail-description {
  color: var(--text-secondary);
  margin-bottom: 35px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Selection Options */
.selection-widget {
  margin-bottom: 30px;
}

.selection-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.selection-title span {
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.size-btn {
  height: 48px;
  width: 48px;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.size-btn:hover, .size-btn.active {
  border-color: var(--brand-green);
  background-color: var(--brand-green);
  color: var(--white);
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-btn {
  padding: 10px 20px;
  border: 1px solid var(--gray-border);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.color-btn:hover, .color-btn.active {
  border-color: var(--brand-green);
  background-color: var(--brand-green);
  color: var(--white);
}

/* Purchase Actions */
.purchase-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.qty-selector {
  display: flex;
  border: 1px solid var(--gray-border);
  height: 54px;
  width: 140px;
}

.qty-btn {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background-color: var(--gray-bg);
}

.qty-input {
  width: 52px;
  text-align: center;
  font-weight: 600;
}

.purchase-buttons-row {
  display: flex;
  gap: 16px;
}

.btn-add-to-cart {
  flex-grow: 1;
  height: 54px;
}

.btn-wishlist-toggle {
  height: 54px;
  width: 54px;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-wishlist-toggle:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.btn-wishlist-toggle.active {
  background-color: #FFEBEE;
  border-color: #FFCDD2;
  color: var(--error);
}

/* Highlights */
.product-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.highlight-item svg {
  color: var(--brand-gold);
}

/* Share Widget */
.share-widget {
  display: flex;
  align-items: center;
  gap: 16px;
}

.share-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Tabs */
.tabs-container {
  margin-bottom: 80px;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 30px;
  overflow-x: auto;
  white-space: nowrap;
}

.tab-btn {
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  position: relative;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--brand-green);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-green);
}

.tab-panel {
  display: none;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

.details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.details-list li {
  position: relative;
  padding-left: 20px;
}

.details-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-gold);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 16. Cart Page Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.cart-table-wrapper {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table th {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-border);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.cart-table td {
  padding: 30px 20px;
  border-bottom: 1px solid var(--gray-border);
  vertical-align: middle;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 280px;
}

.cart-product-img {
  height: 96px;
  width: 72px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-product-title {
  font-family: var(--font-playfair);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-product-title:hover {
  color: var(--brand-green);
}

.cart-product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-remove-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 12px;
  font-weight: 500;
}

.btn-remove-item:hover {
  color: #B71C1C;
}

.cart-price-cell {
  font-weight: 500;
}

.cart-total-cell {
  font-weight: 700;
  color: var(--brand-green);
}

.cart-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
}

/* Order Summary Card */
.order-summary-card {
  background-color: var(--gray-bg);
  border: 1px solid var(--gray-border);
  padding: 40px 30px;
  height: fit-content;
}

.order-summary-card h3 {
  font-size: 1.5rem;
  color: var(--brand-green);
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 1px solid var(--gray-border);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 1.25rem;
  font-weight: 700;
}

.summary-row.total .total-price {
  color: var(--brand-green);
}

.btn-checkout {
  width: 100%;
  height: 54px;
  margin-top: 24px;
}

.empty-cart-state {
  text-align: center;
  padding: 80px 0;
}

.empty-cart-icon {
  height: 80px;
  width: 80px;
  background-color: var(--gray-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--text-muted);
}

.empty-cart-state h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.empty-cart-state p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* 17. Checkout Page Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.checkout-section {
  margin-bottom: 40px;
}

.checkout-section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-number {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background-color: var(--brand-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.col-span-2 {
  grid-column: span 1;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.form-input {
  border: 1px solid var(--gray-border);
  padding: 14px 16px;
  font-size: 0.9rem;
}

.form-input:focus {
  border-color: var(--brand-green);
}

/* Payment Methods */
.payment-option-card {
  border: 1px solid var(--brand-green);
  background-color: rgba(11, 93, 59, 0.03);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.payment-option-card.disabled {
  border-color: var(--gray-border);
  background-color: transparent;
  opacity: 0.5;
}

.payment-radio {
  accent-color: var(--brand-green);
}

.payment-meta {
  flex-grow: 1;
}

.payment-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.payment-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-logo-row {
  display: flex;
  gap: 8px;
}

.payment-logo-row svg {
  color: var(--text-muted);
}

/* Checkout Review List */
.checkout-items-list {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 24px;
  padding-right: 10px;
}

.checkout-item-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
}

.checkout-item-img {
  height: 64px;
  width: 48px;
  object-fit: cover;
}

.checkout-item-info {
  flex-grow: 1;
}

.checkout-item-title {
  font-family: var(--font-playfair);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.checkout-item-qty {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-item-price {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Order Confirmed State */
.confirmation-card {
  text-align: center;
  padding: 80px 0;
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-icon {
  height: 96px;
  width: 96px;
  background-color: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  margin: 0 auto 30px;
}

.confirmation-card h2 {
  font-size: 2.5rem;
  color: var(--brand-green);
  margin-bottom: 16px;
}

.confirmation-card p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* 18. About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.25rem;
  color: var(--brand-green);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-image-wrapper {
  position: relative;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--brand-green);
  color: var(--white);
  padding: 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: none;
}

.experience-years {
  font-family: var(--font-playfair);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-light-gold);
  line-height: 1;
}

.experience-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 80px;
}

.value-card {
  text-align: center;
}

.value-icon {
  height: 64px;
  width: 64px;
  background-color: var(--brand-light-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--brand-green);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 19. Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-info-section h2 {
  font-size: 2.25rem;
  margin-bottom: 30px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-detail-card {
  display: flex;
  gap: 20px;
}

.contact-card-icon {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background-color: var(--brand-light-gold);
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-content h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.contact-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form-card {
  background-color: var(--gray-bg);
  border: 1px solid var(--gray-border);
  padding: 40px 30px;
}

.contact-form-card h3 {
  font-size: 1.75rem;
  color: var(--brand-green);
  margin-bottom: 30px;
}

.contact-map-container {
  margin-top: 80px;
  height: 400px;
  background-color: var(--gray-border);
  position: relative;
  overflow: hidden;
}

.contact-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1);
}

.map-card-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  padding: 24px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
  border: 1px solid var(--brand-gold);
}

.map-card-overlay h4 {
  color: var(--brand-green);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.map-card-overlay p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 20. Quick View Modal */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUpModal 0.4s ease-out;
}

@keyframes slideUpModal {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background-color: var(--gray-bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--brand-green);
  color: var(--white);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.modal-gallery {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 40px;
}

/* 21. Media Queries for Responsiveness (Desktop-first approach) */

/* Tablet & Up (768px +) */
@media screen and (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-form {
    flex-direction: row;
  }
  
  .newsletter-input {
    flex-grow: 1;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .experience-badge {
    display: block;
  }
  
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-group.col-span-2 {
    grid-column: span 2;
  }
  
  .product-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-highlights {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .purchase-actions {
    flex-direction: row;
    align-items: center;
  }
  
  .modal-body-grid {
    grid-template-columns: 1fr 1.1fr;
  }
  
  .shop-controls {
    flex-direction: row;
    justify-content: flex-end;
  }
  
  .search-wrapper {
    width: 260px;
  }
  
  .sort-select {
    width: 200px;
  }
  
  .btn-filter-toggle {
    width: auto;
    padding: 12px 24px;
  }
}

/* Desktop & Up (992px +) */
@media screen and (min-width: 992px) {
  .nav-menu {
    display: block;
  }
  
  .mobile-nav-toggle {
    display: none;
  }
  
  .header {
    padding: 24px 0;
  }
  
  .header.scrolled {
    padding: 16px 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .shop-layout {
    grid-template-columns: 260px 1fr;
  }
  
  .shop-sidebar {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    height: auto;
    padding: 0;
    box-shadow: none;
    z-index: 10;
  }
  
  .sidebar-header {
    display: none;
  }
  
  .btn-filter-toggle {
    display: none;
  }
  
  .cart-layout {
    grid-template-columns: 1fr 380px;
  }
  
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* Large Screens (1200px +) */
@media screen and (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
}
