:root {
  --ink: #172033;
  --muted: #667085;
  --paper: #f7f3ed;
  --cream: #fffaf2;
  --white: #fff;
  --accent: #bf5b3d;
  --accent-dark: #914029;
  --green: #3b9a65;
  --line: rgba(23, 32, 51, 0.14);
  --shadow: 0 24px 70px rgba(56, 35, 27, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell, .nav-shell, .site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  width: max-content;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 34px; }
nav a, .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
nav a:hover, .footer-links a:hover { color: var(--ink); }
.cart-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}
.cart-link span {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 0.78rem;
}
.message-stack {
  position: fixed;
  z-index: 100;
  top: 94px;
  right: 20px;
  width: min(380px, calc(100% - 40px));
}
.message {
  margin-bottom: 10px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}
.message.success { border-color: rgba(59, 154, 101, 0.35); }
.message.error { border-color: rgba(191, 65, 61, 0.35); }
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 72px;
  padding: 74px 0 62px;
}
.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
.hero h1, .page-hero h1, .product-info h1, .success-page h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.055em;
}
.hero h1 {
  max-width: 700px;
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.88;
}
.hero h1 em { color: var(--accent); font-weight: 600; }
.intro {
  max-width: 590px;
  margin: 32px 0;
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.7;
}
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 27px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  transition: 180ms ease;
}
.primary-button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.full-button { width: 100%; }
.status, .stock { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.status i, .stock i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(59, 154, 101, 0.12);
}
.hero-art {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 230px 230px 32px 32px;
  background: linear-gradient(145deg, #ead0b5, #ca7858);
  box-shadow: var(--shadow);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 270px; height: 270px; top: -65px; right: -45px; background: rgba(255, 243, 220, 0.5); }
.orb-two { width: 190px; height: 190px; bottom: -35px; left: -35px; background: rgba(126, 45, 29, 0.2); }
.glass {
  position: absolute;
  width: 190px;
  height: 260px;
  top: 115px;
  left: 50%;
  transform: translateX(-50%) rotate(-7deg);
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.66);
  border-top-width: 7px;
  border-radius: 10px 10px 76px 76px;
  box-shadow: inset -18px 0 25px rgba(255, 255, 255, 0.14), 0 28px 45px rgba(78, 32, 22, 0.2);
}
.drink { position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, #843820c7, #531d13eb); border-radius: 50% 50% 65px 65px; }
.shine { position: absolute; width: 12px; height: 142px; top: 24px; left: 24px; z-index: 2; border-radius: 20px; background: rgba(255, 255, 255, 0.44); }
.art-note { position: absolute; right: 28px; bottom: 24px; margin: 0; color: rgba(255,255,255,.82); font-family: "Playfair Display",serif; font-size: 1.05rem; text-align: right; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--cream);
}
.trust-strip div { padding: 25px; text-align: center; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip b, .trust-strip span { display: block; }
.trust-strip span { margin-top: 5px; color: var(--muted); font-size: .86rem; }
.product-section { padding: 96px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-heading h2, .story h2, .detail-content h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -.04em;
}
.section-heading > a { color: var(--accent); font-weight: 800; text-underline-offset: 5px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-visual {
  position: relative;
  min-height: 330px;
  display: block;
  overflow: hidden;
  background: #ead9c7;
}
.product-visual img { width: 100%; height: 330px; object-fit: cover; transition: transform 300ms ease; }
.product-card:hover .product-visual img { transform: scale(1.025); }
.visual-placeholder { width: 100%; min-height: inherit; display: grid; place-items: center; color: rgba(255,255,255,.8); background: linear-gradient(145deg,#e4c3a8,#bd684c); font: 700 7rem "Playfair Display",serif; }
.sale-badge { position: absolute; top: 16px; left: 16px; padding: 7px 11px; border-radius: 999px; color: white; background: var(--accent); font-size: .75rem; font-weight: 800; }
.product-card-body { padding: 25px; }
.product-kicker { margin: 0 0 10px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.product-card h3 { margin: 0; font: 700 1.55rem "Playfair Display",serif; }
.product-card h3 a { text-decoration: none; }
.product-card-body > p:not(.product-kicker) { min-height: 46px; margin: 12px 0 22px; color: var(--muted); line-height: 1.5; }
.product-card-foot { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.price { display: flex; flex-direction: column; gap: 3px; }
.price del { color: var(--muted); font-size: .82rem; }
.price strong { font-size: 1.16rem; }
.round-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; font-size: 1.3rem; }
.empty-state { padding: 75px 30px; border: 1px dashed var(--line); border-radius: 22px; background: var(--cream); text-align: center; }
.empty-state span { color: var(--accent); font-weight: 800; }
.empty-state h3 { margin: 10px 0; font: 700 2rem "Playfair Display",serif; }
.empty-state p { color: var(--muted); }
.empty-state .primary-button { margin-top: 16px; }
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; padding: 90px 0; border-top: 1px solid var(--line); }
.story > p { margin: 0 0 8px; color: var(--muted); font-size: 1.15rem; line-height: 1.8; }
.page-hero { padding: 90px 0 45px; }
.page-hero.compact { padding-bottom: 20px; }
.page-hero h1 { font-size: clamp(3.5rem, 7vw, 6.3rem); }
.page-hero > p:last-child { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.catalog-tools { display: flex; justify-content: flex-end; padding-bottom: 15px; }
.search-form { display: flex; gap: 8px; }
.search-form input { width: min(340px, 65vw); min-height: 48px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; background: white; }
.search-form button { padding: 0 22px; border: 0; border-radius: 999px; color: white; background: var(--ink); font-weight: 700; }
.catalog-section { padding-top: 30px; }
.product-detail { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; padding: 70px 0 100px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-content: start; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: #ead9c7; }
.gallery figure.gallery-main { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-main img { aspect-ratio: 1.12 / 1; }
.gallery > .visual-placeholder { min-height: 560px; grid-column: 1 / -1; border-radius: 22px; }
.product-info { position: sticky; top: 125px; align-self: start; padding-top: 20px; }
.product-info h1 { font-size: clamp(3.2rem, 5.8vw, 5.8rem); line-height: .95; }
.product-lead { margin: 24px 0; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.detail-price { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 16px; }
.detail-price strong { font-size: 2rem; }
.detail-price del { color: var(--muted); }
.stock { margin: 0 0 25px; font-size: .92rem; }
.out-stock { color: #a43c39; }
.add-form { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.add-form label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.add-form input { min-height: 52px; width: 100%; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-align: center; background: white; }
.purchase-notes { display: grid; gap: 9px; margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 90px 0; border-top: 1px solid var(--line); }
.rich-text { color: var(--muted); line-height: 1.8; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.feature-list li::before { content: "✓"; margin-right: 12px; color: var(--accent); }
.video-section { padding: 90px 0; border-top: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-grid video, .external-video { width: 100%; aspect-ratio: 16/10; border-radius: 20px; background: var(--ink); }
.external-video { display: grid; place-items: center; align-content: center; gap: 15px; color: white; text-decoration: none; font-weight: 800; }
.external-video span { font-size: 3rem; }
.video-grid h3 { font: 700 1.4rem "Playfair Display",serif; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 45px; align-items: start; padding: 30px 0 100px; }
.cart-items { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto auto auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 110px; height: 110px; overflow: hidden; border-radius: 14px; background: #ead9c7; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .visual-placeholder { min-height: 110px; font-size: 2rem; }
.cart-item h2 { margin: 0 0 7px; font: 700 1.25rem "Playfair Display",serif; }
.cart-item h2 a { text-decoration: none; }
.cart-item-copy span { color: var(--muted); font-size: .86rem; }
.quantity-form { display: flex; align-items: center; gap: 7px; }
.quantity-form input { width: 62px; min-height: 40px; border: 1px solid var(--line); border-radius: 9px; text-align: center; }
.quantity-form button { border: 0; color: var(--accent); background: transparent; font-weight: 700; }
.line-total { min-width: 95px; text-align: right; }
.remove-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 1.4rem; }
.order-summary { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); box-shadow: 0 15px 45px rgba(56,35,27,.06); }
.order-summary > div { display: flex; justify-content: space-between; gap: 20px; margin: 17px 0; color: var(--muted); }
.order-summary .summary-total { margin: 25px 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.15rem; }
.text-link { display: block; margin-top: 17px; color: var(--muted); text-align: center; text-underline-offset: 5px; }
.empty-state.wide { grid-column: 1 / -1; }
.checkout-form { display: grid; gap: 20px; }
.form-section { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.form-section h2 { margin: 0 0 24px; font: 700 1.6rem "Playfair Display",serif; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label, .wide-field { display: flex; flex-direction: column; gap: 8px; font-size: .87rem; font-weight: 700; }
.form-grid input, .form-grid textarea, .form-section select {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: white;
}
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .form-section select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(191,91,61,.1); }
.wide-field { grid-column: 1 / -1; }
.helper-text { margin: 10px 0 0; color: var(--muted); font-size: .82rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.consent input { margin-top: 3px; }
.errorlist, .form-errors { margin: 4px 0 0; padding: 0; list-style: none; color: #a43c39; font-size: .82rem; }
.checkout-summary { position: sticky; top: 105px; }
.checkout-line { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.success-page { max-width: 760px; padding: 110px 0; text-align: center; }
.success-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 28px; border-radius: 50%; color: white; background: var(--green); font-size: 2rem; }
.success-page h1 { font-size: clamp(3.5rem, 7vw, 6rem); }
.success-page > p:not(.eyebrow) { max-width: 620px; margin: 28px auto; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.success-summary { max-width: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px auto; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); text-align: left; }
.success-summary strong { text-align: right; }
.site-footer { display: flex; align-items: start; justify-content: space-between; gap: 40px; padding: 55px 0; border-top: 1px solid var(--line); }
.site-footer p { max-width: 390px; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; color: var(--muted); }
@media (max-width: 940px) {
  .hero, .product-detail { grid-template-columns: 1fr; }
  .hero { gap: 52px; }
  .hero-art { min-height: 470px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-info { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary, .checkout-summary { position: static; }
}
@media (max-width: 720px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr; }
  .story, .detail-content { grid-template-columns: 1fr; gap: 35px; }
  .video-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 85px 1fr auto; }
  .cart-thumb { width: 85px; height: 85px; }
  .cart-thumb .visual-placeholder { min-height: 85px; }
  .quantity-form { grid-column: 2; }
  .line-total { grid-column: 3; grid-row: 2; }
  .cart-item > form:last-child { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 520px) {
  .shell, .nav-shell, .site-footer { width: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 70px; }
  .hero { min-height: auto; padding-top: 50px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .hero-art { min-height: 380px; border-radius: 160px 160px 24px 24px; }
  .glass { width: 150px; height: 210px; top: 85px; }
  .page-hero { padding-top: 65px; }
  .page-hero h1, .product-info h1, .success-page h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .product-section { padding: 68px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-visual, .product-visual img { min-height: 300px; height: 300px; }
  .gallery > .visual-placeholder { min-height: 380px; }
  .add-form { grid-template-columns: 75px 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .cart-layout, .checkout-layout { padding-bottom: 70px; }
  .cart-item { gap: 12px; }
  .quantity-form button { display: none; }
  .site-footer { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}
