:root {
  color-scheme: light;
  --ink: #45281e;
  --muted: #6d4e43;
  --pink: #f0c5cc;
  --paper: #fcf8f4;
  --line: #e7d9d1;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; }
button, .action { font: inherit; font-weight: 650; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #9b4e64; outline-offset: 3px; }
.shell, .nav { width: min(1120px, 100% - 40px); margin-inline: auto; }
header { position: sticky; top: 0; z-index: 1; background: var(--ink); color: #fff2ef; }
.nav { height: 70px; display: flex; align-items: center; gap: 22px; }
.brand { margin-right: auto; display: flex; align-items: center; }
.brand img { width: 79px; height: auto; }
.nav-menu { text-decoration: none; }
.nav .light { border-color: #b98d82; color: #fff2ef; min-height: 42px; }
#count { margin-left: 5px; color: var(--pink); }
.hero { display: grid; grid-template-columns: 1fr 1fr; padding-block: 30px; }
.intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: var(--pink); padding: clamp(26px, 6vw, 74px); border-radius: 24px 0 0 24px; }
.hero-image { display: block; width: 100%; height: 100%; min-height: 390px; max-height: 485px; object-fit: cover; object-position: 50% 58%; border-radius: 0 24px 24px 0; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.55rem, 5.25vw, 5.1rem); font-weight: 500; letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; font-weight: 500; }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.035em; font-weight: 500; }
p { margin: 12px 0; color: var(--muted); }
.intro p { margin-block: 18px 24px; }
.action, .primary { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 11px 18px; background: var(--ink); color: white; text-decoration: none; }
.light { border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); padding: 8px 15px; }
button:disabled { opacity: .5; cursor: default; }
.shop { padding-block: 16px 54px; scroll-margin-top: 86px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 20px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.card:nth-child(2) { background: #fae9eb; }
.product-photo { display: block; width: 100%; height: 145px; object-fit: cover; }
.card-body { padding: clamp(17px, 3vw, 28px); }
.options { margin-top: 14px; }
.option { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(9px, 2vw, 20px); align-items: center; border-top: 1px solid var(--line); padding-block: 12px; }
.meta { display: block; color: var(--muted); font-size: .9rem; }
.price { white-space: nowrap; }
.add { background: var(--ink); color: white; border-color: var(--ink); min-height: 44px; }
footer { border-top: 1px solid var(--line); padding-block: 20px 86px; }
.foot { display: flex; justify-content: space-between; gap: 15px; }
.floating { position: fixed; z-index: 2; bottom: max(16px, env(safe-area-inset-bottom)); right: max(20px, calc((100vw - 1120px) / 2)); box-shadow: 0 5px 24px #45281e40; }
dialog { width: min(94%, 520px); border: 1px solid var(--line); border-radius: 20px; padding: clamp(16px, 4vw, 24px); color: var(--ink); background: var(--paper); max-height: 90dvh; }
dialog::backdrop { background: #30191788; }
.order-head, .line, .total { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qty { display: flex; gap: 8px; align-items: center; }
.qty button { min-width: 44px; height: 44px; padding: 0; }
.total { margin: 20px 0 8px; }
.notice { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 650px) {
  .shell, .nav { width: calc(100% - 28px); }
  .hero { grid-template-columns: 1fr; padding-block: 14px; }
  .intro { border-radius: 20px 20px 0 0; }
  .hero-image { min-height: 0; height: 190px; border-radius: 0 0 20px 20px; }
  .grid { grid-template-columns: 1fr; }
  .floating { right: 14px; }
}

.cookie-photos { display: grid; grid-template-columns: 3fr 2fr; gap: 2px; }
.cookie-photos .product-photo { height: clamp(160px, 20vw, 245px); }
