@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600&display=swap");

:root {
  --ochre: #c07c2e;
  --pink: #dd92a7;
  --blush: #fcd9f0;
  --peach: #fcac9f;
  --orange: #e47e44;
  --cream: #fffaf6;
  --gold: #f0b35b;
  --olive: #79692a;
  --ink: #79692a;
  --ink-soft: #7f7030;
  --line: #f1e3da;
  --radius: 22px;
  --head: "Nunito", system-ui, sans-serif;
  --body: "Outfit", "Glacial Indifference", system-ui, sans-serif;
  --shadow: 0 10px 30px rgba(192, 124, 46, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--ochre); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--head); font-weight: 800; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px;
  background: var(--pink); color: #fff; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.alt { background: var(--gold); color: var(--ink); }
.btn.alt:hover { background: var(--peach); }
.btn.ghost { background: transparent; color: var(--ochre); box-shadow: inset 0 0 0 2px var(--ochre); }
.btn.ghost:hover { background: var(--ochre); color: #fff; }
.btn[disabled] { background: #e8dcd3; color: #a79a8f; cursor: not-allowed; transform: none; box-shadow: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Announcement bar */
.announce { background: var(--pink); color: #fff; text-align: center; font-family: var(--head); font-weight: 700; font-size: .9rem; padding: .55em 1em; letter-spacing: .02em; }

/* Header */
.site-header { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left logo tools" "nav nav nav"; align-items: center; row-gap: 14px; column-gap: 12px; padding: 10px 0 10px; }
.logo img { height: 76px; width: auto; mix-blend-mode: multiply; }
.logo { grid-area: logo; justify-self: center; line-height: 0; }
.nav { grid-area: nav; display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; }
.nav a { font-family: var(--head); font-weight: 800; text-decoration: none; padding: .45em .9em; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--blush); color: var(--ochre); }
.header-tools { grid-area: tools; justify-self: end; display: flex; gap: 8px; align-items: center; }
.icon-btn { position: relative; border: 0; background: var(--blush); color: var(--ochre); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.icon-btn:hover { background: var(--gold); color: #fff; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--orange); color: #fff; font: 800 .72rem var(--head); display: grid; place-items: center; padding: 0 5px; }
.menu-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--blush) 0%, #ffe9e0 55%, #ffeccb 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 56px 0; }
.hero p.lead { font-size: 1.1rem; max-width: 46ch; }
.hero h1 span { color: var(--pink); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-art { position: relative; }
.hero-art .main { border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(2deg); border: 8px solid #fff; }
.hero-art .sticker { position: absolute; left: -18px; bottom: 24px; background: var(--pink); color: #fff; font: 900 1.05rem/1.1 var(--head); border-radius: 50%; width: 120px; height: 120px; display: grid; place-items: center; text-align: center; transform: rotate(-10deg); box-shadow: var(--shadow); }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4em; }

/* Perks */
.perks { background: #fff; border-block: 1px solid var(--line); }
.perks ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 0; margin: 0; text-align: center; font-family: var(--head); font-weight: 700; font-size: .95rem; }
.perks li b { display: block; color: var(--ochre); }

/* Sections */
section.block { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); max-width: 56ch; margin-inline: auto; }
.tint { background: #fff4ee; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.tile { text-decoration: none; border-radius: var(--radius); padding: 28px 20px; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow); }
.tile .emoji { font-size: 2.6rem; position: absolute; top: 16px; right: 18px; }
.tile h3 { margin: 0; font-size: 1.35rem; }
.tile small { font-family: var(--body); color: rgba(74, 58, 44, .75); }
.tile:nth-child(6n+1) { background: var(--blush); }
.tile:nth-child(6n+2) { background: #ffd8cf; }
.tile:nth-child(6n+3) { background: #fde3ab; }
.tile:nth-child(6n+4) { background: #f6c4ad; }
.tile:nth-child(6n+5) { background: #f2c4d1; }
.tile:nth-child(6n+6) { background: #e9e2b5; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 2px 0 var(--line); transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 1; background: var(--blush); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .info { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .cat { font: 800 .72rem var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--ochre); }
.card h3 { margin: 0; }
.card .price { font: 800 1.1rem var(--head); color: var(--orange); margin-top: auto; padding-top: 6px; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; font: 800 .75rem var(--head); padding: .35em .8em; border-radius: 999px; background: var(--gold); color: var(--ink); }
.tag.sold { background: var(--ink); color: #fff; }
.tag.soon { background: var(--blush); color: var(--ochre); }
.placeholder-art { width: 100%; height: 100%; display: grid; place-items: center; font-size: 4rem; }

/* Banner */
.banner { background: var(--pink); color: #fff; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; align-items: center; }
.banner .txt { padding: 44px; }
.banner h2 { color: #fff; }
.banner .pic { height: 100%; min-height: 280px; background: var(--ochre) center/cover; }
.banner .pic img { width: 100%; height: 100%; object-fit: cover; }
.banner .btn { background: #fff; color: var(--pink); }
.banner .btn:hover { background: var(--gold); color: var(--ink); }

/* Designer */
.designer { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.designer img { border-radius: 50%; box-shadow: var(--shadow); }
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.process img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Newsletter */
.newsletter { background: var(--gold); border-radius: var(--radius); padding: 48px 24px; text-align: center; }
.newsletter form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
input, select, textarea { font: inherit; padding: .8em 1.1em; border-radius: 999px; border: 2px solid transparent; background: #fff; color: var(--ink); min-width: 0; }
textarea { border-radius: 18px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; }
.newsletter input { width: min(360px, 100%); }
.newsletter .btn { background: var(--ink); }
.newsletter .btn:hover { background: var(--orange); }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 64px; padding: 48px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 1rem; color: var(--ochre); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .45em; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--orange); }
.foot-logo { height: 96px; width: auto; mix-blend-mode: multiply; margin-bottom: 8px; }
.copy { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 32px; }

/* Page header */
.page-head { background: var(--blush); padding: 44px 0; text-align: center; }
.page-head p { color: var(--ink-soft); margin: 0; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumbs a { text-decoration: none; color: var(--ochre); }

/* Shop filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip { border: 2px solid var(--pink); background: #fff; color: var(--pink); font: 800 .9rem var(--head); padding: .5em 1.2em; border-radius: 999px; cursor: pointer; text-decoration: none; }
.chip:hover { background: var(--blush); }
.chip.on { background: var(--pink); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; font-size: .9rem; }
.toolbar select { border: 2px solid var(--line); border-radius: 999px; }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 40px 0; align-items: start; }
.gallery .big { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); aspect-ratio: 1; }
.gallery .big img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: #fff; aspect-ratio: 1; }
.thumbs button.on { border-color: var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp .price { font: 900 1.9rem var(--head); color: var(--orange); margin: .2em 0 .6em; }
.pdp ul.features { padding-left: 1.2em; }
.pdp ul.features li { margin-bottom: .35em; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 24px 0; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { border: 0; background: transparent; width: 40px; height: 44px; font-size: 1.2rem; cursor: pointer; color: var(--ochre); }
.qty span { min-width: 28px; text-align: center; font-family: var(--head); font-weight: 800; }
.notice { background: #fff; border: 2px dashed var(--gold); border-radius: 16px; padding: 14px 18px; font-size: .92rem; }
.stock { font: 800 .9rem var(--head); }
.stock.in { color: #5f7a2e; } .stock.out { color: #b5432a; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(74, 58, 44, .4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--cream); z-index: 70; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: var(--blush); }
.drawer header h3 { margin: 0; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 20px; }
.line-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img, .line-item .ph { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; background: var(--blush); display: grid; place-items: center; font-size: 1.6rem; }
.line-item h4 { font-size: .95rem; margin: 0; }
.line-item small { color: var(--ink-soft); }
.line-item .rm { background: none; border: 0; color: var(--ochre); cursor: pointer; text-decoration: underline; font: inherit; font-size: .8rem; padding: 0; }
.drawer footer { padding: 18px 20px; border-top: 1px solid var(--line); background: #fff; }
.totals { display: flex; justify-content: space-between; font: 800 1.15rem var(--head); margin-bottom: 6px; }
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* Prose pages */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
details { background: #fff; border-radius: 16px; padding: 16px 22px; margin-bottom: 12px; box-shadow: 0 2px 0 var(--line); }
summary { font: 800 1.05rem var(--head); cursor: pointer; }
details[open] summary { color: var(--orange); margin-bottom: .5em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea { border: 2px solid var(--line); }
.toast { position: fixed; left: 50%; top: 16px; transform: translate(-50%, -140%); background: var(--ink); color: #fff; padding: .7em 1.4em; border-radius: 999px; z-index: 80; font-family: var(--head); font-weight: 700; transition: transform .25s; white-space: nowrap; max-width: 92vw; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero-grid, .pdp, .designer, .banner, .contact-grid { grid-template-columns: 1fr; }
  .designer img { max-width: 260px; margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .perks ul { grid-template-columns: 1fr 1fr; }
  .header-row { grid-template-columns: auto 1fr auto; grid-template-areas: none; row-gap: 0; }
  .logo, .nav, .header-tools { grid-area: auto; }
  .logo { justify-self: start; }
  .logo img { height: 60px; }
  .menu-toggle { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 12px 16px 18px; box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .header-tools { grid-column: 3; }
  .banner .txt { padding: 28px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-art .sticker { width: 96px; height: 96px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
