:root {
  --ink: #222222;
  --ink-2: #727272;
  --line: #e6e6e6;
  --soft: #f5f5f5;
  --bg: #ffffff;
  --accent: #111111;
  --wa: #1f8f4e;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
button, input, select { font: inherit; color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--ink-2); }
.small { font-size: 12px; }
.center { text-align: center; }
.pre { white-space: pre-line; }
.serif { font-family: var(--serif); font-weight: 400; }

/* ---------- header ---------- */
.announce { background: var(--soft); text-align: center; font-size: 12px; letter-spacing: .02em; padding: 9px 16px; color: var(--ink); }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.header-left { display: flex; gap: 28px; font-size: 13px; }
.header-left a { padding: 6px 0; border-bottom: 1px solid transparent; }
.header-left a:hover, .header-left a.active { border-color: var(--ink); }
.logo { font-family: var(--serif); font-size: 30px; letter-spacing: .32em; padding-left: .32em; font-weight: 400; line-height: 1; }
.logo-sm { font-size: 20px; padding-left: 0; margin-bottom: 12px; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 4px 2px; width: 200px; transition: border-color .2s; }
.search:focus-within { border-color: var(--ink); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-toggle { display: none; }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav-inner { display: flex; justify-content: center; gap: 30px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { font-size: 13px; white-space: nowrap; padding: 12px 0; border-bottom: 2px solid transparent; }
.cat-nav a:hover, .cat-nav a.active { border-color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: #fff; border: 1px solid var(--accent); padding: 14px 32px; font-size: 13px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-block { width: 100%; padding: 17px 24px; font-size: 14px; }
.link-underline { text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; margin-top: 32px; background: var(--soft); padding: 0; }
.hero-media { aspect-ratio: 4/5; max-height: 720px; overflow: hidden; background: #ececec; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; margin: 0 0 18px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; }
.lead { font-size: 15px; max-width: 420px; margin: 22px 0 32px; color: #444; }
.hero-ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* ---------- sections & grid ---------- */
.section { margin-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.section h2 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.grid { display: grid; gap: 32px 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { display: block; }
.card-img { position: relative; aspect-ratio: 3/4; background: var(--soft); overflow: hidden; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.card-img img.alt { opacity: 0; }
.card:hover .card-img img.alt { opacity: 1; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--soft); }
.ph span { font-family: var(--serif); letter-spacing: .3em; color: #c9c9c9; font-size: 15px; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11px; padding: 4px 8px; letter-spacing: .02em; }
.tag-light { background: #fff; color: var(--ink); }
.tag-inline { position: static; display: inline-block; margin-bottom: 14px; }
.card-body { padding: 12px 2px 0; }
.card-designer { font-weight: 600; font-size: 14px; }
.card-name { color: var(--ink-2); font-size: 13px; margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { font-size: 13px; }

.cat-tile .card-img { aspect-ratio: 4/5; }
.cat-tile-label { padding-top: 12px; font-weight: 500; display: flex; justify-content: space-between; }

.how { background: var(--soft); padding: 72px 0; margin-top: 96px; }
.how h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin-bottom: 44px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1000px; margin: 0 auto; }
.how-n { font-family: var(--serif); font-size: 28px; color: #b0b0b0; }
.how h3 { font-size: 15px; font-weight: 600; margin: 8px 0 8px; }
.how p { margin: 0; }
.empty { text-align: center; padding: 64px 0; }
.empty .btn { margin-top: 18px; }

/* ---------- listing ---------- */
.crumbs { font-size: 12px; color: var(--ink-2); padding: 22px 0 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.list-head { padding-bottom: 8px; }
.list-head h1 { font-size: 28px; margin-top: 18px; font-weight: 500; }
.list-head p { margin: 4px 0 0; }
.list-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-top: 28px; }
.filters details { border-top: 1px solid var(--line); padding: 14px 0; }
.filters details:last-child { border-bottom: 1px solid var(--line); }
.filters summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 13px; display: flex; justify-content: space-between; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; font-weight: 300; }
.filters details[open] summary::after { content: '–'; }
.filters details > a { display: block; font-size: 13px; padding: 5px 0; color: var(--ink-2); }
.filters details > a:first-of-type { margin-top: 10px; }
.filters details > a:hover, .filters details > a.on { color: var(--ink); }
.filters details > a.on { font-weight: 500; }
.filters .check::before { content: ''; display: inline-block; width: 13px; height: 13px; border: 1px solid #999; margin-right: 8px; vertical-align: -2px; }
.filters .check.on::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; min-width: 40px; justify-content: center; border: 1px solid var(--line); padding: 7px 12px; font-size: 12px; color: var(--ink); background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; min-height: 36px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sort label { font-size: 13px; display: flex; gap: 10px; align-items: center; }
.sort select { border: 1px solid var(--line); padding: 8px 30px 8px 12px; background: #fff; font-size: 13px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23222' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 56px; margin-top: 20px; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.pdp-gallery.single { grid-template-columns: 1fr; max-width: 640px; }
.pdp-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--soft); }
.pdp-gallery .ph { position: relative; aspect-ratio: 3/4; }
.pdp-dots { display: none; }
.pdp-sticky { position: sticky; top: 150px; padding-bottom: 20px; }
.pdp-designer { font-size: 22px; font-weight: 600; }
.pdp-name { font-size: 15px; color: var(--ink-2); margin: 4px 0 22px; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp-price .price { font-size: 20px; font-weight: 500; }
.pdp-block { margin: 26px 0; }
.label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pdp-info .btn-wa { margin-top: 26px; }
.pdp-info > .pdp-sticky > .small.center { margin-top: 10px; }
.pdp-details { margin-top: 32px; }
.pdp-details details { border-top: 1px solid var(--line); padding: 16px 0; }
.pdp-details details:last-child { border-bottom: 1px solid var(--line); }
.pdp-details summary { list-style: none; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: '+'; font-weight: 300; font-size: 18px; line-height: 1; }
.pdp-details details[open] summary::after { content: '–'; }
.pdp-details p { margin: 12px 0 0; color: #444; }
.pdp-details ul { list-style: none; padding: 0; margin: 14px 0 0; }
.pdp-details li { display: flex; gap: 12px; padding: 4px 0; font-size: 13px; }
.pdp-details li span { width: 90px; color: var(--ink-2); flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 56px 0 28px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid p { max-width: 320px; margin: 0; }
.footer-bottom { margin-top: 48px; font-size: 12px; color: var(--ink-2); }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); z-index: 40; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .search { width: 150px; }
}
@media (max-width: 860px) {
  .container { padding: 0 16px; }
  .header-row { height: 60px; grid-template-columns: auto 1fr auto; gap: 8px; }
  .menu-toggle { display: inline-flex; }
  .header-left { display: none; }
  .logo { font-size: 22px; text-align: center; padding-left: .32em; }
  .search { display: none; }
  .cat-nav-inner { justify-content: flex-start; gap: 22px; height: 42px; }
  body.menu-open .cat-nav-inner { flex-direction: column; height: auto; align-items: flex-start; gap: 0; padding: 8px 16px 16px; }
  body.menu-open .cat-nav a { padding: 10px 0; border: 0; }

  .hero { grid-template-columns: minmax(0, 1fr); margin-top: 0; padding: 0; }
  .hero-media { aspect-ratio: 4/5; max-height: none; }
  .hero-text { padding: 32px 20px 40px; }
  .section { margin-top: 48px; }
  .grid { gap: 24px 10px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-designer { font-size: 13px; }
  .card-name, .card-price { font-size: 12px; }
  .how { padding: 48px 0; margin-top: 64px; }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }

  .list-layout { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .filters details { border: 1px solid var(--line) !important; padding: 8px 12px; flex-shrink: 0; }
  .filters details:not([open]) { }
  .filters details[open] { flex-basis: 100%; }
  .filters { flex-wrap: wrap; }
  .list-toolbar { flex-direction: column; align-items: stretch; }
  .sort label { justify-content: space-between; }

  .pdp { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  .pdp-gallery, .pdp-gallery.single { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 -16px; scrollbar-width: none; max-width: none; }
  .pdp-gallery::-webkit-scrollbar { display: none; }
  .pdp-gallery img, .pdp-gallery .ph { flex: 0 0 100%; scroll-snap-align: start; }
  .pdp-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
  .pdp-dots span { width: 6px; height: 6px; border-radius: 50%; background: #d0d0d0; }
  .pdp-dots span.on { background: var(--ink); }
  .pdp-info { padding-top: 20px; }
  .pdp-sticky { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* availability calendar on product page */
.pdp-cal { border-top: 1px solid var(--line); padding-top: 22px; }
.cal-help { margin: 6px 0 16px; }
.pdp-cal .gcal-months { grid-template-columns: 1fr; }
.cal-pick { margin: 14px 0 0; padding: 10px 12px; background: var(--soft); font-size: 13px; font-weight: 500; }
.cal-pick.warn { background: #fdecea; color: #b42318; font-weight: 400; }
.pdp-cal .gcal, .pdp-cal .gcal-legend { max-width: 340px; }
.pdp-cal .gcal-title { font-size: 12px; height: 24px; line-height: 24px; margin-bottom: 4px; }
.pdp-cal .gcal-nav { width: 27px; height: 27px; font-size: 16px; }
.pdp-cal .gcal-grid { gap: 2px; }
.pdp-cal .gcal-wd { font-size: 11px; padding: 3px 0; }
.pdp-cal .gcal-day { font-size: 12px; }
.pdp-cal .gcal-legend { margin-top: 10px; gap: 12px; font-size: 11px; }
.pdp-cal .gcal-legend i { width: 10px; height: 10px; }
.pdp-cal .cal-pick { max-width: 340px; font-size: 12.5px; padding: 8px 10px; }

/* product gallery: thumbnail column + main stage */
.pdp-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.pdp-media.has-thumbs { grid-template-columns: 84px minmax(0, 1fr); }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scrollbar-width: thin; max-height: 680px; padding-right: 2px; }
.pdp-thumb { flex: 0 0 auto; width: 100%; aspect-ratio: 3/4; padding: 0; border: 1px solid transparent; background: var(--soft); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: 1; }
.pdp-thumb.on { opacity: 1; border-color: var(--ink); }
.pdp-stage { position: relative; max-width: 560px; width: 100%; margin: 0 auto; }
.pdp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; background: var(--soft); }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-slide { flex: 0 0 100%; width: 100%; aspect-ratio: 3/4; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.pdp-track .ph.pdp-slide { position: relative; }
.pdp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.pdp-arrow.prev { left: 12px; } .pdp-arrow.next { right: 12px; }
.pdp-stage:hover .pdp-arrow:not(:disabled), .pdp-arrow:focus-visible { opacity: 1; }
.pdp-arrow:disabled { opacity: 0 !important; pointer-events: none; }
.pdp-stage .pdp-dots { display: none; }
@media (max-width: 860px) {
  .pdp-media, .pdp-media.has-thumbs { grid-template-columns: minmax(0, 1fr); margin: 0 -16px; }
  .pdp-thumbs { display: none; }
  .pdp-stage { max-width: none; }
  .pdp-arrow { display: none; }
  .pdp-stage .pdp-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
}
