@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');
html { color-scheme: dark; }

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e2c46e;
  --gold-dim: #7a6428;
  --bg: #0f0f0f;
  --bg-surface: #191919;
  --bg-raised: #222222;
  --bg-nav: #0a0a0a;
  --text: #ede8e0;
  --text-sub: #a09488;
  --text-muted: #5e574f;
  --border: #282828;
  --border-lit: #363636;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  /* Legacy aliases — keep so inline HTML styles and JS templates resolve correctly */
  --medium-brown: #c9a84c;
  --dark-brown: #0a0a0a;
  --silver: #5e574f;
  --warm-white: #191919;
  --cream: #0f0f0f;
  --border-color: #282828;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
}

/* ===== NAVIGATION ===== */
nav {
  background-color: var(--bg-nav);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
}

.nav-brand {
  justify-self: start;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 18px 30px 18px 0;
  font-style: italic;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 6px;
}

.nav-links li a {
  display: block;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 22px 18px;
  transition: background-color 0.2s, color 0.2s;
  border-bottom: 4px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
  background-color: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border-bottom: 4px solid var(--gold);
}

/* ===== NAV RIGHT (cart + hamburger) ===== */
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-sub);
  text-decoration: none;
  padding: 18px 0 18px 20px;
  transition: color 0.2s;
}
.cart-nav-link:hover,
.cart-nav-link.active { color: var(--gold); }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-sub);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
nav.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cart-badge {
  position: absolute;
  top: 10px;
  right: -10px;
  background: var(--gold);
  color: var(--bg-nav);
  font-size: 0.68rem;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1;
}

/* ===== CART PAGE ===== */
.cart-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 30px 80px;
}

.cart-page-title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.cart-page-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.cart-section-title {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.cart-form-section-heading {
  font-size: 0.95rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cart-form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cart-items-header {
  display: grid;
  grid-template-columns: 1fr auto auto auto 28px;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--border);
  font-size: 0.8rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-item-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto 28px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}

.cart-item-divider { border-top: 1px solid var(--border); }

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.cart-item-name {
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 4px;
}

.cart-item-price,
.cart-item-total {
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
  text-align: right;
}
.cart-item-total { font-weight: bold; }

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

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-lit);
  background: var(--bg-raised);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--bg-nav); }
.qty-num { min-width: 22px; text-align: center; font-size: 1rem; }

.cart-remove-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.15s;
}
.cart-remove-btn:hover { color: #e05555; }

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-sub);
}

.cart-summary-total {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text);
}

.cart-summary-divider {
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.cart-form-field {
  margin-bottom: 14px;
}

.cart-form-field label {
  display: block;
  font-size: 0.82rem;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

.cart-form-field input,
.cart-form-field select,
.cart-form-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-lit);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Inter', Georgia, serif;
  color: var(--text);
  background: var(--bg-raised);
  transition: border-color 0.2s;
}

.cart-form-field input:focus,
.cart-form-field select:focus,
.cart-form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ===== BANNER STRIP ===== */
.banner-strip {
  background-color: var(--gold-dim);
  color: var(--gold-light);
  text-align: center;
  padding: 12px 20px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--bg-nav) 0%, #111 60%, #0a0a0a 100%);
  color: var(--text);
  text-align: center;
  padding: 100px 30px 90px;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 1px 2px 12px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.3rem;
  line-height: 1.9;
  margin-bottom: 44px;
  color: rgba(255,255,255,0.82);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  background-color: var(--gold);
  color: #0a0a0a;
  text-decoration: none;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 20px 56px;
  border-radius: 4px;
  transition: background-color 0.25s, transform 0.2s;
  text-transform: uppercase;
  margin-bottom: 44px;
}

.hero-btn:hover {
  background-color: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== HERO STATS BAR ===== */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.hero-stat-lbl {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 30px;
}

/* ===== HEADINGS ===== */
.section-title {
  font-size: 2.3rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dim), var(--gold));
  margin: 16px auto 50px;
  border-radius: 2px;
}

/* ===== FEATURE CARDS ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 10px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3.2rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonial-section {
  background: var(--bg-nav);
  color: var(--text);
  padding: 75px 30px;
  margin-top: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-title {
  font-size: 2rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 12px;
}

.testimonial-divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 50px;
  border-radius: 2px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-lit);
  border-radius: 8px;
  padding: 34px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: var(--text-sub);
}

.testimonial-author {
  color: var(--gold);
  font-weight: bold;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.about-image-block {
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: var(--text);
  font-size: 1.1rem;
  text-align: center;
  border: 3px solid var(--border);
  position: relative;
  gap: 0;
  padding: 0;
}

.about-image-block p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 14px 20px;
  background: rgba(0,0,0,0.65);
  font-size: 0.95rem;
}

.about-image-block span.big-icon {
  font-size: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.value-card {
  background: var(--bg-surface);
  border-left: 5px solid var(--gold);
  padding: 28px 24px;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow);
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== PROCESS PAGE ===== */
.process-steps {
  margin-top: 10px;
}

.process-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 36px;
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.step-number {
  background: linear-gradient(135deg, #111, #1c1c1c);
  color: var(--gold);
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Inter', Arial, sans-serif;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid var(--gold-dim);
}

.step-content h3 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.step-content p {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.step-icon-inline {
  font-size: 1.8rem;
  margin-right: 10px;
  vertical-align: middle;
}

/* ===== SHOP PAGE ===== */
main.shop-main {
  max-width: 1350px;
  padding-top: 28px;
}

.shop-intro-text {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.shop-intro-text p {
  font-size: 1.1rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  aspect-ratio: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* ── Product image carousel ── */
.product-image {
  flex: 3;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; background: #111; }

.image-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 5.5rem;
  pointer-events: none;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(0,0,0,0.6);
  border: none;
  color: var(--gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s;
  pointer-events: all;
}

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

.product-image:hover .slide-arrow { opacity: 1; }
.slide-arrow:hover { background: rgba(0,0,0,0.9); }

.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.2s;
}

.dot.active { background: var(--gold); }

/* ── Best Seller ribbon ── */
.best-seller-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  color: #0a0a0a;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  pointer-events: none;
}

/* ── Product card footer ── */
.product-name {
  font-size: 1rem;
  font-weight: bold;
  color: var(--gold);
  font-family: Georgia, serif;
  text-align: center;
  padding: 0 16px;
  line-height: 1.3;
}

.product-footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 22px;
  background: var(--bg-surface);
}

.product-footer-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  padding: 0 6px;
}

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

.product-view-btn {
  display: block;
  background: var(--gold-dim);
  color: var(--gold-light);
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 0;
  font-size: 0.88rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}

.product-view-btn:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-primary {
  display: block;
  background-color: var(--gold);
  color: #0a0a0a;
  text-decoration: none;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 16px 28px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: #0a0a0a;
}

.custom-order-section {
  background: linear-gradient(135deg, var(--bg-nav), #1a1a1a);
  color: var(--text);
  text-align: center;
  padding: 75px 30px;
  border-radius: 8px;
  margin-top: 70px;
  border: 1px solid var(--border);
}

.custom-order-section h2 {
  font-size: 2.1rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.custom-order-section p {
  font-size: 1.15rem;
  line-height: 1.9;
  max-width: 660px;
  margin: 0 auto 38px;
  color: var(--text-sub);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 18px 50px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background-color 0.2s, color 0.2s;
  text-transform: uppercase;
}

.btn-outline:hover {
  background-color: var(--gold);
  color: #0a0a0a;
}

.field-error {
  color: #e05555;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 8px;
}

/* ===== STYLE SELECTOR (custom spoon form) ===== */
.style-selector {
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  overflow: hidden;
}

.style-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.style-option-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.style-option-name {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--gold);
}

.style-option-price {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.style-qty-control {
  display: flex;
  align-items: center;
  gap: 14px;
}

.style-qty-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-lit);
  background: var(--bg-raised);
  border-radius: 6px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.style-qty-btn:hover { background: var(--bg-nav); }
.style-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.style-qty-num {
  min-width: 28px;
  text-align: center;
  font-size: 1.15rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: var(--text);
}

.style-balance {
  padding: 14px 24px;
  font-size: 0.95rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid var(--border);
}

.style-balance-empty  { color: var(--text-muted); font-weight: 400; font-style: italic; }
.style-balance-ok     { background: rgba(76, 175, 80, 0.12); color: #81c784; }
.style-balance-mismatch { background: rgba(200, 74, 0, 0.12); color: #ffb74d; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 30px 80px;
}

.back-link {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.back-link:hover { color: var(--gold-light); }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-gallery {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-detail-gallery .slide-arrow { opacity: 0; }
.product-detail-gallery:hover .slide-arrow { opacity: 1; }

.product-detail-name {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1.3;
}

.product-detail-desc {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.detail-field-group {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.detail-field label {
  display: block;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}

.detail-field select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--border-lit);
  border-radius: 6px;
  font-size: 1rem;
  font-family: Georgia, serif;
  color: var(--text);
  background: var(--bg-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.detail-field select:focus {
  outline: none;
  border-color: var(--gold);
}

.detail-field select.error-outline { border-color: #e05555; }

.detail-style-error {
  display: none;
  color: #e05555;
  font-size: 0.85rem;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  margin-top: 6px;
  font-weight: 500;
}

.detail-price-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

.detail-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-muted);
  font-style: italic;
  font-family: Georgia, serif;
}

.detail-price-set {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--gold);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-style: normal;
  letter-spacing: -0.5px;
}

.detail-add-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 50px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--text-sub);
  margin-bottom: 10px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 1.05rem;
  font-family: Georgia, serif;
  color: var(--text);
  background: var(--bg-raised);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #1a1a1a;
}

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

.form-submit {
  text-align: center;
  margin-top: 10px;
}

.form-submit .btn-primary {
  display: inline-block;
  width: auto;
  font-size: 1.1rem;
  padding: 18px 60px;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--bg-nav);
  color: var(--text-muted);
  text-align: center;
  padding: 55px 30px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-size: 1.7rem;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

footer p {
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

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

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.footer-copy {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Inter', Arial, sans-serif;
}

/* ===== INFO CARD ===== */
.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 50px 40px;
  box-shadow: var(--shadow);
}

.info-card h2 {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
}

.info-card p,
.info-card li {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-sub);
}

/* ===== GOLD CALLOUT ===== */
.gold-callout {
  background: linear-gradient(135deg, #111, #1a1500);
  border: 1px solid var(--gold-dim);
  color: var(--text);
  border-radius: 8px;
  padding: 50px 40px;
  margin-bottom: 60px;
  text-align: center;
}

.gold-callout h2 {
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.gold-callout p {
  font-size: 1.1rem;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-sub);
}

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  text-align: center;
  background: rgba(26, 18, 0, 0.8);
  border: 2px solid var(--gold-dim);
  border-radius: 8px;
  padding: 30px;
  margin-top: 30px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.success-msg p:first-child {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 10px;
}

.success-msg p {
  font-size: 1.05rem;
  color: var(--text-sub);
}

/* ===== PORTFOLIO GALLERY ===== */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.portfolio-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: opacity 0.2s, transform 0.2s;
}

.portfolio-gallery img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* ===== CONFIRMATION PAGE ===== */
.confirm-wrap {
  max-width: 620px;
  margin: 80px auto 120px;
  padding: 0 24px;
  text-align: center;
}

.confirm-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 168, 76, 0.12);
  border: 2px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 2.2rem;
}

.confirm-wrap h1 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.confirm-wrap p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 12px;
}

.order-number-box {
  background: var(--bg-surface);
  border: 2px solid var(--gold-dim);
  border-radius: 10px;
  padding: 28px 36px;
  margin: 36px 0;
  box-shadow: var(--shadow);
}

.order-number-label {
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.order-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 3px;
}

.confirm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--gold-dim);
  border-radius: 4px;
  color: var(--gold);
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body { font-size: 17px; }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }

  .hamburger { display: flex; }

  .nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
  .nav-brand { padding: 14px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--bg-nav);
    border-top: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0,0,0,0.7);
    z-index: 99;
    gap: 0;
  }
  nav.nav-open .nav-links { display: flex; }

  .nav-links li { width: 100%; }
  .nav-links li a {
    padding: 16px 24px;
    font-size: 1rem;
    letter-spacing: 0;
    border-bottom: 1px solid var(--border);
    border-bottom-width: 1px;
    border-left: none;
  }
  .nav-links li:last-child a { border-bottom: none; }

  .cart-nav-link { padding: 14px 0 14px 16px; }

  /* ── Cart mobile layout ── */
  .cart-card { padding: 20px 16px; }

  .cart-items-header { display: none; }

  .cart-item-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 0;
    align-items: flex-start;
  }

  .cart-item-left {
    order: 1;
    flex: 1 1 calc(100% - 40px);
    min-width: 0;
  }

  .cart-remove-btn {
    order: 2;
    flex: 0 0 28px;
  }

  .cart-item-price {
    order: 3;
    flex: 1;
    text-align: left;
    align-self: center;
  }

  .cart-item-qty {
    order: 4;
    flex: 0 0 auto;
    align-self: center;
  }

  .cart-item-total {
    order: 5;
    flex: 1;
    text-align: right;
    align-self: center;
  }

  .cart-form-row { grid-template-columns: 1fr; }

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

  .product-card {
    aspect-ratio: 4 / 3;
  }
  .slide-arrow { opacity: 0.85; }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    gap: 30px;
  }

  .info-card {
    padding: 30px 20px;
  }
}
