/* ============================================
   DADDY'S LEATHER CO. — Styles
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0D0D0D;
  --charcoal: #1a1a1a;
  --leather: #8B5E3C;
  --brass: #C4975A;
  --cream: #F5F0EB;
  --warm-gray: #2a2522;
  --text-muted: #9a8e82;
  --dark-border: #333029;
  --card-bg: #151210;
  --success: #4a7c59;
  --error: #c44;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background-color: var(--black);
  color: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

.serif {
  font-family: 'Cormorant Garamond', serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  text-decoration: none;
  color: var(--cream);
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.nav-link-cta {
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 8px 20px;
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-link-cta:hover {
  background: var(--brass);
  color: var(--black);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139,94,60,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(196,151,90,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 32px;
  color: var(--cream);
}

.hero h1 em {
  font-style: italic;
  color: var(--brass);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brass), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.btn-primary {
  background: var(--brass);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--leather);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--dark-border);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---- SECTIONS ---- */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--brass);
}

.section-description {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ---- CATEGORIES ---- */
.categories-section {
  padding: 120px 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-description {
  margin: 0 auto;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--charcoal);
  padding: 4px;
  border-radius: 4px;
  max-width: 480px;
  margin: 0 auto;
}

.category-tab {
  flex: 1;
  padding: 12px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s;
}

.category-tab:hover {
  color: var(--cream);
}

.category-tab.active {
  background: var(--warm-gray);
  color: var(--cream);
}

/* ---- PRODUCT GRID ---- */
.products-section {
  padding: 40px 0 120px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  border-color: var(--leather);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.product-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-swatch {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-swatch::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 40%, rgba(255,255,255,0.05), transparent 70%);
}

.product-swatch-texture {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 4px
    );
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brass);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  z-index: 2;
}

.product-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

.product-info {
  padding: 24px;
}

.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--cream);
}

.product-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brass);
}

.product-lead-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---- BUY NOW BUTTON ---- */
.btn-buy {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 24px;
  background: var(--brass);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-buy:hover {
  background: #d4a96a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 151, 90, 0.3);
}

.btn-buy:active {
  transform: translateY(0);
}

.btn-buy-modal {
  background: var(--brass);
  color: var(--black);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-buy-modal:hover {
  background: #d4a96a;
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 151, 90, 0.3);
}

.modal-actions {
  flex-direction: column;
}

/* ---- LOADING / EMPTY ---- */
.loading-state {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--dark-border);
  border-top-color: var(--brass);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
}

/* ---- ABOUT ---- */
.about-section {
  padding: 120px 0;
  background: var(--charcoal);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text.muted {
  color: var(--leather);
  font-size: 0.9rem;
  margin-top: 24px;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-card {
  background: var(--warm-gray);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
}

.detail-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 8px;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- PRODUCT MODAL ---- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal {
  background: var(--charcoal);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  color: var(--cream);
  background: var(--warm-gray);
}

.modal-image {
  height: 280px;
  position: relative;
}

.modal-content {
  padding: 32px;
}

.modal-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 24px;
}

.modal-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-details-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
}

.modal-details-list {
  list-style: none;
  margin-bottom: 24px;
}

.modal-details-list li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(51, 48, 41, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-details-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

.modal-lead-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--warm-gray);
  border-radius: 4px;
}

.modal-lead-time strong {
  color: var(--cream);
}

.modal-actions {
  display: flex;
  gap: 12px;
}

/* ---- CONTACT / CUSTOM ORDER ---- */
.contact-section {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-border);
}

.contact-detail-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-detail-value {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form-wrapper {
  background: var(--charcoal);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cream);
}

.form-group .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--warm-gray);
  border: 1px solid var(--dark-border);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--cream);
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239a8e82' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--cream);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--dark-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--dark-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .category-tabs {
    flex-direction: column;
  }

  .modal {
    margin: 16px;
    max-height: 90vh;
  }

  .modal-actions {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- PRODUCT PHOTO (real images) ---- */
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

.product-photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  border-radius: 2px;
  z-index: 2;
}

/* ---- MODAL IMAGE: real photo (single) ---- */
.modal-image-photo {
  height: 320px;
  overflow: hidden;
  background: var(--charcoal);
}

.modal-image-photo .gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---- MODAL GALLERY (multiple photos) ---- */
.modal-image-gallery {
  background: var(--charcoal);
  border-bottom: 1px solid var(--dark-border);
}

.gallery-main-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #111;
}

.gallery-main-wrap .gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.2s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(196, 151, 90, 0.3);
  color: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  z-index: 5;
}

.gallery-nav:hover {
  background: rgba(196, 151, 90, 0.8);
  color: var(--black);
  border-color: var(--brass);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid var(--dark-border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.2s;
  opacity: 0.65;
}

.gallery-thumb:hover {
  border-color: var(--leather);
  opacity: 0.9;
}

.gallery-thumb.active {
  border-color: var(--brass);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-details {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .detail-card {
    padding: 20px 16px;
  }

  .detail-number {
    font-size: 2rem;
  }
}

/* ---- AGE VERIFICATION GATE ---- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.age-gate-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.age-gate {
  background: var(--card-bg);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  max-width: 440px;
  width: 100%;
  padding: 52px 44px;
  text-align: center;
  position: relative;
}

.age-gate-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.age-gate-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.age-gate-text {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.age-gate-note {
  color: var(--text-muted);
  font-size: 0.7rem;
  opacity: 0.6;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .age-gate {
    padding: 36px 24px;
  }

  .age-gate-icon {
    font-size: 2.75rem;
  }

  .age-gate-title {
    font-size: 1.625rem;
  }
}

/* ---- VARIANT SELECTOR ---- */
.variant-selector {
  margin: 16px 0 20px;
}

.variant-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

.variant-select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  color: var(--cream);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  padding: 10px 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c9a96e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: border-color 0.2s;
}

.variant-select:focus {
  outline: none;
  border-color: var(--brass);
}

.variant-select option {
  background: var(--charcoal);
  color: var(--cream);
}

/* ============================================
   CART — Icon, Sidebar, Items, Checkout
   ============================================ */

/* Cart icon button in nav */
.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  padding: 8px;
  border-radius: 4px;
  transition: color 0.2s, transform 0.2s;
}

.cart-icon-btn:hover {
  color: var(--brass);
}

.cart-icon-btn.cart-pulse {
  animation: cartPulse 0.6s ease;
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--brass);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--charcoal);
  border-left: 1px solid var(--dark-border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.4);
}

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

/* Cart Header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--dark-border);
  flex-shrink: 0;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s;
}

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

/* Cart Body */
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.95rem;
}

/* Cart Items List */
.cart-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--warm-gray);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-placeholder {
  width: 100%;
  height: 100%;
  background: var(--warm-gray);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 10px;
}

.cart-item-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Quantity controls */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  background: var(--warm-gray);
  border: 1px solid var(--dark-border);
  color: var(--cream);
  width: 26px;
  height: 26px;
  border-radius: 3px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: var(--dark-border);
  border-color: var(--brass);
}

.cart-qty-num {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  min-width: 18px;
  text-align: center;
}

/* Remove button */
.cart-remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 3px;
  transition: color 0.2s;
  align-self: flex-start;
  flex-shrink: 0;
}

.cart-remove-btn:hover {
  color: var(--error);
}

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--dark-border);
  flex-shrink: 0;
  background: var(--charcoal);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-total-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-total-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
}

.cart-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

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

/* ---- TOAST NOTIFICATIONS ---- */
.dlc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  opacity: 0;
  white-space: nowrap;
  max-width: calc(100vw - 48px);
}

.dlc-toast.dlc-toast-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.dlc-toast-success {
  border-color: var(--success);
}

.dlc-toast-info {
  border-color: var(--brass);
}

/* ---- RESPONSIVE: Cart sidebar on mobile ---- */
@media (max-width: 480px) {
  .cart-sidebar {
    width: 100vw;
    border-left: none;
  }
}

/* ---- The Craftsman Section ---- */
.craftsman-section {
  padding: 80px 0;
  border-top: 1px solid var(--dark-border);
}

.craftsman-content {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.craftsman-content .section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.craftsman-content .section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 32px;
  line-height: 1.2;
}

.craftsman-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: #c8bfb5;
  margin-bottom: 20px;
  text-align: left;
}

.craftsman-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .craftsman-section {
    padding: 56px 0;
  }
}

/* ---- Collection Chooser (Shop Page) ---- */
.collection-chooser-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.collection-chooser {
  text-align: center;
  max-width: 540px;
  width: 100%;
}

.collection-chooser h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.2;
}

.collection-chooser .chooser-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.collection-chooser-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collection-btn {
  display: block;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  text-align: left;
}

.collection-btn:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  background: rgba(196, 151, 90, 0.06);
}

.collection-btn h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.collection-btn p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.collection-btn .collection-arrow {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.04em;
}

/* ---- Content Discovery: From the Workshop ---- */
.workshop-section {
  background-color: var(--charcoal);
  border-top: 1px solid var(--dark-border);
  padding: 80px 0 64px;
}

.workshop-header {
  text-align: center;
  margin-bottom: 48px;
}

.workshop-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.workshop-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1.2;
}

.workshop-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.6;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  background: var(--black);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
  cursor: pointer;
}

.workshop-card:hover {
  border-color: var(--brass);
  transform: translateY(-3px);
}

.workshop-card:hover .workshop-card-cta {
  color: var(--brass);
}

.workshop-card-icon {
  color: var(--brass);
  margin-bottom: 20px;
  opacity: 0.85;
}

.workshop-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1.3;
}

.workshop-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 auto;
  flex-grow: 1;
}

.workshop-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

@media (max-width: 768px) {
  .workshop-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin-inline: auto;
  }

  .workshop-section {
    padding: 56px 0 48px;
  }

  .workshop-title {
    font-size: 1.8rem;
  }
}

/* ============================================
   YOU MIGHT ALSO LIKE — Related Products
   ============================================ */

.modal-related {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--dark-border);
}

.modal-related-title {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 480px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-card {
  background: var(--card-bg);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.related-card:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.related-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--warm-gray);
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.related-card-swatch {
  width: 100%;
  height: 100%;
}

.related-card-info {
  padding: 10px 12px 12px;
}

.related-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.related-card-price {
  font-size: 0.78rem;
  color: var(--brass);
  font-weight: 500;
}
