/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #1A1A1A;
  --bg-alt: #222222;
  --bg-card: #2A2A2A;
  --fg: #F5F5F0;
  --fg-muted: #9A9A9A;
  --gold: #C9A84C;
  --gold-dim: #8B6E32;
  --border: rgba(201,168,76,0.15);
  --font-head: 'Syne', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

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

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-cart:hover { background: #d4b55a; text-decoration: none; }

/* === HERO === */
.hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 48ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #d4b55a; text-decoration: none; }

.btn-outline {
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-block;
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }

/* === FILTER BAR === */
.filter-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-right: 0.25rem;
}

.filter-btn {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-block;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.filter-btn.active { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* === PRODUCT GRID === */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-heading {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-2px); text-decoration: none; }

.product-img-wrap {
  aspect-ratio: 1;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 1.1rem;
}

.product-symbol {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.product-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-type {
  font-size: 0.72rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.product-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

/* === PRODUCT DETAIL === */
.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-image-large {
  aspect-ratio: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta-block {
  padding-top: 1rem;
}

.breadcrumb {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--fg-muted); }
.breadcrumb a:hover { color: var(--gold); }

.product-title {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.product-price-detail {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.symbol-meaning {
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  padding: 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2rem;
}

.symbol-meaning h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.symbol-meaning p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.size-selector {
  margin-bottom: 1.5rem;
}

.size-selector label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

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

.size-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--fg-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.size-btn:hover, .size-btn.selected {
  border-color: var(--gold);
  color: var(--gold);
}
.size-btn.selected {
  background: rgba(201,168,76,0.1);
}

.checkout-form {
  margin-top: 1.5rem;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty-btn:hover { color: var(--fg); }

.qty-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 36px;
  color: var(--fg);
}

/* === RELATED PRODUCTS === */
.related-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.related-section h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* === CART === */
.cart-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.cart-page h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--fg-muted);
}

.cart-empty h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.cart-items { display: flex; flex-direction: column; gap: 1rem; }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-alt);
}

.cart-item-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

.cart-item-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

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

.cart-total-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.cart-total-value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fg);
}

.cart-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

/* === ORDER SUCCESS / CONFIRMED === */
.order-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.order-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.order-page h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.order-page p {
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.order-email-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: left;
}

.order-email-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.order-email-form input {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  font-size: 1rem;
  margin-bottom: 1rem;
  outline: none;
}
.order-email-form input:focus { border-color: var(--gold); }

/* === ADMIN === */
.admin-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.admin-page h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.admin-sub {
  color: var(--fg-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.orders-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.orders-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  vertical-align: middle;
}

.orders-table tr:hover td { background: var(--bg-alt); }

.status-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}
.status-paid { background: rgba(76,175,80,0.15); color: #4CAF50; }
.status-submitted { background: rgba(33,150,243,0.15); color: #2196F3; }
.status-shipped { background: rgba(201,168,76,0.15); color: var(--gold); }
.status-delivered { background: rgba(76,175,80,0.2); color: #66BB6A; }

/* === ABOUT PAGE === */
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-page h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.about-section {
  margin-bottom: 2.5rem;
}

.about-section h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.about-section p {
  color: var(--fg-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.shipping-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.shipping-card h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.shipping-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--fg); }
.footer-tagline { font-size: 0.75rem; color: var(--fg-muted); }

.footer-links { display: flex; gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col h4 { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-muted); margin-bottom: 0.25rem; }
.footer-col a { font-size: 0.85rem; color: var(--fg-muted); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
}

/* === ERROR PAGE === */
.error-page {
  max-width: 500px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}
.error-page h1 { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--fg); margin-bottom: 1rem; }
.error-page p { color: var(--fg-muted); margin-bottom: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 3rem; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .shipping-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .cart-item { grid-template-columns: 60px 1fr; }
  .cart-item-price { grid-column: 2; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .product-title { font-size: 1.8rem; }
}