/* 
   DOUBLE BARREL V1 PROTOTYPE STYLESHEET
   Aesthetics: Premium Dark Industrial Streetwear
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* --- CSS Variables & Tokens --- */
:root {
  /* Color Palette */
  --bg-obsidian: #09090a;
  --bg-card: #121215;
  --bg-card-hover: #18181c;
  --border-subtle: #222227;
  --border-active: #44444c;
  
  --primary: #d97706; /* Raw Amber */
  --primary-hover: #f59e0b; /* Bright Amber */
  --primary-glow: rgba(217, 119, 6, 0.15);
  
  --text-pure: #ffffff;
  --text-main: #e4e4e7;
  --text-muted: #8e8e93;
  --text-dark: #3a3a3c;
  
  /* Fonts */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.2);
  --glass-bg: rgba(9, 9, 10, 0.75);
  --glass-blur: blur(16px);
  
  /* Layout & Transitions */
  --header-height: 80px;
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1400px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6, .brand-logo {
  font-family: var(--font-display);
  color: var(--text-pure);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
  border: 2px solid var(--bg-obsidian);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-active);
}

/* --- Layout Containers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(9, 9, 10, 0.9);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.brand-logo {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
}

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

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.action-btn {
  position: relative;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover {
  background-color: var(--border-subtle);
  color: var(--text-pure);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary);
  color: var(--bg-obsidian);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-obsidian);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
}

/* --- Hero Section --- */
.hero-section {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-obsidian);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(9, 9, 10, 0.1) 0%, rgba(9, 9, 10, 0.9) 80%),
              linear-gradient(0deg, var(--bg-obsidian) 0%, rgba(9, 9, 10, 0) 50%, rgba(9, 9, 10, 0.4) 100%);
  z-index: 2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: zoomSlow 20s infinite alternate ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--text-pure) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.25rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--text-pure);
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--bg-obsidian);
  border-color: var(--text-pure);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

.btn-secondary {
  border: 1px solid var(--border-active);
  color: var(--text-pure);
  background-color: rgba(255, 255, 255, 0.02);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--border-subtle);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-smooth);
  z-index: -1;
}

.btn-secondary:hover {
  border-color: var(--text-pure);
}

.btn-secondary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- Brand Highlights --- */
.highlights-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(9, 9, 10, 0.5);
  position: relative;
  z-index: 2;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.highlight-icon {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--primary);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.highlight-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.highlight-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Section Styling --- */
.section {
  padding: 7.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
}

.section-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-bottom: 0.25rem;
}

.section-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-pure);
  transition: width var(--transition-fast);
}

.section-link:hover {
  color: var(--text-pure);
}

.section-link:hover::after {
  width: 100%;
}

.section-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--transition-fast);
}

.section-link:hover svg {
  transform: translateX(4px);
}

/* --- Collections (Categories) Grid --- */
.collections-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 320px 320px;
  gap: 1.5rem;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-card);
}

.collection-card.large {
  grid-row: span 2;
}

.collection-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform var(--transition-smooth);
}

.collection-card-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(9, 9, 10, 0.1) 0%, rgba(9, 9, 10, 0.85) 90%);
  z-index: 2;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.collection-card:hover .collection-card-bg {
  transform: scale(1.03);
}

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

.collection-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  z-index: 3;
}

.collection-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.collection-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.collection-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-pure);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.collection-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-fast);
}

.collection-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background-color: var(--text-pure);
  transition: width var(--transition-fast);
}

.collection-card:hover .collection-btn svg {
  transform: translateX(4px);
}

/* --- Featured Products --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-sm);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--bg-obsidian);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  z-index: 10;
  letter-spacing: 0.05em;
}

.product-wishlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background-color: rgba(9, 9, 10, 0.6);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.product-wishlist:hover {
  background-color: rgba(9, 9, 10, 0.9);
  color: var(--primary);
}

.product-wishlist.active {
  color: var(--primary);
}

.product-wishlist svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.product-wishlist.active svg {
  fill: var(--primary);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  background-color: #0c0c0e;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.product-actions-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(9, 9, 10, 0.9) 0%, rgba(9, 9, 10, 0) 100%);
  display: flex;
  gap: 0.5rem;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  z-index: 9;
}

.product-card:hover .product-actions-overlay {
  transform: translateY(0);
}

.btn-action {
  flex: 1;
  padding: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-action.quick-view {
  background-color: var(--bg-card);
  color: var(--text-pure);
  border: 1px solid var(--border-active);
}

.btn-action.quick-view:hover {
  background-color: var(--border-subtle);
  border-color: var(--text-pure);
}

.btn-action.add-cart {
  background-color: var(--primary);
  color: var(--bg-obsidian);
}

.btn-action.add-cart:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-glow);
}

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-pure);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-pure);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--primary);
}

.product-rating span {
  color: var(--text-muted);
  margin-left: 0.25rem;
}

/* --- Brand Story Section --- */
.story-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 0;
}

.story-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.story-content {
  padding: 6rem;
}

.story-img-wrapper {
  height: 600px;
  position: relative;
  overflow: hidden;
}

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

.story-quote {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
  line-height: 1.4;
  border-left: 3px solid var(--primary);
  padding-left: 1.5rem;
}

.story-description {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* --- Newsletter & Social Proof --- */
.newsletter-section {
  text-align: center;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.05) 0%, rgba(9, 9, 10, 0) 70%);
}

.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-description {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  border: 1px solid var(--border-subtle);
  padding: 0.35rem;
  background-color: var(--bg-obsidian);
  transition: border-color var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--primary);
}

.newsletter-input {
  flex: 1;
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--text-pure);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--text-dark);
}

.newsletter-btn {
  padding: 0.75rem 2rem;
  background-color: var(--primary);
  color: var(--bg-obsidian);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color var(--transition-fast);
}

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

.newsletter-success {
  display: none;
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1rem;
  animation: fadeIn 0.4s forwards;
}

/* --- Footer --- */
.site-footer {
  background-color: #050506;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
}

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

.footer-brand h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.social-link:hover {
  color: var(--text-pure);
  border-color: var(--border-active);
  background-color: var(--bg-card-hover);
}

.social-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-pure);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-payments {
  display: flex;
  gap: 1rem;
  font-size: 1.25rem;
}

/* --- Cart Drawer --- */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 9, 10, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  max-width: 100%;
  height: 100%;
  background-color: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-close-btn {
  padding: 0.5rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.cart-close-btn:hover {
  color: var(--text-pure);
}

.cart-close-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  gap: 1rem;
}

.cart-empty-state svg {
  width: 48px;
  height: 48px;
  stroke: var(--text-dark);
}

.cart-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.cart-item-options {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.qty-btn:hover {
  color: var(--text-pure);
}

.qty-number {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-remove {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

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

.cart-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-pure);
}

.cart-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
  background-color: #0e0e11;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.cart-summary-line.total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
}

.cart-checkout-btn {
  width: 100%;
}

/* --- Quick View Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(9, 9, 10, 0.8);
  backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 900px;
  max-width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  background-color: rgba(9, 9, 10, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-pure);
  border-color: var(--border-active);
  background-color: rgba(9, 9, 10, 0.9);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.modal-gallery {
  position: relative;
  background-color: #0c0c0e;
  overflow: hidden;
  height: 550px;
}

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

.modal-details {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  max-height: 550px;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 1.5rem;
}

.modal-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.modal-option-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--text-pure);
  display: flex;
  justify-content: space-between;
}

.modal-option-title span.val {
  color: var(--text-muted);
  font-weight: 500;
}

.option-group {
  margin-bottom: 1.75rem;
}

.color-swatches {
  display: flex;
  gap: 0.75rem;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  outline: 1px solid var(--border-subtle);
  outline-offset: 2px;
}

.color-swatch.active {
  border-color: var(--text-pure);
  outline-color: var(--primary);
}

.size-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-btn {
  min-width: 44px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.size-btn:hover {
  border-color: var(--border-active);
}

.size-btn.active {
  border-color: var(--primary);
  background-color: var(--primary-glow);
  color: var(--primary);
}

.modal-actions {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

.modal-add-cart-btn {
  flex: 1;
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 3000;
}

.toast {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 300px;
}

.toast-success-icon {
  color: var(--primary);
}

.toast-message {
  font-size: 0.9rem;
  color: var(--text-pure);
  font-weight: 500;
}

/* --- Search Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 9, 10, 0.95);
  backdrop-filter: blur(16px);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.search-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  width: 100%;
  max-width: 600px;
  position: relative;
  margin-bottom: 2rem;
}

.search-field {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--border-subtle);
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-pure);
  outline: none;
  text-align: center;
  transition: border-color var(--transition-fast);
}

.search-field:focus {
  border-color: var(--primary);
}

.search-field::placeholder {
  color: var(--text-dark);
}

.search-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--text-muted);
}

.search-close:hover {
  color: var(--text-pure);
}

.search-results-preview {
  width: 100%;
  max-width: 600px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-preview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.search-preview-item:hover {
  background-color: var(--bg-card);
  border-color: var(--border-subtle);
}

.search-preview-img {
  width: 50px;
  height: 60px;
  object-fit: cover;
}

.search-preview-info h4 {
  font-size: 0.95rem;
  color: var(--text-pure);
}

.search-preview-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Animations --- */
@keyframes zoomSlow {
  from { transform: scale(1.03); }
  to { transform: scale(1.08); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Media Queries --- */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .collections-grid {
    grid-template-rows: 280px 280px;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collections-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .collection-card.large {
    grid-row: auto;
    height: 350px;
  }
  .collection-card {
    height: 250px;
  }
  .story-container {
    grid-template-columns: 1fr;
  }
  .story-content {
    padding: 4rem 2rem;
  }
  .story-img-wrapper {
    height: 400px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .modal-gallery {
    height: 350px;
  }
  .modal-details {
    padding: 2rem;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; /* In real, implement simple slide-over mobile menu */
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .section {
    padding: 5rem 0;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100%;
  }
  .modal-overlay {
    padding: 0;
  }
  .modal-container {
    height: 100vh;
  }
  .modal-gallery {
    height: 40vh;
  }
  .modal-details {
    max-height: 60vh;
  }
}

/* --- Authentication Page --- */
.auth-page-body {
  background-color: var(--bg-obsidian);
  background-image: 
    linear-gradient(rgba(217, 119, 6, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 119, 6, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
}

.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) 2rem 4rem 2rem;
}

.auth-card-container {
  width: 100%;
  max-width: 480px;
  animation: fadeInUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.auth-tabs-wrapper {
  margin-bottom: 2.5rem;
}

.auth-tabs {
  display: flex;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.auth-tab {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0.75rem 0;
  transition: color var(--transition-fast);
  z-index: 2;
}

.auth-tab.active {
  color: var(--text-pure);
}

.auth-tab-slider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--primary);
  transition: transform var(--transition-smooth);
  z-index: 1;
}

.auth-alert {
  padding: 1rem;
  border: 1px solid transparent;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  font-family: var(--font-body);
}

.auth-form {
  display: none;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-pure);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper .form-input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.password-toggle:hover {
  color: var(--text-pure);
}

.eye-icon {
  width: 20px;
  height: 20px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem 0;
}

.form-checkbox-group input[type="checkbox"] {
  accent-color: var(--primary);
  margin-top: 0.2rem;
}

.form-checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.auth-submit-btn {
  width: 100%;
  padding: 1.15rem;
}

.forgot-pass-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
}

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

@media (max-width: 480px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }
}

/* =============================================================
   SHOP PAGE LAYOUT
   ============================================================= */

.shop-page-hero {
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  background: linear-gradient(180deg, rgba(217,119,6,0.04) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.shop-page-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-page-breadcrumb a { color: var(--text-muted); }
.shop-page-breadcrumb a:hover { color: var(--primary); }
.shop-page-breadcrumb span { color: var(--primary); }

.shop-page-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.shop-page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Two-column layout --- */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 3rem 0 6rem;
  align-items: start;
}

/* --- Sidebar --- */
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.filter-section-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* Search inside filter */
.shop-filter-search {
  width: 100%;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.shop-filter-search:focus {
  border-color: var(--primary);
}

.shop-filter-search::placeholder {
  color: var(--text-dark);
}

/* Category checkboxes */
.shop-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shop-cat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.shop-cat-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-active);
  background-color: var(--bg-obsidian);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.shop-cat-item input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.shop-cat-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: 2px solid var(--bg-obsidian);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.shop-cat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  user-select: none;
  flex: 1;
}

.shop-cat-item:hover .shop-cat-label {
  color: var(--text-pure);
}

.shop-cat-count {
  font-size: 0.75rem;
  color: var(--text-dark);
  font-family: var(--font-display);
}

/* Price range slider */
.shop-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.shop-price-value {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
}

input[type="range"].shop-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  outline: none;
  border-radius: 0;
  cursor: pointer;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-size: 70% 100%;
  background-repeat: no-repeat;
}

input[type="range"].shop-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border: 2px solid var(--bg-obsidian);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}

input[type="range"].shop-range-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background-color: var(--primary);
  border: 2px solid var(--bg-obsidian);
  border-radius: 50%;
  cursor: pointer;
}

/* Size filter buttons */
.shop-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shop-size-btn {
  min-width: 40px;
  height: 36px;
  padding: 0 0.6rem;
  border: 1px solid var(--border-subtle);
  background: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.shop-size-btn:hover {
  border-color: var(--border-active);
  color: var(--text-pure);
}

.shop-size-btn.active {
  background-color: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

/* Clear filters button */
.shop-clear-btn {
  width: 100%;
  padding: 0.75rem;
  background: none;
  border: 1px dashed var(--border-active);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

/* --- Catalog Main Panel --- */
.shop-catalog-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.shop-catalog-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.shop-results-count {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.shop-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.shop-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-subtle);
  background: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.shop-mobile-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.shop-mobile-filter-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.shop-sort-select {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-pure);
  padding: 0.6rem 2rem 0.6rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px;
  transition: border-color var(--transition-fast);
}

.shop-sort-select:focus,
.shop-sort-select:hover {
  border-color: var(--primary);
}

/* Shop product grid */
.shop-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Size chips on cards */
.product-sizes-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.size-chip {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-transform: uppercase;
}

.size-chip-more {
  color: var(--primary);
  border-color: var(--primary-glow);
  background-color: var(--primary-glow);
}

/* Empty state */
.shop-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5rem 2rem;
  color: var(--text-muted);
  text-align: center;
}

.shop-empty-state svg {
  opacity: 0.3;
}

/* Active filter chips row */
.active-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 0;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--primary-glow);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile sidebar slide-in */
@media (max-width: 1024px) {
  .shop-layout {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }
  .shop-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    z-index: 500;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    border: none;
    border-right: 1px solid var(--border-subtle);
    padding-top: 5rem;
  }

  .shop-sidebar.open {
    transform: translateX(0);
  }

  .shop-mobile-filter-btn {
    display: flex;
  }

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

@media (max-width: 480px) {
  .shop-page-title {
    font-size: 2rem;
  }
  .shop-catalog-grid {
    grid-template-columns: 1fr;
  }
}
