:root {
  --violet: #644495;
  --deep: #3c205c;
  --ink: #282031;
  --muted: #63566a;
  --orange: #ed9b42;
  --paper: #fffdfa;
  --peach: #fff0dd;
  --lilac: #f3edf9;
  --line: #e2d8e8;
  --display: Fraunces, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 Manrope, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body, figure { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--violet); }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font: 550 clamp(2rem, 4vw, 3.75rem)/1.05 var(--display); letter-spacing: -.036em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a05a00; outline-offset: 4px; }

.shell { width: min(92%, 1240px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: .65rem; top: -6rem; background: white; padding: .8rem; }
.skip:focus { top: .65rem; }
.top { background: var(--deep); color: white; font-size: .875rem; font-weight: 650; }
.top .shell { display: flex; justify-content: space-between; gap: 1rem; }
.top a { display: flex; align-items: center; min-height: 44px; }
.top a:hover, footer a:hover { color: var(--orange); }
.nav, .nav nav, footer .shell { display: flex; align-items: center; justify-content: space-between; gap: clamp(.65rem, 2vw, 2rem); }
.nav { padding-block: 1.25rem; }
.nav a { text-decoration: none; font-weight: 750; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; text-decoration: none; line-height: 1.03; }
.brand img { border-radius: 50%; }
.brand strong { display: block; font: 600 clamp(1.3rem, 2.3vw, 1.9rem)/1 var(--display); letter-spacing: -.025em; }
.brand small { display: block; margin-bottom: .2rem; font-weight: 700; font-size: .85rem; }
.cart { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 2rem; }

.hero { display: grid; grid-template-columns: 1.01fr 1fr; background: var(--deep); color: white; border-radius: 1.15rem; overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(1.6rem, 5vw, 4.9rem); }
.place { max-width: 28ch; color: #faad5f; font-size: .9rem; font-weight: 750; margin-bottom: 1.05rem; }
.hero h1 { max-width: 9ch; font-size: clamp(3.35rem, 6.4vw, 6.05rem); line-height: .99; }
.hero-copy > p:not(.place) { margin-top: 1.25rem; max-width: 33ch; color: #f4e9fc; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; align-items: center; margin-top: 1.65rem; }
.hero-actions > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hero-actions > a:hover { color: white; }
.hero figure { position: relative; display: grid; place-items: center; background: radial-gradient(ellipse at 52% 42%, #fff6e9 10%, #ffe2be 65%, #f5b46b 100%); }
.hero img { width: 100%; height: 100%; max-height: 580px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.hero figcaption { position: absolute; right: 1rem; bottom: 1rem; color: var(--ink); }
.hero figcaption a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; background: var(--paper); padding: .45rem .9rem; font-size: .88rem; font-weight: 750; border-radius: 2rem; text-decoration: none; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border: 1px solid transparent; border-radius: 2rem; padding: .67rem 1.15rem; font-weight: 800; text-align: center; text-decoration: none; background: var(--orange); color: #26152e; }
.button:hover { background: #9c5116; color: white; }
.secondary { background: var(--deep); color: white; }
.secondary:hover { background: var(--violet); }

.delivery { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .85rem 1.5rem; margin-top: 1.2rem; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid #f0d6b5; border-radius: .9rem; background: var(--peach); }
.delivery h2 { margin-bottom: .35rem; font-size: clamp(1.65rem, 3vw, 2.4rem); color: var(--deep); }
.delivery form, .filters { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; }
.delivery label:first-of-type { max-width: 9rem; }
.delivery p, #delivery-hint { color: var(--muted); }
#delivery-hint { grid-column: 1 / -1; font-size: .9rem; }
label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 800; }
input, select { width: 100%; min-height: 46px; padding: .58rem .72rem; background: white; border: 1px solid #a590b6; border-radius: .45rem; color: var(--ink); font-size: 1rem; }
input::placeholder { color: var(--muted); opacity: 1; }

.catalog, .occasions, .story { margin-block: clamp(3.35rem, 7vw, 6rem); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-title h2 { color: var(--deep); }
.section-title a, .occasions a, .story a { font-weight: 800; }
.category-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.category-links a { display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .95rem; background: var(--lilac); color: var(--deep); border: 1px solid var(--line); border-radius: 2rem; font-weight: 800; text-decoration: none; }
.category-links a:hover { background: var(--deep); color: white; }
.filters { padding: 1rem; background: var(--lilac); border-radius: .75rem; }
.filters label:first-child { flex: 1 1 17rem; }
.filters label { flex: 1 1 9rem; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 1.25rem; }
.product img, .photo-placeholder { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: .8rem; }
.product h3 { font-size: 1.04rem; line-height: 1.36; margin: .7rem 0 .3rem; }
.product a { display: block; text-decoration: none; }
.product a:hover h3 { text-decoration: underline; }
.product p { color: var(--deep); font-size: 1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
#catalog-status { margin: .75rem 0; color: var(--muted); }
#more { margin-top: 1.55rem; }

.occasions { display: grid; grid-template-columns: .93fr 1.07fr; gap: 1rem; }
.occasions article { display: grid; grid-template-columns: 39% 1fr; border-radius: .95rem; overflow: hidden; background: var(--lilac); }
.occasions article:nth-child(2) { background: var(--peach); }
.occasions img { width: 100%; height: 100%; object-fit: contain; background: white; }
.occasions article div { align-self: center; padding: clamp(1rem, 3vw, 2.1rem); }
.occasions h2 { font-size: clamp(1.7rem, 3vw, 2.65rem); color: var(--deep); }
.occasions p, .story p { margin: .8rem 0; }
.story { display: grid; grid-template-columns: 1.05fr .9fr .65fr; gap: clamp(1rem, 3vw, 2.75rem); align-items: center; padding-top: 1.85rem; border-top: 1px solid var(--line); }
.story img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; border-radius: .85rem; }
.story h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--deep); }
.story h3 { font-weight: 800; }
footer { padding: 1.6rem 0; background: var(--deep); color: white; }
footer .shell { flex-wrap: wrap; }
footer .shell > a:not(.brand) { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 920px) {
  .nav { flex-wrap: wrap; gap: .65rem 1rem; }
  .nav nav { order: 3; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 0 1.2rem; }
  .hero-copy { padding: clamp(1.45rem, 4vw, 3rem); }
  .delivery { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .occasions article { grid-template-columns: 1fr; }
  .occasions img { height: 200px; }
  .story { grid-template-columns: 1fr 1fr; }
  .story img { grid-column: 1 / -1; height: auto; aspect-ratio: 2.2; }
}
@media (max-width: 620px) {
  .shell { width: 92%; }
  .nav { padding-block: .8rem .5rem; }
  .brand img { width: 45px; height: 45px; }
  .nav nav { gap: 0 .95rem; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; border-radius: .85rem; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.65rem, 10.7vw, 4.5rem); text-wrap: balance; }
  .hero-actions > a:not(.button) { display: none; }
  .hero figure { min-height: 230px; }
  .hero img { aspect-ratio: 1.43; max-height: 325px; }
  .hero figcaption { bottom: .55rem; right: .55rem; }
  .delivery form label { flex: 1 1 7rem; min-width: 0; max-width: none; }
  .delivery form .button { width: 100%; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .8rem; }
  .occasions, .story { grid-template-columns: 1fr; }
  .occasions article { grid-template-columns: 35% 1fr; }
  .occasions img { height: 100%; }
  .story img { grid-column: auto; }
}
@media (max-width: 360px) {
  .top .shell { gap: .4rem; font-size: .8rem; }
  .occasions article { grid-template-columns: 1fr; }
  .occasions img { height: 180px; }
}
