/* ============================================================
   YAZZ LEATHER — COMPONENTS CSS
   Page-specific & reusable components
   ============================================================ */

/* ── HERO SECTION ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  transform: scale(1.1);
  transition: transform 10s ease;
}
.hero.loaded .hero__bg-img { transform: scale(1); }
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(200, 150, 62, 0.08) 0%, transparent 70%),
    linear-gradient(to right, rgba(10,7,5,0.9) 40%, rgba(10,7,5,0.4) 100%),
    linear-gradient(to top, rgba(10,7,5,0.8) 0%, transparent 50%);
}
[data-theme="light"] .hero__bg-overlay {
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(200, 150, 62, 0.25) 0%, transparent 70%),
    linear-gradient(to right, rgba(250, 248, 245, 1) 35%, rgba(250, 248, 245, 0.3) 75%, rgba(250, 248, 245, 0.1) 100%),
    linear-gradient(to top, rgba(250, 248, 245, 0.9) 0%, transparent 40%);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/pattern_banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: screen;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--nav-height) var(--space-xl) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-4xl);
}
.hero__text { padding: var(--space-2xl) 0; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(200, 150, 62, 0.1);
  border: 1px solid rgba(200, 150, 62, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInDown 0.8s ease forwards 0.3s;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}
.hero__title-line { display: block; }
.hero__title-accent {
  display: block;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--amber-rich) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: var(--space-xl) 0 var(--space-2xl);
  max-width: 500px;
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.7s;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.9s;
}
.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 1.1s;
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.6s;
}
.hero__product-img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), var(--shadow-gold);
  animation: float 8s ease-in-out infinite;
  border: 1px solid var(--border-subtle);
}
.hero__product-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: var(--space-md) var(--space-lg);
  background: rgba(16, 12, 8, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold);
}
.hero__badge-text {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 2px;
}
.hero__badge-value {
  font-family: var(--font-elegant);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}
.hero__scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold-primary), transparent);
  animation: pulse 2s ease-in-out infinite;
}

/* ── MARQUEE / TICKER ── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  background: var(--bg-glass);
}
.marquee__track {
  display: flex;
  gap: var(--space-2xl);
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  white-space: nowrap;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.marquee__sep {
  width: 4px;
  height: 4px;
  background: var(--gold-primary);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── COLLECTIONS SECTION ── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  cursor: none;
  background: var(--bg-secondary);
}
.collection-card--large {
  grid-row: span 2;
  aspect-ratio: auto;
}
.collection-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.collection-card:hover .collection-card__img { transform: scale(1.08); }
.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,7,5,0.85) 0%, rgba(10,7,5,0.2) 60%, transparent 100%);
  transition: opacity var(--transition-med);
}
.collection-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
}
.collection-card__cat {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-sm);
}
.collection-card__name {
  font-family: var(--font-elegant);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.collection-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}
.collection-card:hover .collection-card__link {
  opacity: 1;
  transform: translateX(0);
}
.collection-card__count {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: 4px 12px;
  background: rgba(10,7,5,0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  border: 1px solid var(--border-subtle);
}

/* ── CRAFTSMANSHIP ── */
.craft-section { background: var(--bg-secondary); }
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.craft-img-wrapper {
  position: relative;
}
.craft-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}
.craft-frame {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.craft-dot {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(200, 150, 62, 0.08);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.craft-timeline { margin-top: var(--space-2xl); }
.craft-step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.craft-step:last-child { border-bottom: none; }
.craft-step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border-gold);
  line-height: 1;
  min-width: 60px;
  transition: color var(--transition-med);
}
.craft-step:hover .craft-step__num { color: var(--gold-primary); }
.craft-step__title {
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.craft-step__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--bg-tertiary); }
.testimonial-card {
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-med);
}
.testimonial-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}
.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}
.testimonial-card__quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold-primary);
  opacity: 0.4;
  line-height: 0;
  vertical-align: -1.5rem;
  display: block;
  margin-bottom: var(--space-sm);
}
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}
.testimonial-card__stars {
  display: flex;
  gap: 3px;
  color: var(--gold-primary);
  font-size: 0.75rem;
  margin-bottom: var(--space-md);
}

/* ── STATS SECTION ── */
.stats-section {
  background: linear-gradient(135deg, var(--amber-deep), var(--obsidian-3));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.stat-item { padding: var(--space-xl); }
.stat-item__value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  display: block;
}
.stat-item__label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
  display: block;
}

/* ── INSTAGRAM GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: var(--space-sm);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: none;
}
.gallery-item:nth-child(3) { grid-row: span 2; }
.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-item__img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,7,5,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-med);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__icon { color: white; font-size: 1.5rem; }

/* ── SHOP PAGE LAYOUT ── */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}
.filter-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
}
.filter-group { margin-bottom: var(--space-xl); padding-bottom: var(--space-xl); border-bottom: 1px solid var(--border-subtle); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group__title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 0;
  cursor: none;
  transition: color var(--transition-fast);
}
.filter-option:hover { color: var(--gold-light); }
.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-primary);
  cursor: none;
}
.filter-option__label { font-size: 0.875rem; color: var(--text-secondary); }
.filter-option__count { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); }
.color-swatches { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: none;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}
.color-swatch.active, .color-swatch:hover { border-color: var(--gold-primary); transform: scale(1.2); }
.price-range { margin-top: var(--space-md); }
.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--gold-primary);
}
.price-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: var(--space-sm);
}
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}
.shop-results { font-size: 0.875rem; color: var(--text-secondary); }
.shop-sort { display: flex; align-items: center; gap: var(--space-md); }
.sort-select {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.8rem;
  cursor: none;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: none;
  transition: all var(--transition-fast);
}
.view-btn.active, .view-btn:hover { border-color: var(--gold-primary); color: var(--gold-primary); }

/* ── PRODUCT PAGE ── */
.product-page {
  padding-top: var(--nav-height);
  min-height: 100vh;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  padding: var(--space-2xl) 0;
}
.product-gallery { position: sticky; top: calc(var(--nav-height) + var(--space-xl)); }
.product-main-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  cursor: zoom-in;
  transition: transform 0.5s ease;
}
.product-thumbs {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-thumbs::-webkit-scrollbar { display: none; }
.product-thumb {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.product-thumb.active, .product-thumb:hover { border-color: var(--gold-primary); }
.product-info { padding: var(--space-xl) 0; }
.product-breadcrumb { margin-bottom: var(--space-lg); }
.product-category {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-sm);
}
.product-name {
  font-family: var(--font-elegant);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.product-rating__stars { display: flex; gap: 2px; color: var(--gold-primary); }
.product-rating__count { font-size: 0.8rem; color: var(--text-muted); }
.product-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.product-price__main {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
}
.product-price__original {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-price__save {
  padding: 4px 12px;
  background: rgba(139, 26, 26, 0.2);
  border: 1px solid var(--eth-red);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: #ff6b6b;
}
.product-options { margin-bottom: var(--space-xl); }
.option-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.color-options { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.color-opt {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: none;
  transition: all var(--transition-fast);
  position: relative;
}
.color-opt::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}
.color-opt.active::after, .color-opt:hover::after { border-color: var(--gold-primary); }
.size-options { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.size-opt {
  padding: 8px 20px;
  background: var(--bg-glass-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: none;
  transition: all var(--transition-fast);
}
.size-opt.active, .size-opt:hover {
  background: rgba(200, 150, 62, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}
.product-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.product-actions .btn { flex: 1; }
.product-meta { margin-top: var(--space-xl); }
.product-meta__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.product-meta__item:last-child { border-bottom: none; }
.product-meta__icon { color: var(--gold-primary); font-size: 1rem; min-width: 20px; }
.product-meta__label { font-weight: 600; color: var(--text-primary); margin-right: auto; }

/* ── CART SIDEBAR ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-gold);
  z-index: var(--z-modal);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer__header {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer__title {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.cart-drawer__body { flex: 1; overflow-y: auto; padding: var(--space-xl); }
.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.cart-item__img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.cart-item__details { flex: 1; }
.cart-item__name { font-family: var(--font-elegant); font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.cart-item__meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: var(--space-sm); }
.cart-item__price { font-family: var(--font-display); font-size: 1rem; color: var(--gold-primary); font-weight: 600; }
.cart-item__qty {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}
.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  font-size: 0.8rem;
  color: var(--gold-primary);
  transition: all var(--transition-fast);
}
.qty-btn:hover { background: var(--gold-primary); color: var(--obsidian); }
.qty-val { font-size: 0.875rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item__remove {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.cart-item__remove:hover { border-color: #ff4757; color: #ff4757; }
.cart-drawer__footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.cart-subtotal__label { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-secondary); }
.cart-subtotal__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-primary); font-weight: 700; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  text-align: center;
}
.cart-empty__icon { font-size: 3rem; color: var(--text-muted); margin-bottom: var(--space-md); }
.cart-empty__text { color: var(--text-muted); font-size: 0.875rem; }

/* ── QUICK VIEW MODAL ── */
.quick-view { padding: var(--space-xl); }
.quick-view__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  position: relative;
}
.quick-view__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ── SEARCH OVERLAY ── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 7, 5, 0.97);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay__input-wrap {
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: var(--space-md);
}
.search-overlay__input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-elegant);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-primary);
}
.search-overlay__input::placeholder { color: var(--text-muted); }
.search-results {
  margin-top: var(--space-2xl);
  width: 100%;
  max-width: 700px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--obsidian);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__links { display: flex; flex-direction: column; gap: var(--space-lg); }
.mobile-menu__link {
  font-family: var(--font-elegant);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: all var(--transition-fast);
}
.mobile-menu__link:hover { color: var(--gold-light); opacity: 1; }

/* ── CHECKOUT ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}
.checkout-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.checkout-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--obsidian);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checkout-step__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  backdrop-filter: blur(10px);
}
.order-summary__title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--space-xl);
}
.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
}
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-md);
}
.order-total__label { font-weight: 600; }
.order-total__value { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-primary); font-weight: 700; }

/* ── ADMIN PANEL ── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-primary);
}
.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: var(--z-overlay);
}
.admin-sidebar__brand {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
}
.admin-sidebar__nav { padding: var(--space-md); flex: 1; }
.admin-nav-section { margin-bottom: var(--space-xl); }
.admin-nav-section__title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 var(--space-md) var(--space-sm);
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 10px var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: none;
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}
.admin-nav-item:hover { background: var(--bg-glass); color: var(--gold-light); }
.admin-nav-item.active { background: rgba(200, 150, 62, 0.1); color: var(--gold-primary); border: 1px solid var(--border-gold); }
.admin-nav-item__icon { font-size: 1rem; min-width: 20px; }
.admin-nav-item__badge {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--eth-red);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
}
.admin-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
}
.admin-topbar {
  position: sticky;
  top: 0;
  background: rgba(10,7,5,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-md) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: var(--z-raised);
}
[data-theme="light"] .admin-topbar { background: rgba(250, 248, 245, 0.95); }
.admin-topbar__title { font-family: var(--font-elegant); font-size: 1.5rem; font-weight: 700; }
.admin-topbar__actions { display: flex; align-items: center; gap: var(--space-md); }
.admin-content { padding: var(--space-xl); }
.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}
.admin-stat-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-gold); }
.admin-stat-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.admin-stat-card__label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.admin-stat-card__change { font-size: 0.8rem; margin-top: var(--space-sm); }
.admin-stat-card__change.up { color: #2ecc71; }
.admin-stat-card__change.down { color: #e74c3c; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: var(--space-md);
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}
.admin-table td {
  padding: var(--space-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}
.admin-table tr:hover td { background: var(--bg-glass); }
.admin-table__product { display: flex; align-items: center; gap: var(--space-md); }
.admin-table__img {
  width: 50px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.status-badge--active { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-badge--active::before { background: #2ecc71; }
.status-badge--draft { background: rgba(149, 165, 166, 0.1); color: #95a5a6; }
.status-badge--draft::before { background: #95a5a6; }
.status-badge--low { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.status-badge--low::before { background: #e74c3c; }
.status-badge--processing { background: rgba(200, 150, 62, 0.1); color: var(--gold-primary); }
.status-badge--processing::before { background: var(--gold-primary); }
.status-badge--shipped { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.status-badge--shipped::before { background: #3498db; }
.status-badge--delivered { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-badge--delivered::before { background: #2ecc71; }
.admin-action-btn {
  padding: 6px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: none;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}
.admin-action-btn:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.admin-action-btn--danger:hover { border-color: #e74c3c; color: #e74c3c; }

/* ── PRODUCT FORM ── */
.product-form { max-width: 800px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.form-textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px var(--space-lg);
  background: var(--bg-glass-2);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 0.95rem;
  resize: vertical;
  transition: all var(--transition-fast);
}
.form-textarea:focus { border-color: var(--gold-primary); box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1); }
.upload-zone {
  border: 2px dashed var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  cursor: none;
  transition: all var(--transition-fast);
}
.upload-zone:hover { background: var(--bg-glass); border-color: var(--gold-primary); }
.upload-zone__icon { font-size: 2rem; color: var(--gold-primary); margin-bottom: var(--space-md); }
.upload-zone__text { color: var(--text-secondary); font-size: 0.875rem; }
.upload-zone__hint { color: var(--text-muted); font-size: 0.75rem; margin-top: var(--space-sm); }

/* ── ABOUT PAGE ── */
.about-hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
}
.about-heritage {
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}
.contact-info__item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}
.contact-info__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 4px; }
.contact-info__value { font-size: 0.95rem; color: var(--text-secondary); }

/* ── ABOUT / HERITAGE PAGE ── */
.about-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  background: var(--obsidian);
}
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

/* ── STATUS BADGES ── */
.status-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; white-space: nowrap;
}
.status-badge--active { background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
.status-badge--processing { background: rgba(52, 152, 219, 0.15); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }
.status-badge--shipped { background: rgba(200, 150, 62, 0.15); color: var(--gold-primary); border: 1px solid var(--border-gold); }
.status-badge--delivered { background: rgba(46, 204, 113, 0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
.status-badge--low { background: rgba(231, 76, 60, 0.15); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }
.status-badge--draft { background: rgba(127, 140, 141, 0.15); color: #7f8c8d; border: 1px solid rgba(127,140,141,0.3); }
.status-badge--pending { background: rgba(243, 156, 18, 0.15); color: #f39c12; border: 1px solid rgba(243,156,18,0.3); }

/* ── PRODUCT IMAGE FIX (index images) ── */
/* When on the root index.html, images use assets/images/... */
/* When on pages/*.html, images use ../assets/images/... */
/* The store.js uses ../ prefix which works from pages/ */

/* ── CRAFTSMANSHIP PAGE ── */
.craft-section { background: var(--bg-primary); }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.craft-img-wrapper { position: relative; }
.craft-img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-deep); }
.craft-frame {
  position: absolute; inset: -12px; inset-inline-end: 12px;
  border: 1px solid var(--border-gold); border-radius: var(--radius-xl);
  z-index: -1; opacity: 0.4;
}
.craft-dot {
  position: absolute; bottom: -20px; right: -20px;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--bg-card); border: 2px solid var(--border-gold);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; box-shadow: var(--shadow-gold);
}
.craft-timeline { display: flex; flex-direction: column; gap: var(--space-xl); }
.craft-step { display: flex; gap: var(--space-lg); align-items: flex-start; }
.craft-step__num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  color: var(--gold-primary); opacity: 0.25; line-height: 1; flex-shrink: 0;
  width: 60px; text-align: right;
}
.craft-step__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; color: var(--text-primary); }
.craft-step__desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* ── IMAGE LOADING SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-tertiary) 50%, var(--bg-card) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ── PRODUCT PAGE ADDITIONS ── */
.product-page { padding-top: var(--nav-height); min-height: 100vh; }

/* ── ORDER SUMMARY (Checkout & Cart) ── */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.order-summary__title {
  font-family: var(--font-elegant);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--border-gold);
}
.order-total__label { font-size: 0.875rem; font-weight: 700; }
.order-total__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
}

/* ── PRICE RANGE FILTER ── */
.price-range { padding: var(--space-md) 0; }
.price-range input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  height: 2px;
  background: linear-gradient(to right, var(--gold-primary) 0%, var(--gold-primary) var(--range-val, 100%), var(--bg-tertiary) var(--range-val, 100%));
  border-radius: 1px;
  cursor: none;
}
.price-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold-primary);
  cursor: none;
  border: 2px solid var(--obsidian);
  box-shadow: 0 0 0 3px rgba(200,150,62,0.2);
}
.price-display { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.75rem; color: var(--text-muted); }

/* ── SHOP VIEW TOGGLE ── */
.view-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: none;
  background: transparent; transition: all 0.2s;
}
.view-btn.active, .view-btn:hover { border-color: var(--gold-primary); color: var(--gold-primary); background: rgba(200,150,62,0.08); }

/* ── COLOR SWATCHES (FILTER) ── */
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch {
  width: 24px; height: 24px; border-radius: 50%; cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--gold-primary); }

/* Responsive */
@media (max-width: 1100px) {
  .product-layout, .checkout-layout, .craft-grid, .heritage-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile Filter Sidebar Drawer */
@media (max-width: 900px) {
  .mobile-filter-toggle { display: flex !important; justify-content: center; align-items: center; }
  .filter-sidebar {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999 !important;
    background: rgba(10, 7, 5, 0.98);
    backdrop-filter: blur(25px) saturate(180%);
    overflow-y: auto;
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
    border-radius: 0;
  }
  [data-theme="light"] .filter-sidebar {
    background: rgba(250, 248, 245, 0.98);
  }
  .filter-sidebar.open { display: block !important; }
  .filter-sidebar__close {
    display: flex !important;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
  }
}

/* ─── DYNAMIC IMAGE LOGO ─── */
.nav__logo--img {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 38px; /* Smaller to avoid overlapping eyebrow text */
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Default to light mode (dark logo shown) */
.nav__logo-img.light-logo { display: none; }
.nav__logo-img.dark-logo { display: block; }

/* Dark mode (light logo shown) */
[data-theme="dark"] .nav__logo-img.light-logo { display: block; }
[data-theme="dark"] .nav__logo-img.dark-logo { display: none; }
