/* Jashan shop, option B "fashion house" (D-057). Classes only: the CSP forbids inline styles. */
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../fonts/bodoni-moda-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../fonts/bodoni-moda-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* The other bundled fonts (BrandDefinition::FONTS), latin only. A browser downloads only the ones the brand's design uses. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('../fonts/oswald-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/fira-sans-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/fira-sans-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/fira-sans-600-latin.woff2') format('woff2'); }

:root {
  --white: #ffffff; --ink: #111111; --text-2: #3a3a3a; --muted: #5e5e5e; --line: #ececec; --line-strong: #cfcfcf;
  --footer: #f7f7f7; --accent: #8e1e4a; --focus: #f0b429;
  --serif: 'Bodoni Moda', Georgia, serif; --sans: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --page: 1400px; --gutter: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--ink); font: calc(15px * var(--text-scale, 1))/1.6 var(--sans); }
a { color: var(--ink); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 8px 16px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.caps { letter-spacing: 0.12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.placeholder { color: var(--muted); font-style: italic; }

/* Header */
.announce { background: var(--side, var(--ink)); color: var(--side-ink, var(--white)); font-size: 12px; text-align: center; padding: 9px 16px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; padding-top: 14px; padding-bottom: 14px; }
.bar-left, .bar-right { display: flex; gap: 4px; align-items: center; }
.bar-right { justify-self: end; }
.icon { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; }
.wordmark { justify-self: center; text-align: center; font-family: var(--serif); font-size: calc(30px * var(--heading-scale, 1)); font-weight: 500; letter-spacing: 0.42em; padding-left: 0.42em; text-decoration: none; color: var(--ink); }
.wordmark-with-logo { display: inline-flex; align-items: center; gap: 0.42em; padding-left: 0; letter-spacing: normal; }
.wordmark-logo { width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; border-radius: 3px; }
.wordmark-text { letter-spacing: 0.42em; margin-right: -0.42em; }
.brand-logo { display: block; height: var(--logo-height, 44px); width: auto; max-width: calc(var(--logo-height, 44px) * 5); object-fit: contain; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 4px var(--gutter) 14px; font-size: 13px; }
.main-nav a { text-decoration: none; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; z-index: 5; top: 48px; left: 0; width: min(320px, 90vw); background: var(--white); border: 1px solid var(--line); padding: 12px 16px; }
.menu-panel a { display: block; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel .depth-1 { padding-left: 16px; }
.menu-panel .depth-2, .menu-panel .depth-3 { padding-left: 32px; }

/* Home */
.hero { position: relative; background: var(--side, #6e4f45); color: var(--side-ink, var(--white)); min-height: 520px; display: flex; align-items: flex-end; justify-content: center; text-align: center; padding: 48px var(--gutter) 56px; }
/* Without max-width the minimum height, carried through the aspect ratio, makes tablet banners wider than the screen. */
.hero-with-image { color: var(--side-ink, var(--white)); min-height: 420px; aspect-ratio: 1942 / 809; max-width: 100%; overflow: hidden; }
.hero-image { position: absolute; inset: 0; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Photos are tinted with the brand's banner colour where the words sit, so every colour theme shows on them. */
.hero-with-image::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--side, #000) 20%, transparent) 68%, color-mix(in srgb, var(--side, #000) 60%, transparent) 100%); }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero h1, .hero-title { font-family: var(--serif); font-size: clamp(calc(40px * var(--heading-scale, 1)), calc(7vw * var(--heading-scale, 1)), calc(72px * var(--heading-scale, 1))); line-height: 1; letter-spacing: 0.04em; text-transform: var(--heading-case, uppercase); margin: 12px 0 24px; }
/* Slides share one grid cell. The new slide fades in on top; the old one stays until the fade ends, then hides. */
.hero-carousel { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; z-index: 0; opacity: 0; visibility: hidden; transition: opacity 0s 0.8s, visibility 0s 0.8s; }
.hero-slide-1, .hero-carousel:has(#hero-slide-2:checked) .hero-slide-2, .hero-carousel:has(#hero-slide-3:checked) .hero-slide-3 { z-index: 1; opacity: 1; visibility: visible; transition: opacity 0.8s ease; }
.hero-carousel:has(#hero-slide-2:checked) .hero-slide-1, .hero-carousel:has(#hero-slide-3:checked) .hero-slide-1 { z-index: 0; opacity: 0; visibility: hidden; transition: opacity 0s 0.8s, visibility 0s 0.8s; }
@media (prefers-reduced-motion: reduce) { .hero-carousel .hero-slide { transition: none !important; } }
.hero-controls { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; border: 0; padding: 0; margin: 0; }
.hero-control { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.hero-control input { appearance: none; width: 12px; height: 12px; margin: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-control input:checked { background: #fff; }
.hero-control input:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.hero-carousel:has(.hero-controls) .hero { padding-bottom: 64px; }
.hero-pause { position: absolute; bottom: 0; right: 16px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; }
.hero-pause[hidden], .hero-play-icon, .hero-pause.is-paused .hero-pause-icon { display: none; }
.hero-pause.is-paused .hero-play-icon { display: block; }
.hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.section-photo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin-bottom: 24px; }
/* The banner's button, filled with the brand's main colour so a colour theme shows at a glance (only the banner uses it). */
.btn-outline-light { display: inline-block; border: 1px solid var(--accent, var(--white)); border-radius: var(--button-radius, 0); background: var(--accent, transparent); color: var(--accent-ink, var(--white)); text-decoration: none; padding: 13px 40px; font-size: 13px; letter-spacing: 0.2em; text-transform: var(--heading-case, uppercase); }
.btn-outline-light:hover { background: var(--accent-dark, var(--white)); border-color: var(--accent-dark, var(--white)); color: var(--accent-dark-ink, var(--ink)); }
.section { padding-top: calc(56px * var(--space-scale, 1)); padding-bottom: calc(24px * var(--space-scale, 1)); }
.section-title { font-size: calc(24px * var(--heading-scale, 1)); letter-spacing: 0.08em; text-transform: var(--heading-case, uppercase); text-align: center; margin: 0; }
.section-sub { text-align: center; color: var(--muted); margin: 6px 0 28px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding-top: 40px; padding-bottom: 40px; }
.tile { --tile-tone: var(--side, #5f4b44); --tile-ink: var(--side-ink, var(--white)); position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 5; background: var(--tile-tone); color: var(--tile-ink); text-decoration: none; padding-bottom: 36px; text-align: center; }
.tile:nth-child(2n) { --tile-tone: var(--accent-dark, #4e5a63); --tile-ink: var(--accent-dark-ink, var(--white)); }
.tile:nth-child(3n) { --tile-tone: var(--accent, #6b4a52); --tile-ink: var(--accent-ink, var(--white)); }
.tile.tile-with-image { overflow: hidden; }
.tile-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tile-with-image::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--tile-tone) 60%, transparent) 100%); }
.tile-copy { position: relative; z-index: 2; }
.tile-title { display: block; font-family: var(--serif); font-size: calc(40px * var(--heading-scale, 1)); text-transform: var(--heading-case, uppercase); letter-spacing: 0.04em; }
.tile-cta { display: inline-block; margin-top: 10px; border-bottom: 1px solid currentColor; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.tile:hover { color: var(--tile-ink); filter: brightness(1.08); }
.occasions-title { margin-bottom: 28px; }
.occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.occasion { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.occasion-circle { display: block; width: 150px; max-width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: #ebd9dc; }
.occasion:nth-child(2n) .occasion-circle { background: #efe3d2; }
.occasion:nth-child(3n) .occasion-circle { background: #e3e0d8; }
.occasion:nth-child(4n) .occasion-circle { background: #e1e6e0; }
.occasion:nth-child(5n) .occasion-circle { background: #e8d6d6; }
.occasion-circle img { width: 100%; height: 100%; object-fit: cover; }
.occasion-name { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }
.picks { display: flex; align-items: center; gap: 8px; }
.picks-arrow { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.picks-arrow[hidden] { display: none; }
.picks-arrow:hover { border-color: var(--ink); }
.picks-track { flex: 1 1 auto; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.picks-track::-webkit-scrollbar { display: none; }
.pick { position: relative; scroll-snap-align: start; }
.pick-save { position: absolute; top: 8px; right: 8px; z-index: 2; margin: 0; }
.heart { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.heart:hover { color: var(--accent); }
.heart-on svg { fill: var(--accent); color: var(--accent); }
/* The other product rows (New in, Best sellers, a category's): the heading, and "Shop all" under a category's. */
.row-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 28px; }
.row-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; text-underline-offset: 6px; }
/* The brand story: the photo beside the words (stacked on phones); without a photo, the words alone in the middle. */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: calc(56px * var(--space-scale, 1)); padding-bottom: calc(56px * var(--space-scale, 1)); }
.story-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-title { font-family: var(--serif); font-size: clamp(calc(28px * var(--heading-scale, 1)), calc(3.6vw * var(--heading-scale, 1)), calc(44px * var(--heading-scale, 1))); text-transform: var(--heading-case, uppercase); letter-spacing: 0.04em; line-height: 1.1; margin: 12px 0 16px; }
.story-text { margin: 0; color: var(--text-2); white-space: pre-line; }
.story-text-only { grid-template-columns: minmax(0, 1fr); max-width: 760px; text-align: center; }
/* The email sign-up: a band on the soft background colour. */
.signup-band { background: var(--accent-soft, #fbf1f5); --muted: var(--text-2); text-align: center; padding: calc(56px * var(--space-scale, 1)) 0; }
.signup-copy { max-width: 640px; }
.signup-band .section-sub { margin-bottom: 24px; }
.signup-band .btn-dark { display: inline-flex; align-items: center; text-decoration: none; }
.signup-consent { margin: 0 0 16px; font-size: 14px; }
.signup-note { margin: 16px 0 0; font-size: 14px; }
/* Customer reviews: a card for each of the newest, linking to its product. */
.home-reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.home-review { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.home-review p { margin: 0; }
.home-review-stars { color: var(--accent); letter-spacing: 0.12em; }
.home-review-by { font-size: 12px; color: var(--muted); }
.home-review-product { margin-top: auto; font-size: 13px; }
.bridal-band { position: relative; overflow: hidden; background: var(--side, #5a2a33); color: var(--side-ink, var(--white)); margin-top: 40px; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 64px var(--gutter); }
.bridal-band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bridal-band-with-image { color: var(--white); }
.bridal-band-with-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(40, 12, 20, 0.45); }
.bridal-band-copy { position: relative; z-index: 2; max-width: 640px; }
.bridal-band-copy p { margin: 0 0 28px; }
.bridal-band-title { font-family: var(--serif); font-size: clamp(calc(36px * var(--heading-scale, 1)), calc(6vw * var(--heading-scale, 1)), calc(56px * var(--heading-scale, 1))); text-transform: var(--heading-case, uppercase); letter-spacing: 0.04em; line-height: 1.05; margin: 12px 0 16px; }
.btn-light { display: inline-block; background: var(--white); border-radius: var(--button-radius, 0); color: var(--ink); text-decoration: none; padding: 14px 40px; font-size: 13px; letter-spacing: 0.2em; text-transform: var(--heading-case, uppercase); }
.btn-light:hover { background: var(--ink); color: var(--white); }
.bottom-bar { display: none; }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; text-align: center; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); margin-top: 32px; }
.promise-title { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.promise-text { font-size: 13px; color: var(--muted); }
.hero-side { display: none; }

/* Layout choices made in Master: data attributes on <html> (header, banner, tiles, products) and on each homepage band
   (its background). With none set, or the defaults, the page looks exactly as before. */
/* Logo on the left: the header itself becomes the grid and the bar's parts join it, so the menu (still the header's own row
   in the original layout, with the whole width) sits beside the logo. The side padding keeps the bar's page width. */
[data-header="left"] .site-header { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "left logo nav right"; column-gap: 24px; align-items: center; padding: 14px max(var(--gutter), calc((100% - var(--page)) / 2 + var(--gutter))); }
[data-header="left"] .site-header > .bar { display: contents; }
[data-header="left"] .bar-left { grid-area: left; }
[data-header="left"] .wordmark { grid-area: logo; justify-self: start; padding-left: 0; }
[data-header="left"] .main-nav { grid-area: nav; justify-content: flex-start; gap: 8px 24px; padding: 0; }
[data-header="left"] .bar-right { grid-area: right; }
[data-banner="split"] .hero-with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; aspect-ratio: auto; min-height: 0; max-width: 100%; padding: 0; background: var(--accent-soft, #fbf1f5); color: var(--ink); text-align: left; }
[data-banner="split"] .hero-with-image::before { content: none; }
[data-banner="split"] .hero-image, [data-banner="split"] .hero-side { display: block; position: relative; inset: auto; grid-column: 1; grid-row: 1; width: 100%; height: clamp(440px, 42vw, 640px); object-fit: cover; object-position: center top; }
/* The starter pack's upright side-by-side photo, kept to its top so the face stays in view; an admin's wide banner photo is cut to its middle. */
[data-banner="split"] .hero-with-image:has(.hero-side) .hero-image { display: none; }
[data-banner="split"] .hero-copy { grid-column: 2; grid-row: 1; padding: 48px clamp(24px, 5vw, 80px); }
[data-banner="split"] .hero h1, [data-banner="split"] .hero-title { font-size: clamp(calc(32px * var(--heading-scale, 1)), calc(4vw * var(--heading-scale, 1)), calc(56px * var(--heading-scale, 1))); }
[data-banner="split"] .hero-controls { left: 75%; }
[data-banner="split"] .hero-control input { border-color: var(--ink); }
[data-banner="split"] .hero-control input:checked { background: var(--ink); }
[data-banner="split"] .hero-pause { color: var(--ink); }
[data-banner="split"] .hero-control input:focus-visible, [data-banner="split"] .hero-pause:focus-visible { outline-color: var(--ink); }
/* With several banners the dots sit under the words, so the photo still reaches the banner's bottom edge. */
[data-banner="split"] .hero-carousel:has(.hero-controls) .hero { padding-bottom: 0; }
[data-banner="tall"] .hero-with-image { aspect-ratio: auto; min-height: max(560px, calc(100svh - 150px)); max-width: 100%; }
/* Every layout gets up to four tiles; the 2- and 3-across layouts hide the rest, and 3 or 4 always fill one row. */
[data-tiles="two"] .tile:nth-child(n+3), [data-tiles="three"] .tile:nth-child(n+4) { display: none; }
[data-tiles="three"] .tiles, [data-tiles="four"] .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
/* Narrower tiles: the title shrinks with its tile (container units) on tablets and phones, so a long name stays whole. */
[data-tiles="three"] .tile, [data-tiles="four"] .tile { container-type: inline-size; }
[data-tiles="three"] .tile-title { font-size: calc(30px * var(--heading-scale, 1)); font-size: min(calc(30px * var(--heading-scale, 1)), 11cqi); }
[data-tiles="four"] .tile { aspect-ratio: 3 / 4; }
[data-tiles="four"] .tile-title { font-size: calc(24px * var(--heading-scale, 1)); font-size: min(calc(24px * var(--heading-scale, 1)), 11cqi); }
/* The grid shows the first 8 of up to 12 products, two rows of four. */
[data-products="grid"] .picks-track { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; overflow: visible; scroll-snap-type: none; }
[data-products="grid"] .picks-arrow, [data-products="grid"] .pick:nth-child(n+9) { display: none; }
.band[data-bg="soft"] { background: var(--accent-soft, #fbf1f5); --muted: var(--text-2); }
.band[data-bg="dark"] { background: var(--side, #3a0d1f); color: var(--side-ink, var(--white)); --muted: var(--side-ink, var(--white)); --line: transparent; }
.band[data-bg="dark"] :is(.card, .occasion), .band[data-bg="dark"] :is(.card, .occasion):hover { color: inherit; }
.band:is([data-bg="soft"], [data-bg="dark"]) > .section { padding-bottom: calc(56px * var(--space-scale, 1)); }
.band:is([data-bg="soft"], [data-bg="dark"]) .promises { margin-top: 0; border-top: 0; }

/* Product grid and cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; }
.card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.card-photo { position: relative; aspect-ratio: 2 / 3; background: var(--footer); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.card-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--white); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; }
.card-name { font-size: 14px; }
.card-detail { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.card-price { font-size: 14px; font-weight: 500; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* Category page */
.page-head { padding-top: 32px; text-align: center; }
.page-title { font-family: var(--serif); font-size: clamp(calc(30px * var(--heading-scale, 1)), calc(4vw * var(--heading-scale, 1)), calc(40px * var(--heading-scale, 1))); letter-spacing: 0.04em; text-transform: var(--heading-case, uppercase); margin: 0 0 8px; }
.crumbs { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 20px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 16px 0 32px; padding: 0; list-style: none; }
.chips a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 13px; }
.pager { display: flex; justify-content: center; gap: 16px; padding: 32px 0; }
.filters { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.filter-panel summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-size: 13px; }
.filter-groups { display: flex; flex-wrap: wrap; gap: 24px 48px; padding: 8px 0 16px; }
.filter-groups fieldset { border: 0; margin: 0; padding: 0; min-width: 140px; }
.filter-groups legend { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.sort-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; font-size: 13px; }
.sort-row select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--white); font: inherit; }
.btn-dark { min-height: 44px; padding: 0 24px; border: 0; border-radius: var(--button-radius, 0); background: var(--ink); color: var(--white); font: inherit; font-size: 13px; letter-spacing: 0.16em; text-transform: var(--heading-case, uppercase); cursor: pointer; }
.btn-dark:hover { background: var(--accent); color: var(--accent-ink, var(--white)); }
.search-form { display: flex; max-width: 560px; margin: 16px auto; }
.search-form input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); font: inherit; }

/* Product page */
.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 64px; }
.gallery { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; background: var(--footer); }
.gallery .only { grid-column: span 2; }
.buybox { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.brandline { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.product-title { font-size: calc(22px * var(--heading-scale, 1)); letter-spacing: 0.06em; text-transform: var(--heading-case, uppercase); line-height: 1.3; margin: 8px 0; }
.price { font-size: 20px; }
.small { font-size: 12px; color: var(--muted); }
.options-title { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin: 0 0 8px; }
.option-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.option-list li { min-height: 44px; min-width: 52px; display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line-strong); font-size: 13px; }
.option-list li.out { color: var(--muted); text-decoration: line-through; }
.fold { border-top: 1px solid var(--line); }
.fold details { border-bottom: 1px solid var(--line); }
.fold summary { min-height: 52px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: '+'; }
.fold details[open] summary::after { content: '−'; }
.fold-body { font-size: 14px; color: var(--text-2); padding-bottom: 16px; }
.fold-body dl { margin: 0; }
.fold-body dt { font-weight: 500; }
.fold-body dd { margin: 0 0 6px; }

/* Size guide: radio buttons switch cm/inches without JavaScript */
.units { display: flex; margin: 8px 0; }
.units input { position: absolute; opacity: 0; }
.units label { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 14px; border: 1px solid var(--ink); cursor: pointer; font-size: 13px; }
.units input:checked + label { background: var(--ink); color: var(--white); }
.units input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.chart-in { display: none; }
.size-guide:has(#unit-in:checked) .chart-in { display: block; }
.size-guide:has(#unit-in:checked) .chart-cm { display: none; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th, td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 500; }

/* Messages, bag and checkout */
.center { text-align: center; }
.narrow { max-width: 640px; }
.flash { padding-top: 16px; }
.flash-ok, .flash-error, .notice { margin: 0 0 12px; padding: 12px 16px; font-size: 14px; }
.flash-ok { background: #eef6ee; color: #1f5f2c; }
.flash-error { background: #fbeaea; color: #8a1c1c; }
.notice { background: var(--footer); border-left: 3px solid var(--accent); }
.badge { position: absolute; top: 5px; right: 3px; background: var(--ink); color: var(--white); font-size: 10px; line-height: 16px; min-width: 16px; text-align: center; border-radius: 8px; }
.inline { display: inline; }
.link-button { background: none; border: 0; padding: 0 4px; min-height: 44px; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; color: var(--ink); }
.link-button:hover { color: var(--accent); }
.block { display: block; width: 100%; text-align: center; text-decoration: none; line-height: 44px; }
.btn-dark[disabled] { background: var(--line-strong); color: var(--muted); cursor: not-allowed; }
.btn-light { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 24px; border: 1px solid var(--ink); border-radius: var(--button-radius, 0); background: var(--white); color: var(--ink); font: inherit; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.btn-light:hover { color: var(--accent); border-color: var(--accent); }
.pay-actions { display: grid; gap: 12px; margin-top: 16px; }
.bag { padding-top: 32px; padding-bottom: 32px; }
.bag-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 24px; }
.bag-parcels { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.parcel { border-top: 1px solid var(--ink); }
.parcel-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.parcel-head h2 { font-size: 13px; margin: 0; }
.line { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line-photo { width: 96px; aspect-ratio: 2 / 3; background: var(--footer); flex: 0 0 96px; }
.line-photo img { width: 100%; height: 100%; object-fit: cover; }
.line-body { flex: 1 1 220px; min-width: 0; font-size: 14px; }
.line-name { text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; }
.line-problem { color: #8a1c1c; margin-top: 6px; }
.line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.qty-form { display: flex; align-items: center; gap: 4px; }
.qty-form select, .add-form select { min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--white); font: inherit; }
.line-total { font-weight: 500; }
.summary { flex: 1 1 300px; max-width: 420px; background: var(--footer); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 13px; margin: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.sum-row.total { font-size: 16px; font-weight: 500; border-top: 1px solid var(--ink); padding-top: 12px; }
.add-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.add-form label.options-title { flex-basis: 100%; }
.add-form #variant_id { flex: 1 1 220px; }
.alert-form { margin-top: 20px; }
.alert-form input { flex: 1 1 200px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); background: var(--white); font: inherit; }
.nudge { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 500; color: var(--accent-dark, var(--accent)); }
.trust-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--text-2); }
.trust-row li { display: inline-flex; align-items: center; gap: 10px; }
.trust-row li::before { content: ""; width: 5px; height: 10px; margin-top: -3px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.stack fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.stack legend { font-size: 13px; margin-bottom: 8px; }
.stack label { display: block; font-size: 13px; margin: 12px 0 4px; }
.pay-choice { border: 0; padding: 0; margin: 0 0 16px; }
.pay-choice legend { font-size: 13px; margin-bottom: 8px; }
.pay-choice label { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 12px; border: 1px solid #ddd; margin-bottom: 8px; cursor: pointer; }
.stack input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); font: inherit; }
.stack textarea { display: block; width: 100%; padding: 12px; border: 1px solid var(--line-strong); font: inherit; resize: vertical; }
.review-block { border-top: 1px solid var(--line); padding: 16px 0; }
.account-page { padding-top: 32px; padding-bottom: 32px; }
.account-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 24px; }
.account-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 13px; }
.account-nav a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.narrow-center { max-width: 640px; margin: 0 auto; }
.account-page .stack button { margin-top: 16px; }
.sign-in .stack button { display: block; margin-left: auto; margin-right: auto; }
.account-page form + p, .account-page p + form { margin-top: 16px; }
.review-block h2 { font-size: 13px; margin: 0 0 8px; }

/* Footer */
.site-footer { background: var(--footer); font-size: 13px; margin-top: 48px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 48px; padding-bottom: 32px; }
.footer-join { flex: 0 1 380px; margin-left: auto; }
.footer-cols .footer-join .btn-dark { display: inline-flex; align-items: center; color: var(--white); }
.footer-cols h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 8px; }
.footer-cols a, .footer-cols p { display: block; color: var(--text-2); text-decoration: none; margin: 0 0 8px; }
.footer-cols .footer-social { display: flex; flex-wrap: wrap; margin-left: -12px; }
.footer-cols .footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; }
.footer-base { text-align: center; padding: 16px var(--gutter) 24px; color: var(--muted); }
.footer-build { text-align: center; padding: 0 var(--gutter) 24px; color: var(--muted); font-size: 12px; }

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .main-nav { display: none; }
  .wordmark { font-size: calc(22px * var(--heading-scale, 1)); letter-spacing: 0.3em; padding-left: 0.3em; }
  .wordmark-with-logo { font-size: 20px; gap: 0.2em; padding-left: 0; letter-spacing: normal; }
  .wordmark-logo { width: 30px; height: 30px; }
  .wordmark-text { letter-spacing: 0.2em; margin-right: -0.2em; }
  .hero { min-height: 420px; }
  .hero-with-image { min-height: 480px; aspect-ratio: 2 / 3; padding-bottom: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .only { grid-column: auto; }
  .icon-wishlist { display: none; }
  .picks-track { grid-auto-columns: 70%; }
  .picks-arrow { display: none; }
  .tile-title { font-size: calc(32px * var(--heading-scale, 1)); }
  .bridal-band { min-height: 440px; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .footer-join { margin-left: 0; }
  .bottom-bar { display: flex; position: sticky; bottom: 0; z-index: 6; background: var(--white); border-top: 1px solid var(--line); justify-content: space-around; padding: 6px 0; }
  .bottom-bar a { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 4px; font-size: 12px; text-decoration: none; }
  [data-header="left"] .site-header { column-gap: 12px; }
  [data-banner="split"] .hero-with-image { grid-template-columns: minmax(0, 1fr); }
  [data-banner="split"] .hero-with-image:has(.hero-side) .hero-image { display: block; }
  [data-banner="split"] .hero-side { display: none; }
  [data-banner="split"] .hero-image { height: auto; aspect-ratio: 3 / 4; }
  [data-banner="split"] .hero-copy { grid-column: 1; grid-row: 2; padding: 28px var(--gutter) 36px; }
  [data-banner="split"] .hero-controls { left: 50%; }
  [data-banner="split"] .hero-carousel:has(.hero-controls) .hero { padding-bottom: 64px; }
  [data-banner="tall"] .hero-with-image { min-height: calc(100svh - 110px); }
  [data-tiles="three"] .tiles, [data-tiles="four"] .tiles { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  [data-tiles="three"] .tile:nth-child(3), [data-tiles="four"] .tile:nth-child(3):last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  :is([data-tiles="three"], [data-tiles="four"]) .tile-title { font-size: calc(22px * var(--heading-scale, 1)); font-size: min(calc(22px * var(--heading-scale, 1)), 11cqi); }
  [data-products="grid"] .picks-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .picks-track { grid-auto-columns: calc((100% - 32px) / 3); }
}
/* Logo on the left on a tablet or phone: the menu (hidden on phones) drops to its own row under the logo. */
@media (max-width: 1000px) {
  [data-header="left"] .site-header { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "left logo right" "nav nav nav"; }
  [data-header="left"] .main-nav { padding-top: 18px; }
}

@media (max-width: 360px) {
  .wordmark-with-logo { font-size: 15px; gap: 0.04em; }
  .wordmark-logo { width: 22px; height: 22px; }
  .wordmark-text { letter-spacing: 0.04em; margin-right: -0.04em; }
}

/* Admin-written website pages (W1) */
.prose { padding-top: 32px; padding-bottom: 48px; line-height: 1.7; }
.prose h2 { font-family: var(--serif); font-size: calc(22px * var(--heading-scale, 1)); margin: 28px 0 8px; }
.prose h3 { font-size: 17px; margin: 20px 0 6px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { text-decoration: underline; }

/* Error pages */
.error-page { text-align: center; padding-top: 64px; padding-bottom: 96px; }
.error-page .btn-dark { display: inline-flex; align-items: center; margin-top: 16px; color: var(--white); text-decoration: none; }
