/* ==========================================================================
   Nusa Organik — Indonesian Organic & Wellness Food Store
   Luxury Dark / Obsidian Theme Stylesheet
   ========================================================================== */

:root {
  --bg-page: #0A0C0B;
  --bg-surface: #121513;
  --bg-card: #161A17;
  --bg-elevated: #1E2420;
  --bg-accent-soft: rgba(201, 169, 110, 0.12);
  --brand-gold: #D1B27A;
  --brand-gold-hover: #E0C48F;
  --brand-green: #2B5240;
  --brand-green-soft: rgba(43, 82, 64, 0.28);
  --brand-promo: #B86B43;
  --text-main: #F3F1EB;
  --text-secondary: #B4B9B3;
  --text-muted: #838A84;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(209, 178, 122, 0.32);
  --success: #4AA679;
  --danger: #D9655B;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.72);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
  background: #050605;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.81rem;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  text-align: center;
}

.announcement-bar strong {
  color: var(--brand-gold);
  font-weight: 600;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-gold), #9A7B48);
  color: #0A0C0B;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-gold);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--brand-gold);
  color: #0B0D0C;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cart-btn:hover {
  background: var(--brand-gold-hover);
  transform: translateY(-1px);
}

.cart-count {
  background: #0B0D0C;
  color: var(--brand-gold);
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.77rem;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 58px 0 50px;
  background:
    radial-gradient(circle at 18% 12%, rgba(43, 82, 64, 0.22), transparent 46%),
    radial-gradient(circle at 86% 80%, rgba(209, 178, 122, 0.09), transparent 45%),
    var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-accent-soft);
  border: 1px solid rgba(209, 178, 122, 0.25);
  color: var(--brand-gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.8vw, 3.3rem);
  line-height: 1.14;
  color: var(--text-main);
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--brand-gold);
}

.hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.91rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand-gold);
  color: #0B0D0C;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--brand-gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-accent-soft);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.btn-soft {
  background: var(--bg-elevated);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-soft:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--brand-gold);
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
}

.hero-photo-card.tall {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(10, 12, 11, 0.84);
  border: 1px solid rgba(209, 178, 122, 0.3);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-gold);
}

/* Values Strip */
.values-strip {
  padding: 28px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--brand-gold);
  display: grid;
  place-items: center;
}

.value-card h3 {
  font-size: 0.91rem;
  margin: 0 0 3px;
  color: var(--text-main);
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Catalog Section */
.catalog-section {
  padding: 58px 0 68px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  color: var(--text-main);
  margin: 0 0 6px;
}

.section-header p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.94rem;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.pill-btn.active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #0B0D0C;
  font-weight: 700;
}

.search-sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 230px;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.86rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--brand-gold);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.sort-select {
  padding: 9px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 0.86rem;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #101211;
  cursor: pointer;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.045);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 12, 11, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: #F3F1EB;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.product-badge.promo {
  background: var(--brand-promo);
  border-color: transparent;
  color: #FFFFFF;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 5px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 5px;
  line-height: 1.3;
  cursor: pointer;
}

.product-title:hover {
  color: var(--brand-gold);
}

.product-weight {
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.5;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-gold);
}

.price-original {
  font-size: 0.77rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-btn {
  background: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.add-btn:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #0B0D0C;
}

/* About / Quality Banner */
.quality-section {
  padding: 60px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.quality-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  color: var(--text-main);
  margin: 0 0 14px;
}

.quality-section p {
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.quality-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 12px;
}

.quality-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #0A0C0B;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.quality-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.stat-box strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--brand-gold);
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.faq-item h3 {
  font-size: 0.96rem;
  color: var(--brand-gold);
  margin: 0 0 8px;
}

.faq-item p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.58;
}

/* Footer */
.site-footer {
  background: #060707;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 58px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-main);
  margin: 0 0 12px;
}

.footer-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 0.87rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.pay-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Modal & Drawer System */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 70;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s ease;
  box-shadow: var(--shadow-lg);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-header h3 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-main);
}

.icon-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-main);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.icon-close:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.cart-item img {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  margin: 0 0 3px;
}

.cart-item-price {
  font-size: 0.84rem;
  color: var(--brand-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-surface);
}

.qty-btn {
  width: 28px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-gold);
}

.qty-val {
  min-width: 26px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  margin-left: 10px;
}

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

.drawer-footer {
  padding: 18px 22px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.summary-line.total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-gold);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.free-ship-note {
  background: var(--brand-green-soft);
  border: 1px solid rgba(74, 166, 121, 0.25);
  color: #CBEAD9;
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  text-align: center;
}

/* Product Detail & Checkout Modal */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  width: min(860px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  z-index: 80;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 2;
}

.modal-header h3 {
  font-family: var(--font-serif);
  margin: 0;
  color: var(--text-main);
  font-size: 1.25rem;
}

.modal-body {
  padding: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.detail-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #101211;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1 / 1;
}

.detail-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-meta-list {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.84rem;
  display: grid;
  gap: 8px;
}

.detail-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.detail-meta-list span:first-child {
  color: var(--text-muted);
}

.detail-meta-list span:last-child {
  color: var(--text-main);
  font-weight: 500;
  text-align: right;
}

/* Checkout Form */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-gold);
  background: #0F1210;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.order-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.order-summary-box h4 {
  font-family: var(--font-serif);
  margin: 0 0 14px;
  color: var(--brand-gold);
}

/* Policy & Static Pages */
.page-hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(43, 82, 64, 0.2), transparent 50%),
    var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 46px 0 36px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--text-main);
  margin: 0 0 8px;
}

.page-hero p {
  color: var(--text-secondary);
  margin: 0;
  max-width: 680px;
}

.policy-content {
  padding: 44px 0 68px;
  max-width: 840px;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}

.policy-card h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--brand-gold);
  margin: 26px 0 10px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card li {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.policy-card ul {
  padding-left: 20px;
}

.info-box {
  background: var(--bg-accent-soft);
  border-left: 4px solid var(--brand-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand-gold);
  color: #0B0D0C;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 95;
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .hero-grid,
  .quality-grid,
  .detail-grid,
  .checkout-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 18px 20px;
    gap: 14px;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .search-input {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .hero-trust-row,
  .values-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .policy-card {
    padding: 22px 18px;
  }
}
