@property --glow {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

:root {
  --cream: #fbf7f1;
  --paper: #f4ece1;
  --sand: #e9dccb;
  --line: #e8ddcf;
  --text: #3d312a;
  --muted: #86756a;
  --brand: #715f55;
  --brand-dark: #574940;
  --accent: #b9733a;
  --glow-color: #ffc983;
  --night: #2a201b;
  --night-2: #3a2c24;
  --night-text: #f7ecdd;
  --night-muted: #cdb8a3;
  --radius: 18px;
  --font-head: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h2 em { font-style: italic; color: var(--accent); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
section[id] { scroll-margin-top: 120px; }
.center { text-align: center; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.08rem; max-width: 33em; margin: 20px 0 0; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  font: inherit; font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* Announcement */
.announce { background: var(--brand); color: var(--night-text); text-align: center; font-size: 0.85rem; letter-spacing: 0.02em; }
.announce p { margin: 0; padding: 9px 16px; transition: opacity 0.35s; }
.announce p.fade { opacity: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 0 6px; transition: padding 0.3s; }
.logo img { height: 78px; width: auto; transition: height 0.3s; }
.site-header.compact .header-top { padding: 6px 0 0; }
.site-header.compact .logo img { height: 48px; }
.header-side { display: flex; gap: 14px; align-items: center; color: var(--brand); }
.header-side.right { justify-content: flex-end; }
.header-side svg { width: 20px; height: 20px; }
.header-side a { display: inline-flex; text-decoration: none; }
.header-link { font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.header-link:hover { text-decoration: underline; }
.nav { overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav-inner { display: flex; justify-content: center; gap: 34px; padding: 10px 16px 12px; min-width: max-content; margin: 0 auto; }
.nav a { position: relative; text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform 0.25s;
}
.nav a:hover::after { transform: scaleX(1); }

/* Hero slider */
.hero { position: relative; overflow: hidden; }
.slides { position: relative; height: clamp(480px, 46vw, 600px); }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  background: radial-gradient(45% 70% at 72% 50%, rgb(255 214 150 / 0.55), transparent 70%), linear-gradient(120deg, var(--s1), var(--s2));
  transition: opacity 0.9s ease, visibility 0.9s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide.has-photo { background-size: cover; background-position: center; }
.slide.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(30 22 17 / 0.6), rgb(30 22 17 / 0.1) 65%); }
.slide-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.slide-text { max-width: 520px; }
.slide-title { font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 400; }
.slide-title em { font-style: italic; color: var(--brand); }
.slide-copy { font-size: 1.08rem; color: var(--muted); margin: 18px 0 30px; }
.slide.has-photo .slide-text { color: #fff; }
.slide.has-photo .slide-title em, .slide.has-photo .eyebrow { color: var(--glow-color); }
.slide.has-photo .slide-copy { color: rgb(255 255 255 / 0.85); }
.slide-art { position: relative; height: 100%; min-height: 0; }
.slide-art img { position: absolute; bottom: 0; left: 50%; height: 94%; width: auto; max-width: none; transform: translate(-50%, 18px); transition: transform 1.2s ease; }
.slide.active .slide-art img { transform: translate(-50%, 0); }
.slide-arrow {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / 0.75); color: var(--brand); font-size: 1.8rem; line-height: 1;
  box-shadow: 0 4px 14px rgb(60 40 25 / 0.12); transition: background 0.2s;
}
.slide-arrow:hover { background: #fff; }
.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }
.dots { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgb(113 95 85 / 0.35); cursor: pointer; transition: width 0.3s, background 0.3s; }
.dots button[aria-current="true"] { width: 28px; background: var(--brand); }

/* Features */
.features { background: var(--paper); border-block: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { display: flex; gap: 12px; align-items: flex-start; padding: 26px 18px; }
.feature svg { flex: none; width: 28px; height: 28px; color: var(--brand); }
.feature h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
.feature p { margin: 2px 0 0; font-size: 0.86rem; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-head { margin-bottom: 40px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.more { margin-top: 40px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card, .collection-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.card {
  font: inherit; text-align: left; color: inherit; cursor: pointer;
  padding: 0; border: 0; background: none;
}
.card-img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s, opacity 0.5s; }
.card-img img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-img img.alt { opacity: 1; }
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 11px; border-radius: 999px; background: rgb(255 255 255 / 0.92);
  font-size: 0.75rem; font-weight: 700; color: var(--brand);
}
.card-body { padding: 16px 4px 6px; }
.card-cat { margin: 0 0 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-summary {
  margin: 6px 0 0; font-size: 0.92rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .price { margin: 6px 0 0; font-weight: 700; color: var(--brand); }
.dlg-price { margin: 10px 0 0; font-size: 1.4rem; font-weight: 700; color: var(--brand); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--paper); font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.card-link { display: inline-block; margin-top: 12px; font-size: 0.88rem; font-weight: 600; color: var(--brand); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.card:hover .card-link { border-color: var(--brand); }

/* Spotlight */
.spotlight {
  --glow: 1;
  color: var(--night-text);
  background:
    radial-gradient(40% 70% at 28% 50%, rgb(255 178 94 / calc(var(--glow) * 0.32)), transparent 72%),
    linear-gradient(160deg, var(--night-2), var(--night));
  transition: --glow 0.7s ease;
}
.spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 72px 0; }
.spotlight .eyebrow, .spotlight h2 em { color: var(--glow-color); }
.spotlight .lead { color: var(--night-muted); }
.spot-stage { display: flex; flex-direction: column; align-items: center; }
.lamp-button { width: min(340px, 100%); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lamp-button svg { display: block; width: 100%; height: auto; }
.spotlight .halo, .spotlight .cone, .spotlight .shade-glow { opacity: var(--glow); }
.spotlight .shade-dim { opacity: calc((1 - var(--glow)) * 0.62); }
.dimmer { display: flex; gap: 4px; padding: 5px; margin-top: 6px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.1); }
.dimmer button {
  font: inherit; font-size: 0.85rem; font-weight: 500; cursor: pointer;
  padding: 7px 16px; border: 0; border-radius: 999px; background: none; color: var(--night-muted);
  transition: background 0.25s, color 0.25s;
}
.dimmer button[aria-pressed="true"] { background: var(--glow-color); color: var(--night); }
.dimmer-hint { margin: 12px 0 0; font-size: 0.82rem; color: var(--night-muted); opacity: 0.8; }
.spot-features { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.spot-features li { display: flex; align-items: center; gap: 6px; padding: 6px 13px 6px 9px; border-radius: 999px; background: rgb(255 255 255 / 0.08); font-size: 0.85rem; }
.spot-features svg { width: 18px; height: 18px; color: var(--glow-color); }
.spotlight .btn { background: var(--glow-color); border-color: var(--glow-color); color: var(--night); }
.spotlight .btn:hover { background: #ffd8a3; }

/* Collections */
.collections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.collection-card {
  font: inherit; text-align: left; color: inherit; cursor: pointer;
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.collection-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgb(94 66 46 / 0.12); }
.collection-img { aspect-ratio: 1; overflow: hidden; }
.collection-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.collection-card:hover .collection-img img { transform: scale(1.04); }
.collection-body { padding: 16px 18px 20px; }
.collection-body h3 { font-size: 1.3rem; }
.collection-body p { margin: 6px 0 10px; font-size: 0.88rem; color: var(--muted); }
.collection-count { font-size: 0.85rem; font-weight: 600; color: var(--brand); }

/* All lamps */
.lamps { background: var(--paper); }
.room-select { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.room-select select {
  font: inherit; color: var(--text); padding: 9px 36px 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
}
.type-tabs { display: flex; gap: 28px; flex-wrap: wrap; margin: -8px 0 22px; border-bottom: 1px solid var(--line); }
.type-tab {
  font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--muted); cursor: pointer;
  padding: 10px 0 12px; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.type-tab:hover { color: var(--text); }
.type-tab[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--accent); }
.type-tab .n { font-weight: 500; font-size: 0.85rem; color: var(--muted); margin-left: 4px; }
.nav a.current::after { transform: scaleX(1); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  font: inherit; font-size: 0.9rem; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* About */
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.story-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; }
.story-text p { margin: 20px 0 0; font-size: 1.05rem; color: var(--muted); }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.values li { position: relative; padding-left: 26px; font-weight: 500; }
.values li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--glow-color); box-shadow: 0 0 0 4px rgb(255 201 131 / 0.3);
}

/* FAQ */
.faq { background: var(--paper); }
.faq-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list details:first-child { padding-top: 0; }
.faq-list summary { display: flex; justify-content: space-between; gap: 16px; font-size: 1.08rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform 0.25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contact-band {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: 28px; background: #fff; border: 1px solid var(--line);
}
.contact-grid { display: grid; gap: 12px; }
.contact-card { padding: 16px 20px; border-radius: 14px; background: var(--paper); }
.contact-card p, .contact-card a, .contact-card span { margin: 0; overflow-wrap: anywhere; }
.contact-card a { font-size: 1.05rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-label { margin-bottom: 2px !important; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.site-footer { background: var(--brand); color: var(--night-text); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 72px; width: auto; padding: 8px 10px; background: var(--cream); border-radius: 12px; }
.footer-brand p { max-width: 30em; margin: 16px 0 0; color: var(--night-muted); font-size: 0.92rem; }
.footer-brand .mission { color: var(--night-text); font-family: var(--font-head); font-style: italic; font-size: 1.02rem; }
.site-footer h4 { margin: 4px 0 14px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--glow-color); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.93rem; }
.site-footer ul a { text-decoration: none; color: var(--night-text); overflow-wrap: anywhere; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer ul span { color: var(--night-muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.15); font-size: 0.85rem; color: var(--night-muted); }
.footer-bottom p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.selects { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.count { font-size: 0.9rem; color: var(--muted); margin-right: 4px; }

/* Slide photo */
.slide-photo { display: flex; justify-content: center; align-items: center; height: 100%; padding: 36px 0 44px; }
.slide-photo img {
  height: 100%; max-height: 500px; width: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 28px; box-shadow: 0 30px 60px rgb(80 50 30 / 0.22);
  transform: translateY(16px) scale(0.98); transition: transform 1.2s ease;
}
.slide.active .slide-photo img { transform: none; }

/* Spotlight photo */
.lamp-button { position: relative; border-radius: 28px; overflow: hidden; width: min(440px, 100%); }
.lamp-button img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
  filter: brightness(calc(0.38 + var(--glow) * 0.62)) saturate(calc(0.55 + var(--glow) * 0.45));
  transition: filter 0.6s ease;
}
.spot-glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(55% 45% at 50% 30%, rgb(255 190 110 / calc(var(--glow) * 0.7)), transparent 70%);
}

/* Dialog */
.dialog { width: min(960px, 100% - 32px); max-height: 90vh; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--text); }
.dialog::backdrop { background: rgb(42 32 27 / 0.6); backdrop-filter: blur(3px); }
.dialog-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.dialog-media { display: flex; flex-direction: column; background: var(--paper); }
.dialog-media { align-self: start; position: sticky; top: 0; }
.dialog-media > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.dialog-inner { align-items: start; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; }
.thumbs:empty { display: none; }
.thumb { width: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--brand); }
.thumb img { aspect-ratio: 1; object-fit: cover; }
.dialog-body { padding: 44px 40px; max-height: 90vh; overflow-y: auto; }
.dialog { overflow: hidden; }
.dialog-body h3 { font-size: 2rem; }
.dlg-summary { color: var(--muted); }
.dlg-features { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dlg-features li { display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--paper); font-size: 0.84rem; font-weight: 500; }
.dlg-features svg { width: 18px; height: 18px; color: var(--brand); }
.dialog-close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.specs { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; position: sticky; bottom: -44px; padding: 16px 0 4px; background: linear-gradient(transparent, #fff 30%); }
.dlg-label { margin: 22px 0 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.dlg-label strong { color: var(--text); letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; cursor: pointer;
  font: inherit; font-size: 0.84rem; color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px;
}
.option img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.option[aria-pressed="true"] { border-color: var(--brand); background: var(--paper); font-weight: 600; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.highlights li { display: grid; gap: 2px; font-size: 0.9rem; color: var(--muted); padding-left: 16px; position: relative; }
.highlights li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.highlights strong { color: var(--text); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .spotlight { transition: none !important; }
}

@media (max-width: 1080px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .story-grid, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .story-media { max-width: 460px; }
  .contact-band { grid-template-columns: 1fr; padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .slides { height: 640px; }
  .slide-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 0; padding-top: 40px; text-align: center; }
  .slide-text { max-width: none; }
  .slide-copy { margin: 12px auto 22px; max-width: 30em; }
  .slide-art img { height: auto; max-height: calc(100% - 36px); bottom: 36px; aspect-ratio: 4 / 5; }
  .slide.has-photo .slide-inner { grid-template-rows: 1fr; align-items: end; padding-bottom: 70px; }
  .slide-arrow { display: none; }
  .spotlight-grid { grid-template-columns: 1fr; padding: 56px 0; }
  .lamp-button { width: min(260px, 70%); }
  .dialog-inner { grid-template-columns: 1fr; }
  .dialog-media > img { aspect-ratio: 1; }
  .dialog-body { padding: 26px 24px 30px; max-height: none; overflow: visible; }
  .dialog { overflow-y: auto; }
  .dialog-media { position: static; }
  .dialog-actions { bottom: -30px; }
  .slide-photo { padding: 8px 0 44px; }
  .slide-photo img { max-height: 300px; }
}
@media (max-width: 600px) {
  .logo img { height: 58px; }
  .header-link { font-size: 0.82rem; }
  .nav-inner { justify-content: flex-start; gap: 22px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature { padding: 18px 10px; }
  .section { padding: 64px 0; }
  .collections-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .collection-body p { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .card h3 { font-size: 1.02rem; }
  .card-summary, .tags { display: none; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cart & checkout */
.header-side.right { gap: 18px; }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--brand); cursor: pointer; }
.cart-btn:hover { background: var(--paper); }
.cart-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-overlay { position: fixed; inset: 0; z-index: 40; background: rgb(42 32 27 / 0.45); }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100%);
  display: flex; flex-direction: column; background: var(--cream); box-shadow: -10px 0 40px rgb(40 25 15 / 0.18);
  transform: translateX(105%); transition: transform 0.3s ease;
}
.cart.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.4rem; }
.cart-x { position: static; }
.cart-lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-empty { color: var(--muted); text-align: center; padding: 60px 0; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--paper); }
.cl-name { margin: 0; font-weight: 600; font-size: 0.92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cl-meta { margin: 2px 0 8px; font-size: 0.8rem; color: var(--muted); }
.cl-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.cl-right p { margin: 0; font-weight: 700; }
.cl-remove { border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.8rem; text-decoration: underline; cursor: pointer; padding: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 1rem; cursor: pointer; color: var(--text); border-radius: 50%; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.cart-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 8px; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--muted); }
.cart-row.total { color: var(--text); font-weight: 700; font-size: 1.1rem; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.cart-freeship { margin: 0 0 4px; padding: 8px 12px; border-radius: 10px; background: var(--paper); font-size: 0.85rem; color: var(--brand); font-weight: 600; }
.cart-checkout { width: 100%; margin-top: 8px; padding: 15px; font-size: 1rem; }
.co-muted { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }
.buy-row { display: flex; gap: 10px; align-items: center; width: 100%; }
.dlg-qty button { width: 40px; height: 44px; }
.add-cart { flex: 1; padding: 14px 24px; }
.sold-out-note { margin: 0; width: 100%; color: var(--muted); font-weight: 600; }
.badge.sold { background: var(--text); color: #fff; }
.policy-links { display: flex; gap: 16px; flex-wrap: wrap; }
.policy-links a { color: var(--night-muted); text-decoration: none; }
.policy-links a:hover { text-decoration: underline; }

.checkout { width: min(1000px, 100% - 24px); overflow-y: auto; overscroll-behavior: contain; }
.checkout .dialog-close { position: sticky; top: 14px; float: right; margin: 14px 14px -54px 0; }
.co-grid { align-items: start; }
.co-summary { position: sticky; top: 0; }
.co-grid { display: grid; grid-template-columns: 1.25fr 1fr; }
.co-form { padding: 36px 36px 30px; display: grid; gap: 12px; }
.co-form h3 { font-size: 1.9rem; margin-bottom: 4px; }
.co-section { margin: 10px 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.co-section small { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.co-field { display: grid; gap: 5px; font-size: 0.86rem; font-weight: 600; }
.co-field small { font-weight: 400; color: var(--muted); }
.co-field input, .co-field select, .co-field textarea {
  font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%;
}
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.co-field .invalid, .co-field input.invalid, .co-field select.invalid { border-color: #b3412e; background: #fff6f4; }
.co-row3 { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr; gap: 10px; }
.co-error { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #8e1f0b; font-size: 0.9rem; }
.co-pay { margin-top: 8px; min-height: 60px; }
.co-pay.busy { opacity: 0.5; pointer-events: none; }
.co-submit { width: 100%; padding: 15px; font-size: 1rem; }
.co-summary { padding: 36px 30px; background: var(--paper); display: grid; align-content: start; gap: 10px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 0.88rem; }
.co-thumb { position: relative; }
.co-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; display: block; }
.co-thumb b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--muted); color: #fff; font-size: 0.72rem; line-height: 20px; text-align: center; }
.co-name { display: grid; gap: 2px; line-height: 1.3; }
.co-name small { color: var(--muted); }
.co-done { padding: 60px 40px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.co-check { width: 64px; height: 64px; border-radius: 50%; background: #e3f3e6; color: #2f7a43; font-size: 2rem; display: grid; place-items: center; }
.co-done h3 { font-size: 1.9rem; }
.co-done .co-muted { max-width: 440px; font-size: 0.95rem; }
@media (max-width: 860px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { order: -1; padding: 24px; position: static; }
  .co-form { padding: 24px; }
  .co-row3 { grid-template-columns: 1fr 1fr; }
  .co-row3 label:first-child { grid-column: 1 / -1; }
}

/* Product page */
a.card { text-decoration: none; }
a.cl-name { display: -webkit-box; color: inherit; text-decoration: none; }
a.cl-name:hover { text-decoration: underline; }
.pdp { padding: 26px 0 90px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumb-now { color: var(--text); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pdp-grid > *, .pdp-gallery > *, .pdp-info > * { min-width: 0; }
.pdp-title { overflow-wrap: anywhere; }
.pdp-gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; position: sticky; top: 150px; }
.pdp-thumbs { display: grid; gap: 10px; align-content: start; max-height: 600px; overflow-y: auto; scrollbar-width: thin; }
.pdp-thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--paper); cursor: pointer; }
.pdp-thumb[aria-current="true"] { border-color: var(--brand); }
.pdp-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-main { position: relative; border-radius: 22px; overflow: hidden; background: var(--paper); }
.pdp-main > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-main .badge { position: absolute; top: 14px; left: 14px; }
.pdp-nav { position: absolute; top: 50%; translate: 0 -50%; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.85); color: var(--brand); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgb(60 40 25 / 0.12); }
.pdp-nav.prev { left: 12px; }
.pdp-nav.next { right: 12px; }
.pdp-info { display: grid; gap: 14px; }
.pdp-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .now { font-size: 1.9rem; font-weight: 700; color: var(--text); }
.pdp-price s { color: var(--muted); font-size: 1.05rem; }
.pdp-price .save { padding: 3px 10px; border-radius: 999px; background: #fbe6d9; color: var(--accent); font-weight: 700; font-size: 0.82rem; }
.pdp-label { margin: 4px 0 -4px; font-size: 0.9rem; color: var(--muted); }
.pdp-label b { color: var(--text); }
.pdp-info .options { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-info .dlg-features { margin: 0; }
.buy-box { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.stock { margin: 0; font-weight: 700; }
.stock.in { color: #2f7a43; }
.stock.out { color: #b3412e; }
.buy-now { width: 100%; padding: 14px; }
.perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
.perks svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.pdp-ask { font-size: 0.88rem; color: var(--brand); }
.pdp-summary { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pdp-summary.open { display: block; }
.pdp-more { justify-self: start; margin-top: -6px; padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.pdp-section { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.pdp-section h2 { font-size: 1.7rem; margin-bottom: 18px; }
.pdp-bullets { margin: 0; padding-left: 20px; display: grid; gap: 12px; max-width: 900px; color: var(--muted); line-height: 1.65; }
.pdp-bullets strong { color: var(--text); }
.pdp-specs { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 0.93rem; }
.pdp-specs th, .pdp-specs td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pdp-specs th { width: 34%; background: var(--paper); font-weight: 600; color: var(--text); }
.pdp-specs td { color: var(--muted); }
.pdp-missing { text-align: center; padding: 80px 0; display: grid; gap: 14px; justify-items: center; }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 26px; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .pdp-thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; max-height: none; }
}
