/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 80px;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--accent); }
.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-dim); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--accent); }

/* ===== HERO ACTIONS (LANDING) ===== */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.btn-hero-primary {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-hero-primary:hover { background: var(--accent-dim); }
.btn-hero-ghost {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 2px;
  transition: color 0.15s;
}
.btn-hero-ghost:hover { color: var(--text-primary); }

/* ===== CATEGORY CARDS (LANDING) — make clickable ===== */
.category-card {
  display: flex;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.category-card:hover { opacity: 0.85; }

/* ===== SHOP HERO ===== */
.shop-hero {
  background: var(--bg-secondary);
  padding: 80px 80px 64px;
  border-bottom: 1px solid var(--border);
}
.shop-hero-inner { max-width: 640px; }
.shop-hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.shop-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.shop-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ===== CATEGORY TILES (SHOP HOME) ===== */
.cat-tiles-section { padding: 64px 80px; background: var(--bg-primary); }
.cat-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.cat-tile {
  position: relative;
  padding: 40px 28px;
  background: var(--bg-card);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  overflow: hidden;
}
.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  transition: opacity 0.2s;
}
.cat-tile.card-bg-1::before { background: linear-gradient(135deg, #3d2b1f, #5c3d2a); }
.cat-tile.card-bg-2::before { background: linear-gradient(135deg, #2a2a2a, #4a4a4a); }
.cat-tile.card-bg-6::before { background: linear-gradient(135deg, #1a2a3a, #204050); }
.cat-tile.card-bg-4::before { background: linear-gradient(135deg, #2a3520, #3a4a28); }
.cat-tile:hover { border-color: rgba(212,169,106,0.3); background: var(--bg-secondary); }
.cat-tile:hover::before { opacity: 0.15; }
.cat-tile-content { position: relative; z-index: 1; }
.cat-tile-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.cat-tile-tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.cat-tile-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== PRODUCT GRID ===== */
.featured-section {
  background: var(--bg-secondary);
  padding: 80px 80px;
}
.featured-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.product-grid--large {
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  overflow: hidden;
}
.product-card:hover { border-color: rgba(212,169,106,0.3); }
.product-card-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card);
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-info {
  display: flex;
  flex-direction: column;
  padding: 20px;
  flex: 1;
}
.product-card-cat {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.product-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.product-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.product-card-btn {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.product-card:hover .product-card-btn { color: var(--accent); }

/* ===== CATEGORY PAGE ===== */
.cat-header {
  background: var(--bg-secondary);
  padding: 64px 80px;
  border-bottom: 1px solid var(--border);
}
.cat-header-inner { max-width: 640px; }
.breadcrumb {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.breadcrumb:hover { color: var(--accent); }
.cat-header-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cat-header-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  line-height: 0.95;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.cat-header-desc {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 500px;
}
.cat-products-section {
  background: var(--bg-primary);
  padding: 64px 80px;
}
.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}
.other-cats-section {
  background: var(--bg-secondary);
  padding: 64px 80px;
  border-top: 1px solid var(--border);
}
.other-cats-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.other-cats-list { display: flex; flex-direction: column; }
.other-cat-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.15s;
}
.other-cat-link:last-child { border-bottom: none; }
.other-cat-link:hover .other-cat-name { color: var(--accent); }
.other-cat-name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  min-width: 200px;
  transition: color 0.15s;
}
.other-cat-tagline {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.other-cat-arrow {
  font-size: 16px;
  color: var(--accent-dim);
  transition: transform 0.15s;
}
.other-cat-link:hover .other-cat-arrow { transform: translateX(4px); }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  background: var(--bg-primary);
  padding: 0;
}
.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
}
.product-detail-image {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  min-height: 500px;
}
.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-badge {
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(17,17,17,0.8);
  padding: 6px 12px;
}
.product-detail-info {
  padding: 64px 80px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}
.product-detail-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 12px 0 16px;
}
.product-detail-short {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.6;
}
.product-detail-price {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  line-height: 1;
}
.product-detail-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.product-detail-actions { margin-bottom: 32px; }
.btn-buy {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 18px 40px;
  text-decoration: none;
  transition: background 0.15s;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.btn-buy:hover { background: var(--accent-dim); }
.product-detail-disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
}
.product-detail-props {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.prop-icon {
  color: var(--accent-dim);
  font-size: 8px;
  flex-shrink: 0;
}

/* ===== SUCCESS PAGE ===== */
.success-section {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}
.success-inner {
  text-align: center;
  max-width: 480px;
  padding: 40px;
}
.success-mark {
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 24px;
}
.success-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1;
}
.success-body {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 40px;
}
.success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent-dim); }
.btn-ghost {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--accent); }

/* ===== SHOP FOOTER ===== */
.shop-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 80px 32px;
}
.shop-footer-inner {
  display: flex;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 260px; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-links { display: flex; gap: 64px; flex: 1; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 11px;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 40px; gap: 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .shop-hero { padding: 60px 40px 48px; }
  .cat-tiles-section { padding: 48px 40px; }
  .cat-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-section { padding: 60px 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--large { grid-template-columns: repeat(2, 1fr); }
  .cat-header { padding: 48px 40px; }
  .cat-products-section { padding: 48px 40px; }
  .other-cats-section { padding: 48px 40px; }
  .product-detail-inner { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 320px; }
  .product-detail-info { padding: 48px 40px; }
  .shop-footer { padding: 48px 40px 24px; }
  .shop-footer-inner { flex-direction: column; gap: 40px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 24px; }
  .shop-hero { padding: 48px 24px; }
  .shop-hero-headline { font-size: 48px; }
  .cat-tiles-section { padding: 40px 24px; }
  .cat-tiles-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .cat-tile { padding: 24px 16px; }
  .featured-section { padding: 48px 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid--large { grid-template-columns: 1fr; }
  .cat-header { padding: 40px 24px; }
  .cat-products-section { padding: 40px 24px; }
  .other-cats-section { padding: 40px 24px; }
  .other-cat-link { flex-wrap: wrap; gap: 4px; }
  .other-cat-name { font-size: 20px; min-width: auto; }
  .product-detail-info { padding: 40px 24px; }
  .shop-footer { padding: 40px 24px 20px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 320px) {
  .nav-inner { padding: 0 16px; }
  .shop-hero { padding: 40px 16px; }
  .shop-hero-headline { font-size: 36px; }
  .shop-hero-sub { font-size: 13px; }
  .cat-tiles-section { padding: 32px 16px; }
  .cat-tiles-grid { grid-template-columns: 1fr; gap: 2px; }
  .cat-tile { padding: 20px 14px; }
  .cat-tile-name { font-size: 22px; }
  .cat-tile-tagline { font-size: 11px; }
  .featured-section { padding: 40px 16px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
  .product-grid--large { grid-template-columns: 1fr; }
  .product-card-name { font-size: 16px; }
  .product-card-desc { display: none; }
  .cat-header { padding: 32px 16px; }
  .cat-header-title { font-size: 40px; }
  .cat-header-desc { font-size: 13px; }
  .cat-products-section { padding: 32px 16px; }
  .other-cats-section { padding: 32px 16px; }
  .other-cat-name { font-size: 18px; }
  .product-detail-name { font-size: 36px; }
  .product-detail-price { font-size: 44px; }
  .product-detail-info { padding: 32px 16px; }
  .btn-buy { padding: 14px 24px; font-size: 11px; }
  .shop-footer { padding: 32px 16px 16px; }
  .footer-links { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ===== STOCK STATUS BADGES ===== */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.stock-badge--in_stock {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.stock-badge--low_stock {
  background: rgba(234, 179, 8, 0.12);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.25);
}
.stock-badge--out_of_stock {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Disabled buy button for out-of-stock */
.btn-buy--disabled {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  cursor: not-allowed;
  border-radius: 2px;
}
