/* ==================================================================
   PinguPanda — styles
   Mobile first. Brand palette lifted from the PinguPanda creatives.
================================================================== */

:root {
  --navy:    #17356b;
  --navy-d:  #0f2549;
  --brown:   #8a5a3b;
  --cream:   #fdf7ec;
  --cream-d: #f6ecdb;
  --paper:   #ffffff;
  --ink:     #2c2117;
  --muted:   #6f6357;
  --pink:    #e5336c;
  --yellow:  #ffc43d;
  --green:   #25a05f;
  --line:    #ece0cd;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --shadow:    0 2px 4px rgba(44,33,23,.04), 0 10px 26px rgba(44,33,23,.07);
  --shadow-lg: 0 10px 20px rgba(44,33,23,.08), 0 26px 60px rgba(44,33,23,.12);
  --head: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(.22,.8,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }

/* the drawer, overlay, lightbox and bars all set display, so hidden needs to win */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked { overflow: hidden; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.5rem); color: var(--navy); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); color: var(--navy); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 16px; }
.wrap-narrow { max-width: 760px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------- buttons ------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(23,53,107,.28); }
.btn-primary:hover:not(:disabled) { background: var(--navy-d); box-shadow: 0 10px 22px rgba(23,53,107,.34); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: rgba(23,53,107,.07); }

.btn-wa { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(37,160,95,.28); }
.btn-wa:hover:not(:disabled) { background: #1d8b50; }
.wa-dot {
  width: 17px; height: 17px; border-radius: 50%; background: #fff; flex: none;
  -webkit-mask: radial-gradient(circle at 62% 62%, transparent 30%, #000 31%);
          mask: radial-gradient(circle at 62% 62%, transparent 30%, #000 31%);
}
.btn-block { width: 100%; }

/* ----------------------------- header -------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253,247,236,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 14px; height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--head); font-size: 1.16rem; color: var(--navy); }
.brand-text small  { font-size: .62rem; letter-spacing: .16em; color: var(--brown); text-transform: uppercase; }

.nav { display: none; margin-left: auto; gap: 26px; }
.nav a {
  font-weight: 600; text-decoration: none; color: var(--ink); font-size: .95rem;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--pink); border-radius: 2px; transition: right .22s var(--ease);
}
.nav a:hover::after { right: 0; }

.cart-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border: 0; cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: .95rem;
  padding: 10px 16px; border-radius: 999px;
  transition: transform .16s var(--ease), background .16s;
}
.cart-btn:hover { background: var(--navy-d); transform: translateY(-1px); }
.cart-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn > span:nth-of-type(1) { display: none; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: .8rem;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

/* ------------------------------ hero --------------------------- */
.hero { padding: 34px 0 0; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -160px -30% auto -30%; height: 520px;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,196,61,.22), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; gap: 26px; }
.eyebrow {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--brown); margin-bottom: 10px;
}
h1 em { font-style: normal; color: var(--pink); }
.lede { font-size: 1.06rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 24px; }

.hero-prices { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero-prices li { flex: 1; display: flex; }
/* these are real links: they pick that pack and jump to the builder */
.hero-prices a {
  flex: 1; font: inherit; color: inherit; cursor: pointer; text-decoration: none; display: block;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 8px; text-align: center; box-shadow: var(--shadow);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s;
}
.hero-prices a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d8c7ae; }
.hero-prices a:active { transform: translateY(-1px); }
.hero-prices b { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; }
.hero-prices span { font-family: var(--head); font-size: 1.32rem; color: var(--navy); font-weight: 700; }
.hero-prices em {
  display: block; font-style: normal; font-size: .68rem; color: var(--muted);
  margin-top: 2px; opacity: 0; transition: opacity .16s;
}
.hero-prices a:hover em, .hero-prices a:focus-visible em { opacity: 1; }
.hero-prices .best a { background: var(--navy); border-color: var(--navy); }
.hero-prices .best a:hover { border-color: var(--navy); }
.hero-prices .best b { color: rgba(255,255,255,.75); }
.hero-prices .best span { color: var(--yellow); }
.hero-prices .best em { color: rgba(255,255,255,.7); }

.hero-art { position: relative; }
/* The hero is a poster with wording top AND bottom, so it must never be
   cropped — it is sized to fit, not to fill. */
.hero-art img {
  display: block;
  width: auto; max-width: 100%;
  max-height: 72vh;
  margin-inline: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; right: 14px; bottom: -14px;
  background: var(--paper); border-radius: var(--r); padding: 10px 16px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.hero-badge strong { display: block; font-family: var(--head); color: var(--navy); }
.hero-badge span   { font-size: .74rem; color: var(--muted); }

.trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  list-style: none; margin: 44px auto 0; padding: 0 16px;
}
.trust li {
  display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 12px 14px;
}
.trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------- sections ------------------------- */
.section { padding: 62px 0; }
.section-alt { background: var(--cream-d); }
.section-head { max-width: 58ch; margin-bottom: 30px; }
.section-head p { color: var(--muted); }

/* ---------------------------- designs -------------------------- */
.design-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.design-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.design-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dcc9ab; }
.design-card.chosen { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; }
.design-card.soon .design-media img { opacity: .55; filter: saturate(.7); }
.soon-tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--yellow); color: var(--ink);
  font-family: var(--body); font-weight: 700; font-size: .66rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow);
}

.design-media { position: relative; background: #fff; }
.design-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.zoom {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .18s;
}
.design-card:hover .zoom, .zoom:focus-visible { opacity: 1; }
.zoom svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.design-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.design-body h3 { font-size: 1rem; margin: 0; }
.design-body p  { font-size: .8rem; color: var(--muted); margin: 0 0 8px; }

.add-row { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.add-btn {
  flex: 1; font-family: var(--head); font-weight: 600; font-size: .9rem;
  border: 2px solid var(--navy); background: transparent; color: var(--navy);
  border-radius: 999px; padding: 8px 12px; cursor: pointer;
  transition: background .16s, color .16s;
}
.add-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.add-btn:disabled { opacity: .4; cursor: not-allowed; }

.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--cream); font-size: 1.05rem; line-height: 1; cursor: pointer; color: var(--navy);
  display: grid; place-items: center; transition: background .16s;
}
.stepper button:hover:not(:disabled) { background: var(--cream-d); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { font-family: var(--head); min-width: 22px; text-align: center; font-weight: 600; }

/* ---------------------------- builder -------------------------- */
.builder { display: grid; gap: 16px; }
/* grid/flex children default to min-width:auto, which lets a wide child
   (the picker, the tray) stretch the whole column past the viewport. */
.builder, .step, .step > *, .pack-grid, .picker, .size-row, .tray,
.design-grid, .gift-grid, .why-wrap, .cart-list, .cart-item { min-width: 0; }
.step {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px 18px;
}
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 16px; }
.step-n {
  width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: .85rem; display: grid; place-items: center; flex: none;
}
.slot-status { margin-left: auto; font-family: var(--body); font-size: .82rem; color: var(--muted); font-weight: 600; }

.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pack {
  position: relative; border: 2px solid var(--line); background: var(--cream);
  border-radius: var(--r); padding: 16px 8px 14px; cursor: pointer; text-align: center;
  font-family: var(--head); transition: border-color .18s, background .18s, transform .18s var(--ease);
}
.pack:hover { transform: translateY(-2px); }
.pack .p-pairs { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; }
.pack .p-price { display: block; font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.pack .p-each  { display: block; font-size: .7rem; color: var(--muted); font-family: var(--body); }
.pack[aria-checked="true"] { border-color: var(--navy); background: #fff; box-shadow: 0 6px 18px rgba(23,53,107,.16); }
.pack .p-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--ink); font-size: .62rem; font-family: var(--body);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

.tray {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; margin-bottom: 16px;
  background: var(--cream); border: 1px dashed var(--line); border-radius: var(--r);
  min-height: 74px; align-content: flex-start;
}
.slot {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  border: 2px dashed #d8c7ae; background: rgba(255,255,255,.5);
  display: grid; place-items: center;
}
.slot.filled { border: 1px solid var(--line); background: #fff; overflow: hidden; padding: 0; }
.slot.filled img { width: 100%; height: 100%; object-fit: cover; }
.slot.pop { animation: pop .34s var(--ease); }
@keyframes pop { 0%{transform:scale(.6);opacity:0} 60%{transform:scale(1.12)} 100%{transform:scale(1);opacity:1} }
.tray-empty { color: var(--muted); font-size: .88rem; align-self: center; }

.picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 8px; }
.pick {
  display: flex; align-items: center; gap: 10px; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
}
.pick img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: #fff; }
.pick .pick-name {
  font-size: .84rem; font-weight: 700; line-height: 1.2; flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pick .stepper { margin-left: auto; }

.size-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.size-chip {
  border: 2px solid var(--line); background: var(--cream); border-radius: 999px;
  padding: 11px 10px; font-family: var(--head); font-weight: 600; cursor: pointer;
  transition: border-color .16s, background .16s;
}
.size-chip:hover { border-color: #d8c7ae; }
.size-chip[aria-checked="true"] { border-color: var(--navy); background: #fff; color: var(--navy); }
.hint { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

.step-cta { display: grid; gap: 14px; }
.running-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.running-total span { font-size: .9rem; color: var(--muted); }
.running-total strong { font-family: var(--head); font-size: 1.6rem; color: var(--navy); }

/* ---------------------------- gifting -------------------------- */
.gift-grid { display: grid; gap: 16px; }
.gift-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.gift-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Gifting images are 2:3 posters with wording top and bottom. The box
   matches that ratio so nothing is cropped; `contain` means a future
   image of another shape letterboxes rather than losing its edges. */
.gift-card > img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: contain; background: var(--cream);
}
.gift-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gift-body p { color: var(--muted); font-size: .92rem; }
.gift-body .btn { margin-top: auto; align-self: flex-start; }
.gift-bulk { background: var(--navy); color: #fff; }
.gift-bulk h3 { color: #fff; }
.gift-bulk p  { color: rgba(255,255,255,.78); }
.tick { list-style: none; padding: 0; margin: 4px 0 16px; display: grid; gap: 6px; }
.tick li { position: relative; padding-left: 24px; font-size: .9rem; color: rgba(255,255,255,.88); }
.tick li::before {
  content: ''; position: absolute; left: 4px; top: .45em; width: 9px; height: 5px;
  border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

/* ------------------------------ why ---------------------------- */
.why-wrap { display: grid; gap: 28px; }
.why-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .ic {
  width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line);
}
.why-list svg { width: 21px; height: 21px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-list strong { display: block; font-family: var(--head); }
.why-list span { font-size: .9rem; color: var(--muted); }
.why-art img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ------------------------------ faq ---------------------------- */
.faq { display: grid; gap: 10px; margin-bottom: 30px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 16px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  font-family: var(--head); font-weight: 600; cursor: pointer; padding: 13px 28px 13px 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq p { margin: 0 0 14px; color: var(--muted); font-size: .94rem; }

.contact-card {
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: 24px; display: grid; gap: 16px;
}
.contact-card h3 { color: #fff; margin-bottom: 2px; }
.contact-card p { color: rgba(255,255,255,.76); margin: 0; font-size: .94rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.contact-actions .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------------------------- footer --------------------------- */
.site-footer { background: var(--navy-d); color: rgba(255,255,255,.8); padding: 44px 0 90px; }
.footer-inner { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong { display: block; font-family: var(--head); font-size: 1.2rem; color: #fff; }
.footer-brand span { font-size: .78rem; letter-spacing: .06em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-note { font-size: .92rem; margin: 0; }
.footer-note a { color: var(--yellow); }
.copy { text-align: center; font-size: .78rem; color: rgba(255,255,255,.5); margin: 28px 16px 0; }

/* -------------------------- mobile bar ------------------------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(44,33,23,.1);
  animation: slideUp .3s var(--ease);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.mobile-bar strong { display: block; font-family: var(--head); font-size: 1.24rem; color: var(--navy); }
.mobile-bar span { font-size: .78rem; color: var(--muted); }
.mobile-bar .btn { padding: 11px 20px; }

/* --------------------------- drawer ---------------------------- */
.overlay {
  position: fixed; inset: 0; z-index: 45; background: rgba(28,20,12,.48);
  backdrop-filter: blur(2px); animation: fade .22s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.drawer {
  position: fixed; z-index: 50; background: var(--cream);
  display: flex; flex-direction: column;
  inset: auto 0 0 0; max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow-lg); animation: up .28s var(--ease);
}
@keyframes up { from { transform: translateY(100%); } to { transform: translateY(0); } }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line); flex: none;
}
.drawer-head h2 { margin: 0; font-size: 1.3rem; }
.drawer-body { overflow-y: auto; padding: 18px; -webkit-overflow-scrolling: touch; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; display: grid; place-items: center;
  transition: background .16s;
}
.icon-btn:hover { background: var(--cream-d); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

.cart-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.cart-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px;
}
.cart-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cart-item h4 { font-family: var(--head); margin: 0; font-size: 1rem; }
.cart-item .price { font-family: var(--head); font-weight: 600; color: var(--navy); }
.cart-item .size { font-size: .8rem; color: var(--muted); margin: 2px 0 8px; }
.cart-thumbs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.cart-thumb { position: relative; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb b {
  position: absolute; right: -2px; bottom: -2px; background: var(--navy); color: #fff;
  font-size: .62rem; padding: 0 4px; border-radius: 999px; line-height: 1.45;
}
.cart-actions { display: flex; gap: 14px; }
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--body);
  font-weight: 700; font-size: .82rem; color: var(--muted); text-decoration: underline;
}
.link-btn:hover { color: var(--pink); }

.cart-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.cart-empty a { font-weight: 700; }

.cart-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-top: 2px solid var(--line); margin-bottom: 4px;
}
.cart-total strong { font-family: var(--head); font-size: 1.7rem; color: var(--navy); }
.pay-note { font-size: .8rem; color: var(--muted); background: var(--cream-d); border-radius: var(--r-sm); padding: 9px 12px; }

.order-form label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 12px; }
.order-form .opt { font-weight: 400; color: var(--muted); }
.order-form input, .order-form textarea {
  width: 100%; margin-top: 5px; font: inherit; font-weight: 400;
  padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); resize: vertical;
}
.order-form input:focus, .order-form textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.order-form .btn { margin-top: 6px; }
.form-error { color: var(--pink); font-size: .85rem; font-weight: 700; margin: 0 0 8px; }

/* ---- pay now + the paid confirmation ---- */
.btn-pay { background: var(--pink); color: #fff; box-shadow: 0 6px 16px rgba(229,51,108,.3); }
.btn-pay:hover:not(:disabled) { background: #cc2a5f; box-shadow: 0 10px 22px rgba(229,51,108,.36); }
.btn-pay svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-pay span { font-weight: 700; }

.pay-done { text-align: center; padding: 28px 8px; }
.pay-done h3 { margin: 16px 0 6px; font-size: 1.4rem; }
.pay-done p { color: var(--muted); font-size: .94rem; }
.pay-done .tick {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green);
  display: inline-grid; place-items: center; animation: pop .4s var(--ease);
}
.pay-done .tick svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pay-ref { font-size: .8rem; }
.pay-ref strong { font-family: var(--head); color: var(--navy); }

/* ---- policy pages ---- */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 16px 72px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: .85rem; margin-bottom: 28px; }
.doc h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.doc p, .doc li { color: #4a3f34; font-size: .95rem; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--navy); }
.doc .back { display: inline-block; margin-bottom: 22px; font-weight: 700; text-decoration: none; }
.doc .todo {
  background: #fff6d9; border: 1px solid #f0d98a; border-radius: var(--r-sm);
  padding: 10px 13px; font-size: .86rem; color: #6b5516; margin: 10px 0;
}
.doc .todo b { color: #4d3c08; }
.drawer-fine { font-size: .76rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* -------------------------- lightbox --------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60; background: rgba(28,20,12,.86);
  display: grid; place-items: center; padding: 24px; animation: fade .2s var(--ease);
}
.lightbox figure { margin: 0; max-width: 620px; width: 100%; }
.lightbox img { width: 100%; border-radius: var(--r-lg); background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; font-family: var(--head); margin-top: 14px; }
.lb-close { position: absolute; top: 18px; right: 18px; }

/* ---------------------------- toast ---------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
  z-index: 70; background: var(--navy); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-lg); animation: toastIn .3s var(--ease);
  max-width: calc(100vw - 32px); text-align: center;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------------------------- reveal --------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================== responsive ========================= */
@media (min-width: 560px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
  .design-grid { grid-template-columns: repeat(3, 1fr); }
  .size-row { grid-template-columns: repeat(4, 1fr); }
  .contact-card { grid-template-columns: 1fr auto; align-items: center; }
  .cart-btn > span:nth-of-type(1) { display: inline; }
}

@media (min-width: 860px) {
  .section { padding: 84px 0; }
  .nav { display: flex; }
  .cart-btn { margin-left: 26px; }
  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; }
  .hero-art img { max-height: 560px; }
  .hero-prices a { padding: 14px 10px; }
  .builder { grid-template-columns: 1fr 1fr; align-items: start; }
  .builder .step:nth-child(2) { grid-row: span 3; }
  .gift-grid { grid-template-columns: repeat(3, 1fr); }
  .why-wrap { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .footer-links { justify-content: center; }
  .site-footer { padding-bottom: 44px; }
  .mobile-bar { display: none; }
  .drawer {
    inset: 0 0 0 auto; width: 430px; max-height: none;
    border-radius: var(--r-lg) 0 0 var(--r-lg); animation: side .28s var(--ease);
  }
  @keyframes side { from { transform: translateX(100%); } to { transform: translateX(0); } }
  .toast { bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
