:root {
  --bg: #eef1f4;
  --bg-deep: #e4e9ef;
  --surface: rgba(255, 255, 255, 0.72);
  --ink: #18212b;
  --muted: #5d6a78;
  --line: rgba(24, 33, 43, 0.12);
  --accent: #2f5d50;
  --accent-soft: #d7e5df;
  --danger: #8a2f3b;
  --shadow: 0 18px 50px rgba(24, 33, 43, 0.08);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(47, 93, 80, 0.16), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(24, 33, 43, 0.08), transparent 55%),
    linear-gradient(180deg, #f5f7f9 0%, var(--bg) 45%, var(--bg-deep) 100%);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  pointer-events: none;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(238, 241, 244, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #f4f6f8;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-link {
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
}
.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: flex; }

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f4ef;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.18) 0%, rgba(14, 18, 24, 0.55) 55%, rgba(14, 18, 24, 0.82) 100%),
    url("https://images.unsplash.com/photo-1469334031218-e382a71b716b?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 620px;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  letter-spacing: 0.16em;
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: rise 0.9s ease both;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  animation: rise 0.9s ease 0.12s both;
}
.hero p {
  margin: 0 0 1.6rem;
  max-width: 36ch;
  color: rgba(247, 244, 239, 0.86);
  animation: rise 0.9s ease 0.22s both;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  animation: rise 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #f7f4ef; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: #f7f4ef;
  border-color: rgba(247, 244, 239, 0.35);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.section { padding: 4.2rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d8dee6;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.product-meta { display: grid; gap: 0.25rem; }
.product-cat {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.15;
}
.product-price {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-weight: 600;
}
.product-price .old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.9rem;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.category-tile {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(14, 18, 24, 0.72));
}
.category-tile:hover img { transform: scale(1.06); }
.category-tile span {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.story-panel {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.story h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
}
.story p { color: var(--muted); margin-top: 0; }
.story-visual {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(160deg, rgba(47, 93, 80, 0.2), transparent 40%),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1200&q=80") center/cover;
  animation: floatSoft 6s ease-in-out infinite;
}

.page-hero {
  padding: 2.8rem 0 1.4rem;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
}
.page-hero p { color: var(--muted); margin: 0.5rem 0 0; }

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  padding-bottom: 3rem;
}
.detail-media {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: #d7dde5;
  aspect-ratio: 4/5;
}
.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-info h1 {
  margin: 0.4rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
}
.detail-price {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.detail-price .old {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
  font-size: 1rem;
}
.detail-desc { color: var(--muted); margin-bottom: 1.3rem; }
.option-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.option-row label { font-size: 0.85rem; font-weight: 600; }
.option-row select,
.qty-input {
  width: 100%;
  max-width: 220px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 0.85rem;
}
.detail-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.3rem 0 1rem; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  background: rgba(255,255,255,0.7);
}
.embed-slot { margin-top: 1.5rem; }

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-table th,
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.5);
}
.cart-item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-summary {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.flash {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.flash-success { border-color: rgba(47, 93, 80, 0.35); background: var(--accent-soft); }
.flash-error { border-color: rgba(138, 47, 59, 0.3); background: #f7e8ea; color: var(--danger); }
.empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-copy { color: var(--muted); max-width: 36ch; }
.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-strip,
  .story,
  .product-detail,
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}
@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 1.5rem)); }
  .product-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: start; }
}
