@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");

:root {
  --ink: #111111;
  --muted: #6f6f6f;
  --line: #dedede;
  --soft: #f5f5f5;
  --paper: #ffffff;
  --danger: #b73434;
  --mono: "DM Mono", ui-monospace, monospace;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button { color: inherit; font: inherit; cursor: pointer; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
}
.header-action { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; padding: 8px 0; font: 400 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.bag-button { justify-content: flex-end; }
.menu-icon { display: grid; gap: 4px; width: 22px; }
.menu-icon i { display: block; height: 1px; width: 18px; background: currentColor; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.brand-lockup img { display: block; width: 140px; height: auto; }
.brand-lockup span { color: var(--muted); font: 10px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.bag-icon { position: relative; width: 20px; height: 20px; display: inline-block; border: 1.4px solid currentColor; border-top: 0; margin-left: 2px; margin-top: 5px; }
.bag-icon::before { content: ""; position: absolute; left: 5px; top: -6px; width: 8px; height: 8px; border: 1.4px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; }
.bag-icon i { display: none; }
.bag-count { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; font: 400 10px var(--mono); }

.menu-drawer, .bag-drawer { position: fixed; z-index: 20; top: 0; bottom: 0; width: min(390px, 88vw); padding: 28px 32px; background: #fff; box-shadow: 10px 0 40px rgba(0,0,0,.08); transition: transform .3s ease; }
.menu-drawer { left: 0; transform: translateX(-105%); }
.bag-drawer { right: 0; transform: translateX(105%); box-shadow: -10px 0 40px rgba(0,0,0,.08); }
.menu-drawer.visible, .bag-drawer.visible { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.drawer-close, .bag-close { border: 0; background: transparent; font-size: 27px; font-weight: 300; line-height: 1; }
.menu-drawer > a { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 24px var(--serif); text-decoration: none; }
.empty-bag { margin-top: 36px; color: var(--muted); font-size: 14px; }
.bag-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bag-item img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.bag-item-copy span { display: block; color: var(--muted); font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.bag-item-copy strong, .bag-item-price { font: 20px var(--serif); font-weight: 400; }
.bag-item-price { white-space: nowrap; }
.bag-checkout-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 28px; padding: 16px 20px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font: 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.bag-checkout-button:hover { color: var(--ink); background: transparent; }

.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: calc(100vh - 129px); }
.gallery-panel { position: relative; min-height: 600px; padding: 32px 4.5vw 40px; background: var(--soft); }
.gallery-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; color: var(--muted); font: 11px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-image-wrap { display: flex; align-items: center; justify-content: center; height: calc(100vh - 240px); min-height: 450px; padding: 32px 4vw; }
.hero-image-wrap img { display: block; width: 100%; height: 100%; max-height: 620px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .2s ease; }
.thumbnail-row { position: absolute; bottom: 40px; left: 4.5vw; display: flex; gap: 12px; }
.thumbnail { width: 64px; height: 64px; padding: 4px; border: 2px solid transparent; background: var(--paper); transition: border-color .2s ease; }
.thumbnail.active { border-color: var(--ink); }
.thumbnail:hover { border-color: #777; }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.product-copy { align-self: center; max-width: 620px; padding: 80px 8vw 80px 7vw; }
.eyebrow, .size, .shade-name { color: var(--muted); font: 12px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { margin: 0 0 24px; }
h1 { max-width: 540px; margin: 0 0 24px; font: 500 clamp(40px, 5vw, 80px)/.9 var(--serif); letter-spacing: -.06em; }
h1 em { font-size: .9em; font-weight: 400; letter-spacing: -.03em; }
.intro { max-width: 400px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.size { margin: 16px 0 0; letter-spacing: .1em; }
.price-block { margin: 24px 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.price-row { display: flex; align-items: center; gap: 16px; }
.sale-price { font-size: 36px; font-weight: 300; letter-spacing: -.04em; }
.original-price { color: var(--muted); font-size: 16px; font-weight: 300; text-decoration: line-through; }
.discount { padding: 3px 8px; color: #fff; background: var(--ink); font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.shade-name { margin: 12px 0 0; letter-spacing: .1em; }
.sale-timer { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--danger); }
.clock-icon { position: relative; flex: 0 0 16px; width: 16px; height: 16px; border: 1.4px solid currentColor; border-radius: 50%; }
.clock-icon::before { content: ""; position: absolute; left: 7px; top: 3px; width: 1px; height: 5px; background: currentColor; }
.clock-icon::after { content: ""; position: absolute; left: 7px; top: 7px; width: 4px; height: 1px; background: currentColor; transform: rotate(25deg); transform-origin: left; }
.sale-label { font: 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.countdown { display: flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--ink); font: 500 14px var(--mono); }
.countdown > span { display: inline-flex; align-items: center; gap: 2px; }
.countdown b { min-width: 28px; padding: 3px 6px; color: #fff; background: var(--ink); text-align: center; font-weight: 500; }
.countdown small { color: var(--muted); font-size: 10px; font-weight: 400; }
.countdown i { color: var(--muted); font-style: normal; }
.trust-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.trust-list > div { display: flex; align-items: center; gap: 10px; }
.trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1.2px solid currentColor; border-radius: 50%; font-size: 10px; }
.trust-icon.shield { border-radius: 8px 8px 9px 9px; }
.trust-list p { margin: 0; font-size: 14px; }
.trust-list p span { color: var(--muted); }
.shade-picker { margin-bottom: 24px; }
.field-label { margin: 0 0 12px; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.field-label span, .shade-description { color: var(--muted); }
.shade-options { display: flex; gap: 16px; }
.shade-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; font-size: 11px; letter-spacing: .08em; }
.shade-dot { display: block; width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 50%; transition: box-shadow .2s ease, border-color .2s ease; }
.shade-option.selected .shade-dot { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(17,17,17,.1), 0 0 0 4px #fff; }
.shade-dot.noir { background: #111; }
.shade-dot.brun { background: #3d2b1f; }
.shade-option.selected > span:last-child { color: var(--ink); }
.shade-option:not(.selected) > span:last-child { color: var(--muted); }
.shade-description { margin: 10px 0 0; font-size: 14px; }
.purchase-box { padding: 20px; border: 1px solid var(--line); }
.quantity-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.quantity-control { display: flex; align-items: center; gap: 16px; }
.quantity-control button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 18px; font-weight: 300; line-height: 1; }
.quantity-control span { width: 16px; text-align: center; font: 500 14px var(--sans); }
.buy-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font: 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.buy-button:hover { color: var(--ink); background: transparent; }
.arrow-up-right { font: 23px var(--sans); line-height: 1; }
.shipping-row { display: flex; gap: 24px; margin-top: 20px; }
.shipping-row > div { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.line-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: 0 0 16px; }
.truck::before { content: "▱"; font-size: 21px; transform: rotate(90deg); }
.return { font-size: 22px; }
.accordions { margin-top: 32px; }
.accordion { border-top: 1px solid var(--line); }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; border: 0; background: transparent; text-align: left; font: 18px var(--serif); }
.chevron { font: 22px var(--sans); transition: transform .2s ease; }
.accordion.open .chevron { transform: rotate(180deg); }
.accordion-content { display: none; max-width: 420px; margin: -4px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.accordion.open .accordion-content { display: block; }

footer { color: #fff; background: var(--ink); }
.quote { padding: 24px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: center; }
.quote p { margin: 0; opacity: .7; font: italic 16px var(--serif); letter-spacing: .04em; }
.quote span { display: block; margin-top: 8px; opacity: .4; font: 10px var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.footer-meta { display: flex; align-items: center; justify-content: space-between; padding: 16px 4.5vw; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: 300px; padding: 12px 16px; color: #fff; background: var(--ink); font: 12px var(--mono); letter-spacing: .04em; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

.checkout-view { min-height: 100vh; background: var(--paper); }
.checkout-topbar { padding: 20px 4.5vw; border-bottom: 1px solid var(--line); }
.back-to-product { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--muted); background: transparent; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; transition: color .2s ease; }
.back-to-product:hover { color: var(--ink); }
.back-to-product span { font-size: 18px; line-height: 0; }
.checkout-container { width: min(620px, calc(100% - 9vw)); margin: 0 auto; padding: 48px 0; }
.order-summary { margin-bottom: 40px; padding: 24px; border: 1px solid var(--line); }
.order-summary h2 { margin: 0 0 20px; font: 20px var(--serif); }
.summary-item { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-item img { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; mix-blend-mode: multiply; }
.summary-item div { min-width: 0; flex: 1; }
.summary-item p { overflow: hidden; margin: 0 0 4px; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.summary-item span { color: var(--muted); font-size: 12px; }
.summary-item strong { flex: 0 0 auto; font-size: 14px; }
.summary-lines { display: grid; gap: 10px; margin-top: 20px; font-size: 14px; }
.summary-lines > div { display: flex; align-items: center; justify-content: space-between; }
.summary-lines > div span:first-child { color: var(--muted); }
.summary-total { padding-top: 12px; margin-top: 2px; border-top: 1px solid var(--line); }
.summary-total strong:last-child { font: 20px var(--serif); }
.checkout-form h1 { margin: 0 0 4px; font-size: 32px; letter-spacing: -.04em; }
.checkout-subtitle { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.checkout-field { display: block; margin-bottom: 20px; }
.checkout-field > span { display: block; margin-bottom: 8px; color: var(--muted); font: 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.checkout-input, .checkout-field input, .checkout-field textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; color: var(--ink); background: transparent; font: 14px var(--sans); transition: border-color .2s ease; resize: vertical; }
.checkout-input:focus, .checkout-field input:focus, .checkout-field textarea:focus { border-color: var(--ink); }
.checkout-field input.invalid, .checkout-field textarea.invalid { border-color: var(--danger); }
.checkout-field input::placeholder, .checkout-field textarea::placeholder { color: #aaa; }
.req { color: var(--danger); font-style: normal; }
.opt { color: var(--muted); font-size: 9px; font-style: normal; letter-spacing: .04em; }
.country-field { margin-bottom: 16px; }
.country-buttons { display: flex; gap: 12px; }
.country-button { flex: 1; padding: 10px; border: 1px solid var(--line); background: transparent; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.country-button:hover { border-color: var(--ink); }
.country-button.selected { border-color: var(--ink); color: #fff; background: var(--ink); }
.checkout-section-heading { padding: 32px 0 0; margin: 16px 0 20px; border-top: 1px solid var(--line); }
.checkout-section-heading h2 { margin: 0 0 4px; font: 20px var(--serif); }
.checkout-section-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.checkout-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; margin-bottom: 32px; border: 1px solid var(--line); background: rgba(245,245,245,.7); }
.checkout-notice > span { color: var(--muted); font-size: 16px; }
.checkout-notice p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.checkout-notice strong { color: var(--ink); font-weight: 600; }
.input-with-icon { position: relative; }
.input-with-icon input { padding-right: 42px; }
.input-with-icon > span { position: absolute; top: 50%; right: 12px; color: var(--muted); transform: translateY(-50%); }
.input-with-icon .show-cvv { position: absolute; top: 50%; right: 0; padding: 4px; border: 0; color: var(--muted); background: transparent; transform: translateY(-50%); }
.three-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.three-fields .checkout-field { margin-bottom: 20px; }
.expiry-error { margin: -8px 0 16px; color: var(--danger); font-size: 12px; }
.shipping-heading { margin-top: 12px; }
.checkout-error { padding: 12px 16px; margin-bottom: 20px; border: 1px solid rgba(183,52,52,.2); color: var(--danger); background: rgba(183,52,52,.08); font-size: 14px; }
.pay-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 16px 20px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font: 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.pay-button:hover:not(:disabled) { color: var(--ink); background: transparent; }
.pay-button:disabled { cursor: not-allowed; opacity: .4; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checkout-security { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.checkout-security > div:not(.card-logos) { display: inline-flex; align-items: center; gap: 8px; }
.checkout-security > div:first-child { margin-bottom: -8px; }
.card-logos { display: flex; align-items: center; gap: 12px; }
.card-logos b, .card-logos i, .card-logos em { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 30px; border: 1px solid var(--line); border-radius: 3px; background: #fff; font: 700 12px Arial, sans-serif; font-style: italic; color: #1a1f71; }
.card-logos i { color: #eb001b; font-style: normal; letter-spacing: -4px; }
.card-logos em { color: #fff; background: #006fcf; font-size: 8px; font-style: normal; letter-spacing: .5px; }
.success-view { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; max-width: 420px; padding: 20px; margin: auto; text-align: center; }
.success-mark { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; color: #fff; background: var(--ink); font-size: 32px; }
.success-view h1 { margin: 0 0 12px; font-size: 32px; letter-spacing: -.04em; }
.success-view p { margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.continue-shopping { width: min(320px, 100%); padding: 16px 24px; border: 1px solid var(--ink); color: #fff; background: var(--ink); font: 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: .2s ease; }
.continue-shopping:hover { color: var(--ink); background: transparent; }

@media (max-width: 800px) {
  .site-header { height: 60px; padding: 0 16px; }
  .brand-lockup img { width: 120px; }
  .desktop-label { display: none; }
  .product-layout { display: block; min-height: 0; }
  .gallery-panel { min-height: 55vh; padding: 24px 20px 32px; }
  .hero-image-wrap { height: 48vh; min-height: 320px; padding: 24px 8vw; }
  .thumbnail-row { bottom: 32px; left: 20px; }
  .product-copy { max-width: none; padding: 40px 20px 56px; }
  h1 { margin-bottom: 20px; font-size: 36px; }
  .eyebrow { margin-bottom: 16px; }
  .intro { font-size: 14px; line-height: 1.7; }
  .price-block { margin-top: 20px; margin-bottom: 16px; padding-bottom: 16px; }
  .sale-price { font-size: 30px; }
  .sale-timer { margin-bottom: 20px; gap: 9px; }
  .sale-label { font-size: 11px; }
  .trust-list { margin-bottom: 20px; }
  .trust-list p { font-size: 13px; }
  .shade-picker { margin-bottom: 20px; }
  .purchase-box { padding: 16px; }
  .buy-button { padding: 14px 16px; font-size: 12px; }
  .shipping-row { flex-direction: column; gap: 10px; margin-top: 16px; }
  .shipping-row > div { font-size: 13px; }
  .accordions { margin-top: 24px; }
  .accordion-trigger { padding: 16px 0; font-size: 16px; }
  .accordion-content { font-size: 13px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 24px; font-size: 10px; line-height: 1.5; }
  .bag-item-copy strong, .bag-item-price { font-size: 18px; }
  .checkout-topbar { padding: 16px 20px; }
  .checkout-container { width: auto; padding: 32px 20px; }
  .order-summary { padding: 20px; margin-bottom: 32px; }
  .checkout-form h1 { font-size: 28px; }
  .checkout-section-heading { padding-top: 24px; }
  .checkout-notice { margin-bottom: 24px; }
  .three-fields { gap: 10px; }
  .country-buttons { flex-direction: column; gap: 8px; }
}