:root {
  --cream: #fbf4eb;
  --paper: #fffaf5;
  --rose: #f1dedc;
  --berry: #72293f;
  --ink: #39262b;
  --muted: #765b60;
  --line: #e6d3c8;
  --gold: #8d5e37;
}
body { margin: 0; background: var(--cream); color: var(--ink); }
.gift-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.gift-skip { position: fixed; z-index: 99; inset: 8px 8px auto auto; padding: 10px 20px; background: var(--paper); color: var(--berry); transform: translateY(-160%); }
.gift-skip:focus { transform: none; }
[hidden] { display: none !important; }
.gift-strip { background: var(--berry); color: #fff8f0; font-size: .81rem; }
.gift-strip-inner, .gift-header, .gift-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gift-strip a, .gift-footer a { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.gift-strip a:hover, .gift-footer a:hover { text-decoration: underline; }
.gift-demo { opacity: .94; }
.gift-header { min-height: 91px; border-bottom: 1px solid var(--line); }
.gift-wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--berry); }
.gift-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid #b88769; border-radius: 50%; color: var(--gold); font-size: 1.35rem; }
.gift-wordmark strong, .gift-wordmark bdi { display: block; }
.gift-wordmark strong { font-size: 1.73rem; line-height: 1.12; font-weight: 900; }
.gift-wordmark bdi { color: var(--gold); margin-block-start: 4px; font: 700 .58rem/1.4 system-ui, sans-serif; letter-spacing: .15em; }
.gift-nav { display: flex; gap: clamp(18px, 4vw, 52px); }
.gift-nav a { color: var(--muted); display: grid; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 700; text-decoration: none; }
.gift-nav a:hover { color: var(--berry); text-decoration: underline; text-underline-offset: 5px; }
.gift-basket { display: flex; align-items: center; gap: 8px; padding: 8px 15px; min-height: 44px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--berry); font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; }
.gift-basket span { display: grid; place-items: center; color: white; background: var(--berry); min-width: 24px; height: 24px; border-radius: 50%; font: 700 .75rem/1 system-ui, sans-serif; }
.gift-basket:hover { border-color: var(--berry); }
.gift-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 7vw, 108px); align-items: center; padding-block: clamp(40px, 5vw, 78px) 74px; }
.gift-hero-copy { padding-block: 10px 20px; }
.gift-eyebrow { margin: 0 0 10px; color: var(--gold); font-size: .86rem; font-weight: 800; }
.gift-eyebrow span { margin-inline-end: 3px; }
.gift-hero h1 { margin: 0; color: var(--ink); font-size: clamp(3rem, 7vw, 6.1rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.24; }
.gift-hero h1 em { color: var(--berry); font-style: normal; }
.gift-lead { max-width: 29ch; margin-block: 19px 27px; color: var(--muted); font-size: clamp(1rem, 1.56vw, 1.25rem); line-height: 1.9; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.gift-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 8px 18px; border: 1px solid transparent; border-radius: 99px; color: var(--berry); background: transparent; text-decoration: none; font: inherit; font-size: .9rem; font-weight: 800; text-align: center; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.gift-btn-primary { background: var(--berry); color: #fffaf5; }
.gift-btn-primary:hover { background: #4e1829; }
.gift-btn-link { text-decoration: underline; text-underline-offset: 5px; }
.gift-btn-link:hover { background: var(--rose); }
.gift-btn-outline { border-color: #e3c3cb; }
.gift-btn-outline:hover { background: var(--rose); border-color: #caa0aa; }
.gift-hero-image { position: relative; margin: 0; padding: 9px; isolation: isolate; }
.gift-hero-image::before { content: ""; position: absolute; inset: 0; border: 1px solid #cfa78a; border-radius: 48% 48% 17px 17px / 30% 30% 17px 17px; z-index: -1; }
.gift-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.09; object-fit: cover; border-radius: 48% 48% 11px 11px / 30% 30% 11px 11px; background: #e8c1b2; }
.gift-hero-image figcaption { position: absolute; inset: auto auto 23px 22px; padding: 8px 15px; border-radius: 3px; background: #fffaf5; color: var(--berry); font-size: .75rem; font-weight: 800; box-shadow: 0 5px 22px #39262b26; }
.gift-catalog { padding-block: 56px 69px; border-block: 1px solid var(--line); background: var(--paper); }
.gift-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-block-end: 26px; }
.gift-section-head h2, .gift-details h2 { margin: 0; line-height: 1.28; font-size: clamp(2rem, 4.8vw, 3.6rem); font-weight: 900; letter-spacing: -.043em; }
.gift-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-filters button { min-height: 42px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .87rem; font-weight: 800; cursor: pointer; }
.gift-filters button[aria-pressed="true"] { color: var(--berry); border-color: #dcbdc5; background: var(--rose); }
.gift-filters button:hover { border-color: #ad7787; }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.7vw, 30px); }
.gift-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fffdfa; }
.gift-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; background: var(--rose); }
.gift-card-body { padding: 16px 19px 18px; }
.gift-card-type { margin: 0; color: var(--gold); font-weight: 800; font-size: .76rem; }
.gift-card h3 { margin: 2px 0; font-size: 1.25rem; font-weight: 900; }
.gift-card h3 + p { margin: 3px 0 15px; color: var(--muted); font-size: .87rem; line-height: 1.55; }
.gift-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.gift-price { color: var(--berry); font-size: .9rem; font-weight: 900; white-space: nowrap; }
.gift-card-footer button { padding-inline: 11px; font-size: .81rem; }
.gift-status { margin: 0; font-size: .88rem; color: var(--berry); font-weight: 800; }
.gift-status:not(:empty) { margin-block-start: 12px; }
.gift-details { display: grid; grid-template-columns: .75fr 1.25fr; gap: 25px; padding-block: 66px 76px; align-items: start; }
.gift-details dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.gift-details dl > div { padding: 7px 15px 7px 6px; border-inline-start: 1px solid #c9a184; }
.gift-details dt { color: var(--berry); font-weight: 900; font-size: .96rem; }
.gift-details dd { margin: 4px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.75; }
.gift-footer { padding-block: 14px; background: #ead1cb; color: #572036; font-weight: 800; font-size: .82rem; }

.gift-dialog { width: min(calc(100% - 24px), 530px); max-height: min(90vh, 740px); max-height: min(90dvh, 740px); overflow: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 85px #39262b42; padding: 0; }
.gift-dialog::backdrop { background: #39262b80; }
.gift-dialog-inner { padding: clamp(16px, 5vw, 30px); }
.gift-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-block-end: 13px; }
.gift-dialog-head h2 { font-size: clamp(1.35rem, 5vw, 1.85rem); line-height: 1.25; margin: 0; }
.gift-dialog-head .gift-eyebrow { margin: 0 0 2px; }
.gift-dialog-close, .gift-qty button { flex: none; display: grid; place-items: center; background: white; border: 1px solid var(--line); color: var(--berry); min-height: 44px; min-width: 44px; border-radius: 50%; font: 700 1.25rem/1 system-ui,sans-serif; cursor: pointer; }
.gift-dialog-close:hover, .gift-qty button:hover { background: var(--rose); }
.gift-form { display: grid; gap: 12px; }
.gift-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.gift-form label { display: block; color: var(--ink); font-size: .88rem; font-weight: 800; }
.gift-form label small { display: inline; color: var(--muted); margin-inline-start: 5px; font-size: .76rem; }
.gift-form select, .gift-form input, .gift-form textarea { display: block; width: 100%; margin-block-start: 4px; border-radius: 10px; border: 1px solid var(--line); background: white; color: var(--ink); padding: 7px 9px; min-height: 43px; font: inherit; font-weight: 600; }
.gift-form textarea { resize: vertical; }
.gift-hint { margin: -7px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.gift-dialog-total { display: flex; justify-content: space-between; gap: 10px; border-block-start: 1px solid var(--line); padding-block-start: 9px; color: var(--berry); font-size: .95rem; font-weight: 900; }
.gift-wide { width: 100%; }
.gift-empty { background: var(--rose); border-radius: 12px; padding: 12px; margin: 12px 0 0; font-size: .88rem; }
.gift-cart-items { display: grid; gap: 7px; margin-block-end: 12px; }
.gift-cart-line { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gift-cart-line strong { color: var(--berry); font-size: .92rem; }
.gift-cart-line small { display: block; color: var(--muted); overflow-wrap: anywhere; }
.gift-qty { display: flex; align-items: center; gap: 9px; }
.gift-qty button { width: 44px; height: 44px; font-size: 1.05rem; }
.gift-summary { margin-block-start: 12px; padding: 12px; background: var(--rose); border-radius: 12px; color: var(--berry); font-size: .85rem; overflow-wrap: anywhere; }
.gift-summary p { margin: 4px 0 0; }

@media (max-width: 830px) {
  .gift-wrap { width: min(calc(100% - 34px), 1200px); }
  .gift-hero { gap: 24px; padding-block-end: 49px; }
  .gift-hero h1 { font-size: clamp(2.62rem, 8vw, 4.2rem); }
  .gift-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gift-details { grid-template-columns: 1fr; gap: 15px; padding-block: 44px; }
}
@media (max-width: 625px) {
  .gift-header { min-height: 70px; }
  .gift-nav { display: none; }
  .gift-hero { grid-template-columns: 1fr; gap: 12px; padding-block: 32px 39px; }
  .gift-hero-copy { padding: 0; }
  .gift-hero h1 { font-size: clamp(2.7rem, 10vw, 4rem); }
  .gift-lead { margin-block: 11px 18px; max-width: 34ch; }
  .gift-hero-image { width: min(100%, 425px); justify-self: center; }
  .gift-hero-image img { aspect-ratio: 1.16; }
  .gift-catalog { padding-block: 33px 40px; }
  .gift-details dl { grid-template-columns: 1fr; }
  .gift-card-body { padding: 9px 11px 12px; }
  .gift-card h3 { font-size: 1.02rem; line-height: 1.35; }
  .gift-card h3 + p { font-size: .78rem; }
}
@media (max-width: 390px) {
  .gift-wrap { width: calc(100% - 26px); }
  .gift-strip { font-size: .73rem; }
  .gift-actions .gift-btn { padding-inline: 13px; font-size: .82rem; }
  .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .gift-card img { aspect-ratio: 1.29; }
  .gift-filters { gap: 5px; }
  .gift-filters button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .gift-btn { transition: none; }
}
