/* ============================================
   Dirty Boots Gardens — Design System
   Niche: Gardening Tools & Equipment
   Aesthetic: Natural, Organic, Warm, Trustworthy
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--color-text-primary); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

:root {
  --color-bg: #faf8f0;
  --color-surface: #ffffff;
  --color-surface-alt: #f0ede2;
  --color-border: #d8d2c4;
  --color-border-light: #e8e4d6;
  --color-text-primary: #1a2e1a;
  --color-text-secondary: #3d4f3d;
  --color-text-muted: #7a8a7a;
  --color-accent: #2d6a3e;
  --color-accent-hover: #1f4f2e;
  --color-accent-fg: #ffffff;
  --color-accent-light: #e0eee4;
  --color-dark: #1a2e1a;
  --color-dark-alt: #2a3e2a;
  --color-success: #3a7a4a;
  --color-warning: #b8860b;
  --color-error: #c4362e;
  --color-info: #5b7a8c;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Karla', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(26,46,26,0.08);
  --shadow-md: 0 4px 12px rgba(26,46,26,0.10);
  --shadow-lg: 0 12px 32px rgba(26,46,26,0.14);
  --shadow-xl: 0 20px 48px rgba(26,46,26,0.18);
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --transition-fast: 150ms ease; --transition-base: 250ms ease; --transition-slow: 400ms ease;
  --container-max: 1280px; --header-height: 72px;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); width: 100%; }
@media (min-width: 768px) { .container { padding: 0 var(--space-lg); } }
@media (min-width: 1024px) { .container { padding: 0 var(--space-xl); } }

/* --- Section --- */
.section { padding: var(--space-3xl) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-dark { background: var(--color-dark); color: #c8d4c8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--space-2xl); }
.section-title { font-family: var(--font-heading); font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--space-sm); letter-spacing: -0.3px; }
.section-subtitle { font-size: 1.0625rem; color: var(--color-text-secondary); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 12px 24px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; border-radius: var(--radius-sm); transition: all var(--transition-base); text-align: center; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-fg); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--color-dark); color: #fff; }
.btn-secondary:hover { background: var(--color-dark-alt); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--color-text-primary); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: 0.5px; }
.badge-sale { background: var(--color-accent); color: #fff; }
.badge-new { background: var(--color-success); color: #fff; }
.badge-out { background: var(--color-error); color: #fff; }
.badge-count { background: var(--color-accent); color: #fff; border-radius: var(--radius-full); min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.6875rem; font-weight: 700; padding: 0 6px; }

.announcement-bar { background: var(--color-dark); color: #c8d4c8; text-align: center; padding: 10px var(--space-md); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.3px; }
.announcement-bar strong { color: var(--color-accent); }
.announcement-bar .ann-sep { margin: 0 12px; opacity: 0.4; }

.nav { position: sticky; top: 0; z-index: 1000; background: var(--color-surface); border-bottom: 1px solid var(--color-border-light); height: var(--header-height); display: flex; align-items: center; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: var(--space-lg); }
.nav-logo { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: var(--color-dark); white-space: nowrap; }
.nav-logo span { color: var(--color-accent); }
.nav-links { display: none; align-items: center; gap: var(--space-lg); }
.nav-link { font-size: 0.875rem; font-weight: 600; color: var(--color-text-secondary); transition: color var(--transition-fast); position: relative; padding: 4px 0; }
.nav-link:hover, .nav-link.active { color: var(--color-accent); }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--color-accent); transition: width var(--transition-base); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--space-md); }
.nav-action-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-sm); color: var(--color-text-secondary); transition: all var(--transition-fast); }
.nav-action-btn:hover { background: var(--color-surface-alt); color: var(--color-accent); }
.nav-action-btn svg { width: 22px; height: 22px; }
.nav-action-btn .badge-count { position: absolute; top: -2px; right: -2px; }
.hamburger { display: flex; flex-direction: column; gap: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; }
.hamburger span { width: 22px; height: 2px; background: var(--color-text-primary); transition: all var(--transition-base); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (min-width: 1024px) { .nav-links { display: flex; } .hamburger { display: none; } }

.mobile-menu { position: fixed; top: 0; left: -100%; width: 85%; max-width: 360px; height: 100vh; background: var(--color-surface); z-index: 2000; transition: left var(--transition-slow); overflow-y: auto; padding: var(--space-xl) var(--space-lg); box-shadow: var(--shadow-xl); }
.mobile-menu.open { left: 0; }
.mobile-menu-close { position: absolute; top: var(--space-md); right: var(--space-md); font-size: 1.5rem; color: var(--color-text-muted); }
.mobile-menu-links { display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-xl); }
.mobile-menu-link { font-size: 1.125rem; font-weight: 600; color: var(--color-text-primary); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border-light); }
.mobile-menu-link:hover { color: var(--color-accent); }

.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26,46,26,0.5); z-index: 1500; opacity: 0; visibility: hidden; transition: all var(--transition-base); }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel { position: absolute; top: 0; left: 0; width: 100%; background: var(--color-surface); padding: var(--space-xl) var(--space-lg); transform: translateY(-20px); transition: transform var(--transition-base); }
.search-overlay.open .search-panel { transform: translateY(0); }
.search-input-wrap { max-width: 640px; margin: 0 auto; position: relative; }
.search-input { width: 100%; padding: 14px 48px 14px 16px; font-size: 1.125rem; border: 2px solid var(--color-border); border-radius: var(--radius-md); }
.search-input:focus { border-color: var(--color-accent); outline: none; }
.search-results { max-width: 640px; margin: var(--space-md) auto 0; }
.search-item { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border-light); }
.search-item img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.search-item-info h4 { font-size: 0.9375rem; font-weight: 600; }
.search-item-info p { font-size: 0.8125rem; color: var(--color-text-muted); }
.search-item:hover { background: var(--color-surface-alt); }

.hero { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--color-dark); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,46,26,0.85) 0%, rgba(26,46,26,0.5) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 640px; padding: var(--space-2xl) 0; }
.hero-eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--color-accent); margin-bottom: var(--space-md); }
.hero-title { font-family: var(--font-heading); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; line-height: 1.1; color: #fff; margin-bottom: var(--space-md); }
.hero-subtitle { font-size: 1.125rem; color: #b8c8b8; margin-bottom: var(--space-xl); max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); } .grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); } .grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); } }

/* --- Product Card --- */
.product-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition-base); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-surface-alt); }
.product-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card-img { transform: scale(1.08); }
.product-card-badges { position: absolute; top: var(--space-sm); left: var(--space-sm); display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.product-card-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.product-card-title { font-size: 0.875rem; font-weight: 600; color: var(--color-text-primary); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; transition: color var(--transition-fast); }
.product-card-title:hover { color: var(--color-accent); }
.product-card-price-wrap { display: flex; align-items: baseline; gap: var(--space-sm); margin-top: auto; }
.product-card-price { font-family: var(--font-mono); font-size: 1.0625rem; font-weight: 700; color: var(--color-text-primary); }
.product-card-compare { font-family: var(--font-mono); font-size: 0.875rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-card-atc { margin-top: var(--space-sm); }

/* --- Collection Card --- */
.collection-card { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; display: block; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition-base); }
.collection-card:hover { box-shadow: var(--shadow-lg); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collection-card:hover img { transform: scale(1.1); }
.collection-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,46,26,0.85) 0%, rgba(26,46,26,0.15) 65%); display: flex; align-items: flex-end; padding: var(--space-lg); transition: background var(--transition-base); }
.collection-card:hover .collection-card-overlay { background: linear-gradient(to top, rgba(26,46,26,0.9) 0%, rgba(26,46,26,0.25) 65%); }
.collection-card-title { font-family: var(--font-heading); font-size: 1.625rem; font-weight: 700; color: #fff; }
.collection-card-count { font-size: 0.8125rem; color: #b8c8b8; margin-top: 4px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: var(--space-md) 0; font-size: 0.8125rem; color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { opacity: 0.5; }

.product-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-lg) 0 var(--space-2xl); }
@media (min-width: 768px) { .product-layout { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); } }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1.2fr 1fr; gap: var(--space-3xl); } }
.product-gallery { display: flex; flex-direction: column; gap: var(--space-md); }
.gallery-main-wrap { position: relative; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface-alt); border: 1px solid var(--color-border-light); }
.gallery-main { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: var(--space-sm); overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color var(--transition-fast); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--color-accent); }
.gallery-thumb:hover { border-color: var(--color-text-muted); }
.product-info { display: flex; flex-direction: column; gap: var(--space-md); }
.product-vendor { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); }
.product-title { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; color: var(--color-text-primary); }
.product-rating { display: flex; align-items: center; gap: var(--space-sm); }
.rating-stars { display: inline-flex; gap: 2px; color: #c4931e; }
.rating-stars svg { width: 16px; height: 16px; }
.rating-text { font-size: 0.8125rem; color: var(--color-text-muted); }
.product-price-wrap { display: flex; align-items: baseline; gap: var(--space-sm); }
.product-price { font-family: var(--font-mono); font-size: 1.75rem; font-weight: 700; color: var(--color-text-primary); }
.product-compare-price { font-family: var(--font-mono); font-size: 1.125rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-save-badge { background: var(--color-accent-light); color: var(--color-accent); padding: 2px 8px; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 700; }
.availability-msg { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.875rem; font-weight: 600; }
.availability-msg.in-stock { color: var(--color-success); }
.availability-msg.out-stock { color: var(--color-error); }
.availability-msg::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.option-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.option-label { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-secondary); }
.option-btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.option-btn { padding: 8px 16px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; color: var(--color-text-secondary); transition: all var(--transition-fast); background: var(--color-surface); }
.option-btn:hover { border-color: var(--color-text-muted); }
.option-btn.active { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }
.option-btn.unavailable { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 44px; font-size: 1.25rem; color: var(--color-text-secondary); transition: background var(--transition-fast); }
.qty-btn:hover { background: var(--color-surface-alt); color: var(--color-accent); }
.qty-input { width: 56px; height: 44px; text-align: center; border: none; border-left: 1.5px solid var(--color-border); border-right: 1.5px solid var(--color-border); font-family: var(--font-mono); font-weight: 600; }
.qty-input:focus { outline: none; }
.product-actions { display: flex; flex-direction: column; gap: var(--space-sm); }
@media (min-width: 480px) { .product-actions { flex-direction: row; } }
.product-short-desc { font-size: 0.9375rem; color: var(--color-text-secondary); line-height: 1.7; }

.product-accordions { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--color-border); }
.accordion { border-bottom: 1px solid var(--color-border); }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-md) 0; font-weight: 600; font-size: 0.9375rem; cursor: pointer; color: var(--color-text-primary); }
.accordion-header:hover { color: var(--color-accent); }
.accordion-icon { font-size: 1.25rem; transition: transform var(--transition-base); color: var(--color-text-muted); }
.accordion.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height var(--transition-slow); }
.accordion.open .accordion-body { max-height: 2000px; }
.accordion-body-inner { padding: 0 0 var(--space-md); font-size: 0.9375rem; color: var(--color-text-secondary); line-height: 1.7; }
.accordion-body-inner h3 { font-size: 1rem; font-weight: 700; margin: var(--space-md) 0 var(--space-sm); color: var(--color-text-primary); }
.accordion-body-inner ul { list-style: disc; padding-left: var(--space-lg); margin: var(--space-sm) 0; }
.accordion-body-inner li { margin: 4px 0; }
.accordion-body-inner p { margin: var(--space-sm) 0; }

.sticky-atc { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--color-surface); border-top: 1px solid var(--color-border); box-shadow: 0 -4px 16px rgba(26,46,26,0.08); padding: var(--space-sm) var(--space-md); z-index: 900; display: flex; align-items: center; gap: var(--space-md); transform: translateY(100%); transition: transform var(--transition-base); }
.sticky-atc.visible { transform: translateY(0); }
.sticky-atc-product { display: flex; align-items: center; gap: var(--space-sm); flex: 1; min-width: 0; }
.sticky-atc-product img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.sticky-atc-product-info { min-width: 0; }
.sticky-atc-product-info h4 { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-atc-product-info .price { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; color: var(--color-accent); }
@media (min-width: 768px) { .sticky-atc { padding: var(--space-sm) var(--space-xl); } }

.reviews-section { padding: var(--space-xl) 0; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-bottom: var(--space-xl); padding: var(--space-lg); background: var(--color-surface-alt); border-radius: var(--radius-md); }
.reviews-avg { text-align: center; }
.reviews-score { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--color-text-primary); line-height: 1; }
.reviews-score-out { font-size: 1rem; color: var(--color-text-muted); }
.reviews-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }
.rating-bar { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.8125rem; }
.rating-bar-label { width: 40px; color: var(--color-text-muted); }
.rating-bar-track { flex: 1; height: 8px; background: var(--color-border); border-radius: var(--radius-full); overflow: hidden; }
.rating-bar-fill { height: 100%; background: #c4931e; border-radius: var(--radius-full); }
.rating-bar-count { width: 32px; text-align: right; color: var(--color-text-muted); }
.review-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: var(--space-lg); }
.review-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: var(--space-sm); }
.review-author { font-weight: 700; font-size: 0.9375rem; }
.review-date { font-size: 0.8125rem; color: var(--color-text-muted); }
.review-title { font-weight: 600; font-size: 0.9375rem; margin-bottom: var(--space-xs); }
.review-body { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.7; }
.review-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--color-success); font-weight: 600; margin-top: var(--space-sm); }

.cart-overlay { position: fixed; inset: 0; background: rgba(26,46,26,0.5); z-index: 1100; opacity: 0; visibility: hidden; transition: all var(--transition-base); }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -100%; width: 90%; max-width: 420px; height: 100vh; background: var(--color-surface); z-index: 1200; transition: right var(--transition-slow); display: flex; flex-direction: column; box-shadow: var(--shadow-xl); }
.cart-drawer.open { right: 0; }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-border-light); }
.cart-drawer-header h2 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: var(--space-sm); }
.cart-close { font-size: 1.5rem; color: var(--color-text-muted); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.cart-close:hover { background: var(--color-surface-alt); color: var(--color-text-primary); }
.cart-lines { flex: 1; overflow-y: auto; padding: var(--space-md) var(--space-lg); }
.cart-item { display: flex; gap: var(--space-md); padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border-light); }
.cart-item-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 0.875rem; font-weight: 600; line-height: 1.4; margin-bottom: 2px; }
.cart-item-variant { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.cart-item-price { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-sm); }
.cart-item-qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.cart-item-qty button { width: 28px; height: 28px; font-size: 1rem; color: var(--color-text-secondary); }
.cart-item-qty button:hover { color: var(--color-accent); }
.cart-item-qty span { width: 32px; text-align: center; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600; }
.cart-item-remove { font-size: 0.75rem; color: var(--color-text-muted); }
.cart-item-remove:hover { color: var(--color-error); }
.cart-empty { text-align: center; padding: var(--space-2xl) var(--space-md); color: var(--color-text-muted); }
.cart-empty svg { width: 64px; height: 64px; margin: 0 auto var(--space-md); opacity: 0.3; }
.cart-footer { padding: var(--space-md) var(--space-lg); border-top: 1px solid var(--color-border-light); background: var(--color-surface); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-sm); }
.cart-subtotal span { font-size: 0.9375rem; color: var(--color-text-secondary); }
.cart-subtotal strong { font-family: var(--font-mono); font-size: 1.25rem; font-weight: 700; }
.cart-tax-note { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: var(--space-md); text-align: center; }
.cart-footer .btn { margin-bottom: var(--space-sm); }

.cart-page { padding: var(--space-xl) 0 var(--space-2xl); }
.cart-page-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 768px) { .cart-page-layout { grid-template-columns: 1fr 340px; } }
.cart-table-wrap { overflow-x: auto; }
.cart-table { min-width: 500px; }
.cart-table th { text-align: left; padding: var(--space-sm) var(--space-md); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); border-bottom: 2px solid var(--color-border); }
.cart-table td { padding: var(--space-md); border-bottom: 1px solid var(--color-border-light); vertical-align: middle; }
.cart-table-product { display: flex; align-items: center; gap: var(--space-md); }
.cart-table-product img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-table-product-info h4 { font-size: 0.875rem; font-weight: 600; }
.cart-table-product-info p { font-size: 0.75rem; color: var(--color-text-muted); }
.cart-summary { background: var(--color-surface-alt); border-radius: var(--radius-md); padding: var(--space-lg); }
.cart-summary h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-md); }
.cart-summary-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; font-size: 0.9375rem; }
.cart-summary-row.total { border-top: 2px solid var(--color-border); margin-top: var(--space-sm); padding-top: var(--space-md); }
.cart-summary-row.total strong { font-family: var(--font-mono); font-size: 1.25rem; }

.checkout-page { padding: var(--space-xl) 0 var(--space-2xl); }
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 768px) { .checkout-layout { grid-template-columns: 1fr 380px; } }
.checkout-form { display: flex; flex-direction: column; gap: var(--space-xl); }
.checkout-section { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: var(--space-lg); }
.checkout-section h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-md); display: flex; align-items: center; gap: var(--space-sm); }
.checkout-section h3 .step-num { width: 28px; height: 28px; background: var(--color-accent); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 480px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--color-text-secondary); }
.form-group input, .form-group select { padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.9375rem; transition: border-color var(--transition-fast); }
.form-group input:focus, .form-group select:focus { border-color: var(--color-accent); outline: none; }
.card-form { display: flex; flex-direction: column; gap: var(--space-md); }
.card-form .card-icons { display: flex; gap: 6px; margin-top: var(--space-sm); }
.card-form .card-icons svg { width: 36px; height: 24px; }
.card-lock-badge { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--color-success); font-weight: 600; }
.checkout-summary { background: var(--color-surface-alt); border-radius: var(--radius-md); padding: var(--space-lg); position: sticky; top: calc(var(--header-height) + var(--space-md)); }
.checkout-summary h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-md); }
.checkout-summary-item { display: flex; gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border-light); }
.checkout-summary-item img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.checkout-summary-item-info { flex: 1; }
.checkout-summary-item-info h4 { font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.checkout-summary-item-info p { font-size: 0.75rem; color: var(--color-text-muted); }
.checkout-summary-item-price { font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 700; }

.thankyou-page { padding: var(--space-2xl) 0; text-align: center; }
.thankyou-icon { width: 80px; height: 80px; margin: 0 auto var(--space-lg); background: var(--color-success); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.thankyou-icon svg { width: 40px; height: 40px; color: #fff; }
.thankyou-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: var(--space-md); }
.thankyou-subtitle { font-size: 1.125rem; color: var(--color-text-secondary); max-width: 540px; margin: 0 auto var(--space-xl); }
.thankyou-order-box { max-width: 540px; margin: 0 auto var(--space-xl); background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: var(--space-lg); text-align: left; }
.thankyou-order-box h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-md); }
.thankyou-order-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border-light); font-size: 0.9375rem; }
.thankyou-order-row:last-child { border-bottom: none; }
.thankyou-order-row strong { font-family: var(--font-mono); }

/* --- Trust Badges --- */
.trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); padding: var(--space-2xl) 0; }
@media (min-width: 768px) { .trust-badges { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); text-align: center; padding: var(--space-lg); border-radius: var(--radius-md); transition: background var(--transition-base); }
.trust-item:hover { background: var(--color-surface-alt); }
.trust-item svg { width: 40px; height: 40px; color: var(--color-accent); transition: transform var(--transition-base); }
.trust-item:hover svg { transform: scale(1.1); }
.trust-item h4 { font-size: 0.875rem; font-weight: 700; }
.trust-item p { font-size: 0.75rem; color: var(--color-text-muted); }

.toast { position: fixed; bottom: var(--space-lg); left: 50%; transform: translateX(-50%) translateY(100px); background: var(--color-dark); color: #fff; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600; z-index: 3000; opacity: 0; transition: all var(--transition-base); box-shadow: var(--shadow-lg); max-width: 90%; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-success { border-left: 4px solid var(--color-success); }
.toast-error { border-left: 4px solid var(--color-error); }

.sort-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md) 0; flex-wrap: wrap; }
.sort-bar select { padding: 8px 12px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-size: 0.875rem; }
.sort-bar-count { font-size: 0.8125rem; color: var(--color-text-muted); }

/* --- Footer --- */
.footer { background: var(--color-dark); color: #a8b8a8; padding: var(--space-3xl) 0 var(--space-lg); position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-hover) 50%, var(--color-accent) 100%); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); } }
.footer-col h4 { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700; color: #fff; margin-bottom: var(--space-md); letter-spacing: 0.3px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: #a8b8a8; transition: all var(--transition-fast); display: inline-block; }
.footer-col a:hover { color: var(--color-accent); transform: translateX(3px); }
.footer-logo { font-family: var(--font-heading); font-size: 1.625rem; font-weight: 700; color: #fff; margin-bottom: var(--space-md); letter-spacing: 0.3px; }
.footer-logo span { color: var(--color-accent); }
.footer-contact { font-size: 0.8125rem; line-height: 1.9; color: #98a898; }
.footer-contact a { color: #98a898; }
.footer-contact a:hover { color: var(--color-accent); }
.social-links { display: flex; gap: 10px; margin-top: var(--space-lg); }
.social-links a { width: 38px; height: 38px; border-radius: var(--radius-full); background: rgba(255,255,255,0.06); display: inline-flex; align-items: center; justify-content: center; transition: all var(--transition-base); border: 1px solid rgba(255,255,255,0.04); }
.social-links a:hover { background: var(--color-accent); transform: translateY(-3px); box-shadow: 0 4px 12px rgba(45,106,62,0.3); }
.social-links svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: var(--space-2xl); padding-top: var(--space-lg); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); font-size: 0.8125rem; color: #88a888; }
.footer-payments { display: flex; gap: 6px; align-items: center; }
.footer-payments span { font-size: 0.6875rem; color: #788878; }

@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 20px; height: 20px; border: 2px solid var(--color-border); border-top-color: var(--color-accent); border-radius: 50%; animation: spin 0.8s linear infinite; }

.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-2xl) var(--space-md); }
.error-page h1 { font-family: var(--font-heading); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--color-accent); line-height: 1; }
.error-page p { font-size: 1.125rem; color: var(--color-text-secondary); margin: var(--space-md) 0 var(--space-lg); }

/* --- Blog Card --- */
.blog-card { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition-base); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: var(--space-lg); }
.blog-card-date { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: var(--space-sm); font-weight: 600; }
.blog-card-title { font-family: var(--font-heading); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; margin-bottom: var(--space-sm); transition: color var(--transition-fast); }
.blog-card-excerpt { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.6; }
.blog-card:hover .blog-card-title { color: var(--color-accent); }

.policy-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-lg) 0 var(--space-2xl); }
@media (min-width: 768px) { .policy-layout { grid-template-columns: 240px 1fr; } }
.policy-sidebar { display: flex; flex-direction: column; gap: var(--space-sm); }
.policy-sidebar a { padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; color: var(--color-text-secondary); transition: all var(--transition-fast); }
.policy-sidebar a:hover, .policy-sidebar a.active { background: var(--color-surface-alt); color: var(--color-accent); }
.policy-content { background: var(--color-surface); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); padding: var(--space-xl); }
.policy-content h1 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; margin-bottom: var(--space-lg); }
.policy-content h2 { font-size: 1.125rem; font-weight: 700; margin: var(--space-lg) 0 var(--space-sm); color: var(--color-text-primary); }
.policy-content p { font-size: 0.9375rem; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: var(--space-sm); }
.policy-content ul { list-style: disc; padding-left: var(--space-lg); margin: var(--space-sm) 0; }
.policy-content li { font-size: 0.9375rem; color: var(--color-text-secondary); margin: 4px 0; }

.contact-form { display: flex; flex-direction: column; gap: var(--space-md); max-width: 600px; }
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-md); margin: var(--space-lg) 0; }
@media (min-width: 640px) { .contact-info-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-info-item { display: flex; flex-direction: column; gap: 4px; }
.contact-info-item svg { width: 24px; height: 24px; color: var(--color-accent); }
.contact-info-item h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; }
.contact-info-item p { font-size: 0.875rem; color: var(--color-text-secondary); }

.collection-hero { position: relative; min-height: 280px; display: flex; align-items: center; background: var(--color-dark); overflow: hidden; }
.collection-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }
.collection-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,46,26,0.8) 0%, rgba(26,46,26,0.4) 100%); }
.collection-hero-content { position: relative; z-index: 2; padding: var(--space-xl) 0; }
.collection-hero h1 { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: #fff; margin-bottom: var(--space-sm); }
.collection-hero p { color: #b8c8b8; font-size: 1rem; max-width: 540px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-sm { margin-top: var(--space-sm); } .mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); } .mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; } .mb-sm { margin-bottom: var(--space-sm); } .mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); } .mb-xl { margin-bottom: var(--space-xl); }
.hidden { display: none !important; }
