/* ============================================================
   Elysian Print — Where memories become art.
   Global stylesheet
   ============================================================ */

:root {
  --ink: #21303f;
  --ink-soft: #4b5b6b;
  --ink-faint: #8a99a8;
  --ice: #eaf3fa;
  --ice-deep: #d7e8f4;
  --cream: #faf7f2;
  --white: #ffffff;
  --gold: #c9a24b;
  --gold-soft: #e7d3a2;
  --gold-deep: #a07f2e;
  --gold-grad: linear-gradient(135deg, #d9b661 0%, #c9a24b 55%, #a07f2e 100%);
  --line: #e3ecf2;
  --shadow-sm: 0 2px 10px rgba(33, 48, 63, .06);
  --shadow-md: 0 10px 30px rgba(33, 48, 63, .10);
  --shadow-lg: 0 24px 60px rgba(33, 48, 63, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.serif { font-family: var(--serif); }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: "✦"; color: var(--gold); font-size: .9rem; }

.section { padding: 84px 0; }
.section--tint { background: linear-gradient(180deg, var(--cream) 0%, #f4eee3 100%); }
.section--ice { background: linear-gradient(180deg, var(--ice) 0%, #f2f8fc 100%); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--ink); }
.section-head p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold-grad); color: #fff;
  box-shadow: 0 8px 22px rgba(160, 127, 46, .35);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(160, 127, 46, .45); }

.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--gold-deep); font-weight: 600; }
.btn-ghost:hover { text-decoration: underline; }

.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- announcement ---------- */
.announce {
  background: var(--ink); color: var(--gold-soft);
  text-align: center; font-size: .8rem; letter-spacing: .12em;
  padding: 9px 16px; text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 16px 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 34px; height: 34px; }
.logo-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.logo-name em { font-style: normal; color: var(--gold-deep); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > li { list-style: none; position: relative; }
.main-nav a.nav-link {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  padding: 8px 2px; display: inline-flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { color: var(--gold-deep); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); min-width: 250px; padding: 10px;
  opacity: 0; visibility: hidden; transition: all .25s ease;
}
.main-nav li:hover .dropdown, .dropdown:focus-within { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 8px; font-size: .9rem; color: var(--ink-soft);
}
.dropdown a:hover { background: var(--ice); color: var(--ink); }
.dropdown a span { color: var(--ink-faint); font-size: .8rem; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.cur-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 4px 0 10px; border-radius: 999px; background: var(--ice);
  border: 1px solid transparent; transition: border-color .2s;
}
.cur-switch:hover { border-color: var(--line); }
.cur-switch .cur-globe { font-size: .85rem; }
.cur-switch select, .cur-row select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: none; cursor: pointer;
  font: 600 .82rem var(--sans); color: var(--ink);
  padding: 10px 22px 10px 2px; outline: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7c8f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.cur-switch select:focus-visible, .cur-row select:focus-visible { color: var(--ink); }
.cur-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px 4px; border-bottom: none;
}
.cur-row span { font-size: .85rem; color: var(--ink-faint); font-weight: 500; }
.cur-row select {
  padding: 8px 26px 8px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
}
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; background: var(--ice); color: var(--ink);
  font-weight: 600; font-size: .88rem; transition: background .2s;
}
.cart-btn:hover { background: var(--ice-deep); }
.cart-count {
  background: var(--gold-grad); color: #fff; min-width: 20px; height: 20px;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; padding: 0 5px;
}

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

.mobile-menu {
  display: none; background: #fff; border-bottom: 1px solid var(--line);
  padding: 10px 24px 22px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; border-bottom: 1px dashed var(--line); font-weight: 500; color: var(--ink-soft); }
.mobile-menu a:last-child { border: none; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
.hero-copy h1 em { font-style: italic; color: var(--gold-deep); }
.hero-copy p.lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust div { font-size: .85rem; color: var(--ink-soft); }
.hero-trust strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.hero-media { position: relative; }
.hero-media img { border-radius: 26px; box-shadow: var(--shadow-lg); }
.hero-chip {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 18px; display: flex; gap: 10px; align-items: center;
  font-size: .84rem; font-weight: 600; color: var(--ink);
}
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #7bb586; }
.hero-chip small { display: block; font-weight: 400; color: var(--ink-faint); font-size: .74rem; }

/* ---------- series cards ---------- */
.series-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.series-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: var(--ice);
  transition: transform .3s ease, box-shadow .3s ease;
}
.series-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.series-card img { height: 300px; width: 100%; object-fit: cover; }
.series-card .meta {
  position: absolute; inset: auto 0 0 0; padding: 44px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(33,48,63,.72));
  color: #fff;
}
.series-card .meta h3 { font-size: 1.15rem; margin-bottom: 2px; }
.series-card .meta .from { font-size: .8rem; opacity: .85; }
.series-card .meta .price { font-weight: 700; font-size: .95rem; color: var(--gold-soft); }

/* ---------- product cards ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 270px;
  gap: 22px; overflow-x: auto; padding: 6px 4px 22px;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }

.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.p-card .thumb { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--ice); }
.p-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .thumb img { transform: scale(1.05); }
.p-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold-grad); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.p-tag--cool { background: linear-gradient(135deg, #5e83a3, #37536c); }
.p-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card .name { font-weight: 600; font-size: .93rem; line-height: 1.4; color: var(--ink); min-height: 2.6em; }
.p-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.p-card .price { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.p-card .stars { color: var(--gold); font-size: .8rem; letter-spacing: 1px; }
.p-card .stars small { color: var(--ink-faint); margin-left: 4px; letter-spacing: 0; }

.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* ---------- brand story ---------- */
.story { text-align: center; max-width: 720px; margin: 0 auto; }
.story h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 20px; }
.story p { color: var(--ink-soft); font-size: 1.03rem; margin-bottom: 16px; }
.story .sign { font-family: var(--serif); font-style: italic; color: var(--gold-deep); margin-top: 8px; }
.story .cubes { display: flex; justify-content: center; gap: 10px; margin-bottom: 26px; }
.story .cubes span {
  width: 14px; height: 14px; border-radius: 4px; background: var(--gold-grad);
  opacity: .35; transform: rotate(45deg);
}
.story .cubes span:nth-child(2) { opacity: .65; }
.story .cubes span:nth-child(3) { opacity: 1; }
.story .cubes span:nth-child(4) { opacity: .65; }
.story .cubes span:nth-child(5) { opacity: .35; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; text-align: center; position: relative; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.2px var(--gold); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .92rem; }
.step .ico { font-size: 1.6rem; margin-bottom: 10px; display: block; }

/* ---------- appointment ---------- */
.appt { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: center; }
.appt-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.appt-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 26px 0 30px; }
.appt-list li { display: flex; gap: 14px; align-items: flex-start; }
.appt-list .ico {
  flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--ice);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.appt-list strong { display: block; font-size: .98rem; }
.appt-list p { font-size: .88rem; color: var(--ink-soft); }
.appt-note {
  font-size: .82rem; color: var(--gold-deep); background: rgba(201, 162, 75, .1);
  border: 1px dashed var(--gold-soft); padding: 10px 16px; border-radius: 10px; margin-top: 18px;
}

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review p { color: var(--ink-soft); font-size: .93rem; font-style: italic; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ice-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gold-deep); font-size: .9rem;
}
.review .who strong { display: block; font-size: .9rem; }
.review .who small { color: var(--ink-faint); font-size: .76rem; }
.review .verified { color: #4e8a5c; font-size: .74rem; font-weight: 600; }
.review .rev-meta {
  font-size: .73rem; color: var(--ink-faint); letter-spacing: .01em;
  padding-top: 10px; border-top: 1px dashed var(--line);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--gold-deep); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: .93rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9c6d2; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand p { font-size: .88rem; margin-top: 14px; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: .8rem;
  transition: background .2s;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: var(--sans); letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: .88rem; transition: color .2s; }
.site-footer ul a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .78rem; color: #8a99a8;
}

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .82rem; color: var(--ink-faint); padding: 22px 0 0; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs .sep { margin: 0 8px; }

/* ---------- product page ---------- */
.pdp { padding: 30px 0 70px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; margin-top: 18px; }

.gallery .main {
  border-radius: var(--radius); overflow: hidden; background: var(--ice);
  box-shadow: var(--shadow-sm); aspect-ratio: 1;
}
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery .thumbs button {
  border-radius: 12px; overflow: hidden; border: 2px solid transparent;
  aspect-ratio: 1; padding: 0; background: var(--ice);
}
.gallery .thumbs button.active { border-color: var(--gold); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs button:hover { opacity: .9; }

.pdp-info h1 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); margin-bottom: 10px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-faint); margin-bottom: 16px; }
.pdp-rating .stars { color: var(--gold); letter-spacing: 2px; }
.pdp-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; margin-bottom: 6px; }
.pdp-price small { font-size: .85rem; color: var(--ink-faint); font-family: var(--sans); font-weight: 400; }
.pdp-tax { font-size: .8rem; color: var(--ink-faint); margin-bottom: 18px; }
.pdp-desc { color: var(--ink-soft); font-size: .96rem; margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: .78rem; }

.ship-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship-opt {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.ship-opt input { display: none; }
.ship-opt strong { display: block; font-size: .88rem; }
.ship-opt span { font-size: .78rem; color: var(--ink-faint); }
.ship-opt.selected { border-color: var(--gold); background: rgba(201,162,75,.06); }
.ship-opt input:checked + strong { color: var(--gold-deep); }

select.ep-select, input.ep-input, textarea.ep-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color .2s;
}
select.ep-select:focus, input.ep-input:focus, textarea.ep-input:focus { outline: none; border-color: var(--gold); }
textarea.ep-input { min-height: 88px; resize: vertical; }

/* upload zone */
.upload-zone {
  border: 2px dashed var(--gold-soft); border-radius: var(--radius-sm);
  background: rgba(201,162,75,.05); padding: 26px 18px; text-align: center;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.upload-zone:hover, .upload-zone.drag { background: rgba(201,162,75,.12); border-color: var(--gold); }
.upload-zone .ico { font-size: 1.7rem; margin-bottom: 6px; }
.upload-zone strong { display: block; font-size: .92rem; }
.upload-zone small { color: var(--ink-faint); font-size: .78rem; }
.upload-previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.upload-previews:empty { display: none; }
.up-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--line); }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item button {
  position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(33,48,63,.75); color: #fff; font-size: .72rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.up-item button:hover { background: #b3423a; }
.upload-error { color: #b3423a; font-size: .8rem; margin-top: 8px; display: none; }
.upload-error.show { display: block; }

/* qty + add to cart */
.buy-row { display: flex; gap: 14px; margin: 22px 0 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; font-size: 1.05rem; color: var(--ink-soft); }
.qty button:hover { background: var(--ice); }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.buy-row .btn-gold { flex: 1; }
.assure { display: flex; gap: 18px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-faint); }
.assure span::before { content: "✓ "; color: #4e8a5c; font-weight: 700; }

/* pdp accordions */
.pdp-acc { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.pdp-acc details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 20px; }
.pdp-acc summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.pdp-acc summary::-webkit-details-marker { display: none; }
.pdp-acc summary::after { content: "+"; color: var(--gold-deep); font-size: 1.2rem; }
.pdp-acc details[open] summary::after { content: "–"; }
.pdp-acc details .inner { margin-top: 12px; color: var(--ink-soft); font-size: .9rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.spec-table td { padding: 8px 4px; border-bottom: 1px dashed var(--line); }
.spec-table td:first-child { color: var(--ink-faint); width: 40%; }

/* related */
.related { padding: 30px 0 84px; }

/* ---------- collections page ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.chip {
  padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft); transition: all .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- book page ---------- */
.book-hero { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.book-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-md);
}
.book-form h3 { margin-bottom: 20px; font-size: 1.3rem; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 4px;
  font-size: .84rem; font-weight: 600; color: var(--ink-soft); transition: all .2s;
}
.slot:hover { border-color: var(--gold); }
.slot.active { background: var(--gold-grad); border-color: transparent; color: #fff; }
.book-side img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.book-side .card {
  background: var(--ice); border-radius: var(--radius-sm); padding: 20px 22px; font-size: .88rem;
  color: var(--ink-soft); margin-bottom: 14px;
}
.book-side .card strong { color: var(--ink); }
.book-success {
  display: none; text-align: center; padding: 46px 30px;
}
.book-success.show { display: block; }
.book-success .ico {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(78,138,92,.12);
  color: #4e8a5c; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}

/* ---------- cart drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(33,48,63,.4); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 120;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: #fff; z-index: 130; box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform .35s cubic-bezier(.32,.72,.34,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.2rem; }
.cart-close { font-size: 1.4rem; color: var(--ink-faint); padding: 6px; }
.cart-close:hover { color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 18px; }
.cart-item { display: flex; gap: 14px; }
.cart-item img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.cart-item .info { flex: 1; }
.cart-item .nm { font-weight: 600; font-size: .86rem; line-height: 1.35; }
.cart-item .variant { font-size: .74rem; color: var(--ink-faint); margin: 3px 0 6px; }
.cart-item .ctl { display: flex; justify-content: space-between; align-items: center; }
.cart-item .qty { padding: 2px; }
.cart-item .qty button { width: 26px; height: 26px; font-size: .9rem; }
.cart-item .qty output { min-width: 26px; font-size: .85rem; }
.cart-item .line-price { font-weight: 700; font-size: .9rem; }
.cart-item .rm { font-size: .72rem; color: #b3423a; margin-top: 4px; }
.cart-empty { text-align: center; color: var(--ink-faint); padding: 50px 20px; font-size: .92rem; }
.cart-empty .ico { font-size: 2rem; margin-bottom: 10px; }
.cart-foot { border-top: 1px solid var(--line); padding: 20px 24px; }
.cart-note { font-size: .76rem; color: var(--ink-faint); text-align: center; margin-bottom: 12px; }
.cart-sub { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; font-size: 1.05rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 13px 26px; border-radius: 999px;
  font-size: .88rem; box-shadow: var(--shadow-lg); z-index: 200;
  opacity: 0; visibility: hidden; transition: .3s; display: flex; gap: 8px; align-items: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast .tick { color: #7bb586; font-weight: 700; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .series-grid, .grid-products { grid-template-columns: repeat(2, 1fr); }
  .steps, .reviews { grid-template-columns: 1fr; }
  .appt, .book-grid { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero { padding-top: 40px; }
  .section { padding: 60px 0; }
}

@media (max-width: 560px) {
  .grid-products { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 82vw; }
  .ship-toggle { grid-template-columns: 1fr; }
  .upload-previews { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .cur-switch .cur-globe { display: none; }
  .cur-switch { padding-left: 2px; }
  .cur-switch select { font-size: .76rem; padding: 8px 18px 8px 2px; }
  .header-actions { gap: 8px; }
  .cart-btn { padding: 9px 12px; font-size: .8rem; }
}
