/* Wishful Objects — resale marketplace layout
   Headings: Fraunces · Text: Helvetica */

:root {
  --ink: #1e1e1e;
  --soft: #555;
  --faint: #8a8a8a;
  --line: #e4e4e4;
  --card-line: #d6d6d6;
  --grey: #f5f5f5;
  --band: #f3f4f6;
  --red: #d0191f;
  --lilac: #efeefb;
  --dark: #1c1c1c;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gut: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.h-serif { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -0.01em; font-variation-settings: "opsz" 144; }
.cap { font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; margin-bottom: 8px; }
.muted { color: var(--faint); }
.art { display: block; width: 100%; height: 100%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px;
  background: #000; color: #fff; border: 1px solid #000;
  font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: #333; }
.btn--small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); font-weight: 500; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--pill { background: transparent; color: var(--ink); border-color: var(--ink); border-radius: 999px; height: 36px; font-size: 14px; font-weight: 500; }
.btn--pill:hover { background: var(--ink); color: #fff; }
.btn--lg { height: 48px; font-size: 16px; }
.icon-btn { display: inline-grid; place-items: center; position: relative; }
.textlink { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; font-size: 15px; }

/* ---------- Header ---------- */

.hdr { position: sticky; top: 0; z-index: 50; background: #fff; }
.hdr-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 70px; padding: 0 var(--gut); border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; height: 44px; max-width: 420px; padding: 0 14px; background: var(--grey); border-radius: 22px; color: var(--soft); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; }
.search input::placeholder { color: #444; }
.logo { font-family: var(--serif); font-weight: 800; font-size: 29px; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; font-variation-settings: "opsz" 144; }
.hdr-r { display: flex; justify-content: flex-end; align-items: center; gap: 32px; }
.hdr-link { font-size: 17px; }
.hdr-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bag-btn span { position: absolute; right: -8px; top: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }
.nav { display: flex; gap: 32px; height: 62px; align-items: center; padding: 0 var(--gut); border-bottom: 1px solid var(--line); font-size: 16px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.nav::-webkit-scrollbar { display: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .sale, .sale { color: var(--red); }
.nav-extra { display: none; }

/* ---------- Home ---------- */

.promo { margin: 24px 9px 0; padding: 26px 40px; background: var(--red); color: #fff; position: relative; display: block; }
.promo h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 33px); line-height: 1.15; font-variation-settings: "opsz" 144; }
.promo p { font-size: 17px; }
.promo svg { position: absolute; right: 26px; top: 26px; width: 20px; height: 20px; }

.hero {
  margin: 24px 9px 0; height: 360px; position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(100deg, #1b1b1d 0%, #3a3a3e 38%, #26262a 62%, #111 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(96deg, transparent 0 70px, rgba(255, 255, 255, 0.05) 70px 110px, transparent 110px 190px); filter: blur(6px); }
.hero-in { position: relative; }
.hero small { display: block; font-size: 16px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5vw, 70px); line-height: 1.25; font-variation-settings: "opsz" 144; }
.hero .btn { margin-top: 22px; background: transparent; border-color: #fff; border-radius: 999px; font-weight: 700; }
.hero .btn:hover { background: #fff; color: #000; }

.sec { padding-top: 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tiles a { display: block; text-align: center; }
.tiles span.sq { display: block; aspect-ratio: 1; background: var(--grey); padding: 9%; transition: background-color 0.25s; }
.tiles a:hover span.sq { background: #ececec; }
.tiles b { display: block; padding: 30px 0 8px; font-weight: 400; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; }

.band { background: var(--band); margin-top: 48px; padding: 44px 0 56px; }
.band + .band { margin-top: 16px; }
.band .wrap + .wrap { margin-top: 64px; }

/* ---------- Rails and cards ---------- */

.rail { position: relative; }
.rail-track { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; border: 1px solid var(--card-line); border-right: 0; background: #fff; width: fit-content; max-width: 100%; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { flex: none; width: max(232px, calc((100vw - var(--gut) * 2 - 2px) / 5)); scroll-snap-align: start; }
.rail-next { position: absolute; right: -10px; top: 38%; width: 40px; height: 40px; background: #fff; border: 1px solid var(--ink); display: grid; place-items: center; }
.rail-next:hover { background: var(--ink); color: #fff; }

.card { background: #fff; border-right: 1px solid var(--card-line); display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 1 / 0.92; padding: 20px 34px 10px; }
.card-img .art { transition: transform 0.35s; }
.card-img:hover .art { transform: scale(1.04); }
.card-body { padding: 8px 16px 16px; font-size: 15px; line-height: 1.55; flex: 1; display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.card-label { font-weight: 700; font-size: 14.5px; text-transform: uppercase; }
.card-label:hover { text-decoration: underline; }
.card-name, .card-size { color: #444; }
.card-price { font-weight: 700; }
.card-was { text-decoration: line-through; color: #444; margin-top: 2px; line-height: 1.3; }
.card-loc { display: flex; align-items: center; gap: 5px; color: #444; margin-top: auto; padding-top: 14px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; border: 1px solid var(--card-line); padding: 2px 6px; margin-bottom: 6px; }
.like { color: var(--ink); flex: none; }
.like[aria-pressed="true"] svg path, .pdp-like[aria-pressed="true"] svg path { fill: var(--red); stroke: var(--red); }

/* ---------- Listing ---------- */

.list-head { padding: 40px var(--gut) 20px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 var(--gut) 20px; flex-wrap: wrap; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { height: 38px; padding: 0 16px; border: 1px solid var(--card-line); border-radius: 999px; font-size: 14px; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar-r { display: flex; align-items: center; gap: 16px; color: var(--soft); font-size: 14px; }
.toolbar select { height: 38px; padding: 0 10px; border: 1px solid var(--card-line); background: #fff; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--card-line); border-left: 1px solid var(--card-line); margin: 0 var(--gut) 64px; }
.grid .card { border-bottom: 1px solid var(--card-line); }
.empty { padding: 48px 24px; color: var(--soft); grid-column: 1 / -1; }

/* ---------- Product page ---------- */

.notice { display: flex; justify-content: center; align-items: center; background: #ebebeb; padding: 12px 48px; position: relative; font-size: 14.5px; text-align: center; }
.notice .icon-btn { position: absolute; right: 16px; }

.pdp-top { background: linear-gradient(90deg, #fff 50%, var(--band) 50%); padding: 0 var(--gut) 60px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 28px 0 0; font-size: 13.5px; color: var(--soft); }
.crumbs a:hover { text-decoration: underline; }
.crumbs svg { width: 10px; height: 10px; }
.pdp-brand { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.8vw, 70px); line-height: 1.1; letter-spacing: -0.015em; text-align: center; margin-top: 36px; font-variation-settings: "opsz" 144; }
.pdp-name { text-align: center; font-size: 18px; margin-top: 8px; }

.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; }
.gallery { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding-right: 64px; align-items: start; }
.pdp-like { position: absolute; right: 64px; top: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; z-index: 1; }
.thumbs { display: grid; gap: 8px; padding-top: 86px; }
.thumb { width: 52px; height: 52px; border: 1px solid transparent; background: #fff; padding: 4px; }
.thumb[aria-selected="true"] { border-color: var(--ink); }
.stage { aspect-ratio: 1; max-height: 480px; padding: 20px 8% 0; cursor: pointer; justify-self: center; width: 100%; }
.dots { display: none; }

.panel { position: relative; padding: 20px 0 0 114px; }
.listed { position: absolute; right: 0; top: -56px; display: grid; justify-items: end; gap: 6px; font-size: 15px; color: var(--soft); }
.avatar { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 28px; color: var(--ink); flex: none; }
.price { font-size: 21px; display: flex; align-items: center; gap: 8px; }
.price s { color: var(--soft); font-size: 17px; }
.pay { font-size: 15.5px; margin-bottom: 14px; }
.pay u { font-weight: 700; text-underline-offset: 3px; }
.spec { font-size: 20px; line-height: 1.45; }
.spec a { font-size: 15.5px; color: var(--soft); margin-left: 4px; }
.spec a:hover { text-decoration: underline; }
.offers { background: var(--lilac); padding: 16px 18px; margin-top: 24px; font-style: italic; font-size: 16.5px; }
.actions { display: grid; grid-template-columns: 1fr auto; gap: 16px; margin-top: 26px; }
.offer-form { margin-top: 14px; font-size: 14px; }
.offer-form div { display: flex; gap: 8px; margin-top: 6px; }
.offer-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; font-size: 16px; }
.assure { margin-top: 34px; display: grid; gap: 12px; color: var(--soft); font-size: 15.5px; }
.assure li { display: flex; gap: 18px; align-items: center; padding-left: 4px; }
.assure svg { flex: none; width: 18px; height: 18px; color: var(--ink); }
.assure a { text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; margin-left: 4px; }

.details { padding-top: 44px; padding-bottom: 72px; }
.details-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr) 302px; gap: 48px; margin-top: 26px; }
.seller { border: 1px solid var(--card-line); }
.seller > * { margin: 16px; }
.seller-id { display: flex; align-items: center; gap: 10px; }
.seller-id .avatar { width: 56px; height: 56px; font-size: 24px; }
.seller-id b { display: block; font-size: 20px; font-weight: 500; line-height: 1.2; }
.seller-id span { color: var(--soft); font-size: 14.5px; }
.seller .btn { width: calc(100% - 32px); font-weight: 700; }
.seller p { font-size: 14.5px; }
.seller dl { display: flex; gap: 12px; margin: 0; padding: 14px 16px; border-top: 1px solid var(--card-line); font-size: 14.5px; }
.seller dl div + div { padding-left: 12px; }
.seller dl div:nth-child(2) { border-left: 1px solid var(--card-line); }
.seller dt { font-weight: 700; }
.seller dd { color: var(--soft); }
.seller dd b { color: var(--ink); }
.fine { font-size: 14px; color: var(--soft); margin-top: 10px; line-height: 1.4; }
.desc { font-size: 16.5px; max-height: 122px; overflow: hidden; }
.desc.open { max-height: none; }
.desc + .textlink { margin-top: 14px; }
.details hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.facts { font-size: 16.5px; line-height: 1.6; }
.facts span { color: var(--soft); }
.acc { background: var(--band); margin-bottom: 12px; }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; font-size: 17px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat; transition: transform 0.25s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc p { padding: 0 28px 22px; font-size: 14.5px; color: var(--soft); }

.pdp-top ~ .band { margin-top: 0; }
.also { text-align: center; padding-top: 44px; padding-bottom: 50px; }
.also h2 { font-family: var(--serif); font-weight: 400; font-size: 27px; font-variation-settings: "opsz" 144; margin-bottom: 18px; }
.also div { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.also a { border: 1px solid var(--ink); padding: 8px 16px; font-weight: 500; font-size: 15px; }
.also a:hover { background: var(--ink); color: #fff; }
.buybar { display: none; }

/* ---------- Footer ---------- */

.ftr { background: var(--dark); color: #cfcfcf; margin-top: 0; padding: 44px 41px 28px; }
main + .ftr, .sec:last-child { margin-bottom: 0; }
.ftr-cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 0.9fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid #353535; }
.ftr h4 { color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 16px; }
.ftr li { margin-bottom: 7px; font-size: 15.5px; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 14.5px; color: #fff; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 22px; font-size: 14.5px; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 80; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .details-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .details-grid > div:last-child { grid-column: 1 / -1; }
  .panel { padding-left: 48px; }
  .gallery { padding-right: 32px; }
  .pdp-like { right: 32px; }
  .hdr-r { gap: 20px; }
  .ftr-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  :root { --gut: 16px; }
  html { scroll-padding-top: 120px; }
  .hdr-top { grid-template-columns: 40px 1fr 40px; grid-template-areas: "menu logo bag" "search search search"; height: auto; row-gap: 10px; padding: 12px var(--gut); }
  .menu-btn { display: inline-grid; grid-area: menu; justify-self: start; }
  .logo { grid-area: logo; justify-self: center; font-size: 22px; }
  .hdr-r { grid-area: bag; gap: 0; }
  .hdr-r .btn, .hdr-link { display: none; }
  .search { grid-area: search; max-width: none; height: 40px; }
  .nav { display: none; position: fixed; inset: 113px 0 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 4px var(--gut) 32px; background: #fff; overflow-y: auto; white-space: normal; border: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-extra { display: grid; margin-top: 16px; }
  .nav-extra a:first-child { background: #000; color: #fff; text-align: center; font-weight: 700; border: 0; margin-bottom: 4px; }

  .promo { margin: 12px 0 0; padding: 18px var(--gut); }
  .promo p { font-size: 15px; padding-right: 20px; }
  .promo svg { right: 14px; top: 16px; }
  .hero { margin: 0; height: 300px; }
  .sec { padding-top: 40px; }
  .tiles { display: flex; overflow-x: auto; scrollbar-width: none; gap: 10px; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); scroll-snap-type: x mandatory; }
  .tiles::-webkit-scrollbar { display: none; }
  .tiles a { flex: 0 0 42%; scroll-snap-align: start; }
  .tiles b { padding: 14px 0 4px; font-size: 13px; }
  .band { margin-top: 32px; padding: 32px 0 36px; }
  .band .wrap + .wrap { margin-top: 40px; }
  .rail { margin-right: calc(var(--gut) * -1); }
  .rail-track .card { width: 46vw; }
  .rail-next { display: none; }
  .card-img { padding: 14px 18px 6px; }
  .card-body { padding: 6px 12px 12px; font-size: 14px; }
  .btn--lg { height: 40px; font-size: 14px; padding: 0 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); margin: 0 0 40px; border-left: 0; }
  .toolbar { align-items: flex-start; }
  .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gut) * -1); padding-right: var(--gut); width: calc(100% + var(--gut)); }
  .pill { flex: none; }

  .notice { padding: 10px 40px 10px 14px; font-size: 13px; text-align: left; }
  .pdp-top { background: #fff; padding: 0 0 0; }
  .crumbs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding: 14px var(--gut) 0; scrollbar-width: none; }
  .pdp-brand { margin-top: 20px; padding: 0 var(--gut); }
  .pdp-name { font-size: 16px; }
  .pdp-grid { grid-template-columns: 1fr; margin-top: 8px; }
  .gallery { display: block; padding: 0; }
  .thumbs { display: none; }
  .pdp-like { right: var(--gut); top: 8px; }
  .stage { max-height: none; padding: 24px 14% 8px; }
  .dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 18px; }
  .dots i { width: 6px; height: 6px; border-radius: 50%; background: #cfcfcf; }
  .dots i.on { background: var(--ink); }
  .panel { background: var(--band); padding: 24px var(--gut) 28px; }
  .listed { position: static; display: flex; align-items: center; justify-items: start; gap: 10px; margin-bottom: 16px; }
  .listed .avatar { width: 40px; height: 40px; font-size: 18px; }
  .spec { font-size: 17px; }
  .actions { grid-template-columns: 1fr; gap: 10px; }
  .details { padding-top: 32px; padding-bottom: 40px; }
  .details-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 18px; }
  .acc summary { padding: 16px 18px; }
  .acc p { padding: 0 18px 18px; }
  .also { padding-bottom: 96px; }
  .also div { gap: 8px; }
  .ftr { padding: 32px var(--gut) 96px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
  .ftr-base { flex-direction: column; gap: 10px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gut); gap: 14px; align-items: center; }
  .buybar div { display: grid; line-height: 1.25; }
  .buybar span { font-size: 12.5px; color: var(--soft); }
  .buybar .btn { flex: 1; }
  .toast { bottom: 84px; }
}

/* ---------- Nav menus ---------- */

.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; font-weight: 700; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 24px -18px rgba(0, 0, 0, 0.18); padding: 30px var(--gut) 38px; display: grid; grid-template-columns: 220px 220px 1fr; gap: 40px; }
.mega[hidden] { display: none; }
.mega h4 { font-size: 13.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 14px; }
.mega li { margin-bottom: 8px; font-size: 16px; }
.mega li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega-tile { justify-self: end; grid-column: 3; display: grid; grid-template-columns: 150px auto; align-items: center; gap: 22px; }
.mega-tile span { display: block; aspect-ratio: 1; background: var(--grey); padding: 12%; }
.mega-tile b { font-family: var(--serif); font-weight: 400; font-size: 25px; font-variation-settings: "opsz" 144; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- WhatsApp ---------- */

.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; background: #fff; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); }
.wa-fab:hover { background: var(--ink); color: #fff; }
.btn svg { margin-right: 10px; }

/* ---------- Bundle offer ---------- */

.offers--deal { font-style: normal; line-height: 1.5; }
.deal { background: var(--lilac); padding: 20px 22px 22px; }
.deal p { font-size: 16.5px; line-height: 1.45; }
.deal-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.deal-steps li { border-top: 3px solid #cfcdea; padding-top: 9px; display: grid; font-size: 14px; color: var(--soft); }
.deal-steps li.on { border-color: var(--ink); color: var(--ink); }
.deal-steps b { font-weight: 700; }

/* ---------- Bag and checkout ---------- */

.co { padding-top: 44px; padding-bottom: 80px; }
.co > .h-serif { margin-bottom: 30px; }
.co-crumbs { justify-content: flex-start; padding: 0 0 18px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start; }
.co-cap { margin-top: 44px; }
.co-empty { font-size: 18px; margin: 28px 0 22px; }

.bag-list { margin-top: 8px; }
.bag-list li { display: grid; grid-template-columns: 132px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.bag-img, .pick-img, .sum-img { display: block; aspect-ratio: 1; background: var(--grey); padding: 10%; }
.bag-txt { display: grid; align-content: start; gap: 3px; font-size: 16px; }
.bag-txt b { font-size: 18px; }
.bag-txt .textlink { justify-self: start; margin-top: 12px; }
.bag-price { display: grid; justify-items: end; align-content: start; font-size: 18px; }
.bag-price s { color: var(--soft); font-size: 15px; }

.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--card-line); border-left: 1px solid var(--card-line); margin-top: 16px; }
.pick { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-right: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); background: #fff; }
.pick-txt { display: grid; font-size: 14.5px; line-height: 1.35; min-width: 0; }
.pick-txt span:first-of-type { color: var(--soft); }
.picks--side { grid-template-columns: 1fr; margin-top: 0; }

.co-side { background: var(--band); padding: 28px 28px 30px; position: sticky; top: 156px; display: grid; gap: 16px; }
.co-side .cap { margin: 0; }
.co-side .offers { margin: 0; font-style: normal; font-size: 15.5px; }
.co-side .deal { background: #fff; padding: 16px 18px 18px; }
.co-side .deal p { font-size: 15px; }
.sum { margin: 0; display: grid; gap: 10px; font-size: 16px; }
.sum div { display: flex; justify-content: space-between; gap: 16px; }
.sum dd { margin: 0; white-space: nowrap; }
.sum-total { border-top: 1px solid var(--card-line); padding-top: 14px; margin-top: 4px; font-size: 20px; font-weight: 700; }
.sum-items { display: grid; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--card-line); }
.sum-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; font-size: 15px; }
.sum-items li span:nth-child(2) { display: grid; color: var(--soft); }
.sum-items b { color: var(--ink); }

.flds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.flds--one { grid-template-columns: 1fr; }
.fld { display: grid; gap: 6px; font-size: 14.5px; color: var(--soft); }
.fld.wide { grid-column: 1 / -1; }
.fld input { height: 50px; padding: 0 14px; border: 1px solid var(--card-line); background: #fff; font-size: 16px; color: var(--ink); }
.fld input:focus { border-color: var(--ink); outline: none; }

.payopts { display: grid; gap: 12px; margin-top: 16px; }
.payopt { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--card-line); cursor: pointer; }
.payopt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.payopt input { width: 20px; height: 20px; accent-color: #000; margin: 0; }
.payopt > span { display: grid; gap: 2px; }
.payopt b { font-size: 17px; }
.payopt small { font-size: 14.5px; color: var(--soft); line-height: 1.4; }
.payopt-amt { justify-items: end; white-space: nowrap; }
.payopt-amt em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--red); }
.co-place { width: 100%; margin-top: 28px; height: 54px; }
.co-or { text-align: center; color: var(--soft); font-size: 14px; margin: 12px 0; }
.co-or + .co-place { margin-top: 0; }
.co-form .fine { margin-top: 18px; }

.co-done { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; justify-items: start; }
.co-done > .h-serif { margin: 0; }
.co-done p { font-size: 17px; }
.co-done .btn { width: 100%; }
.co-recap { position: static; width: 100%; margin: 12px 0; }
.done-tick { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.done-tick svg { width: 22px; height: 22px; }
.co-narrow { max-width: 520px; margin: 0 auto; }

/* ---------- About ---------- */

.about-hero { padding-top: 72px; padding-bottom: 56px; max-width: 1040px; }
.about-hero small { font-size: 13.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.about-hero h1 { margin-top: 16px; }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-bottom: 72px; }
.about-cols p { margin: 12px 0 18px; color: var(--soft); font-size: 16.5px; }
.about-cols > div { scroll-margin-top: 160px; }

@media (max-width: 1100px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; }
  .picks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mega { display: none; }
  .co { padding-top: 26px; padding-bottom: 56px; }
  .co-grid { grid-template-columns: 1fr; gap: 28px; }
  .co-side { position: static; padding: 22px var(--gut); margin: 0 calc(var(--gut) * -1); }
  .bag-list li { grid-template-columns: 96px 1fr; gap: 16px; }
  .bag-price { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 10px; align-items: baseline; }
  .flds { grid-template-columns: 1fr; }
  .payopt { grid-template-columns: auto 1fr; padding: 16px; }
  .payopt-amt { grid-column: 2; justify-items: start; }
  .about-cols { grid-template-columns: 1fr; gap: 32px; }
  .about-hero { padding-top: 40px; padding-bottom: 36px; }
  .wa-fab { right: 12px; bottom: 12px; width: 48px; padding: 0; justify-content: center; }
  .wa-fab span { display: none; }
  body:has(.buybar) .wa-fab { bottom: 80px; }
}

/* ---------- Conversion layer: offer strip, quick add, slide-in bag, pinned bars ---------- */

.strip { display: flex; justify-content: center; align-items: center; gap: 12px; background: #000; color: #fff; padding: 9px var(--gut); font-size: 13.5px; text-align: center; }
.strip i { font-style: normal; opacity: 0.5; }
.strip:hover b { text-decoration: underline; text-underline-offset: 3px; }

.card-pic { position: relative; overflow: hidden; }
.qadd { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 40px; background: #000; color: #fff; font-size: 14px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s; }
.card:hover .qadd, .qadd:focus-visible { opacity: 1; transform: none; }
.qadd:hover { background: #333; }
.card-deal { font-size: 13.5px; color: var(--red); line-height: 1.35; }

.pdp-brand { font-size: clamp(40px, 4.2vw, 60px); margin-top: 24px; }
.thumbs { padding-top: 60px; }
.pay { margin-top: 2px; }
.pay b { font-weight: 700; }
.panel .actions { margin-top: 22px; }
.panel .offers { margin-top: 18px; }
.panel .offers + .offers { margin-top: 10px; }
.assure { margin-top: 26px; }

.buybar-pic { display: none; }
@media (min-width: 761px) {
  .buybar.pin { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 18px; background: #fff; border-top: 1px solid var(--line); padding: 12px var(--gut); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06); }
  .buybar.pin .buybar-pic { display: block; width: 52px; height: 52px; background: var(--grey); padding: 5px; }
  .buybar.pin div { display: grid; line-height: 1.3; margin-right: auto; }
  .buybar.pin span { font-size: 14px; color: var(--red); }
  .buybar.pin .btn { min-width: 300px; }
  body:has(.buybar.pin) .wa-fab { bottom: 92px; }
  body:has(#checkout) .nav, body:has(#checkout) .search, body:has(#checkout) .hdr-r > :not(.bag-btn) { visibility: hidden; }
  body:has(#checkout) .nav { display: none; }
}

.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.25s; }
.drawer aside { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.25s ease-out; }
.drawer.on .drawer-bg { opacity: 1; }
.drawer.on aside { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 17px; }
.drawer header b { display: flex; align-items: center; gap: 10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: grid; gap: 18px; align-content: start; }
.drawer-body .cap { margin: 6px 0 -8px; font-size: 14.5px; }
.drawer footer { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--band); }
.drawer footer .sum { margin-bottom: 6px; font-size: 15px; }
.drawer footer .sum-total { font-size: 18px; }
.drawer footer .textlink { justify-self: center; margin-top: 4px; }
.pick--plain { border: 0; padding: 0; grid-template-columns: 84px 1fr; }
body.drawer-open { overflow: hidden; }

.co-peek { display: none; }

@media (max-width: 760px) {
  .strip { font-size: 12.5px; gap: 8px; padding: 8px 10px; }
  .strip span, .strip span + i, .strip b + i:nth-of-type(2) { display: none; }
  .qadd { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: auto; height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 999px; }
  .card-deal { font-size: 12.5px; }
  .drawer aside { top: auto; left: 0; width: 100%; max-height: 88vh; transform: translateY(100%); border-radius: 14px 14px 0 0; }
  .drawer header { padding: 16px var(--gut); }
  .drawer-body { padding: 16px var(--gut); }
  .drawer footer { padding: 14px var(--gut) 18px; }
  .drawer footer .sum, .drawer footer .textlink { display: none; }
  .co:has(+ .buybar) { padding-bottom: 96px; }
  .buybar a.btn { flex: 1; }
  .co-peek { display: block; background: var(--band); margin: -10px calc(var(--gut) * -1) 26px; padding: 0 var(--gut); }
  .co-peek summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; font-size: 15px; }
  .co-peek summary::-webkit-details-marker { display: none; }
  .co-peek summary span::after { content: " · show details"; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
  .co-peek[open] summary span::after { content: " · hide"; }
  .co-peek summary b { font-size: 17px; }
  .co-peek > div { padding: 4px 0 18px; }
  body:has(#checkout) .nav, body:has(#checkout) .search, body:has(#checkout) .menu-btn { display: none; }
  body:has(#checkout) .wa-fab, body:has(#bag) .wa-fab { display: none; }
}
@media (max-width: 760px) { .wa-fab { right: auto; left: 12px; } }

/* ---------- Logo lockup (symbol + wordmark) ---------- */

.logo { display: block; line-height: 0; }
.logo img { height: 34px; width: auto; display: block; }
.ftr-logo { display: inline-block; margin-bottom: 40px; line-height: 0; }
.ftr-logo img { height: 40px; width: auto; }
@media (max-width: 760px) {
  .logo img { height: 28px; }
  .ftr-logo { margin-bottom: 30px; }
  .ftr-logo img { height: 34px; }
}

/* ---------- About (v2) ---------- */
.about-hero p { margin-top: 22px; max-width: 760px; font-size: 19px; line-height: 1.55; color: var(--soft); }
.about-talk { background: var(--dark); color: #fff; padding: 72px 0; }
.about-talk p { margin: 16px 0 26px; max-width: 620px; font-size: 18px; color: #cfcfcf; }
.about-talk .btn { background: #fff; color: #000; border-color: #fff; }
.about-talk .btn:hover { background: transparent; color: #fff; }
.about-talk + .band { margin-top: 0; }
@media (max-width: 760px) { .about-talk { padding: 48px 0; } .about-hero p { font-size: 17px; } }

/* Real product photos (replace the drawn stand-ins) */
.art--photo { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Product photos: no box inside the tile ---------- */
/* Plain studio shots are lifted to white (inline filter) and multiplied into the tile colour.
   Everything else fills the whole tile, right over its padding. */
.card-img, .tiles span.sq, .mega-tile span, .stage, .thumb, .bag-img, .pick-img, .sum-img, .buybar-pic { position: relative; overflow: hidden; }
.art--full { position: absolute; inset: 0; object-fit: cover; mix-blend-mode: normal; }
/* Lifestyle photos on the product page: the frame takes the photo's own shape, so it fills it with no bars and no crop. */
.stage.is-full { aspect-ratio: auto; max-height: none; padding: 0; }
.stage.is-full .art--full { position: static; width: 100%; height: auto; max-height: 780px; object-fit: cover; }
.thumbs[hidden], .dots[hidden] { display: none !important; }
