:root {
  color-scheme: light;
  --ink: #3e2824;
  --muted: #8b7770;
  --rose: #d87865;
  --rose-dark: #bf604e;
  --cream: #fffaf6;
  --peach: #f7e8df;
  --line: #eee3dc;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.site-header {
  width: min(1120px, calc(100% - 64px));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 700; letter-spacing: -1.5px; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--rose); color: white; font-size: 17px; }
.brand-accent { color: var(--rose); }
.main-nav { display: flex; gap: 38px; color: #705c56; font-size: 13px; font-weight: 600; }
.main-nav a:hover, .text-button:hover { color: var(--rose-dark); }
.cart-button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 30px; background: white; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .2s, transform .2s; }
.cart-button:hover { transform: translateY(-1px); border-color: var(--rose); }
.cart-button > span:first-child { font-size: 17px; color: var(--rose); }
.cart-count { display: grid; min-width: 20px; height: 20px; padding: 0 5px; place-items: center; border-radius: 20px; background: var(--rose); color: white; font-size: 10px; }

.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: min(1120px, calc(100% - 64px)); min-height: 480px; margin: auto; overflow: hidden; }
.hero-copy { z-index: 1; padding: 31px 0 54px 25px; }
.eyebrow { color: var(--rose-dark); font-size: 9px; font-weight: 700; letter-spacing: 1.8px; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #d99a78; vertical-align: 1px; }
h1, h2, p { margin-top: 0; }
.hero h1 { margin: 19px 0 16px; font: 600 clamp(43px, 5.3vw, 64px)/1.13 var(--serif); letter-spacing: -1.9px; }
h1 em, h2 em { color: var(--rose); font-weight: 600; }
.hero-copy > p { max-width: 390px; margin-bottom: 25px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.primary-button { display: inline-flex; align-items: center; gap: 25px; padding: 13px 18px; border-radius: 5px; background: var(--rose); color: white; font-size: 11px; font-weight: 700; box-shadow: 0 7px 17px #d8786530; transition: background .2s, transform .2s; }
.primary-button:hover, .checkout-button:hover { transform: translateY(-2px); background: var(--rose-dark); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 10px; }
.note-stars { color: #d69a58; font-size: 12px; letter-spacing: 2px; }
.hero-art { position: relative; display: grid; min-height: 400px; place-items: center; }
.art-circle { position: absolute; width: min(360px, 80%); aspect-ratio: 1; border-radius: 50%; background: #f7e8df; }
.art-circle::before, .art-circle::after { position: absolute; content: ""; border: 1px solid #e8cabe; border-radius: 50%; }
.art-circle::before { inset: 20px; }
.art-circle::after { inset: -14px; border-color: #f1dfd5; }
.hero-photo { z-index: 1; width: min(340px, 76%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 14px 22px 35px #bd725b30; }
.art-sparkle { position: absolute; z-index: 2; color: var(--rose); }
.sparkle-one { top: 57px; left: 18%; font-size: 25px; }
.sparkle-two { top: 86px; right: 15%; font-size: 21px; }
.sparkle-three { bottom: 76px; left: 16%; font-size: 29px; }
.art-caption { position: absolute; right: 5%; bottom: 34px; display: flex; flex-direction: column; padding: 12px 17px; border-radius: 3px; background: white; box-shadow: 0 8px 24px #684a3714; font: italic 14px var(--serif); transform: rotate(-4deg); }
.art-caption strong { color: var(--rose-dark); font-size: 17px; }
.art-sticker { position: absolute; top: 62px; right: 8%; z-index: 2; display: grid; width: 63px; height: 63px; place-content: center; border: 1px dashed white; border-radius: 50%; background: #b4b988; color: white; font-size: 10px; line-height: 1.3; text-align: center; transform: rotate(12deg); }

.benefits { display: flex; justify-content: center; gap: clamp(40px, 9vw, 120px); padding: 24px 24px; border-top: 1px solid #f1e8e2; border-bottom: 1px solid #f1e8e2; background: #fffdfb; }
.benefits > div { display: flex; align-items: center; gap: 12px; }
.benefit-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #fbefea; color: var(--rose); font-size: 18px; }
.benefits strong, .benefits small { display: block; }
.benefits strong { margin-bottom: 3px; font-size: 11px; }
.benefits small { color: var(--muted); font-size: 9px; }

.menu-section { width: min(1050px, calc(100% - 64px)); margin: 0 auto; padding: 76px 0 82px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 26px; }
.section-heading h2 { margin: 8px 0 0; font: 600 38px/1.2 var(--serif); letter-spacing: -1px; }
.section-heading > p { margin: 0 2px 6px 0; color: var(--muted); font-size: 11px; }
.filters { display: flex; gap: 9px; margin-bottom: 23px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-button { flex: 0 0 auto; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; background: transparent; color: #806d66; font-size: 10px; cursor: pointer; transition: .2s; }
.filter-button:hover, .filter-button.active { border-color: var(--rose); background: var(--rose); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid #f0e7e1; border-radius: 7px; background: white; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #69433312; }
.product-image { position: relative; height: 170px; overflow: hidden; background: #f6e5dc; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 9px; border-radius: 20px; background: #fffdfbdf; color: #99715f; font-size: 8px; font-weight: 700; }
.product-info { padding: 15px 15px 14px; }
.product-info h3 { margin: 0 0 5px; font: 600 17px var(--serif); }
.product-info p { min-height: 30px; margin: 0 0 13px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { color: var(--rose-dark); font-size: 12px; font-weight: 700; }
.add-button { display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 50%; background: #faeee9; color: var(--rose-dark); font-size: 19px; cursor: pointer; transition: .2s; }
.add-button:hover { background: var(--rose); color: white; }
.no-products { grid-column: 1 / -1; padding: 40px; color: var(--muted); text-align: center; }

.story-section { position: relative; padding: 49px 20px; background: #f8ece5; text-align: center; }
.story-section p { margin-bottom: 9px; font: italic 22px var(--serif); }
.story-section > span:last-child { color: var(--muted); font-size: 10px; }
.story-sparkle { position: absolute; top: 27px; right: calc(50% - 185px); color: var(--rose); font-size: 19px; }
.site-footer { display: flex; width: min(1120px, calc(100% - 64px)); min-height: 83px; margin: auto; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 20px; }
.footer-brand .brand-mark { width: 26px; height: 26px; font-size: 14px; }
.site-footer p, .site-footer > span { margin: 0; color: var(--muted); font-size: 9px; }

.overlay { position: fixed; inset: 0; z-index: 9; background: #2e201c75; opacity: 0; transition: opacity .25s; }
.overlay.visible { opacity: 1; }
.cart-panel { position: fixed; top: 0; right: 0; z-index: 10; display: flex; flex-direction: column; width: min(410px, 100%); height: 100dvh; padding: 27px; background: var(--cream); box-shadow: -10px 0 35px #3e28241a; transform: translateX(105%); transition: transform .28s ease; }
.cart-panel.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-header h2 { margin: 5px 0 0; font: 600 27px var(--serif); }
.icon-button { width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 22px; line-height: 1; cursor: pointer; }
.cart-items { flex: 1; padding: 8px 0; overflow-y: auto; }
.cart-row { display: grid; grid-template-columns: 55px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: block; width: 55px; height: 55px; overflow: hidden; border-radius: 6px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { margin-bottom: 5px; font: 600 13px var(--serif); }
.cart-item-price { color: var(--muted); font-size: 10px; }
.quantity-control { display: flex; align-items: center; gap: 8px; }
.quantity-control button { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 14px; cursor: pointer; }
.quantity-control span { min-width: 10px; font-size: 11px; text-align: center; }
.empty-cart { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-cart > span { margin-bottom: 12px; font-size: 42px; }
.empty-cart strong { font: 600 17px var(--serif); }
.empty-cart p { margin: 7px 0 16px; color: var(--muted); font-size: 11px; }
.text-button { padding: 5px; border: 0; background: none; color: var(--rose-dark); font-size: 11px; font-weight: 700; cursor: pointer; }
.cart-summary { padding-top: 18px; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.subtotal-row strong { color: var(--rose-dark); font-size: 17px; }
.cart-summary > p { margin: 8px 0 15px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.checkout-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 16px; border: 0; border-radius: 5px; background: var(--rose); color: white; font-size: 11px; font-weight: 700; cursor: pointer; transition: .2s; }
.toast { position: fixed; right: 25px; bottom: 24px; z-index: 12; padding: 12px 17px; border-radius: 5px; background: var(--ink); color: white; font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
body.cart-open { overflow: hidden; }

@media (max-width: 720px) {
  .site-header, .hero, .menu-section, .site-footer { width: min(100% - 36px, 540px); }
  .site-header { height: 70px; }
  .main-nav { gap: 16px; font-size: 11px; }
  .main-nav a:nth-child(2) { display: none; }
  .cart-button { gap: 6px; padding: 8px 10px; font-size: 10px; }
  .brand { font-size: 22px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 31px 0 0; }
  .hero h1 { font-size: clamp(43px, 11vw, 59px); }
  .hero-copy > p { max-width: 360px; }
  .hero-art { min-height: 315px; margin: 1px 0 18px; }
  .hero-photo { width: min(285px, 76%); }
  .art-circle { width: 285px; }
  .art-sticker { top: 35px; right: 12%; }
  .art-caption { right: 10%; bottom: 18px; }
  .benefits { justify-content: space-around; gap: 11px; padding: 17px 10px; }
  .benefits > div { gap: 7px; }
  .benefit-icon { width: 31px; height: 31px; font-size: 15px; }
  .benefits strong { font-size: 9px; }
  .benefits small { font-size: 8px; }
  .menu-section { padding: 57px 0 61px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 34px; }
  .section-heading > p { margin-top: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-image { height: 138px; }
  .product-info { padding: 12px 11px; }
  .product-info h3 { font-size: 15px; }
  .product-info p { min-height: 32px; font-size: 9px; }
  .product-price { font-size: 11px; }
  .site-footer { flex-wrap: wrap; gap: 8px; padding: 20px 0; }
  .site-footer p { order: 3; width: 100%; }
  .story-section p { font-size: 18px; }
}

@media (max-width: 370px) {
  .main-nav { display: none; }
  .benefits small { font-size: 7px; }
  .product-grid { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
