:root {
  color-scheme: light;
  --bg: #0b0b0c;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f4efe8;
  --muted: #c8c0b7;
  --gold: #c7a255;
  --gold-soft: rgba(199, 162, 85, 0.12);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 65px rgba(0, 0, 0, 0.28);
  --radius: 30px;
  font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(199, 162, 85, 0.14), transparent 26%),
    linear-gradient(180deg, #0b0b0c 0%, #111113 100%);
  color: var(--text);
  line-height: 1.7;
}

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

button,
a {
  font: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.announcement-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  background: rgba(13, 13, 14, 0.95);
  color: var(--muted);
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.announcement-item {
  text-align: center;
  opacity: 0.88;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.brand-icon {
  width: 45px;
  height: auto;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cart-toggle,
.menu-toggle,
.button,
.step-button,
.product-action {
  border: none;
  cursor: pointer;
  font: inherit;
}

.cart-toggle,
.menu-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: 999px;
}

.cart-toggle:hover,
.menu-toggle:hover,
.button:hover,
.step-button:hover,
.product-action:hover {
  transform: translateY(-1px);
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.menu-toggle {
  display: none;
}

.hero-section,
.page-hero,
.collection-hero {
  position: relative;
  padding: 4rem 0 3rem;
}

.hero-inner,
.page-hero-inner,
.collection-hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy,
.page-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

.hero-copy h1,
.page-copy h1,
.section-heading h2,
.collection-hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 3.8vw, 4.8rem);
  line-height: 0.95;
}

.hero-copy p,
.page-copy p,
.section-copy,
.card-copy,
.product-copy p,
.footer-copy,
.checkout-copy {
  color: var(--muted);
  font-size: 1rem;
  margin: 1.75rem 0 0;
  max-width: 540px;
}

.hero-actions,
.category-actions,
.filter-row,
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button,
.product-action,
.step-button {
  border-radius: 999px;
  padding: 1rem 1.6rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button-primary,
.product-action.primary,
.step-button.primary {
  color: #0b0b0c;
  background: linear-gradient(135deg, #e7cf8b 0%, #c79d51 100%);
}

.button-secondary,
.product-action.secondary,
.step-button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-tertiary {
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(199, 162, 85, 0.35);
}

.hero-media,
.collection-banner,
.product-card .product-image,
.product-detail-image,
.category-card .category-image,
.cart-item-image {
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-media {
  min-height: 580px;
  background-image: linear-gradient(180deg, rgba(11, 11, 12, 0.1), rgba(11, 11, 12, 0.55)),
    url('https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(199, 162, 85, 0.18), transparent 30%);
}

.hero-media .hero-frame {
  position: relative;
  z-index: 1;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero,
.collection-hero {
  padding: 5rem 0 3rem;
}

.page-hero {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.72) 0%, rgba(11, 11, 12, 0.95) 100%);
}

.page-hero-inner,
.collection-hero-inner {
  align-items: center;
}

.section-heading {
  margin: 0 0 2rem;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.section-subtitle,
.section-copy {
  margin-top: 0.85rem;
  color: var(--muted);
}

.category-grid,
.product-grid,
.special-grid,
.benefit-grid,
.cart-list {
  display: grid;
  gap: 1.5rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.special-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-grid,
.cart-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card,
.product-card,
.checkout-card,
.product-detail-panel,
.feature-card,
.collection-banner {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.category-card {
  display: grid;
  grid-template-rows: 260px auto;
}

.category-image,
.product-image,
.cart-item-image,
.collection-banner {
  min-height: 260px;
}

.category-copy,
.product-copy,
.card-body,
.checkout-card-body,
.product-detail-copy,
.footer-copy {
  padding: 1.7rem;
}

.category-card h3,
.product-card h3,
.feature-card h3,
.product-detail-copy h2,
.cart-item-title,
.checkout-card h3 {
  margin: 0 0 0.9rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
}

.product-card p,
.category-copy p,
.product-detail-copy p,
.checkout-card p,
.cart-item-meta {
  color: var(--muted);
  margin: 0;
}

.product-meta,
.product-detail-meta,
.checkout-summary,
.cart-total,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.product-meta {
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
}

.product-price,
.summary-price,
.cart-item-price,
.checkout-total {
  color: var(--gold);
  font-weight: 700;
}

.product-action {
  padding: 0.85rem 1rem;
  border-radius: 999px;
}

.product-card {
  display: grid;
  grid-template-rows: 260px auto;
}

.product-card .product-image {
  background-color: #111113;
}

.product-card .product-image::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
}

.product-card .product-copy {
  display: grid;
  gap: 1rem;
}

.category-label,
.product-category,
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.collection-banner {
  min-height: 360px;
}

.collection-banner .banner-copy {
  display: grid;
  gap: 1.2rem;
  padding: 2.2rem;
}

.collection-banner h2 {
  color: #ffffff;
}

.collection-banner p {
  color: rgba(255, 255, 255, 0.84);
}

.feature-card {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.feature-card h3 {
  font-size: 1.8rem;
}

.feature-card p {
  color: var(--muted);
}

.benefit-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
}

.benefit-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.filter-panel input,
.filter-panel select,
.select-field,
.form-field,
.custom-select,
.checkout-input,
.checkout-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 16px;
  padding: 1rem 1.2rem;
}

.filter-panel label,
.form-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-panel input::placeholder,
.checkout-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 100%);
  height: 100vh;
  background: rgba(11, 11, 12, 0.96);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: right 0.32s ease;
  padding: 1.5rem;
}

.cart-panel.open {
  right: 0;
}

.cart-panel-header,
.cart-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-panel-header h2 {
  margin: 0;
  font-size: 1.3rem;
}

.cart-panel-close {
  color: var(--muted);
  background: transparent;
  font-size: 1.4rem;
}

.cart-items {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
}

.cart-item-image {
  min-height: 90px;
  background-size: cover;
  background-position: center;
}

.cart-item-body {
  display: grid;
  gap: 0.75rem;
}

.cart-item-title {
  margin: 0;
  font-size: 1rem;
}

.cart-item-meta,
.cart-item-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.quantity-controls {
  display: inline-flex;
  gap: 0.35rem;
}

.quantity-button {
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text);
}

.cart-panel-footer {
  margin-top: 1.5rem;
  flex-direction: column;
  align-items: stretch;
}

.cart-total-label,
.cart-total-value {
  font-size: 1rem;
}

.cart-total-value {
  font-weight: 700;
  color: var(--gold);
}

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

.checkout-page {
  padding: 4rem 0 5rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.checkout-panel,
.checkout-summary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.checkout-panel h2,
.checkout-summary h2 {
  margin-top: 0;
}

.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-step {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.checkout-step.active {
  border: 1px solid rgba(199, 162, 85, 0.55);
}

.step-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkout-input,
.checkout-select {
  width: 100%;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.checkout-summary .cart-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.checkout-summary .summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-summary strong {
  color: #ffffff;
}

.footer {
  padding: 3rem 0 2rem;
  background: rgba(11, 11, 12, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.footer-copy,
.footer-list,
.footer-contact {
  color: var(--muted);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.footer-list a {
  color: var(--muted);
}

.footer-contact strong {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero-inner,
  .page-hero-inner,
  .collection-hero-inner,
  .checkout-layout,
  .category-grid,
  .product-grid,
  .special-grid,
  .benefit-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .page-hero,
  .collection-hero {
    padding-top: 3rem;
  }
}

@media (max-width: 720px) {
  .announcement-bar {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .cart-toggle {
    padding: 0.8rem 1rem;
  }

  .product-grid,
  .category-grid,
  .cart-list,
  .special-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

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

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 12, 0.96);
    z-index: 70;
    transform: translateY(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .mobile-menu .main-nav {
    display: grid;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .mobile-menu .main-nav a {
    color: var(--text);
    font-size: 1.1rem;
  }

  .mobile-menu .menu-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
  }
}
