@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  color-scheme: light;
  --paper: #f6f2e8;
  --paper-deep: #eee7d8;
  --ink: #263f50;
  --ink-soft: #536b73;
  --green: #47775c;
  --green-deep: #345b46;
  --green-pale: #e2eadf;
  --yellow: #f4c84d;
  --coral: #df7656;
  --blue-pale: #dce9ee;
  --line: #d8d4c8;
  --white: #fffdf7;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ad5d42; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 76px; padding: 0 clamp(22px, 6.4vw, 104px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(38,63,80,.1); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 16px; }
.header-note { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.header-sparkle { color: var(--coral); font-size: 18px; }

.hero { min-height: 494px; max-width: 1440px; margin: 0 auto; padding: 60px clamp(28px, 10vw, 152px) 56px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(340px, .92fr) minmax(350px, 1.08fr); align-items: center; gap: 30px; background: var(--blue-pale); }
.hero-copy { position: relative; z-index: 1; max-width: 490px; }
.hero-kicker, .section-kicker, .dialog-kicker { margin: 0; color: var(--green-deep); font-size: 12px; font-weight: 700; letter-spacing: .055em; }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 17px; }
.hero-kicker span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 17px; font-family: var(--serif); font-size: clamp(52px, 6.1vw, 82px); line-height: .96; font-weight: 600; letter-spacing: -.055em; }
.hero h1 span { color: var(--green); }
.hero-intro { max-width: 405px; margin: 0; color: #4d6470; font-size: 15px; line-height: 1.68; }
.hero-cta { margin-top: 24px; display: inline-flex; gap: 20px; align-items: center; padding: 12px 16px 12px 19px; border-radius: 5px; background: var(--green); color: white; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .18s, transform .18s; }
.hero-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.hero-cta span { font-size: 18px; line-height: .7; }
.hero-count { margin-top: 18px; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; }
.count-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero-art { min-height: 335px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.sun { position: absolute; top: 14px; right: 15%; width: 94px; height: 94px; border-radius: 50%; background: var(--yellow); }
.cloud { position: absolute; height: 17px; border-radius: 50px; background: rgba(255,253,247,.8); }
.cloud::before, .cloud::after { content: ''; position: absolute; bottom: 2px; border-radius: 50%; background: inherit; }
.cloud::before { left: 13px; width: 29px; height: 29px; }.cloud::after { left: 34px; width: 21px; height: 22px; }
.cloud-one { top: 69px; left: 13%; width: 74px; }.cloud-two { top: 115px; right: 2%; width: 54px; opacity: .55; transform: scale(.8); }
.hero-train { position: absolute; width: min(100%, 560px); height: auto; bottom: 44px; left: 50%; transform: translateX(-50%); overflow: visible; }
.art-caption { position: absolute; bottom: 0; right: 5%; display: flex; align-items: center; gap: 7px; color: #61767e; font-size: 11px; font-weight: 600; }
.caption-star { color: var(--coral); font-size: 17px; }
.hero-decoration { position: absolute; color: var(--coral); }.deco-one { right: 5%; top: 39px; font-size: 23px; }.deco-two { left: 46%; top: 80px; color: #dba62c; font-size: 19px; }

.how-it-works { max-width: 1120px; margin: 0 auto; padding: 26px 36px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.how-step { min-width: 220px; display: flex; align-items: center; gap: 13px; }
.step-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 23px; line-height: 1; }
.step-search { background: #e8e0c9; color: var(--ink); font-size: 30px; transform: rotate(-15deg); }.step-gift { background: #f2dfbb; color: #9a603c; }.step-heart { background: #e4e9dc; color: var(--green); font-size: 27px; }
.how-step p { margin: 0; display: grid; gap: 3px; }.how-step strong { font-size: 12px; }.how-step p span { color: #718083; font-size: 11px; }
.step-line { flex: 1; max-width: 67px; border-top: 1px dashed #b9b5aa; margin: 0 14px; }

.wishlist-section { max-width: 1120px; margin: 0 auto; padding: 67px 36px 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-kicker { margin-bottom: 8px; color: var(--coral); }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.3vw, 48px); font-weight: 600; letter-spacing: -.04em; }
.search-box { width: min(290px, 37%); display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #ccc9bd; border-radius: 4px; background: rgba(255,253,247,.72); color: #758286; }
.search-box > span:first-child { font-size: 24px; transform: rotate(-15deg); }
.search-box input { width: 100%; height: 43px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }.search-box input::placeholder { color: #889393; }
.category-scroller { display: flex; gap: 8px; overflow: auto; padding: 1px 2px 13px; scrollbar-width: thin; scrollbar-color: #c4bcaa transparent; }
.category-chip { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #d6d1c4; border-radius: 999px; background: transparent; color: #536970; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.category-chip:hover { border-color: var(--green); }.category-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.category-chip .chip-count { margin-left: 5px; opacity: .65; font-size: 10px; }
.gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gift-card { min-height: 104px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 17px; border: 1px solid #ded9cd; border-radius: 5px; background: var(--white); transition: background .18s, border-color .18s; }
.gift-card:hover { border-color: #b8c4b1; background: #fffefb; }
.gift-card.is-reserved { border-color: #d8ded1; background: #edf0e8; }
.gift-main { min-width: 0; }.gift-category { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 5px; color: var(--green); font-size: 10px; font-weight: 700; }
.gift-category::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gift-name { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }.gift-note-small { margin: 5px 0 0; color: #788381; font-size: 10px; line-height: 1.35; }
.gift-actions { min-width: 130px; display: grid; justify-items: stretch; gap: 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 12px; border: 1px solid transparent; border-radius: 4px; font-size: 10px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background .16s, border .16s, color .16s; }
.button-reserve { background: var(--green); color: white; }.button-reserve:hover { background: var(--green-deep); }
.button-reserved { background: #e1e7dc; color: #436348; cursor: default; }.button-other { background: transparent; border-color: #cdd4c7; color: #687b69; cursor: default; }
.shop-link { justify-self: center; color: #6a7c7e; font-size: 10px; text-decoration: underline; text-decoration-color: #b6c1bd; text-underline-offset: 3px; }.shop-link:hover { color: var(--green-deep); }
.no-results { margin: 24px 0; padding: 26px; border: 1px dashed #cac5b8; color: #657579; font-size: 13px; text-align: center; }
.list-status { min-height: 35px; display: flex; align-items: center; gap: 8px; color: #7c8681; font-size: 11px; }.list-status[hidden] { display: none; }.status-spinner { width: 12px; height: 12px; border: 2px solid #d4d7cb; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }.list-status.is-error .status-spinner { border: 0; background: var(--coral); animation: none; }
.gift-note { margin: 22px 0 0; color: #718083; font-size: 11px; }.gift-note span { margin-right: 5px; color: var(--coral); }

.closing-note { max-width: 1120px; margin: 0 auto; padding: 23px 36px 28px; display: flex; align-items: center; justify-content: center; gap: 20px; border-top: 1px solid var(--line); text-align: center; }
.closing-note p { margin: 0; color: #617278; font-family: var(--serif); font-size: 16px; line-height: 1.6; }.closing-note strong { color: var(--green-deep); font-size: 18px; }
.closing-sparkle { color: var(--coral); font-size: 20px; }
.site-footer { min-height: 61px; padding: 14px 32px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #e5e9e2; font-size: 10px; letter-spacing: .025em; }.footer-heart { color: #ef9879; }

.reserve-dialog { width: min(460px, calc(100% - 32px)); padding: 30px; border: 1px solid #d8d3c6; border-radius: 9px; background: var(--paper); color: var(--ink); box-shadow: 0 22px 80px rgba(28,48,54,.22); text-align: center; }.reserve-dialog::backdrop { background: rgba(31,49,54,.48); backdrop-filter: blur(3px); }
.dialog-close-form { position: absolute; top: 9px; right: 11px; }.dialog-close { width: 32px; height: 32px; border: 0; background: transparent; color: #62757a; font-size: 24px; cursor: pointer; }.dialog-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; margin-bottom: 14px; border-radius: 50%; background: var(--yellow); font-size: 22px; }.dialog-kicker { margin-bottom: 8px; color: var(--coral); }.reserve-dialog h2 { max-width: 320px; margin: 0 auto 10px; font-family: var(--serif); font-size: 27px; line-height: 1.14; letter-spacing: -.025em; }.dialog-item { margin: 0; color: var(--green-deep); font-size: 13px; font-weight: 700; }.dialog-help { margin: 16px 0 20px; color: #687b7c; font-size: 12px; line-height: 1.6; }.dialog-actions { display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }.button-quiet { border-color: #c8c7bb; background: transparent; color: #566d70; }.button-quiet:hover { background: #ece8dc; }.button-confirm { background: var(--green); color: white; }.button-confirm:hover { background: var(--green-deep); }.button-confirm:disabled { opacity: .65; cursor: wait; }.dialog-error { margin: 13px 0 0; color: #a24231; font-size: 11px; }
.toast { position: fixed; z-index: 5; right: 20px; bottom: 20px; max-width: min(360px, calc(100vw - 40px)); padding: 12px 16px; border-radius: 5px; background: var(--ink); color: white; font-size: 12px; box-shadow: 0 9px 30px rgba(38,63,80,.18); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }.toast.show { opacity: 1; transform: translateY(0); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .site-header { height: 63px; padding-inline: 20px; }.header-note { font-size: 11px; }
  .hero { min-height: 620px; grid-template-columns: 1fr; gap: 0; padding: 45px 26px 34px; }.hero-copy { max-width: 520px; }.hero h1 { font-size: clamp(58px, 13vw, 78px); }.hero-intro { max-width: 500px; font-size: 14px; }.hero-art { min-height: 260px; margin: -1px -6px 0; }.hero-train { width: min(100%, 470px); bottom: 33px; }.sun { width: 71px; height: 71px; right: 17%; top: 8px; }.cloud-one { top: 42px; }.cloud-two { top: 83px; }.deco-one { top: 25px; }.deco-two { top: 66px; }.art-caption { bottom: 2px; right: 1%; }
  .how-it-works { padding: 22px 21px; justify-content: space-between; gap: 8px; }.how-step { min-width: 0; flex: 1; gap: 8px; }.step-icon { flex-basis: 35px; width: 35px; height: 35px; font-size: 19px; }.how-step strong { font-size: 10px; }.how-step p span { max-width: 100px; font-size: 9px; line-height: 1.3; }.step-line { flex: 0 0 16px; max-width: 16px; margin: 0 2px; }
  .wishlist-section { padding: 49px 20px 36px; }.section-heading { align-items: start; flex-direction: column; gap: 16px; }.section-heading h2 { font-size: 39px; }.search-box { width: 100%; }.gift-grid { grid-template-columns: 1fr; }.gift-card { min-height: 98px; padding: 14px; }.gift-actions { min-width: 118px; }.closing-note { padding-inline: 20px; }.site-footer { text-align: center; }
}
@media (max-width: 420px) {
  .brand { gap: 7px; font-size: 12px; }.header-note { gap: 5px; font-size: 10px; }.hero { padding-inline: 20px; }.hero-art { min-height: 235px; }.how-it-works { padding-inline: 14px; }.step-line { display: none; }.how-step { flex-direction: column; align-items: flex-start; gap: 7px; }.how-step p span { max-width: 105px; }.wishlist-section { padding-inline: 15px; }.gift-card { grid-template-columns: minmax(0,1fr) 111px; gap: 8px; }.gift-actions { min-width: 0; }.button { padding-inline: 8px; font-size: 9px; }.shop-link { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
