/* Styles for the parts the static site didn't have: real links for filters and pages, cart, checkout,
   orders and accounts. Everything else comes from shop.css, the approved design. */

.draw { display: contents; }
.flash { margin: 20px 0 0; padding: 12px 16px; background: var(--card); border-left: 2px solid var(--ink); font-size: 13.5px; }
.flash.err, .form-msg { border-left-color: var(--sale); }
.err { color: var(--sale); font-size: 12px; text-transform: none; letter-spacing: 0; }
[aria-invalid="true"] { border-color: var(--sale) !important; }
.linkish { border: 0; background: none; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.hint { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.nav-account { display: none; }
body.no-fab .finder-fab { display: none; }

/* product cards and the shop */
.tray-photo { position: absolute; inset: 8% 8% 18%; width: 84%; height: 74%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .tray-photo { transform: scale(1.05); }
.badge.sale { background: var(--sale); }
.badge.out { background: #5d636b; }
.price s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.quick button:disabled { background: #5d636b; cursor: default; }
.facet a { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; color: var(--text); }
.facet a:hover { color: var(--muted); }
.facet a[aria-pressed="true"] { font-weight: 600; }
.facet a[aria-pressed="true"]::before { content: ""; width: 6px; height: 6px; background: var(--ink); align-self: center; margin-right: -2px; }
.facet a span:first-child { flex: 1; }
.chip a { color: var(--muted); font-size: 15px; line-height: 1; }
a.chip.clear { text-decoration: underline; }
.pager a, .pager .disabled { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-variant-numeric: tabular-nums; }
.pager a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--silver-hi); }
.pager a.disabled { opacity: .35; pointer-events: none; }
.empty p { margin: 0 0 14px; }
#sortForm { display: contents; }

/* product page */
.stage-photo { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stock { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #2f6b45; }
.stock.low { color: #9a6a12; } .stock.out { color: var(--sale); }
.summary .btn.ghost { justify-self: start; }

/* cart and checkout */
.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.cart-table th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 8px 12px 0; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 8px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table .r { text-align: right; padding-right: 0; }
.ct-img { width: 84px; }
.ct-img .mini { width: 72px; aspect-ratio: 1; background: var(--tile); display: grid; place-items: center; }
.ct-img svg, .ct-img img { width: 78%; height: 78%; object-fit: contain; }
.ct-name { font-weight: 500; }
.cart-table .sub { font-size: 12px; color: var(--muted); }
.cart-table .sub.warn { color: var(--sale); }
.qty-form { display: grid; gap: 6px; justify-items: start; }
.qty-form .qty button, .qty-form .qty input { height: 34px; }
.line .mini img { width: 78%; height: 78%; object-fit: contain; }
.line h5 a:hover { color: var(--muted); }
.order-box h2 { font: 600 22px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.order-box .row small { color: var(--muted); }
.order-box .more { margin-top: 14px; justify-self: start; }
.order-box .btn.block { margin-top: 14px; }
.discount-form { display: flex; margin-top: 16px; }
.discount-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-right: 0; padding: 10px 12px; font-size: 13px; text-transform: uppercase; background: var(--paper); }
.discount-form .btn { padding: 10px 16px; }
.order-box .rm, .qty-form .rm { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 6px 0 0; cursor: pointer; }
.fields select { border: 1px solid var(--line); background: var(--card); padding: 12px 14px; font-size: 14px; width: 100%; letter-spacing: 0; text-transform: none; color: var(--text); }
.signin-hint { margin: 0 0 18px; font-size: 13.5px; }
.signin-hint a, .terms-note a, .auth-alt a, .hint a { text-decoration: underline; text-underline-offset: 3px; }
.pay-methods { display: grid; gap: 10px; }
.pay-method { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); padding: 16px 18px; cursor: pointer; transition: border-color .2s; }
.pay-method:has(input:checked) { border-color: var(--ink); }
.pay-method input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.pay-method span { display: grid; gap: 2px; }
.pay-method small { color: var(--muted); font-size: 12.5px; }
.terms-note { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
#placeOrder { padding-block: 17px; }

/* order page */
.progress { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; counter-reset: s; }
.progress li { position: relative; padding-top: 22px; font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.progress li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--line); }
.progress li::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.progress li.done { color: var(--text); }
.progress li.done::before, .progress li.done::after { background: var(--ink); }
.progress li.now::after { box-shadow: 0 0 0 4px rgba(11,12,14,.12); }
.next-step { background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--ink); padding: 22px 24px; margin-bottom: 32px; display: grid; gap: 10px; justify-items: start; }
.next-step h2, .checkout h2 { margin: 0 0 12px; }
.next-step p { margin: 0; }
.bank { margin: 0; font: 13px/1.6 var(--font-mono); background: var(--paper); padding: 12px 14px; white-space: pre-wrap; }
.order-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.order-meta h3 { font: 500 11px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.order-meta p { margin: 0; font-size: 14px; }

/* accounts */
.auth-card { max-width: 520px; margin: 0 auto; }
.ask.narrow { max-width: 520px; margin: 0 auto; }
.auth-alt { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
.account { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.account h2 { font: 600 24px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.account-forms { display: grid; gap: 20px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 8px; transition: border-color .2s; }
.order-row:hover { border-color: var(--ink); }
.order-row small { display: block; color: var(--muted); font-size: 12px; }
.order-row .r { font-variant-numeric: tabular-nums; }
.status { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; background: var(--tile); }
.status.s-shipped, .status.s-delivered { background: #dcebe1; }
.status.s-paid, .status.s-processing { background: #e1e8f2; }
.status.s-cancelled, .status.s-refunded { background: #f1dede; }

@media (max-width: 860px) {
  .nav-account { display: block; }
  .account { grid-template-columns: minmax(0, 1fr); }
  .order-meta { grid-template-columns: minmax(0, 1fr); }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 84px 1fr auto; column-gap: 8px; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 2px 0; }
  .cart-table td.ct-img { grid-row: 1 / 4; }
  .progress li { font-size: 10px; letter-spacing: .08em; }
}

.ask-actions { align-items: center; }

/* WhatsApp chat widget (bottom left; the crystal finder sits bottom right) */
.wa-widget { position: fixed; left: max(20px, env(safe-area-inset-left, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 73; }
.wa-fab { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #3a3f46; background: var(--ink); color: #3fd27a; box-shadow: 0 10px 30px rgba(5,6,8,.25); transition: transform .25s, background .25s; cursor: pointer; }
.wa-fab:hover { transform: translateY(-2px); background: #1b1e22; }
.wa-fab svg { width: 26px; height: 26px; }
.wa-card { position: absolute; left: 0; bottom: 66px; width: min(330px, calc(100vw - 40px)); background: var(--card); box-shadow: 0 24px 60px rgba(5,6,8,.3); animation: finder-in .3s cubic-bezier(.2,.7,.2,1); }
.wa-card[hidden] { display: none; }
.wa-card header { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--silver-hi); padding: 14px 10px 14px 18px; }
.wa-card header > svg { width: 26px; height: 26px; color: #3fd27a; flex: none; }
.wa-card header > div { flex: 1; }
.wa-card h2 { margin: 0; font: 500 21px/1.1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.wa-card header p { margin: 2px 0 0; font-size: 12px; color: #9aa0a8; }
.wa-card .icon-btn { width: 34px; height: 34px; }
.wa-greet { margin: 0; padding: 18px 18px 14px; font-size: 14px; line-height: 1.55; }
.wa-go { margin: 0 18px 18px; width: calc(100% - 36px); }
body.no-fab .wa-widget, body.finder-open .wa-widget { display: none; }

/* Watch servicing */
.service-steps { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: sv; }
.service-steps li { background: var(--card); padding: 22px 20px; display: grid; gap: 6px; align-content: start; counter-increment: sv; }
.service-steps li::before { content: "0" counter(sv); font: 500 13px/1 var(--font-mono); color: var(--muted); }
.service-steps b { font: 500 22px/1.15 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.service-steps span { font-size: 13.5px; color: var(--muted); }
.sv-h { margin: 26px 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chips-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-check label { cursor: pointer; }
.chips-check input { position: absolute; opacity: 0; pointer-events: none; }
.chips-check span { display: inline-block; border: 1px solid var(--line); background: var(--card); padding: 9px 14px; font-size: 13px; transition: border-color .2s, background .2s, color .2s; }
.chips-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--silver-hi); }
.chips-check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.timeline { list-style: none; margin: 0 0 36px; padding: 0 0 0 18px; border-left: 1px solid var(--line); display: grid; gap: 18px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 7px; width: 9px; height: 9px; background: var(--ink); }
.timeline small { color: var(--muted); font-size: 12px; }
.timeline p { margin: 4px 0 0; font-size: 14px; white-space: pre-line; }
@media (max-width: 860px) { .service-steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .service-steps { grid-template-columns: minmax(0, 1fr); } }

/* Sign-up offer popup */
.welcome { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(5,6,8,.62); animation: welcome-fade .3s ease; }
.welcome[hidden] { display: none; }
@keyframes welcome-fade { from { opacity: 0; } }
body.welcome-open { overflow: hidden; }
.welcome-card { width: min(820px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--card); box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: finder-in .4s cubic-bezier(.2,.7,.2,1); }
.welcome-art { position: relative; background: var(--ink); min-height: 100%; }
.welcome-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.welcome-art span { position: absolute; left: 28px; bottom: 22px; font: 500 96px/1 var(--font-display); color: var(--silver-hi); letter-spacing: .02em; }
.welcome-body { position: relative; padding: 40px 36px 30px; }
.welcome-body h2 { margin: 8px 0 10px; font: 500 34px/1.05 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.welcome-body .lede { margin: 0 0 20px; font-size: 14px; }
.welcome-body .fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.welcome-body .hint { margin-top: 14px; }
.welcome-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; color: var(--text); }
.welcome-timer { position: absolute; top: 18px; left: 36px; margin: 0; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.welcome-timer b { font-weight: 600; color: var(--text); }
.welcome-body::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--text); transform: scaleX(var(--left, 1)); transform-origin: left; transition: transform 1s linear; }
.welcome.no-timer .welcome-body::before { display: none; }
.welcome-code { margin: 6px 0 14px; padding: 16px; border: 1px dashed var(--ink); text-align: center; font: 500 22px/1 var(--font-mono); letter-spacing: .12em; user-select: all; }
@media (max-width: 640px) {
  .welcome-card { grid-template-columns: minmax(0, 1fr); }
  .welcome-art { min-height: 120px; }
  .welcome-art span { font-size: 64px; bottom: 14px; left: 20px; }
  .welcome-body { padding: 36px 20px 22px; }
  .welcome-timer { left: 20px; }
  .welcome-body h2 { font-size: 28px; }
}

/* Customer portal */
.status.s-returned { background: #dcebe1; }
.status.s-invoice_sent { background: #f4e9d2; }
.status.s-in_service, .status.s-ready { background: #e1e8f2; }
.portal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.portal-nav { position: sticky; top: 110px; display: grid; border: 1px solid var(--line); background: var(--card); }
.portal-nav a, .portal-out { display: block; padding: 13px 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 0; border-left: 2px solid transparent; border-bottom: 1px solid var(--line); text-align: left; background: none; color: var(--text); cursor: pointer; width: 100%; font-family: inherit; }
.portal-nav a[aria-current="page"] { border-left-color: var(--ink); background: var(--paper); font-weight: 600; }
.portal-nav a:hover, .portal-out:hover { background: var(--paper); }
.portal-nav form { margin: 0; }
.portal-out { color: var(--muted); border-bottom: 0; }
.portal-main { min-width: 0; display: grid; gap: 8px; align-content: start; }
.portal-main h2 { font: 600 22px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.portal-main .next-step h2 { margin-bottom: 8px; }
.portal-block { margin-top: 28px; }
.portal-block > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.portal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.portal-stats a { background: var(--card); padding: 20px; display: grid; gap: 4px; transition: background .2s; }
.portal-stats a:hover { background: var(--paper); }
.portal-stats b { font: 500 40px/1 var(--font-display); }
.portal-stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.portal-offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--ink); color: var(--silver-hi); padding: 20px 24px; margin-bottom: 16px; }
.portal-offer p { margin: 0; }
.portal-offer .eyebrow { color: #9aa0a8; margin-bottom: 4px; }
.portal-offer .mono { border: 1px dashed #5d636b; padding: 2px 8px; }
.portal-offer .btn { background: var(--silver-hi); color: var(--ink); }
.portal-card { margin: 0; background: var(--card); border: 1px solid var(--line); padding: 18px; font-size: 14px; }
.portal .order-row { grid-template-columns: minmax(0, 1fr) auto auto 96px; }
.order-link { display: block; min-width: 0; }
.row-act { justify-self: end; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); background: var(--card); padding: 8px 12px; cursor: pointer; color: var(--text); }
.row-act:hover { border-color: var(--ink); }
.order-row form { margin: 0; justify-self: end; }
@media (max-width: 860px) {
  .portal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .portal-nav { position: static; display: flex; overflow-x: auto; }
  .portal-nav a, .portal-out { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; width: auto; }
  .portal-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
  .portal .order-row { grid-template-columns: minmax(0, 1fr) auto; }
  .portal .order-row .r { display: none; }
  .portal-stats b { font-size: 30px; }
}

/* Payment link invoice */
.invoice-sheet { background: var(--card); border: 1px solid var(--line); padding: 28px; min-width: 0; }
.invoice-sheet > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; padding: 18px 20px; background: var(--ink); color: var(--silver-hi); font-size: 13px; text-align: right; }
.invoice-sheet > header img { height: 54px; width: auto; }
.order-box.flat { background: none; border: 0; padding: 12px 0 0; position: static; }

/* ---- Modern type (Inter Tight headings, Inter text): sentence case, tight tracking, no italics ---- */
body { font-size: 15px; letter-spacing: -.005em; font-feature-settings: "cv11", "ss01"; }
.title-band h1, .result h1, .h-cap h1, .h-head h2, .h-banner h2, .h-guide h2, .related h2, .page h2, .letter-group h2,
.checkout h2, .order-box h2, .account h2, .portal-main h2, .widget h4, .drawer-head h3, .side-head h3, .finder-head h2,
.wa-card h2, .welcome-body h2, .service-steps b, footer.site h6, .product h1, .summary h1, nav.main.open a, .sell-cta h2, .watch-about h2 {
  font-family: var(--font-display); font-style: normal; text-transform: none; letter-spacing: -.02em; font-weight: 600;
}
.title-band h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.h-cap h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1; letter-spacing: -.04em; }
.h-head h2, .h-guide h2, .h-banner h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.related h2, .page h2 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.025em; }
.checkout h2, .portal-main h2, .account h2 { font-size: 20px; }
.order-box h2, .widget h4, .drawer-head h3, .side-head h3, .finder-head h2, .wa-card h2 { font-size: 18px; letter-spacing: -.015em; }
.welcome-body h2 { font-size: 30px; letter-spacing: -.03em; }
.service-steps b { font-size: 18px; }
footer.site h6 { font-size: 13px; letter-spacing: 0; }
.letter-group h2 { font-size: 36px; }
.welcome-art span, .portal-stats b { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; }
.h-guide li::before { font-style: normal; font-weight: 600; font-family: var(--font-display); }
.btn, .row-act, .portal-nav a, .portal-out { letter-spacing: .06em; }
.btn { border-radius: 2px; font-weight: 600; }
.fields input, .fields textarea, .fields select { border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
.fields input:focus, .fields textarea:focus, .fields select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,12,14,.08); }
.fields label { letter-spacing: .08em; font-size: 10.5px; font-weight: 600; }
.h-cap h2, .drawer-head h3, .side-head h3 { font-family: var(--font-display); font-weight: 600; text-transform: none; letter-spacing: -.02em; }

/* Form pages: tips sit at the top; the form is one centred column */
.know { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 40px; }
.know > div { background: var(--card); padding: 18px 20px; display: grid; gap: 4px; align-content: start; font-size: 13.5px; color: var(--muted); }
.know b { color: var(--text); font-size: 14px; font-weight: 600; }
.know a { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.know table { width: 100%; border-collapse: collapse; } .know td { padding: 3px 0; } .know td:last-child { text-align: right; color: var(--text); font-weight: 600; }
.form-col { max-width: 760px; margin: 0 auto; }
.form-col > section + section { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.form-col h2 { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin: 0 0 6px; }
.form-col .sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.form-col .btn.block { margin-top: 8px; }
.form-col .form-h { margin-top: 40px; }
.know { background: none; border: 0; gap: 20px 28px; margin: -12px 0 48px; }
.know > div { background: none; padding: 2px 0 2px 14px; border-left: 2px solid var(--ink); }

/* Home hero slider */
.slider { position: relative; height: clamp(460px, 74vh, 760px); background: var(--ink); color: #fff; overflow: hidden; margin-bottom: 8px; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; display: flex; align-items: center; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.is-on img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,8,.82) 0%, rgba(5,6,8,.55) 42%, rgba(5,6,8,.08) 75%), linear-gradient(0deg, rgba(5,6,8,.45), transparent 35%); }
.slide.center::after { background: rgba(5,6,8,.5); }
.slide-cap { position: relative; z-index: 1; display: grid; gap: 16px; justify-items: start; width: 100%; }
.slide.center .slide-cap { justify-items: center; text-align: center; }
.slide-cap > * { max-width: 620px; }
.slide-cap .eyebrow { color: #c8ccd2; margin: 0; }
.slide-cap h1, .slide-cap h2 { margin: 0; font: 600 clamp(38px, 5.6vw, 76px)/1.02 var(--font-display); letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.slide-text { margin: 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 52ch; }
.slide-cap .btn { margin-top: 8px; }
.slide.is-on .slide-cap > * { animation: slide-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-on .slide-cap > *:nth-child(2) { animation-delay: .08s; } .slide.is-on .slide-cap > *:nth-child(3) { animation-delay: .16s; } .slide.is-on .slide-cap > *:nth-child(4) { animation-delay: .24s; }
@keyframes slide-rise { from { opacity: 0; transform: translateY(18px); } }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 44px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.dots span { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.dots [aria-selected="true"] span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: var(--progress-run, dot-run 6s linear forwards); }
.slider.still .dots [aria-selected="true"] span::after, .slider:hover .dots [aria-selected="true"] span::after { animation: none; }
@keyframes dot-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); background: rgba(5,6,8,.25); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; backdrop-filter: blur(4px); }
.arrows button:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.arrows svg { width: 20px; height: 20px; }
.dots button:focus-visible, .arrows button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .slider { height: 560px; }
  .slide::after { background: linear-gradient(0deg, rgba(5,6,8,.88) 0%, rgba(5,6,8,.55) 55%, rgba(5,6,8,.15) 100%); }
  .slide { align-items: flex-end; padding-bottom: 92px; }
  .arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide img, .slide.is-on .slide-cap > * { transition: none; animation: none; transform: none; } }
.slide::after { background: linear-gradient(90deg, rgba(5,6,8,.9) 0%, rgba(5,6,8,.72) 38%, rgba(5,6,8,.18) 72%), linear-gradient(0deg, rgba(5,6,8,.5), transparent 35%); }
@media (max-width: 640px) { .slide::after { background: linear-gradient(0deg, rgba(5,6,8,.92) 0%, rgba(5,6,8,.6) 55%, rgba(5,6,8,.2) 100%); } }

/* Back-in-stock alert on a sold-out product */
.stock-alert { display: grid; gap: 8px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); }
.stock-alert p { margin: 0; font-size: 14px; }
.stock-alert-row { display: flex; gap: 8px; }
.stock-alert-row input { flex: 1; min-width: 0; border: 1px solid var(--line); padding: 11px 12px; font: inherit; font-size: 14px; border-radius: 2px; }
.stock-alert-row input:focus { outline: none; border-color: var(--ink); }
.stock-alert .hint { font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }

/* Ratings and reviews */
.stars { display: inline-flex; gap: 2px; color: #15171a; vertical-align: -2px; }
.stars svg { width: 15px; height: 15px; }
.stars-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); text-decoration: none; }
.reviews { margin: 56px auto 0; max-width: 860px; }
.reviews > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 8px; }
.reviews h2 { margin: 0; font: 600 26px/1.1 var(--font-display); letter-spacing: -.025em; }
.reviews-sum { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.review-top { display: flex; align-items: center; gap: 10px; }
.review p { margin: 0; font-size: 14.5px; white-space: pre-line; }
.review small { color: var(--muted); font-size: 12.5px; }
.verified { color: #2b6a47; font-weight: 600; }
.review-reply { margin-top: 4px; padding: 10px 14px; background: var(--paper); border-left: 2px solid var(--ink); font-size: 13.5px; }
.review-form { margin-top: 28px; padding: 22px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; }
.review-form h3 { margin: 0; font: 600 18px/1.2 var(--font-display); }
.rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate legend { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; width: 100%; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { font-size: 30px; line-height: 1; color: #d1d5db; cursor: pointer; transition: color .15s; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #15171a; }
.rate input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Brands page: a clean index with the crystal count set apart from the name */
.brand-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.brand-tools .field-line { max-width: 360px; width: 100%; border-radius: 6px; }
.letters { gap: 4px; }
.letters a { width: 34px; height: 34px; border-radius: 6px; font: 600 15px/1 var(--font-display); color: var(--muted); transition: background .15s, color .15s; }
.letters a:hover { background: var(--ink); color: #fff; }
.brand-index { column-gap: 48px; }
.letter-group { margin-bottom: 40px; }
.letter-group h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin: 0 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.letter-group h2 small { font: 500 12px/1 var(--font-body); letter-spacing: 0; color: var(--muted); }
.letter-group li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 6px 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: padding .2s, background .2s; }
.letter-group li a:hover { padding-left: 10px; background: var(--card); }
.letter-group .b-name { font-size: 15px; font-weight: 500; }
.letter-group .n { flex: none; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-variant-numeric: tabular-nums; }
.letter-group li a:hover .n { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 520px) { .letter-group .n-word { display: none; } }

/* ---------- the photo finder, made visible: home band and the floating button's tag ---------- */
.fab-tag { margin-left: 2px; padding: 3px 6px 2px; background: var(--silver-hi); color: var(--ink); font-size: 9.5px; letter-spacing: .14em; line-height: 1; }
.h-snap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); background: var(--ink); color: #b9bec5; padding: clamp(32px, 6vw, 72px); }
.snap-txt { display: grid; gap: 18px; justify-items: start; }
.snap-txt > p { margin: 0; max-width: 52ch; }
.h-snap .eyebrow { margin: 0; color: var(--silver); }
.h-snap h2 { margin: 0; color: var(--silver-hi); font: 500 clamp(30px, 3.4vw, 46px)/1.05 var(--font-display); letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; }
.snap-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: var(--silver-hi); }
.snap-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 1px solid #3a3f46; border-radius: 50%; font-size: 11px; font-weight: 500; }
.h-snap .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.snap-note { font-size: 12px; }
.snap-note a { color: inherit; text-decoration: underline; }
.snap-art svg { display: block; width: 100%; max-width: 340px; margin-inline: auto; color: var(--silver); }
.snap-scan { animation: snap-scan 3.4s ease-in-out infinite; }
@keyframes snap-scan { 0%, 100% { transform: translateY(-58px); opacity: .25; } 50% { transform: translateY(58px); opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .snap-scan { animation: none; } }
@media (max-width: 760px) { .h-snap { grid-template-columns: minmax(0, 1fr); } .snap-art { order: -1; } .snap-art svg { max-width: 200px; } }

/* ---------- crystal finder: photo step ---------- */
.f-photo { display: block; width: 132px; height: 132px; object-fit: cover; border-radius: 2px; }
.f-reading { animation: f-reading 1.2s ease-in-out infinite; }
@keyframes f-reading { 50% { opacity: .45; } }
.f-camera { display: none; }
@media (pointer: coarse) { .f-camera { display: inline-block; } }
#finderPhotoForm .cf-turnstile { margin: 0 12px !important; }

/* ---------- toast with an action (Added to cart · View cart) ---------- */
.toast.has-action { display: flex; align-items: center; gap: 18px; pointer-events: auto; padding: 8px 8px 8px 20px; }
.toast button { flex: none; border: 1px solid rgba(255,255,255,.35); background: none; color: var(--silver-hi); padding: 8px 14px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.toast button:hover { background: var(--silver-hi); color: var(--ink); }

/* ---------- motion: quiet and precise. shop.css switches it all off for visitors who ask for reduced motion ---------- */
.rv.rv { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }

/* pages fade into each other while the header and floating buttons stay put */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  header.site { view-transition-name: site-header; }
  .finder-fab { view-transition-name: finder-fab; }
  .wa-widget { view-transition-name: wa-widget; }
  ::view-transition-old(root) { animation: page-out .18s ease both; }
  ::view-transition-new(root) { animation: page-in .38s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } }

/* page openings */
.title-band h1, .title-band p, .summary > * { animation: slide-rise .7s cubic-bezier(.2,.7,.2,1) backwards; }
.title-band p { animation-delay: .1s; }
.summary > *:nth-child(2) { animation-delay: .06s; } .summary > *:nth-child(3) { animation-delay: .12s; } .summary > *:nth-child(4) { animation-delay: .18s; } .summary > *:nth-child(n+5) { animation-delay: .24s; }
.stage { animation: welcome-fade .7s ease backwards; }

/* the perk icons draw themselves in as they scroll into view */
.perk.in svg > * { animation: line-draw 1s cubic-bezier(.4,0,.2,1) both; }
@keyframes line-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }

/* the banner photo drifts slower than the page, where the browser can do it without script */
@supports (animation-timeline: view()) {
  .h-banner > img { animation: banner-drift linear both; animation-timeline: view(); transform-origin: center; }
  @keyframes banner-drift { from { transform: scale(1.14) translateY(-5%); } to { transform: scale(1.14) translateY(5%); } }
}

/* hover and press */
.btn { transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active, .row-act:active, .quick button:active { transform: scale(.97); }
.tray { transition: box-shadow .4s; }
.card:hover .tray { box-shadow: 0 18px 40px rgba(5,6,8,.14); }
.card:hover .tray svg.render { transform: translateY(-4px) scale(1.04) rotate(-2deg); }
[data-theme="dark"] .card:hover .tray { box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.finder-fab svg { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.finder-fab:hover svg { transform: rotate(90deg); }
.theme-toggle svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.theme-toggle:hover svg { transform: rotate(30deg); }

/* ---------- opening loader: a dial ticks through a turn, then the page opens through the crystal ---------- */
html.loader-on { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; --dial: min(74vmin, 560px); }
.loader[hidden] { display: none; }
.loader-iris { position: absolute; left: 50%; top: 50%; width: var(--dial); height: var(--dial); margin: calc(var(--dial) / -2) 0 0 calc(var(--dial) / -2); border-radius: 50%; background: #050608; box-shadow: 0 0 0 200vmax #050608; }
.loader::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0,0,0,.65) 100%); }
.loader-dial { position: relative; z-index: 1; width: var(--dial); height: var(--dial); filter: drop-shadow(0 30px 80px rgba(0,0,0,.8)); animation: loader-push 3.4s cubic-bezier(.16,.8,.3,1) both; }
.loader-dial > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes loader-push { from { opacity: 0; transform: scale(1.32); } 18% { opacity: 1; } to { opacity: 1; transform: scale(1); } }
.loader-mark { fill: #2f343a; transition: fill .5s ease; }
.loader-mark.on { fill: #f1f2f4; transition-duration: .06s; }
.loader-hand { transform-origin: 50% 50%; transition: transform .13s cubic-bezier(.3,2.2,.5,1), opacity .3s ease; }
.loader-logo { position: absolute; left: 50%; top: 50%; width: 34%; height: auto; transform: translate(-50%, -50%) scale(.94); opacity: 0; transition: opacity .35s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.loader.landed .loader-logo { opacity: 1; transform: translate(-50%, -50%); }
.loader.landed .loader-hand { opacity: 0; }
/* light caught on the crystal, following the hand */
.loader-glint { position: absolute; inset: 1.5%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; background: conic-gradient(from calc(var(--turn, 0deg) - 28deg), transparent 0deg, rgba(255,255,255,.2) 28deg, transparent 56deg, transparent 360deg); transition: opacity .3s; }
.loader.opening .loader-iris { background: transparent; transform: scale(6); opacity: 0; transition: transform .9s cubic-bezier(.7,0,.2,1), opacity .35s ease .55s; }
.loader.opening .loader-dial { animation: none; opacity: 0; transform: scale(1.5); transition: opacity .3s ease, transform .9s cubic-bezier(.7,0,.2,1); }
.loader.opening::after { opacity: 0; transition: opacity .4s; }

/* ---------- light / dark toggle ---------- */
.theme-toggle .t-sun, [data-theme="dark"] .theme-toggle .t-moon { display: none; }
[data-theme="dark"] .theme-toggle .t-sun { display: block; }

/* ---------- dark mode ----------
   The black brand bands (header, footer, banners) stay black; the shop floor, cards and text flip.
   Primary buttons become a raised steel so they still stand out on the dark floor. */
:root[data-theme="dark"] {
  --ink: #30353c;
  --steel: #1e2125;
  --paper: #0e1012;
  --tile: #1a1d21;
  --card: #15181b;
  --text: #e4e6e9;
  --muted: #9aa0a8;
  --line: #2a2e34;
  --sale: #e39a9a;
  color-scheme: dark;
}
[data-theme="dark"] body::before,
[data-theme="dark"] :is(header.site, footer.site, .title-band, nav.main.open, .h-guide, .h-banner, .h-tile, .slider, .note-card,
  .finder-head, .wa-fab, .wa-card header, .invoice-sheet > header, .portal-offer, .welcome-art) { background-color: #08090b; }
[data-theme="dark"] :is(.btn:hover, .btn.ghost) { color: var(--text); border-color: var(--muted); }
[data-theme="dark"] .btn.light:hover { color: #fff; border-color: #fff; }
[data-theme="dark"] .portal-offer .btn { color: #0b0c0e; }
[data-theme="dark"] :is(.caution, .flash, .next-step, .review-reply, .know > div) { border-left-color: var(--silver); }
[data-theme="dark"] .portal-nav a[aria-current="page"] { border-left-color: var(--silver); border-bottom-color: var(--silver); }
[data-theme="dark"] .mat-row > div { border-top-color: var(--silver); }
[data-theme="dark"] .tablist button[aria-selected="true"] { border-top-color: var(--silver); }
[data-theme="dark"] .feat-tabs button[aria-selected="true"] { border-bottom-color: var(--silver); }
[data-theme="dark"] :is(.thumbs button[aria-pressed="true"], .pay-method:has(input:checked), a.c-card:hover, .order-row:hover, .row-act:hover, .welcome-code,
  .fields input:focus, .fields textarea:focus, .fields select:focus, .stock-alert-row input:focus) { border-color: var(--silver); }
[data-theme="dark"] :is(.timeline li::before, .progress li.done::before, .progress li.done::after, .facet a[aria-pressed="true"]::before,
  .facet button[aria-pressed="true"]::before, .legal-nav a[aria-current="page"]::before) { background: var(--silver); }
[data-theme="dark"] :is(.agree input, .pay-method input) { accent-color: var(--silver); }
[data-theme="dark"] .tray { background: linear-gradient(160deg, #23272c 0%, var(--tile) 55%, #121417 100%); }
[data-theme="dark"] .stage { background: linear-gradient(160deg, #23272c 0%, var(--tile) 55%, #121417 100%); }
[data-theme="dark"] .select { 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' fill='none' stroke='%23e4e6e9' stroke-width='1.2'/%3E%3C/svg%3E"); }
[data-theme="dark"] :is(.status.s-shipped, .status.s-delivered, .status.s-returned) { background: #173022; }
[data-theme="dark"] :is(.status.s-paid, .status.s-processing, .status.s-in_service, .status.s-ready) { background: #1a2638; }
[data-theme="dark"] :is(.status.s-cancelled, .status.s-refunded) { background: #3a1d1d; }
[data-theme="dark"] .status.s-invoice_sent { background: #382d15; }
[data-theme="dark"] .stars, [data-theme="dark"] .rate input:checked ~ label, [data-theme="dark"] .rate label:hover, [data-theme="dark"] .rate label:hover ~ label { color: var(--text); }
[data-theme="dark"] .rate label { color: #3a3f46; }
[data-theme="dark"] .letter-group li a:hover .n { color: var(--text); }
/* on phones the header has no room for the toggle: it moves into the menu */
.nav-theme { display: none; }
@media (max-width: 520px) {
  .head-actions .theme-toggle { display: none; }
  nav.main.open .nav-theme { display: block; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line-dark); color: var(--silver); font: 600 26px/1.2 var(--font-display); letter-spacing: -.02em; padding: 16px 0; }
}
