/* JN Jewellery storefront */
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url(fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url(fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url(fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url(fonts/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-display: swap; src: url(fonts/bodoni-moda-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 500; font-display: swap; src: url(fonts/bodoni-moda-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/bodoni-moda-latin-400-italic.woff2) format("woff2"); }

:root {
  --ink: #1d1d1b;
  --soft: #5f5d58;
  --faint: #8d8a83;
  --line: #e6e1d8;
  --stone: #f7f4ee;
  --paper: #ffffff;
  --brand: #133f4a;   /* deep petrol teal, the dark partner of the logo blue */
  --brand-2: #1c5463;
  /* Accent: the blue of the logo background (#acdbe1) */
  --accent: #acdbe1;        /* fills and lines on dark backgrounds */
  --accent-soft: #d6eef1;   /* pale tint */
  --accent-deep: #2e6d77;   /* text and focus rings on white (readable contrast) */
  --gold: #82c0c9;          /* hairlines, dots and markers on white (name kept from the first palette) */
  --gold-soft: #acdbe1;     /* scrollbars, soft borders */
  --error: #9b2c2c;
  --ok: #2f6a4f;
  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  /* set by the storefront design editor (design.php); these are the defaults */
  --header-bg: #ffffff;
  --utility-bg: var(--brand);
  --utility-text: #e9e3d6;
  --footer-bg: var(--stone);
  --base-size: 16px;
  --heading-scale: 1;
  --btn-radius: 0px;
  --btn-case: uppercase;
  --img-radius: 0px;
  --gutter: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--base-size)/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; }
.skip:focus { top: 8px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.js .nojs { display: none; }

/* Buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 30px; border: 1px solid var(--brand); border-radius: var(--btn-radius); background: var(--brand); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: var(--btn-case); cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: var(--brand-2); color: #fff; }
.btn-ghost, .btn-quiet { background: transparent; color: var(--brand); }
.btn-ghost:hover, .btn-quiet:hover { background: var(--brand); color: #fff; }
.btn-quiet { min-height: 40px; padding: 0 18px; }
.btn-light { background: transparent; border-color: var(--accent); color: #fff; }
.btn-light:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn-buy { width: 100%; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--soft); font-size: 14px; }
.link-btn:hover { color: var(--brand); }
.link-btn[aria-pressed="true"] { color: var(--brand); }
.link-btn[aria-pressed="true"] .i { fill: currentColor; }
.small-link { font-size: 13px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.field { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); border: 0; padding: 0; margin: 0 0 18px; }
.field legend { padding: 0; margin-bottom: 10px; }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); border-radius: 0; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.choice { display: flex; gap: 10px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); margin: 6px 0; }
.stack { display: grid; gap: 4px; }
.note { font-size: 14px; color: var(--soft); }
.flash { margin: 0 0 12px; padding: 12px 16px; border-left: 2px solid var(--ok); background: #eef6f7; font-size: 14px; }
.flash-error { border-color: var(--error); background: #fbf2f1; color: var(--error); }
.flashes { padding-top: 20px; }

/* Utility bar */
.utility { background: var(--utility-bg); color: var(--utility-text); font-size: 12px; letter-spacing: .06em; }
.utility-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.utility a:hover { color: #fff; }
.utility-contact, .utility-side, .socials { display: flex; gap: 22px; align-items: center; }
.currency select { background: transparent; border: 0; color: inherit; font-size: 12px; letter-spacing: .06em; cursor: pointer; padding: 4px 22px 4px 4px; min-width: 76px; line-height: 1.4; overflow: visible; text-overflow: clip; }
.currency option { color: var(--ink); }
.currency .nojs { background: none; border: 1px solid currentColor; color: inherit; font-size: 11px; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--header-bg); border-bottom: 1px solid var(--line); }
.masthead-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 92px; }
.logo { justify-self: center; display: block; }
.logo img { height: 56px; width: auto; }
.logo span { font: 400 28px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.search { position: relative; display: flex; align-items: center; max-width: 340px; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.search:focus-within { border-color: var(--brand); }
.search .i { width: 18px; height: 18px; color: var(--soft); }
.search input[type=search] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px; font-size: 14px; outline: none; -webkit-appearance: none; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; width: min(440px, 90vw); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(14, 32, 38, .35); z-index: 60; list-style: none; margin: 0; padding: 6px 0; }
.suggest a { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 8px 14px; font-size: 14px; }
.suggest a[aria-selected="true"], .suggest a:hover { background: var(--stone); color: var(--ink); }
.suggest img, .suggest video, .suggest .noimg { width: 48px; height: 48px; object-fit: cover; background: #fff; }
.suggest small { display: block; color: var(--faint); font-size: 12px; }
.suggest .suggest-all { display: block; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.tools { justify-self: end; display: flex; align-items: center; gap: 4px; }
.tool { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.tool:hover { color: var(--brand); }
.count:empty { display: none; }
.count { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--ink); font: 600 10px/18px var(--body); letter-spacing: 0; text-align: center; }
.tool-account { position: relative; }
.account-menu { position: absolute; right: 0; top: 100%; min-width: 200px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(14, 32, 38, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); z-index: 50; }
@media (hover: hover) { .tool-account:hover .account-menu, .tool-account:focus-within .account-menu { opacity: 1; visibility: visible; transform: none; } }
.tool-account.is-open .account-menu { opacity: 1; visibility: visible; transform: none; } /* opened by a tap (store.js) */
.account-menu a, .account-menu button { display: block; width: 100%; padding: 9px 18px; text-align: left; font-size: 14px; background: none; border: 0; cursor: pointer; }
.account-menu a:hover, .account-menu button:hover { background: var(--stone); }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; display: inline-flex; }
.menu-toggle { display: none; }

/* Main navigation */
.nav-head { display: none; }
.nav-top { display: flex; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0 var(--gutter); list-style: none; }
.nav-item > a { display: block; padding: 14px 16px 16px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; position: relative; }
.nav-item > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 10px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-item:hover > a::after, .nav-item:focus-within > a::after { transform: scaleX(1); }
.nav-open { display: none; }
.panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -40px rgba(14, 32, 38, .45); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s; }
.has-panel:hover .panel, .has-panel:focus-within .panel { opacity: 1; visibility: visible; transition-delay: .08s; }
.panel-in { padding-top: 32px; padding-bottom: 40px; }
.panel-all { display: inline-block; margin-bottom: 20px; font: italic 400 22px/1.2 var(--display); color: var(--brand); }
.panel-cols { columns: 4 200px; column-gap: 40px; margin: 0; padding: 0; list-style: none; }
.panel-cols > li { break-inside: avoid; margin-bottom: 22px; }
.panel-head { display: block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.panel-cols ul { list-style: none; margin: 0; padding: 0; }
.panel-cols ul a { display: block; padding: 3px 0; font-size: 14px; color: var(--soft); }
.panel-cols ul a:hover { color: var(--brand); }
.nav-scrim { display: none; }

/* Breadcrumbs and titles */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 22px 0 0; font-size: 12px; letter-spacing: .06em; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--brand); }
.page-title, .listing-head h1 { font: 400 calc(clamp(30px, 4vw, 46px) * var(--heading-scale))/1.15 var(--display); text-align: center; margin: 28px 0 32px; }
.shelf-title { font: 400 calc(clamp(26px, 3vw, 36px) * var(--heading-scale))/1.2 var(--display); text-align: center; }
.shelf-title::after { content: ""; display: block; width: 48px; height: 1px; background: var(--gold); margin: 18px auto 0; }
.prose { color: var(--soft); line-height: 1.8; }
.prose h2, .prose h3 { font-family: var(--display); color: var(--ink); margin: 1.4em 0 .5em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose img , .prose video{ height: auto !important; }
.prose table { border-collapse: collapse; max-width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.empty-state { text-align: center; padding: 40px 0 20px; color: var(--soft); }
.empty-state h2 { font: 400 26px var(--display); color: var(--ink); margin-bottom: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--stone); }
.hero-track { display: flex; transition: transform .8s var(--ease); }
.hero-slide { flex: 0 0 100%; position: relative; aspect-ratio: 139 / 48; }
.hero-slide img , .hero-slide video{ width: 100%; height: 100%; object-fit: contain; } /* banners of another shape shrink to fit, never cropped */
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px var(--gutter) 46px; display: flex; flex-direction: column; align-items: center; gap: 14px; color: #fff; background: linear-gradient(transparent, rgba(6, 26, 31, .5)); text-align: center; }
.hero-title { font: 400 clamp(26px, 4vw, 52px)/1.1 var(--display); text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero-cta { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid var(--accent); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.hero-arrow:hover { background: rgba(255, 255, 255, .35); }
.hero-prev { left: var(--gutter); }
.hero-next { right: var(--gutter); }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 24px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; width: 40px; }
.hero-dots button::before { content: ""; display: block; height: 20px; margin-top: -9px; }

/* Category tiles */
.collections { padding-top: clamp(48px, 7vw, 90px); }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 20px; list-style: none; margin: 40px 0 0; padding: 0; }
.tiles a { display: block; text-align: center; }
.tile-photo { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.tile-photo img, .tile-photo video, .tile-photo .noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tiles a:hover img , .tiles a:hover video{ transform: scale(1.06); }
.tile-name { display: block; margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }

/* Shelves and cards */
.shelf { padding-top: clamp(56px, 7vw, 96px); }
.shelf-head { position: relative; }
.shelf-more { display: block; text-align: center; margin-top: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.shelf .cards { margin-top: 40px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; }
.card-photo { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; border: 1px solid var(--line); border-radius: var(--img-radius); }
.card-photo img, .card-photo video, .card-photo .noimg { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.card-b { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-b { opacity: 1; }
.card:hover .card-photo img , .card:hover .card-photo video{ transform: scale(1.03); }
.noimg { display: block; background: var(--stone) linear-gradient(135deg, transparent 49.6%, var(--line) 50%, transparent 50.4%); }
/* Product tiles are framed cards: picture, details, then a Save | Compare bar along the foot */
.card { border: 1px solid var(--line); border-radius: var(--img-radius); background: var(--paper); overflow: hidden; }
.card .card-photo { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.card-body { padding: 14px 16px 16px; text-align: center; background: #f9f6f1; } /* a warm tint under the photo, so white product photos stand out */
.card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.card-toggle button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 6px; border: 0; background: transparent; color: var(--soft); font: 500 11px var(--body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: color .2s, background .2s; }
.card-toggle:not(:last-child) button { border-right: 1px solid var(--line); }
.card-actions.is-one { grid-template-columns: 1fr; }
.card-toggle button:hover { color: var(--brand); background: var(--stone); }
.card-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.card-toggle button[aria-pressed="true"] .i { fill: currentColor; }
.card-toggle[data-toggle="compare"] button[aria-pressed="true"] .i { fill: none; }
.card-toggle .i { width: 16px; height: 16px; flex: none; }
.card-body h3 { font: 400 17px/1.35 var(--display); }
.card-code { margin: 0 0 4px; font-size: 15px; font-weight: 500; letter-spacing: .03em; color: var(--brand); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; } /* the code leads the tile: trade buyers order by it */
.card-price { margin: 8px 0 0; font-size: 15px; }
.card-stock { margin: 6px 0 0; }
.card-stock .stock { font-size: 12px; gap: 6px; }
.card-stock .stock::before { width: 6px; height: 6px; }
.price { font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.price-login { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); border-bottom: 1px solid var(--gold-soft); }

/* Bespoke band */
.bespoke { margin-top: clamp(56px, 7vw, 96px); background: var(--brand); color: #e9e3d6; text-align: center; position: relative; overflow: hidden; }
.bespoke::before, .bespoke::after { content: ""; position: absolute; left: 50%; width: 1px; height: 40px; background: var(--accent); }
.bespoke::before { top: 0; }
.bespoke::after { bottom: 0; }
.bespoke-in { padding: 90px var(--gutter); max-width: 760px; }
.bespoke h2 { font: italic 400 calc(clamp(30px, 4vw, 48px) * var(--heading-scale))/1.15 var(--display); color: #fff; }
.bespoke p { margin: 18px 0 30px; line-height: 1.8; }

/* Listing */
.listing-head { text-align: center; }
.listing-intro { max-width: 760px; margin: -12px auto 32px; font-size: 15px; }
.listing-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.refine { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; padding-right: 6px; }
.refine-box > summary { list-style: none; display: none; }
.refine-box > summary::-webkit-details-marker { display: none; }
.refine-group { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0; position: relative; min-width: 0; }
.refine-group h2, .refine-group legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.refine-group legend + * { clear: both; }
.group-clear { position: absolute; right: 0; top: 18px; font-size: 12px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.sub-cats { list-style: none; margin: 0; padding: 0 8px 0 0; clear: both; max-height: 228px; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: var(--gold-soft) var(--stone); }
.sub-cats::-webkit-scrollbar { width: 6px; }
.sub-cats::-webkit-scrollbar-track { background: var(--stone); }
.sub-cats::-webkit-scrollbar-thumb { background: var(--gold-soft); }
.sub-cats a { display: block; padding: 4px 0; font-size: 14px; color: var(--soft); }
.filter-list { clear: both; max-height: 228px; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: var(--gold-soft) var(--stone); padding-right: 8px; }
.filter-list::-webkit-scrollbar { width: 6px; }
.filter-list::-webkit-scrollbar-track { background: var(--stone); }
.filter-list::-webkit-scrollbar-thumb { background: var(--gold-soft); }
.filter-list label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; cursor: pointer; color: var(--soft); }
.filter-list label:hover { color: var(--ink); }
.filter-list input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid #bfb8ab; background: #fff; display: grid; place-items: center; cursor: pointer; }
.filter-list input:checked { background: var(--brand); border-color: var(--brand); }
.filter-list input:checked::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translate(1px, -1px); }
.filter-list input:checked + span { color: var(--ink); }
.filter-list small { font-size: 12px; color: var(--faint); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.results-bar .count { position: static; background: none; color: var(--soft); font: 400 14px var(--body); height: auto; margin: 0; padding: 0; letter-spacing: .04em; }
.sorter { display: flex; gap: 20px; align-items: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.sorter select { margin-left: 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 6px 2px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.chips a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; }
.chips a span { color: var(--faint); }
.chips a:hover { border-color: var(--brand); }
.chips .chips-clear { border: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--soft); }
.results .cards { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; font-size: 14px; border: 1px solid transparent; }
.pager a:hover { border-color: var(--line); }
.pager .here { border-color: var(--brand); color: var(--brand); }
.pager .i { width: 18px; height: 18px; }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: 28px 0 60px; }
.gallery { position: sticky; top: 130px; align-self: start; display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.gallery-main { grid-column: 2; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; border-radius: var(--img-radius); }
.gallery-main img, .gallery-main video, .gallery-main .noimg { width: 100%; height: 100%; object-fit: contain; }
.gallery-main a { display: block; height: 100%; cursor: zoom-in; }
.gallery-thumbs { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-height: 100%; overflow: auto; scrollbar-width: none; }
.gallery-thumbs button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; aspect-ratio: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.buy h1 { font: 400 calc(clamp(28px, 3vw, 40px) * var(--heading-scale))/1.2 var(--display); }
.buy-code { margin: 10px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.buy-price { margin: 22px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.buy-price .price { font-size: 26px; font-weight: 400; }
.buy-price small { font-size: 12px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.stock-out::before { background: var(--error); }
.stock-wait::before { background: var(--gold); }
.breaks { width: 100%; border-collapse: collapse; margin: 22px 0 6px; font-size: 14px; }
.breaks caption { text-align: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); padding-bottom: 8px; }
.breaks th, .breaks td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.breaks td { text-align: right; }
.opt-group { margin-top: 24px; }
.opt-group h2 { font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.opt { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.opt:hover { border-color: var(--soft); color: var(--ink); }
.opt[aria-current="true"], .opt-radio input:checked + .opt { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.opt-radio { position: relative; }
.opt-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-radio input:focus-visible + .opt { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.buy-form { margin-top: 26px; }
.buy-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: end; }
.buy-row .field { margin: 0; }
.buy-row .btn { min-height: 50px; }
.buy-extras { display: flex; gap: 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 50px 0; border-top: 1px solid var(--line); }
.details h2 { font: 400 26px var(--display); margin-bottom: 18px; }
.specs table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 14px; }
.specs caption { text-align: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); padding: 6px 0; }
.specs th, .specs td { text-align: left; font-weight: 400; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--soft); width: 45%; padding-right: 16px; }


/* Bag */
.bag { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.lines { width: 100%; border-collapse: collapse; }
.lines th { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); text-align: left; padding: 0 10px 14px; border-bottom: 1px solid var(--line); }
.lines td { padding: 20px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.line-img { width: 110px; }
.line-img img, .line-img video, .line-img .noimg { width: 90px; height: 90px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.line-name a { font: 400 17px/1.35 var(--display); }
.line-name small { display: block; font-size: 12px; color: var(--faint); margin-top: 3px; }
.line-name .line-error { color: var(--error); }
.line-name .line-notice { color: var(--accent-deep); }
/* Out-of-stock status on a bag line: red and bold so it is noticed */
.line-name .line-stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 9px; color: #b42318; background: #fdecea; border: 1px solid #f5c2bd; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.line-name .line-stock .i { width: 15px; height: 15px; flex: none; }
.co-line-text .line-stock { display: inline-block; align-self: flex-start; margin-top: 4px; padding: 2px 8px; color: #b42318; background: #fdecea; border: 1px solid #f5c2bd; font-size: 12.5px; font-weight: 600; line-height: 1.4; }
.qty-in { width: 76px; padding: 10px; border: 1px solid var(--line); text-align: center; }
.bag-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: 14px; }
.bag-actions a { text-decoration: underline; text-underline-offset: 3px; }
.bag-summary { background: var(--stone); padding: 30px; position: sticky; top: 130px; }
.bag-summary h2 { font: 400 24px var(--display); margin-bottom: 18px; }
.totals { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.totals th, .totals td { padding: 9px 0; font-weight: 400; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.totals td { text-align: right; }
.totals .grand th, .totals .grand td { font-size: 18px; font-weight: 500; border-bottom: 0; padding-top: 14px; }

/* Login, contact, compare */
.login-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); margin: 30px 0 0; }
.login-card, .contact-card, .contact-form { padding: clamp(28px, 5vw, 60px); }
.login-card .page-title { text-align: left; margin-top: 0; }
.login-new, .contact-card { background: var(--stone); }
.login-new h2, .contact-form h2, .sent h2 { font: 400 28px var(--display); margin-bottom: 14px; }
.login-new p { color: var(--soft); margin-bottom: 26px; }
.contact-card h2 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin: 26px 0 8px; }
.contact-card h2:first-child { margin-top: 0; }
.contact-card address { font-style: normal; line-height: 1.8; }
.contact-card a { color: var(--brand); }
.g-recaptcha { margin: 6px 0 18px; }
.compare-scroll { overflow-x: auto; }
.compare { border-collapse: collapse; min-width: 100%; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-weight: 400; font-size: 14px; }
.compare th { color: var(--soft); width: 180px; }
.compare td { min-width: 220px; }
.compare td img, .compare td video, .compare td .noimg { width: 100%; max-width: 240px; aspect-ratio: 1; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.compare-name { display: block; font: 400 17px/1.35 var(--display); margin: 12px 0 6px; }
.compare-group th { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); padding-top: 26px; }

/* Footer */
.footer { margin-top: 0; background: var(--footer-bg); border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
main { min-height: 50vh; }
.footer-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-name { font: 400 24px var(--display); color: var(--ink); margin: 0 0 14px; letter-spacing: .04em; }
.footer address { font-style: normal; line-height: 1.8; margin-bottom: 14px; }
.footer h2 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--brand); }
.footer-follow { margin-top: 26px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .04em; }
.footer-base p { margin: 0; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 90; background: var(--brand); color: #fff; padding: 14px 26px; font-size: 14px; letter-spacing: .04em; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); opacity: 0; transition: .3s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--error); }
.toast a { color: var(--accent); text-decoration: underline; margin-left: 10px; pointer-events: auto; }

/* Tablet */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .cards, .results .cards { grid-template-columns: repeat(3, 1fr); }
  .listing-grid { grid-template-columns: 220px 1fr; gap: 32px; }
  .results .cards { grid-template-columns: repeat(2, 1fr); }
  .tool-label { display: none; }
  .tool { padding: 8px; }
  .count { top: 0; right: 0; }
}

/* Phone and small tablet: drawer menu */
@media (max-width: 900px) {
  .utility-contact a + a, .socials { display: none; }
  .masthead-in { grid-template-columns: auto 1fr auto; min-height: 68px; gap: 8px; }
  .menu-toggle { display: inline-flex; }
  .logo { justify-self: start; }
  .logo img { height: 40px; }
  .search { position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; max-width: none; background: #fff; display: none; }
  .search-open .search { display: flex; }
  .tools .search-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 0 auto 0 0; width: min(380px, 88vw); background: #fff; z-index: 80; transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto; visibility: hidden; }
  .nav-open-all .nav { transform: none; visibility: visible; }
  .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(8, 24, 29, .45); z-index: 70; }
  .nav-scrim[hidden] { display: none; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
  .nav-top { display: block; padding: 0; }
  .nav-item { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
  .nav-item > a { padding: 16px var(--gutter); }
  .nav-item > a::after { display: none; }
  .nav-open { display: grid; place-items: center; width: 56px; background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; }
  .nav-open .i { transition: transform .25s; width: 18px; }
  .nav-open[aria-expanded="true"] .i { transform: rotate(90deg); }
  .panel { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: var(--stone); }
  .has-panel:hover .panel { display: none; }
  .nav-item.expanded .panel { display: block; }
  .panel-in { padding: 14px var(--gutter) 20px; }
  .panel-all { font-size: 18px; margin-bottom: 12px; }
  .panel-cols { columns: 1; }
  .panel-cols > li { margin-bottom: 12px; }
  .hero-slide { aspect-ratio: 139 / 48; }
  .hero-arrow { display: none; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 24px 14px; }
  .listing-grid { grid-template-columns: 1fr; gap: 0; }
  .refine { position: static; max-height: none; overflow: visible; padding: 0; }
  .refine-box { border: 1px solid var(--line); margin-bottom: 18px; }
  .refine-box > summary { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
  .refine-box > summary::after { content: "+"; font-size: 18px; line-height: 1; }
  .refine-box[open] > summary::after { content: "–"; }
  .refine-box .refine-group, .refine-box .filters { padding-left: 16px; padding-right: 16px; }
  .refine-box .filters .refine-group { padding-left: 0; padding-right: 0; }
  .group-clear { right: 0; }
  .product { grid-template-columns: 1fr; padding-top: 16px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery-main { grid-column: 1; }
  .gallery-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
  .gallery-thumbs li { flex: 0 0 68px; }
  .details { grid-template-columns: 1fr; gap: 30px; }
  .bag { grid-template-columns: 1fr; }
  .bag-summary { position: static; }
  .login-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.search-toggle { display: none; }

@media (max-width: 600px) {
  body { font-size: 15px; }
  .utility-in { justify-content: center; }
  .utility-contact { display: none; }
  .cards, .results .cards { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .card-body h3 { font-size: 15px; }
  .card-code { font-size: 14px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .results-bar { flex-direction: column; align-items: stretch; }
  .sorter { justify-content: space-between; gap: 10px; }
  .sorter label { display: flex; flex-direction: column; gap: 4px; }
  .sorter select { margin: 0; }
  .lines thead { display: none; }
  .lines, .lines tbody, .lines tr, .lines td { display: block; }
  .lines tr { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .lines td { border: 0; padding: 0; }
  .lines .line-img { grid-row: span 4; width: 90px; }
  .lines td[data-label]::before { content: attr(data-label) ": "; font-size: 12px; color: var(--faint); }
  .lines td:last-child { position: absolute; top: 14px; right: 0; }
  .line-name { padding-right: 34px !important; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; padding-top: 50px; }
  .tool { padding: 6px; }
  .hero-caption { padding-bottom: 36px; }
}

/* Very narrow phones: keep all five header icons (incl. Compare) on one line */
@media (max-width: 380px) {
  .masthead-in { gap: 4px; }
  .tools { gap: 0; }
  .tool, .tools .icon-btn { padding: 6px 5px; }
  .tool .i, .tools .icon-btn .i { width: 21px; height: 21px; }
  .logo img { height: 34px; width: auto; }
}
/* Compare in the phone menu drawer too */
.nav-extra { display: none; }
@media (max-width: 900px) {
  .nav-extra { display: block; list-style: none; margin: 0; padding: 8px 0 24px; }
  .nav-extra a { display: flex; align-items: center; gap: 12px; padding: 14px var(--gutter); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
  .nav-extra .i { width: 20px; height: 20px; color: var(--soft); }
  .nav-extra .count { position: static; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
main { padding-bottom: clamp(56px, 7vw, 96px); }
.filter-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding-right: 54px; }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after { content: "+"; position: absolute; right: 0; font-size: 17px; font-weight: 300; color: var(--soft); }
.filter-group[open] > summary::after { content: "–"; }
.filter-group > summary b { font-weight: 500; color: var(--accent-deep); margin-left: 4px; }
.filter-group[open] > summary { margin-bottom: 12px; }
.filter-group .group-clear { right: 22px; }
.details > section > h2 { margin-top: 0; }
.search input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
@media (min-width: 901px) {
  .panel { max-height: calc(100vh - 200px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
}
.suggest-meta { display: flex; align-items: center; gap: 14px; margin-top: 3px; }
.suggest-meta b { font-weight: 500; font-size: 14px; color: var(--ink); }
.suggest-meta .stock { font-size: 12px; }
.suggest-meta .stock::before { width: 6px; height: 6px; }
/* The compare arrows have no fill; pressed shows a filled disc instead */
/* Category route: each level indented under the one above */
.cat-route { list-style: none; margin: 0; padding: 0; clear: both; }
.cat-route li { padding-left: calc((var(--d, 0)) * 12px); }
.cat-route a { display: block; padding: 4px 0; font-size: 14px; color: var(--soft); }
.cat-route a::before { content: "‹ "; color: var(--accent-deep); }
.cat-route a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.cat-route a[aria-current="page"]::before { content: ""; }
.cat-group .sub-cats { margin-left: calc(var(--d, 0) * 12px); }
.cat-group .sub-cats a[aria-current="page"] { color: var(--brand); font-weight: 500; }
.cat-group .sub-cats a[aria-current="page"]::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 8px 2px 0; vertical-align: middle; }
/* Add to bag on wish list tiles and compare */
.btn-small { min-height: 38px; padding: 0 16px; font-size: 11px; letter-spacing: .14em; }
.btn.is-off { border-color: var(--line); color: var(--faint); cursor: default; }
.btn.is-off:hover { background: transparent; color: var(--faint); }
.card-buy { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 14px; }
.card-buy form[data-add], .card-buy > .btn { width: 100%; }
.card-buy form[data-add] .btn { width: 100%; }
.compare-buy .btn { width: 100%; max-width: 240px; }
.field-error { display: block; margin-top: 6px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--error); }
.flash-error a { color: inherit; text-decoration: underline; }

/* Account area */
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; padding-top: 28px; }
.account-side { position: sticky; top: 140px; border-right: 1px solid var(--line); padding-right: 28px; }
.account-hello { font: 400 22px/1.3 var(--display); margin: 0 0 18px; }
.account-side ul { list-style: none; margin: 0; padding: 0; }
.account-side li a, .account-side li .link-btn { display: block; width: 100%; text-align: left; padding: 9px 0; font-size: 14px; color: var(--soft); border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px; }
.account-side li a:hover, .account-side li .link-btn:hover { color: var(--brand); }
.account-side li a[aria-current="page"] { color: var(--ink); border-left-color: var(--gold); font-weight: 500; }
.account-title { font: 400 clamp(28px, 3vw, 38px)/1.2 var(--display); margin: 0 0 28px; }
.account-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.acard { border: 1px solid var(--line); padding: 24px 26px; position: relative; background: #fff; }
.acard-wide { grid-column: 1 / -1; }
.acard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.acard-head h2 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.acard-head a { font-size: 13px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.acard p, .acard address { margin: 0 0 8px; font-style: normal; line-height: 1.7; color: var(--soft); }
.acard-actions { display: flex; gap: 18px; margin-top: 14px; align-items: center; }
.badge { position: absolute; top: 16px; right: 16px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); border: 1px solid var(--gold-soft); padding: 3px 8px; }
.address-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.orders { width: 100%; border-collapse: collapse; font-size: 14px; }
.orders th { text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); padding: 0 10px 12px; border-bottom: 1px solid var(--line); }
.orders td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.orders td a { color: var(--brand); }
.status { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: var(--stone); color: var(--soft); white-space: nowrap; }
.status.is-done { background: #eaf3ee; color: var(--ok); }
.status.is-off { background: #f8eceb; color: var(--error); }
.status.is-open { background: #f6f0e4; color: #8a6a2f; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.form-grid .field { margin-bottom: 18px; }
.form-grid > .choice, .form-grid > .field-wide, .form-grid > fieldset.field, .form-actions { grid-column: 1 / -1; }
.form-narrow { grid-template-columns: minmax(0, 420px); }
.form-actions { display: flex; gap: 22px; align-items: center; margin-top: 8px; }
.form-section { border: 0; border-top: 1px solid var(--line); margin: 0 0 18px; padding: 26px 0 4px; }
.form-section > legend { font: 400 22px var(--display); padding: 0 16px 0 0; }
.register-form { max-width: 860px; margin: 0 auto; }
.register-form > .choice { margin: 6px 0 22px; }
.lead { color: var(--soft); margin: -16px 0 30px; }
.login-single { grid-template-columns: minmax(0, 560px); justify-content: center; border: 0; }
.login-single .login-card { border: 1px solid var(--line); }
.order-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 18px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.order-meta p { margin: 0; font-size: 14px; }
.order-meta p > span:first-child { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.order-foot { display: grid; grid-template-columns: 1fr 340px; gap: 40px; margin: 30px 0; }
.order-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.order-addresses h2, .order-section h2 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.order-addresses address { font-style: normal; line-height: 1.7; color: var(--soft); font-size: 14px; }
.order-totals .btn { width: 100%; margin-top: 10px; }
.order-section { margin: 30px 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 1px solid var(--gold-soft); }
.timeline li { position: relative; padding: 0 0 18px 14px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -23px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline time { color: var(--faint); font-size: 12px; margin-right: 8px; }
.timeline p { margin: 4px 0 0; color: var(--soft); }
.balance { font-size: 16px; } .balance strong { font-weight: 500; margin-left: 8px; }
@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; gap: 20px; }
  .account-side { position: static; border-right: 0; padding: 0; border-bottom: 1px solid var(--line); }
  .account-side ul { display: flex; gap: 6px 18px; flex-wrap: wrap; padding-bottom: 14px; }
  .account-side li a, .account-side li .link-btn { border-left: 0; margin: 0; padding: 4px 0; }
  .account-side li a[aria-current="page"] { border-bottom: 1px solid var(--gold); }
  .account-cards, .form-grid, .order-addresses, .order-foot { grid-template-columns: 1fr; }
  .orders thead { display: none; }
  .orders, .orders tbody, .orders tr, .orders td { display: block; }
  .orders tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .orders td { border: 0; padding: 3px 0; }
  .orders td[data-label]::before { content: attr(data-label) ": "; color: var(--faint); font-size: 12px; }
}

/* Checkout */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.co-step { border-top: 1px solid var(--line); padding: 26px 0 30px; }
.co-step > h2 { display: flex; align-items: center; gap: 14px; font: 400 26px/1.2 var(--display); margin-bottom: 18px; }
.co-step > h2 span { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--gold); border-radius: 50%; font: 500 13px var(--body); color: var(--accent-deep); }
.co-step > h2 em { font-style: normal; }
.co-step h3 { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); margin: 4px 0 12px; }
.co-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.co-card, .co-method { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 16px 18px; cursor: pointer; font-size: 14px; line-height: 1.6; transition: border-color .2s, box-shadow .2s; background: #fff; }
.co-card:hover, .co-method:hover { border-color: var(--soft); }
.co-card.is-on, .co-method.is-on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.co-card input, .co-method input { accent-color: var(--brand); margin-top: 4px; }
.co-card-text { color: var(--soft); }
.co-method { align-items: center; margin-bottom: 10px; }
.co-method-title { flex: 1; }
.co-method-price { font-weight: 500; }
.co-same { margin: 4px 0 14px; }
.co-new-address { margin-top: 18px; padding: 22px; background: var(--stone); }
.co-comment { margin-top: 18px; }
.co-error { color: var(--error); font-size: 14px; margin: 10px 0; }
.co-step [data-continue] { margin-top: 18px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.co-summary { position: sticky; top: 130px; background: var(--stone); padding: 28px; }
.co-summary h2 { font: 400 24px var(--display); margin-bottom: 18px; }
.co-lines { list-style: none; margin: 0 0 18px; padding: 0; max-height: 360px; overflow-y: auto; scrollbar-width: thin; }
.co-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co-line-pic { position: relative; }
.co-line-pic img, .co-line-pic video, .co-line-pic .noimg { width: 64px; height: 64px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.co-line-pic b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--brand); color: #fff; font: 600 11px/20px var(--body); text-align: center; padding: 0 5px; }
.co-line-name { display: block; font-family: var(--display); font-size: 15px; line-height: 1.35; }
.co-line-text small { display: block; color: var(--faint); font-size: 12px; }
.co-line-total { font-weight: 500; white-space: nowrap; }
.co-code { margin-bottom: 10px; font-size: 14px; }
.co-code summary { cursor: pointer; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.co-code-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.co-code-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); background: #fff; }
.co-code-form .co-error { flex-basis: 100%; margin: 0; }
.co-loading { position: fixed; inset: 0; z-index: 85; background: rgba(255, 255, 255, .55); display: none; place-items: center; }
.co-loading.on { display: grid; }
.co-loading span { width: 34px; height: 34px; border: 2px solid var(--gold-soft); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checkout.is-paying [data-step="address"], .checkout.is-paying [data-step="shipping"], .checkout.is-paying [data-step="payment"] { opacity: .45; pointer-events: none; }
.co-thanks .co-order-no { font: 400 22px var(--display); color: var(--ink); }
/* Payment methods' own forms (written for OpenCart's Bootstrap theme) */
.sf-payment { margin: 18px 0; }
.sf-payment h4, .sf-payment legend { font: 400 20px var(--display); margin: 0 0 14px; }
.sf-payment .form-group { margin-bottom: 14px; }
.sf-payment label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.sf-payment .form-control, .sf-payment input[type=text], .sf-payment select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); background: #fff; font-size: 16px; }
.sf-payment .btn, .sf-payment input[type=submit], .sf-payment input[type=button] { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 34px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.sf-payment .btn:hover { background: var(--brand-2); }
.sf-payment .btn:disabled, .sf-payment input:disabled { opacity: .45; }
.sf-payment .buttons, .sf-payment .pull-right { display: flex; justify-content: flex-start; float: none !important; margin-top: 16px; }
.sf-payment #button-confirm { display: inline-flex !important; }
.sf-payment .text-danger, .sf-payment .alert-danger { color: var(--error); }
.sf-payment .alert { padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--stone); margin: 12px 0; font-size: 14px; }
.sf-payment .well, .sf-payment p { color: var(--soft); }
@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; order: -1; }
}
.sf-payment #cc_payment_form > div { max-width: 440px !important; }
.sf-payment #cc_payment_form select { min-width: 92px; }
/* Exact stock for admin accounts */
.admin-stock { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; padding: 4px 10px; border: 1px dashed #b98a3e; background: #fbf6ec; color: #6d5226; font-size: 12px; letter-spacing: .02em; line-height: 1.4; }
.admin-stock strong { font-weight: 600; color: var(--ink); }
.admin-stock span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #a07a35; }
.admin-stock.is-low strong { color: var(--error); }
.stock + .admin-stock { margin-left: 12px; vertical-align: middle; }
.card-body .admin-stock { margin-top: 8px; }
.suggest .admin-stock { margin-top: 4px; padding: 2px 8px; }
/* Tiles in a row share one height: the parts down to the name at the top, the rest lined up at the bottom (the spacer; order set in the design editor) */
.cards { align-items: stretch; }
.card { display: flex; flex-direction: column; height: 100%; }
.card-body { flex: 1; display: flex; flex-direction: column; }
.card-body > h3 { margin-bottom: 0; }
.card-spacer { display: block; margin-top: auto; min-height: 8px; }
.card-body > :first-child, .card-spacer + * { margin-top: 0; }
.card-body > .card-buy { margin-top: 14px; }
.card-body > .admin-stock { align-self: center; }
/* Filters start right under the main menu; the title sits above the products beside them */
.listing-grid { padding-top: 28px; }
.listing .refine { top: 158px; max-height: calc(100vh - 176px); }
.listing-main .crumbs ol { padding-top: 0; }
.listing-main .listing-head { text-align: left; }
.listing-main .listing-head h1 { text-align: left; margin: 14px 0 22px; }
.listing-main .listing-intro { margin: -8px 0 26px; max-width: 760px; }
@media (max-width: 900px) {
  .listing-grid { padding-top: 16px; }
  .listing-main { display: contents; }
  .listing-main .crumbs { order: 1; }
  .listing-main .listing-head { order: 2; text-align: center; }
  .listing-main .listing-head h1 { text-align: center; }
  .listing-grid > .refine { order: 3; }
  /* the desktop sticky-column height cap must not apply here, or the filters spill over the products */
  .listing .refine { position: static; top: auto; max-height: none; overflow: visible; padding-right: 0; }
  /* While open, the Refine bar stays pinned under the header so it can always be closed */
  .refine-box[open] > summary { position: sticky; top: var(--head-h, 69px); z-index: 5; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 14px -12px rgba(14, 32, 38, .35); }
  .listing-main .results { order: 4; }
}
/* Product page: model under the name, then the description */
.buy-code { font-size: 13px; letter-spacing: .14em; }
.buy-desc { margin: 16px 0 0; font-size: 15px; line-height: 1.75; max-height: 9.5em; overflow: hidden; position: relative; }
.buy-desc > :first-child { margin-top: 0; }
.buy-desc > :last-child { margin-bottom: 0; }
.buy-desc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5em; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.buy-desc.is-open { max-height: none; }
.buy-desc.is-open::after, .buy-desc:not(.is-clipped)::after { display: none; }
.buy-desc-more { margin-top: 6px; }
.details-specs { grid-template-columns: minmax(0, 760px); }
/* Phones and tablets: show the whole banner, shrunk to the screen width, never cropped */
@media (max-width: 900px) {
  .hero-track { align-items: flex-start; }
  .hero-slide { aspect-ratio: auto; }
  .hero-slide img , .hero-slide video{ height: auto; object-fit: contain; }
  .hero-dots { bottom: 8px; }
}
/* Product description shown in full */
.buy-desc { max-height: none; overflow: visible; }
.buy-desc::after { display: none; }

/* Picture mega menu (Wedding Rings) */
.mega { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.25fr) minmax(0, .85fr); gap: 44px; }
.mega-title { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-title a:hover { color: var(--brand); }
.mega-groups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.mega-groups li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; }
.mega-pic img, .mega-pic video, .mega-pic .noimg { width: 58px; height: 58px; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.mega-name { display: block; font: 400 16px/1.3 var(--display); color: var(--ink); }
.mega-links { margin: 4px 0 0; font-size: 13px; color: var(--faint); line-height: 1.6; }
.mega-links a { color: var(--soft); }
.mega-links a:hover, .mega-name:hover { color: var(--brand); }
.mega-links span { margin: 0 6px; }
.mega-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mega-tiles a { display: block; text-align: center; }
.mega-tiles img, .mega-tiles video, .mega-tiles .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.mega-tiles a:hover img , .mega-tiles a:hover video{ border-color: var(--gold); }
.mega-tiles span { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.mega-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.mega-products li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.mega-products li > a { display: contents; }
.mega-products img, .mega-products video, .mega-products .noimg { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); background: #fff; grid-row: span 2; }
.mega-products .mega-name { font-size: 14px; }
.mega-products .price, .mega-products .price-login { font-size: 13px; grid-column: 2; }
@media (max-width: 1100px) { .mega { grid-template-columns: 1fr 1fr; } .mega-products { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .mega { grid-template-columns: 1fr; gap: 22px; }
  .mega-groups { grid-template-columns: 1fr; }
  .mega-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mega-title { margin-bottom: 12px; }
}
.mega-groups li > div { min-width: 0; }
.mega-links { overflow-wrap: anywhere; }
.mega-links a { white-space: nowrap; }
.mega-block { min-width: 0; }

/* Side-rail drop-down (desktop) */
.rail { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; min-height: 420px; margin: 0 calc(var(--gutter) * -1) -40px; border-top: 1px solid var(--line); }
.rail-list { list-style: none; margin: 0; padding: 18px 0 24px var(--gutter); background: var(--stone); max-height: calc(100vh - 260px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
.rail-list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 22px 10px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); border-left: 2px solid transparent; }
.rail-list a span { opacity: 0; transition: opacity .2s; }
.rail-list a.is-on { background: #fff; color: var(--brand); font-weight: 500; border-left-color: var(--gold); }
.rail-list a.is-on span, .rail-list a:hover span { opacity: 1; }
.rail-panes { padding: 26px 44px 34px; max-height: calc(100vh - 260px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent; }
.rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.rail-title { font: 400 30px/1.2 var(--display); color: var(--ink); }
.rail-all { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); border-bottom: 1px solid var(--accent); white-space: nowrap; }
.rail-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.rail-links a { display: block; padding: 7px 0; font-size: 15px; color: var(--soft); border-bottom: 1px solid #f0ece4; }
.rail-links a:hover { color: var(--brand); }
.rail-empty { color: var(--soft); font-size: 15px; }
.rail-pic { padding: 26px var(--gutter) 34px 0; }
.rail-pic img, .rail-pic video, .rail-pic .noimg { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border: 1px solid var(--line); }
@media (min-width: 901px) {
  .panel-in.has-rail { padding-top: 0; padding-bottom: 40px; }
  .panel-in.has-rail > .panel-all, .panel-cols-phone { display: none; }
}
@media (max-width: 900px) { .rail { display: none; } }
/* The rail's stone colour runs to the left edge of the screen */
.rail { position: relative; }
.rail::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: var(--stone); }
@media (min-width: 901px) { .panel { overflow-x: hidden; } }

/* File upload option */
.field-upload .field-label { display: block; margin-bottom: 8px; }
.upload-btn { position: relative; display: inline-flex; cursor: pointer; }
.field .upload-btn input.upload-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.upload-btn span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s; }
.upload-btn span .i { width: 16px; height: 16px; }
.upload-btn:hover span, .upload-btn:focus-within span { border-color: var(--brand); }
.upload-btn:focus-within span { outline: 2px solid var(--accent); outline-offset: 2px; }
.upload-status { display: block; margin-top: 8px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--soft); }
.field-upload.is-done .upload-status { color: var(--accent-deep); }
.field-upload.is-error .upload-status { color: var(--error); }
.field-upload[data-busy] .upload-btn { opacity: .6; pointer-events: none; }

/* Staff report: products showing "Product code" buttons */
.vr-lead { margin: 0 0 10px; color: var(--soft); line-height: 1.7; max-width: 760px; }
.vr-meta { margin: 0 0 18px; font-size: 14px; color: var(--soft); }
.vr-meta a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.vr-summary { border: 1px solid var(--line); background: #fff; margin-bottom: 18px; }
.vr-summary > summary { cursor: pointer; padding: 12px 16px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.vr-summary ul { list-style: none; margin: 0; padding: 0 16px 12px; columns: 2; column-gap: 32px; }
.vr-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; break-inside: avoid; }
.vr-summary b { font-weight: 500; }
.vr-search { max-width: 360px; margin-bottom: 6px; }
.vr-count { margin: 0 0 10px; }
.vr-table td { vertical-align: top; }
.vr-codes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.vr-codes a { color: var(--brand); font-size: 13px; letter-spacing: .04em; text-decoration: underline; text-underline-offset: 3px; }
.vr-name, .vr-detail, .vr-alt { display: block; margin-top: 4px; font-size: 12px; color: var(--faint); line-height: 1.5; }
.vr-fix { font-weight: 500; color: var(--accent-deep); }
.vr-fix.is-warn { color: #a0612a; }
.vr-alt { font-style: italic; }
@media (max-width: 700px) { .vr-summary ul { columns: 1; } }

/* Filter options the other chosen filters rule out: greyed out, not hidden */
.filter-list label.is-off { color: #c3beb4; cursor: default; }
.filter-list label.is-off:hover { color: #c3beb4; }
.filter-list label.is-off input { border-color: #e2ded6; background: #f6f4f0; cursor: default; }
.filter-list label.is-off small { color: #d3cfc6; }

/* Product image pop-up */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 22, 26, .96); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 22, 26, .96); }
.lightbox:not([open]) { display: none; }
html.lb-open { overflow: hidden; }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; user-select: none; }
.lb-stage img { max-width: calc(100vw - 48px); max-height: calc(100dvh - 140px); object-fit: contain; background: #fff; transform-origin: center center; transition: transform .18s ease-out; }
.lightbox.is-zoomed .lb-stage { cursor: grab; }
.lightbox.is-zoomed .lb-stage:active { cursor: grabbing; }
.lightbox.is-zoomed .lb-stage img { transition: none; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(20, 38, 44, .82); color: #fff; cursor: pointer; transition: background .2s; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(38, 64, 72, .95); }
.lb-btn:focus-visible, .lb-level:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lb-btn .i { width: 22px; height: 22px; stroke-width: 1.6; }
.lb-close { top: 16px; right: 16px; z-index: 2; }
.lb-nav { top: 50%; margin-top: -24px; z-index: 2; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 12px; border-radius: 14px; background: rgba(20, 38, 44, .82); font-size: 13px; letter-spacing: .14em; color: rgba(255, 255, 255, .85); z-index: 2; }
.lb-zoom { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 30px; background: rgba(20, 38, 44, .82); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); z-index: 2; }
.lb-zoom .lb-btn { position: static; width: 40px; height: 40px; background: none; box-shadow: none; }
.lb-zoom .lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-level { min-width: 64px; padding: 0 6px; border: 0; background: none; color: #fff; font: 500 13px var(--body); letter-spacing: .06em; cursor: pointer; }
@media (max-width: 700px) {
  .lb-nav { top: auto; bottom: 20px; margin-top: 0; width: 44px; height: 44px; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-close { top: 10px; right: 10px; }
  .lb-stage img { max-width: 100vw; max-height: calc(100dvh - 150px); }
}
@media (prefers-reduced-motion: reduce) { .lb-stage img { transition: none; } }

/* Product page: "Ask a question" box */
.ask { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(8, 24, 29, .45); overflow: auto; }
.ask::backdrop { background: rgba(8, 24, 29, .55); }
.ask form { padding: 22px 26px 26px; gap: 14px; }
.ask-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: -4px -10px 0 0; }
.ask-head h2 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 400; }
.ask-about { margin: 0; padding: 10px 14px; background: var(--stone); font-size: 14px; line-height: 1.5; }
.ask-about span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.ask .btn { justify-self: start; }

/* "Prices are estimates" notice beside the order totals (bag and checkout) */
.estimate-note { margin: 14px 0 4px; padding: 12px 14px; border: 1px solid #f5c2bd; border-left: 4px solid #b42318; background: #fdecea; color: #8a1c12; font-size: 13.5px; line-height: 1.5; }
.estimate-note strong { display: block; font-weight: 600; }
.estimate-note span { display: block; margin-top: 3px; }
.est-mark { color: #b42318; font-weight: 700; margin-left: 2px; }
.estimate-note .est-mark { display: inline; margin: 0 3px 0 0; }

/* Live bag: the Update button is only a fallback without JavaScript */
html.bag-live .bag-update { display: none; }
html.bag-live .bag-actions { justify-content: flex-start; }
#bag-page.is-updating .bag-summary, #bag-page.is-updating .lines td[data-label="Total"] { opacity: .45; transition: opacity .15s; }

/* ---------- Page blocks from the design editor ---------- */
.design-preview-bar { position: relative; z-index: 60; padding: 8px var(--gutter); background: #fff4d6; color: #5c4400; font-size: 13px; text-align: center; border-bottom: 1px solid #ecd9a0; }
.design-preview-bar a { color: #5c4400; text-decoration: underline; text-underline-offset: 3px; }
html.in-editor .design-preview-bar { display: none; }
.blk-title { font: 400 calc(clamp(24px, 2.6vw, 34px) * var(--heading-scale))/1.2 var(--display); margin: 0 0 16px; }
.blk-banner, .blk-row, .blk-tiles { margin-top: clamp(40px, 6vw, 80px); }
main > .blk-banner:first-child, main > .blk-row:first-child, main > .blk-tiles:first-child { margin-top: 28px; }
main > .blk-banner.is-full:first-child { margin-top: 0; }
.blk-banner.is-full { width: 100%; }
.blk-banner img , .blk-banner video{ width: 100%; border-radius: var(--img-radius); }
.blk-banner.is-full img , .blk-banner.is-full video{ border-radius: 0; }
.blk-banner-link { display: block; transition: opacity .25s; }
.blk-banner-link:hover { opacity: .92; }
.blk-row .shelf-title, .blk-tiles .shelf-title { margin-bottom: 36px; }
.blk-row-grid { display: grid; gap: clamp(12px, 2vw, 24px); }
.blk-row-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.blk-row-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.blk-row-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.blk-row-item { display: block; color: var(--ink); }
.blk-row-pic { display: block; overflow: hidden; border-radius: var(--img-radius); }
.blk-row-pic img , .blk-row-pic video{ width: 100%; transition: transform .6s var(--ease); }
a.blk-row-item:hover .blk-row-pic img , a.blk-row-item:hover .blk-row-pic video{ transform: scale(1.03); }
.blk-row-label { display: block; margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.blk-ti { margin-top: clamp(48px, 7vw, 96px); }
.blk-ti.is-soft { background: var(--stone); padding: clamp(40px, 6vw, 80px) 0; }
.blk-ti-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.blk-ti-in.img-left .blk-ti-pic { order: -1; }
.blk-ti-text { color: var(--soft); line-height: 1.75; }
.blk-ti-text .blk-title { color: var(--ink); }
.blk-ti-text a:not(.btn) { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.blk-ti-pic img , .blk-ti-pic video{ width: 100%; border-radius: var(--img-radius); }
.blk-tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 42vw), 1fr)); gap: 28px 20px; list-style: none; margin: 0; padding: 0; }
.blk-tile { display: block; text-align: center; color: var(--ink); }
.blk-tile-pic { display: block; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; border-radius: var(--img-radius); }
.shape-circle .blk-tile-pic { border-radius: 50%; }
.shape-portrait .blk-tile-pic { aspect-ratio: 3 / 4; }
.blk-tile-pic img , .blk-tile-pic video{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.blk-tile:hover .blk-tile-pic img , a.blk-tile:hover .blk-tile-pic video{ transform: scale(1.05); }
.blk-tile-label { display: block; margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.blk-text { margin-top: clamp(48px, 7vw, 96px); }
.blk-text.is-soft { background: var(--stone); padding: clamp(40px, 6vw, 80px) 0; }
.blk-text-in { max-width: 820px; color: var(--soft); line-height: 1.8; }
.blk-text-in.align-center { text-align: center; margin-left: auto; margin-right: auto; }
.blk-text-in .blk-title { color: var(--ink); }
.blk-text-in a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.blk-space.size-s { height: 24px; } .blk-space.size-m { height: 56px; } .blk-space.size-l { height: 110px; }
.cta-text p:not(:last-child) { margin-bottom: 0; }
.cta-accent { background: var(--accent); color: var(--ink); }
.cta-accent h2 { color: var(--ink); }
.cta-light { background: var(--stone); color: var(--soft); }
.cta-light h2 { color: var(--ink); }
.bespoke.has-image { background-image: linear-gradient(rgba(8, 24, 29, .55), rgba(8, 24, 29, .55)), var(--cta-image); background-size: cover; background-position: center; }
.bespoke.has-image.cta-light, .bespoke.has-image.cta-accent { background-image: linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .72)), var(--cta-image); }
@media (max-width: 800px) {
  .blk-row-grid.cols-3, .blk-row-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .blk-ti-in { grid-template-columns: 1fr; }
  .blk-ti-in.img-left .blk-ti-pic, .blk-ti-in .blk-ti-pic { order: -1; }
}
@media (max-width: 520px) { .blk-row-grid.cols-2 { grid-template-columns: 1fr; } }

/* Product and category page layout options from the design editor */
@media (min-width: 901px) {
  .product.gallery-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .product.gallery-right .gallery { order: 2; }
  .listing.filter-right .listing-grid { grid-template-columns: 1fr 260px; }
  .listing.filter-right .listing-grid > .refine { order: 2; }
}
@media (min-width: 1101px) {
  .listing.cols-2 .results .cards { grid-template-columns: repeat(2, 1fr); }
  .listing.cols-4 .results .cards { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
  .listing.cols-5 .results .cards { grid-template-columns: repeat(5, 1fr); gap: 32px 16px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .listing.cols-4 .results .cards, .listing.cols-5 .results .cards { grid-template-columns: repeat(3, 1fr); }
}
.details.details-desc { grid-template-columns: 1fr; }
.details-desc .prose { max-width: 860px; }
.details-desc h2 { font: 400 calc(clamp(24px, 2.6vw, 32px) * var(--heading-scale))/1.2 var(--display); margin: 0 0 18px; }
/* Empty bag: a quiet link at the end of the bag actions */
.bag-actions .bag-update { margin-left: auto; }
.bag-actions .bag-empty { margin-left: 22px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.bag-actions .bag-empty:hover { color: #b3261e; }
html.bag-live .bag-actions .bag-empty { margin-left: auto; }
/* Product photo: hover zoom (store.js) */
[data-hover-zoom] a { position: relative; }
.gallery-zoom { position: absolute; inset: 0; background: #fff no-repeat 50% 50%; opacity: 0; transition: opacity .15s; pointer-events: none; }
[data-hover-zoom].is-zooming .gallery-zoom { opacity: 1; }
[data-hover-zoom].is-zooming a { cursor: crosshair; }
/* Product photo: previous / next buttons, under the photo */
.gallery-main { position: relative; }
.gallery-nav { grid-column: 2; grid-row: 2; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: -4px; }
.gallery-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s; }
.gallery-arrow:hover { border-color: var(--brand); color: var(--brand); }
.gallery-arrow .i { width: 18px; height: 18px; }
.gallery-count { min-width: 52px; text-align: center; font-size: 13px; letter-spacing: .08em; color: var(--soft); }
@media (max-width: 900px) {
  .gallery-nav { grid-column: 1; grid-row: 2; margin-top: 0; }
  .gallery-thumbs { grid-row: 3; }
}
.buy-code + .buy-code { margin-top: 4px; } /* the measurement lines under the product code */
/* Videos used as pictures (.mp4 product images, banners...) */
video { max-width: 100%; }
.gallery-main video { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-thumbs video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-thumbs button.is-video { position: relative; }
.gallery-thumbs button.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -9px 0 0 -6px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent rgba(255, 255, 255, .95); filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
.media-phone { display: none; }
@media (max-width: 700px) { .media-wide { display: none; } .media-phone { display: block; } }
.bespoke.has-video.cta-dark { background: #08181d; }
.bespoke .cta-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .45; }
.bespoke.cta-light.has-video .cta-video, .bespoke.cta-accent.has-video .cta-video { opacity: .28; }
.bespoke.has-video .bespoke-in { position: relative; z-index: 1; }
.lb-video { max-width: calc(100vw - 48px); max-height: calc(100dvh - 140px); background: #000; }
.lightbox.is-video .lb-zoom { display: none; }
@media (max-width: 700px) { .lb-video { max-width: 100vw; max-height: calc(100dvh - 150px); } }
/* "Add to wish list / compare / Ask a question" under Add to bag: on phones, three equal columns
   with the icon above a short centred label ("Wish list", "Compare", "Ask a question") */
.buy-extras .link-btn { text-align: left; }
@media (max-width: 600px) {
  .buy-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
  .buy-extras form { display: contents; }
  .buy-extras .link-btn { flex-direction: column; justify-content: flex-start; gap: 6px; width: 100%; padding: 8px 4px; font-size: 13px; line-height: 1.3; text-align: center; }
  .buy-extras .lbl-long { display: none; }
}
@media (min-width: 601px) { .buy-extras .lbl-short { display: none; } }
/* Blocks for one kind of screen (design editor: "Show on") */
@media (min-width: 701px) { .only-phone { display: none !important; } }
@media (max-width: 700px) { .only-desktop { display: none !important; } }
/* Buttons block */
.blk-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; margin-bottom: 28px; }
.blk-buttons .btn { flex: 0 1 240px; }
.blk-buttons.is-stack { flex-direction: column; align-items: center; }
.blk-buttons.is-stack .btn { flex: none; width: min(100%, 360px); }
@media (max-width: 700px) {
  .blk-buttons { margin-top: 18px; margin-bottom: 18px; gap: 10px; }
  .blk-buttons.is-row .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
}
@media (max-width: 700px) {
  .card-body { padding: 12px 10px 14px; }
  .card-toggle button { gap: 5px; font-size: 10px; letter-spacing: .06em; }
  .card-toggle .i { width: 14px; height: 14px; }
}
@media (max-width: 400px) { .card-toggle .i { display: none; } } /* very narrow phones: the Save / Compare words alone */
/* Product page: a stock status other than "In stock", in the same red box as the bag */
.stock-alert { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 4px 10px; color: #b42318; background: #fdecea; border: 1px solid #f5c2bd; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.stock-alert .i { width: 15px; height: 15px; flex: none; }
/* Saved carts */
.save-bag { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.save-bag > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); list-style: none; }
.save-bag > summary::-webkit-details-marker { display: none; }
.save-bag > summary .i { width: 16px; height: 16px; }
.save-bag-form { display: grid; gap: 10px; margin-top: 12px; }
.save-bag-form .note { margin: 0; font-size: 13px; }
.saved-rename { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0 0 22px; }
.saved-rename .field { flex: 1 1 260px; margin: 0; }
.saved-summary { max-width: 460px; margin: 28px 0 0 auto; }
.saved-use-title { margin: 26px 0 8px; font: 500 13px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.saved-summary .btn-buy { width: 100%; }
.saved-use { display: grid; gap: 12px; }
.saved-use form { display: grid; gap: 4px; }
.saved-use .btn { width: 100%; }
.saved-use small { font-size: 12px; color: var(--soft); }
.saved-delete { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.saved-delete .link-btn { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.saved-delete .link-btn:hover { color: #b3261e; }
@media (max-width: 700px) { .saved-summary { max-width: none; } }
.search-any { margin: 0 0 18px; }
/* Price filter (logged-in customers) */
.price-range { clear: both; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.price-range .btn { grid-column: 1 / -1; }
.price-range label { position: relative; display: block; min-width: 0; }
.price-range i { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--faint); pointer-events: none; }
.price-range input { width: 100%; min-width: 0; height: 38px; padding: 0 8px 0 24px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--ink); -moz-appearance: textfield; }
.price-range input::-webkit-outer-spin-button, .price-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-range input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.price-to { font-size: 12px; color: var(--faint); }
.price-span { margin: 10px 0 0; font-size: 12px; color: var(--faint); }

/* "Sold Out - Coming Back Soon" on product tiles: a label on the photo, amber stock line, outlined backorder button */
.card-flag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; pointer-events: none; }
.stock-soon { color: #7a4500; font-weight: 600; }
.stock-soon::before { background: #c9780c; }
.card-buy .btn-backorder { background: #fff; }
.card-buy .btn-backorder:hover { background: var(--brand); color: #fff; }
@media (max-width: 600px) { .card-flag { left: 8px; top: 8px; padding: 4px 8px; font-size: 10px; } }
/* Register: agreeing to the terms, set apart from the newsletter choice */
.register-form > .register-agree { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 30px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.register-agree .choice { margin: 0; }
.register-agree a { text-decoration: underline; text-underline-offset: 3px; }

/* Register page: a centred column, one field per row, plain labels, condensed spacing (design option A2) */
.register-form { max-width: 480px; }
.register-form .form-grid { grid-template-columns: 1fr; }
.register-form .form-section { border-top: 0; margin: 0 0 22px; padding: 4px 0 0; }
.register-form .form-section > legend { width: 100%; padding: 0 0 8px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 20px; }
.register-form .field, .register-form .form-grid .field { margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.register-form .field input:not([type=radio]):not([type=checkbox]), .register-form .field select { margin-top: 3px; height: 40px; min-height: 40px; padding: 0 12px; border-color: #d9d3c7; font-size: 15px; font-weight: 400; }
.register-form .field-optional { font-weight: 400; color: var(--soft); }
.register-form .choice { font-size: 14px; }
.register-form .choice input { width: 18px; height: 18px; margin: 0; flex: none; }
.register-form > .register-agree { gap: 12px; margin: 26px 0 18px; padding-top: 18px; }
.register-form .form-actions .btn { width: 100%; min-height: 48px; }
