@font-face {
  font-family: "Cormorant Garamond";
  src: url("https://dyson-moskva.com/assets/fonts/cormorant-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("https://dyson-moskva.com/assets/fonts/cormorant-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  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;
}

:root {
  color-scheme: light;
  --paper: #f6f0e8;
  --card: #fdf9f2;
  --ink: #231915;
  --muted: #5e5148;
  --line: #d9cdbf;
  --stone: #ece2d5;
  --accent: #694a2f;
  --night: #1b1816;
  --on-night: #fbf3e8;
  --gold: #e2c49b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
button, select { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.page { width: min(100% - clamp(2rem, 5vw, 7rem), 98rem); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: 1rem; z-index: 4; color: var(--ink); background: var(--paper); padding: .75rem; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.topbar { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid #ffffff25; background: var(--night); color: var(--on-night); }
.topbar__content { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 4rem; }
.topbar__catalog { color: inherit; text-decoration: none; font: 600 clamp(1.4rem, 2.3vw, 1.85rem)/1 var(--serif); }
.topbar__catalog:hover { text-decoration: underline; text-underline-offset: .28em; }
.cart-toggle { display: flex; align-items: center; gap: .65rem; padding: .25rem 0 .25rem .5rem; min-height: 2.75rem; border: 0; background: transparent; font: 600 1.34rem/1 var(--serif); cursor: pointer; }
.cart-toggle:hover { color: var(--gold); }
.topbar :focus-visible, .hero :focus-visible { outline-color: var(--gold); }
.cart-icon { width: 1.06rem; height: 1.1rem; border: 1px solid currentColor; border-radius: .12rem; position: relative; color: var(--gold); }
.cart-icon::before { content: ""; position: absolute; width: .45rem; height: .42rem; left: 50%; top: -.36rem; transform: translateX(-50%); border: 1px solid currentColor; border-bottom: 0; border-radius: .35rem .35rem 0 0; }
#cart-count { min-width: 1.4rem; height: 1.4rem; padding: 0 .25rem; display: grid; place-items: center; border: 1px solid #ffffff52; border-radius: 50%; font: 500 .75rem/1 var(--sans); }

.hero { display: grid; position: relative; isolation: isolate; min-height: clamp(25rem, 34vw, 36rem); background: var(--night); color: var(--on-night); }
.hero__picture { position: absolute; z-index: -1; inset: 0 0 0 40%; display: block; overflow: hidden; }
.hero__picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night), #1b181600 34%); }
.hero__picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__content { align-self: center; padding: clamp(1.25rem, 5.25vw, 7rem); width: 62%; }
.hero h1 { margin: 0; font: 500 clamp(3rem, 6vw, 7rem)/.91 var(--serif); letter-spacing: -.05em; }
.hero__tagline { max-width: 32ch; margin: clamp(.85rem, 2vw, 1.25rem) 0 0; color: var(--on-night); font: 500 clamp(1.3rem, 2.05vw, 1.95rem)/1.18 var(--serif); }
.hero__link, .purchase-button, .more-button { min-height: 2.75rem; padding: .65rem 1.05rem; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hero__link { display: inline-flex; align-items: center; margin-top: clamp(1rem, 2.4vw, 2rem); padding: .75rem 1.65rem; background: var(--gold); border-color: var(--gold); color: var(--night); font: 600 clamp(1.25rem, 1.9vw, 1.8rem)/1.05 var(--serif); text-decoration: none; }
.hero__link:hover { background: #f3dcbf; border-color: #f3dcbf; }
.purchase-button:hover, .more-button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.categories { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 clamp(.7rem, 2.3vw, 2.1rem); margin-block: .65rem .85rem; }
.categories::before, .categories::after { content: ""; flex: 1; min-width: 1rem; border-top: 1px solid #aa9381; }
.categories a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink); text-decoration: none; font: 600 clamp(1.12rem, 2vw, 1.65rem)/1.1 var(--serif); }
.categories a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; }
.selection { margin-top: .75rem; }
.selection__grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.65rem, 1.55vw, 1.6rem); margin: 0; padding: 0; }
.selection__grid .product__media { aspect-ratio: 1.62; background: #e6d8c7; }
.selection__grid .product__media { --featured-scale: 1.09; }
.selection__grid .product__media[data-category="rings"] { --featured-scale: 1.48; }
.selection__grid .product__media img { transform: scale(var(--featured-scale)); }
.selection__grid .product:hover img { transform: scale(calc(var(--featured-scale) * 1.04)); }
.selection__grid .product__info { gap: .16rem; border-bottom: 1px solid var(--line); }
.selection__grid .product__name { font-size: clamp(1.45rem, 2.6vw, 2.3rem); }
.selection__grid .product__inspect { display: none; }

.catalog { margin-top: clamp(2rem, 5vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); scroll-margin-top: 4.5rem; }
.catalog-lead { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.catalog-lead h2 { margin: 0; font: 600 clamp(2.6rem, 5vw, 4.7rem)/.85 var(--serif); letter-spacing: -.056em; }
.catalog-sort { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--muted); }
.catalog-sort select {
  appearance: none; min-height: 2.65rem; border: 1px solid var(--line); background: var(--card);
  padding: .45rem 1.9rem .45rem .6rem; color: var(--ink);
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 13px) 54%, calc(100% - 9px) 54%; background-size: 4px 4px; background-repeat: no-repeat;
}
.tabs { display: flex; flex-wrap: wrap; gap: .15rem clamp(1rem, 3.1vw, 2.85rem); margin-top: .9rem; border-bottom: 1px solid var(--line); }
.tabs button { display: inline-flex; align-items: center; position: relative; gap: .33rem; min-height: 3rem; padding: .35rem .05rem; border: 0; background: transparent; cursor: pointer; font-size: .94rem; color: var(--muted); }
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--accent); }
.tab-count { font-size: .73rem; color: var(--muted); }
.choices { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .95rem; }
.choices button { background: transparent; border: 1px solid var(--line); min-height: 2.45rem; padding: .38rem .72rem; cursor: pointer; font-size: .86rem; }
.choices button:hover { border-color: var(--accent); }
.choices button[aria-pressed="true"] { background: var(--stone); border-color: #bcb1a0; }
.results-summary { display: flex; justify-content: space-between; gap: .6rem; margin: .85rem 0 .65rem; color: var(--muted); font-size: .86rem; }
.results-summary p, .product__spec { margin: 0; }

.product-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2.2rem clamp(.75rem, 2.1vw, 1.75rem); margin: 0; padding: 0; }
.product-tile { display: flex; flex-direction: column; min-width: 0; }
.product { display: flex; flex-direction: column; text-align: left; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; flex: 1; }
.product__media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1.08; background: var(--stone); overflow: hidden; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: scale(var(--product-scale, 1)); transition: transform .3s ease; }
.product__media[data-category="rings"] { --product-scale: 1.28; }
.product:hover .product__media img { transform: scale(calc(var(--product-scale, 1) * 1.04)); }
.product__media[data-unavailable="true"] img { display: none; }
.product__empty { color: var(--muted); font-size: .9rem; padding: .5rem; text-align: center; }
.product__info { width: 100%; display: grid; align-items: start; gap: .36rem; padding: .85rem 0 .7rem; }
.product__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; font: 600 clamp(1.23rem, 1.87vw, 1.75rem)/1.04 var(--serif); }
.product__spec { color: var(--muted); font-size: .87rem; }
.product__inspect { order: 9; color: var(--accent); text-decoration: underline; text-underline-offset: .22em; font-size: .84rem; }
.product:hover .product__inspect { color: var(--accent); }
.price { display: block; font-weight: 650; font-size: 1rem; font-variant-numeric: tabular-nums; }
.product__actions { padding: .12rem 0 .7rem; border-bottom: 1px solid var(--line); }
.purchase-button { background: transparent; color: var(--ink); font-size: .87rem; line-height: 1.15; }
.purchase-button.is-added { background: var(--stone); border-color: var(--line); color: var(--ink); }
.purchase-button:disabled { opacity: .64; cursor: default; border-color: var(--line); background: transparent; color: var(--ink); }
.product__actions .purchase-button { width: 100%; border-color: #a7927d; }
.product__actions .purchase-button:hover { border-color: var(--accent); }
.empty, .more-area { text-align: center; padding: 1.65rem 0 .5rem; }
.more-button { background: transparent; }
.catalog-count { color: var(--muted); font-size: .86rem; margin: 0 0 .65rem; }
.footer { display: flex; justify-content: space-between; gap: .7rem; border-top: 1px solid var(--line); margin-top: 1.75rem; padding: 1rem 0 2rem; color: var(--muted); font-size: .84rem; }
.footer p { margin: 0; }
.footer a { color: var(--ink); }
.source-note { color: var(--muted); font-size: .86rem; }

.item-dialog, .cart-dialog { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.item-dialog { width: min(60rem, 94vw); max-height: 91vh; padding: 0; }
.item-dialog::backdrop, .cart-dialog::backdrop { background: #291c17a6; }
.item-dialog form, .cart-dialog form { position: absolute; top: .75rem; right: .75rem; z-index: 1; }
.close-button { background: var(--card); border: 1px solid var(--line); width: 2.75rem; height: 2.75rem; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.item-dialog__layout { display: grid; grid-template-columns: 55fr 45fr; min-height: 29rem; }
.item-dialog__media { display: grid; place-items: center; background: var(--stone); }
.item-dialog img { display: block; width: 100%; height: auto; max-height: 76vh; object-fit: contain; mix-blend-mode: multiply; }
.item-dialog__content { align-self: center; padding: 3.4rem clamp(1rem, 3.3vw, 2.8rem) 2rem; }
.item-dialog__category { font-size: .88rem; color: var(--accent); margin: 0 0 .55rem; }
.item-dialog h2 { font: 600 clamp(1.8rem, 3.55vw, 3.05rem)/.99 var(--serif); letter-spacing: -.026em; margin: 0; }
.item-price { font-size: 1.15rem; margin: .8rem 0 .55rem; }
.item-description { margin: 1rem 0 1.3rem; border-top: 1px solid var(--line); padding-top: .85rem; }
.item-description h3 { margin: 0 0 .45rem; font: 600 1.42rem/1.08 var(--serif); }
.item-description dl { display: grid; grid-template-columns: minmax(4rem,auto) 1fr; gap: .3rem .7rem; margin: 0; font-size: .88rem; }
.item-description dt { color: var(--muted); }
.item-description dd { margin: 0; }
.item-dialog .purchase-button { width: 100%; background: var(--accent); border-color: var(--accent); color: #fff; }
.item-dialog .purchase-button:hover { background: #503721; }
.item-dialog .purchase-button.is-added, .item-dialog .purchase-button:disabled { background: var(--stone); border-color: var(--line); color: var(--ink); }

.cart-dialog { margin: 0 0 0 auto; min-height: 100dvh; max-height: 100dvh; width: min(29rem, 100%); max-width: 100%; padding: 2rem clamp(1rem, 4vw, 2.45rem); }
.cart-dialog h2 { margin: 0 3rem 1rem 0; font: 600 3rem/1 var(--serif); letter-spacing: -.04em; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.cart-list img { width: 4.5rem; height: 4.5rem; object-fit: contain; mix-blend-mode: multiply; background: var(--stone); }
.cart-item-name { margin: 0; font: 600 1.2rem/1 var(--serif); }
.cart-item-price { margin: .3rem 0; font-size: .93rem; }
.cart-remove { min-height: 1.9rem; border: 0; padding: 0; background: transparent; text-decoration: underline; cursor: pointer; font-size: .86rem; }
.cart-summary { border-top: 1px solid var(--line); margin-top: .9rem; padding-top: 1rem; }
.cart-total { margin: 0; display: flex; justify-content: space-between; gap: .5rem; font-weight: 650; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 690px) {
  .page { width: calc(100% - 1.5rem); }
  .topbar__content { min-height: 3.45rem; }
  .topbar__catalog { font-size: clamp(1.17rem, 5.1vw, 1.55rem); }
  .cart-toggle { gap: .42rem; font-size: 1.08rem; }
  .hero { min-height: 0; }
  .hero__picture { position: relative; inset: auto; grid-row: 1; aspect-ratio: 1.75; }
  .hero__picture::after { background: linear-gradient(0deg, var(--night), #1b181600 23%); }
  .hero__picture img { object-position: 64% 48%; }
  .hero__content { width: 100%; padding: .55rem 1rem 1.35rem; }
  .hero h1 { font-size: clamp(2.45rem, 9.6vw, 4.35rem); line-height: .95; }
  .hero__link { margin-top: .8rem; }
  .categories { gap: 0 1rem; margin-block: .55rem .35rem; }
  .categories::before, .categories::after { display: none; }
  .selection__grid { grid-template-columns: repeat(3, minmax(10.25rem, 1fr)); overflow-x: auto; padding: .25rem .25rem .55rem; scroll-snap-type: x proximity; }
  .selection__grid > li { scroll-snap-align: start; }
  .selection__grid .product__name { font-size: 1.38rem; }
  .catalog { margin-top: 1.4rem; scroll-margin-top: 3.85rem; }
  .catalog-lead { align-items: start; gap: .65rem; }
  .catalog-lead h2 { font-size: clamp(1.8rem, 7.4vw, 3.15rem); padding-top: .24rem; }
  .catalog-sort { flex-direction: column; align-items: end; gap: .23rem; font-size: .76rem; }
  .catalog-sort select { max-width: 9.75rem; min-height: 2.35rem; font-size: .79rem; }
  .tabs { gap: 0 .95rem; margin-top: .55rem; }
  .tabs button { min-height: 2.65rem; font-size: .87rem; }
  .choices { gap: .35rem; margin-top: .75rem; }
  .choices button { padding: .32rem .47rem; font-size: .82rem; }
  .results-summary { font-size: .77rem; }
  .results-summary .source-note { font-size: inherit; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.15rem .65rem; }
  .product__media { aspect-ratio: 1; }
  .product__name { font-size: clamp(1.15rem, 4.8vw, 1.42rem); }
  .product__spec { font-size: .8rem; }
  .item-dialog__layout { grid-template-columns: 1fr; min-height: 0; }
  .item-dialog img { max-height: 46vh; }
  .item-dialog__content { padding: 1rem 1rem 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.catalog-search { display: grid; gap: .4rem; max-width: 32rem; margin-top: 1.15rem; font-size: .88rem; color: var(--muted); }
.catalog-search input, .size-field select, .copy-fallback { min-width: 0; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--card); font: inherit; }
.catalog-search input { font-size: 1rem; }
.catalog-search input:focus-visible, .size-field select:focus-visible, .copy-fallback:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-field { display: grid; gap: .35rem; margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.cart-size { margin: .55rem 0 .2rem; max-width: 11rem; }
.text-button { border: 0; padding: .25rem 0; min-height: 2.75rem; cursor: pointer; background: none; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; font-size: .9rem; }
.copy-fallback { display: block; width: 100%; margin: .4rem 0; font-size: .88rem; }
.action-status { margin: .3rem 0 0; color: var(--muted); font-size: .86rem; }
.action-status:empty { display: none; }
.cart-copy { width: 100%; margin-top: .55rem; }

@media (max-width: 390px) {
  .catalog-search { margin-top: .85rem; }
}

.item-summary { margin: .35rem 0 1rem; color: var(--muted); }
.cart-order { display: block; width: 100%; margin-top: .8rem; text-align: center; text-decoration: none; background: var(--accent); color: #fff; border-color: var(--accent); }
.cart-order:hover { background: #503721; border-color: #503721; }
.cart-order-note { margin: .5rem 0 .25rem; }
