:root {
  --bg: #f8f6f3;
  --surface-strong: #ffffff;
  --text: #1a1a1a;
  --muted: #6d6458;
  --accent: #d4af37;
  --accent-deep: #af8922;
  --border: rgba(177, 152, 109, 0.18);
  --shadow-soft: 0 18px 50px rgba(46, 32, 15, 0.08);
  --shadow-hover: 0 24px 60px rgba(46, 32, 15, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
  --ease-premium: 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 32%),
    linear-gradient(180deg, #fdfbf8 0%, var(--bg) 42%, #f4efe8 100%);
}

body.modal-open {
  overflow: hidden;
  touch-action: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

button:disabled {
  opacity: 0.7;
  cursor: default;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.hero {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.hero__eyebrow,
.section-heading__kicker,
.product-detail__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hero h1,
.section-heading h2,
.product-detail h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 11ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}

.hero__copy,
.section-heading {
  color: var(--muted);
}

.hero__copy {
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  max-width: 13ch;
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 246, 0.9));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform var(--ease-premium),
    box-shadow var(--ease-premium),
    border-color var(--ease-premium);
  -webkit-tap-highlight-color: transparent;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255, 248, 233, 0.55));
  pointer-events: none;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 175, 55, 0.36);
}

.product-card:active {
  transform: scale(0.985);
}

.product-card:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.28);
  outline-offset: 3px;
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #efe8de;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.product-card:hover .product-card__media img,
.product-card:focus-visible .product-card__media img {
  transform: scale(1.08);
}

.product-card__body {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.product-card__name {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.product-card__price {
  font-weight: 700;
  color: var(--accent-deep);
}

.product-card__view {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.product-card__view::after {
  content: "->";
  color: var(--accent-deep);
  transition: transform var(--ease-premium);
}

.product-card:hover .product-card__view::after,
.product-card:focus-visible .product-card__view::after {
  transform: translate(2px, -2px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: end;
  background: rgba(21, 16, 9, 0.5);
  backdrop-filter: blur(8px);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.product-modal {
  position: relative;
  width: 100%;
  max-height: 100vh;
  overflow: auto;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%),
    var(--surface-strong);
  box-shadow: 0 -10px 40px rgba(31, 20, 8, 0.14);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease;
}

.modal-backdrop.is-visible .product-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: sticky;
  top: 1rem;
  left: calc(100% - 3.75rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 1rem 1rem 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(31, 20, 8, 0.08);
  cursor: pointer;
}

.modal-close span {
  font-size: 1.8rem;
  line-height: 1;
}

.product-detail {
  display: grid;
  gap: 1.25rem;
  padding: 0 1rem 1rem;
}

.product-detail__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f0e8dc;
}

.product-detail__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}

.product-detail__content {
  padding: 0.25rem 0 1rem;
}

.product-detail h3 {
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.product-detail__price {
  margin: 0.85rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.product-detail__description {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-detail__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 3.4rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, #ddbd58, var(--accent));
  color: #221a0d;
  box-shadow: 0 12px 24px rgba(212, 175, 55, 0.24);
}

.button--secondary {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.32);
  color: var(--text);
}

@media (min-width: 640px) {
  .page-shell {
    width: min(calc(100% - 2.5rem), var(--container));
    padding-bottom: 5rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .modal-backdrop {
    place-items: center;
    padding: 1.5rem;
  }

  .product-modal {
    max-width: min(920px, 100%);
    max-height: min(88vh, 900px);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(31, 20, 8, 0.18);
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 1.5rem;
    padding: 0 1.5rem 1.5rem;
  }

  .product-detail__content {
    padding-right: 1rem;
  }

  .product-detail__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 3.5rem 0 3rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .product-card__body {
    padding: 1.1rem 1.15rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}



.container {
  width: min(calc(100% - 1.5rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 246, 243, 0.78);
  border-bottom: 1px solid rgba(28, 27, 26, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img{
  width: 200px;
}

.nav-links {
  position: fixed;
  top: 74px;
  left: 0.75rem;
  right: 0.75rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
  background: rgba(255, 250, 245, 0.96);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    min-height: auto;
    padding: 0.5rem 0.9rem;
  }
}