@layer foundation {
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/onest-cyrillic-cade0a1b.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/onest-latin-3d436d4d.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+2190-21FF,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/manrope-cyrillic-397e3398.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/manrope-latin-822bc47d.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+2190-21FF,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #202220;
  --ink-soft: #5f6b64;
  --muted: #657169;
  --faint: #929a94;
  --paper: #f7f7f5;
  --surface: #ffffff;
  --accent: #2459e8;
  --accent-dark: #1742bd;
  --accent-soft: #e9efff;
  --line: #e9e9e6;
  --night: #1c2521;
  --display: "Onest", "Manrope", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --type-body: 16px;
  --type-hero: clamp(3.8rem, 5.28vw, 4.75rem);
  --type-section: 33px;
  --type-card: 17px;
  --type-meta: 12px;
  --type-small: var(--type-meta);
  --type-price: 21px;
  --type-action: 12px;
  --section-gap: 56px;
  --storefront-anchor-offset: 100px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--storefront-anchor-offset);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: var(--type-body)/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.panel-is-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.panel-is-open {
  overscroll-behavior: none;
}

::selection {
  background: #cddaff;
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: #c4ccc5;
  border: 3px solid var(--paper);
  border-radius: 99px;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #7a9aff;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

i {
  display: inline-flex;
  flex: 0 0 auto;
  font-style: normal;
}

i[data-lucide] {
  width: 20px;
  height: 20px;
}

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

h1,
h2,
h3,
h4,
.logo,
.product-name {
  font-family: var(--display);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.wrap {
  width: min(1320px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.service-bar {
  background: var(--paper);
  color: #6a6d69;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.service-bar .wrap {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.service-bar a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6a6d69;
  font-weight: 700;
}

.service-bar a svg {
  width: 15px;
  height: 15px;
}

header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgb(228 233 228 / 86%);
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px);
}

.header {
  display: flex;
  height: 86px;
  align-items: center;
  gap: 72px;
}

.logo {
  display: inline-flex;
  align-items: flex-start;
  color: var(--ink);
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.1em;
  line-height: 0.9;
}

.logo span {
  padding: 3px 0 0 4px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.header nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 650;
}

.header nav a,
.footer-main a,
.footer-link {
  transition: color 180ms var(--ease);
}

.header nav a:hover,
.header nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
}

.header-tools {
  display: flex;
  margin-left: auto;
  gap: 3px;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.icon-btn:hover {
  background: var(--paper);
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn b {
  position: absolute;
  top: 3px;
  right: 2px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}

.icon-btn b[hidden] {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  min-height: 630px;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 76px);
  padding-top: 46px;
  padding-bottom: 46px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 0 28px;
}

h1 {
  max-width: none;
  margin: 0 0 19px;
  color: var(--ink);
  font-size: var(--type-hero);
  font-weight: 550;
  letter-spacing: -4px;
  line-height: 1.05;
}

.hero-context {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-copy > p:not(.hero-context) {
  max-width: 35ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 19px 0 22px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 26px rgb(36 89 232 / 22%);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: var(--muted);
  font-size: 11px;
}

.hero-note-icon,
.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #707770;
}

.hero-note-icon {
  width: 22px;
  height: 22px;
}

.hero-note-icon svg {
  width: 15px;
  height: 15px;
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: 535px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background: #f1f0ec;
  box-shadow: 0 20px 58px rgb(28 36 32 / 7%);
}

.hero-visual::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgb(28 36 32 / 8%);
  border-radius: 50%;
  content: "";
}

.hero-word {
  position: absolute;
  top: -0.06em;
  right: -0.05em;
  color: #e3e1da;
  font-family: var(--display);
  font-size: clamp(11rem, 20vw, 18rem);
  font-weight: 750;
  letter-spacing: -0.11em;
  line-height: 1;
  pointer-events: none;
}

.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 455px;
  margin-bottom: 36px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 24px 18px rgb(78 67 49 / 10%));
  animation: hero-arrival 800ms var(--ease) both;
}

@keyframes hero-arrival {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.hero-caption span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.hero-caption strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.round-btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.round-btn:hover {
  background: var(--surface);
  transform: rotate(8deg);
}

.round-btn svg {
  width: 20px;
  height: 20px;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 26px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantages > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
}

.advantage-icon {
  width: 25px;
  height: 25px;
}

.advantage-icon svg {
  width: 21px;
  height: 21px;
}

.section {
  padding-top: 112px;
}

.section + .section {
  padding-top: 132px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: var(--type-section);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

main:not(.product-page) .section-heading h2,
.product-related .section-heading h2 {
  max-width: none;
  font-size: var(--type-section);
}

.section-lede {
  max-width: 44ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

#popular .section-heading h2 {
  max-width: none;
}

.categories {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 13px;
}

.categories-viewport {
  position: relative;
  min-width: 0;
}

.categories-viewport::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 8px;
  width: 76px;
  background: linear-gradient(90deg, rgb(255 255 255 / 0%), var(--surface) 78%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.categories-viewport.is-scrollable::after {
  opacity: 1;
}

.categories-scroll-hint {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 8px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-50%);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.categories-scroll-hint:hover,
.categories-scroll-hint:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.categories-scroll-hint svg {
  width: 17px;
  height: 17px;
}

.category {
  min-width: 0;
  padding: 20px 8px 17px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper);
  text-align: center;
  transition: background 180ms var(--ease);
}

.category:hover {
  background: #edeeea;
}

.category-media {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

.category img {
  width: 100%;
  height: 110px;
  margin: 0 auto 10px;
  mix-blend-mode: multiply;
  transition: transform 350ms var(--ease);
}

.category:hover img {
  transform: scale(1.06);
}

.category-foot {
  display: block;
  padding: 0;
}

.category h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.category p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--type-meta);
  line-height: 1.35;
}

.category-arrow {
  display: none;
}

.category-arrow svg {
  width: 16px;
  height: 16px;
}

.category:hover .category-arrow {
  background: var(--accent);
  color: #fff;
  transform: rotate(8deg);
}

.filter-pills {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: var(--paper);
}

.filter-pills button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  background: transparent;
  color: #59665e;
  font-size: var(--type-meta);
  font-weight: 700;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.filter-pills button:hover {
  color: var(--ink);
}

.filter-pills button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 3px 10px rgb(28 36 32 / 10%);
}

.brand-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -12px 0 26px;
}

.brand-filter-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.brand-pill {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.brand-pill:hover,
.brand-pill:focus-visible {
  border-color: #afc0f3;
  color: var(--accent);
}

.brand-pill.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.product-image {
  position: relative;
  display: flex;
  height: 290px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper);
}

.product-image-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: transparent;
}

.product-image img {
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  object-fit: contain;
}

.product-tag {
  position: absolute;
  top: 17px;
  left: 17px;
  color: #657563;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.product-image .favorite {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #737d76;
}

.product-image .favorite:hover {
  background: transparent;
  color: var(--accent);
}

.favorite svg {
  width: 18px;
  height: 18px;
}

.favorite.selected {
  color: var(--accent);
}

.favorite.selected svg {
  fill: currentColor;
  stroke-width: 1.5;
}

.product-info {
  display: flex;
  min-height: 191px;
  flex: 1;
  flex-direction: column;
  padding: 19px 2px 0;
}

.product-name {
  display: block;
  min-height: 42px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--type-card);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-align: left;
  transition: color 180ms var(--ease);
}

.product-name:hover {
  color: var(--accent);
}

.product-meta {
  min-height: 19px;
  margin: 7px 0 13px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--type-meta);
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-taxonomy {
  min-height: 15px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.product-taxonomy span {
  padding: 0 4px;
  color: var(--faint);
}

.swatches {
  display: flex;
  height: 22px;
  align-items: center;
  gap: 2px;
  margin-bottom: 19px;
}

.swatches > span {
  width: 10px;
  height: 10px;
  border: 1px solid rgb(28 36 32 / 13%);
  border-radius: 50%;
}

.swatches .color-swatch-button {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.swatches .color-swatch-button .color-swatch {
  width: 14px;
  height: 14px;
  border: 1px solid rgb(28 36 32 / 13%);
  border-radius: 50%;
  transition: transform 160ms var(--ease);
}

.swatches .color-swatch-button.is-selected .color-swatch,
.swatches .color-swatch-button:focus-visible .color-swatch {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.swatches .color-swatch-button:hover:not(:disabled) .color-swatch {
  transform: scale(1.12);
}

.purchase {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  display: block;
  font-family: var(--display);
  font-size: var(--type-price);
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.stock {
  display: block;
  margin-top: 5px;
  color: #4f7759;
  font-size: 10px;
  font-weight: 650;
}

.add-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px 0 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  white-space: nowrap;
  font-size: var(--type-action);
  font-weight: 750;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.add-button svg {
  width: 15px;
  height: 15px;
}

.add-button:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.promo {
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 132px;
  overflow: hidden;
  border-radius: 15px;
  background: #eef0f3;
}

.promo-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 58px 58px 58px 62px;
}

.promo h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 4vw, 3.25rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.07;
}

.promo-kicker {
  margin: 22px 0 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.promo-copy > p:not(.promo-kicker) {
  max-width: 34ch;
  margin: 17px 0 26px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.button.dark {
  background: var(--night);
}

.button.dark:hover {
  background: #304039;
  box-shadow: 0 12px 26px rgb(28 37 33 / 18%);
}

.promo-image {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.promo-image::before {
  display: none;
}

.promo-image img {
  position: relative;
  z-index: 1;
  width: 91%;
  height: 350px;
  mix-blend-mode: multiply;
  transform: rotate(-5deg);
  transition: transform 500ms var(--ease);
}

.promo:hover .promo-image img {
  transform: rotate(-3deg) scale(1.03);
}

.promo-image > span {
  position: absolute;
  right: 27px;
  bottom: 24px;
  left: 27px;
  color: #4f627c;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-align: center;
}

.services {
  margin-top: 132px;
  padding: 0 0 80px;
  background: transparent;
  color: var(--ink);
}

.services .section-heading {
  margin-bottom: 40px;
}

.services .section-heading h2 {
  color: var(--ink);
}

.services .section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
}

.service-grid article {
  min-width: 0;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.service-icon {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-grid h3 {
  margin: 19px 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.service-grid p {
  max-width: 31ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.service-arrow {
  display: none;
}

footer {
  margin-top: 132px;
  background: var(--paper);
  color: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: 35px;
  padding: 58px 0;
}

footer .logo {
  color: var(--ink);
}

.footer-brand p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

footer h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

footer .footer-main > div > a:not(.logo),
.footer-link,
.footer-small {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-main a:not(.logo):hover,
.footer-link:hover {
  color: var(--accent);
}

.footer-link {
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  text-align: left;
}

.footer-main .footer-link {
  display: inline-flex;
}

.footer-nav {
  display: grid;
  gap: 2px;
}

.footer-nav a,
.footer-main .footer-contact > a {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-contact > .footer-small {
  margin: 12px 0 0;
  font-size: 11px;
}

.footer-link svg {
  width: 14px;
  height: 14px;
}

.mobile-menu-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 18px;
  border-top: 1px solid #e2e4df;
  color: var(--muted);
  font-size: 10px;
}

.footer-bottom .footer-link {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.empty {
  padding: 48px;
  color: var(--muted);
  text-align: center;
}

dialog {
  width: min(620px, calc(100% - 30px));
  max-height: 85vh;
  padding: 30px;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 30px 100px rgb(0 0 0 / 23%);
}

dialog[data-panel="search"] {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

dialog[data-panel="search"] #panel-content {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: visible;
}

dialog[data-panel="search"] .search-results {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

dialog::backdrop {
  background: rgb(21 28 36 / 46%);
  backdrop-filter: blur(5px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.05em;
}

.dialog-head .icon-btn {
  background: var(--paper);
}

.dialog-head .icon-btn svg {
  width: 18px;
  height: 18px;
}

input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
}

input::placeholder {
  color: var(--faint);
}

.search-results {
  margin-top: 20px;
}

.basket-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.basket-item img {
  width: 78px;
  height: 80px;
  border-radius: 10px;
  background: var(--paper);
}

.basket-item .product-image-placeholder {
  display: inline-flex;
  width: 78px;
  height: 80px;
  flex: 0 0 78px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.15;
  text-align: center;
}

.basket-item .product-image-placeholder svg {
  width: 17px;
  height: 17px;
}

.basket-item > div {
  min-width: 0;
  flex: 1;
}

.basket-item h3 {
  margin: 0;
  font-size: 15px;
}

.basket-item p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.basket-item > .icon-btn {
  min-width: 38px;
  min-height: 38px;
  color: var(--muted);
}

.basket-item > .icon-btn:hover {
  color: #bd4f58;
}

.basket-item > .icon-btn svg {
  width: 17px;
  height: 17px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.quantity button {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--paper);
}

.quantity button svg {
  width: 14px;
  height: 14px;
}

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 750;
}

.wide {
  width: 100%;
}

.detail-img {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  background: var(--paper);
  object-fit: contain;
}

.detail-meta {
  color: var(--muted);
}

.detail-price {
  margin: 20px 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.05em;
}

.variant-choices {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
}

.variant-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: left;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.variant-choice:hover,
.variant-choice:focus-visible {
  border-color: #afc0f3;
  background: var(--accent-soft);
}

.variant-choice span:not(.variant-swatch) {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.variant-choice strong {
  font-family: var(--display);
  font-size: 13px;
  white-space: nowrap;
}

.variant-choice svg {
  width: 16px;
  height: 16px;
}

.variant-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid rgb(32 34 32 / 14%);
  border-radius: 50%;
}

.demo-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  z-index: 30;
  bottom: 24px;
  left: 50%;
  max-width: 90vw;
  padding: 13px 24px;
  border-radius: 11px;
  background: var(--night);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 1500px) {
  .hero {
    min-height: 650px;
  }

  .hero-visual {
    min-height: 650px;
  }

  .hero-visual > img {
    height: 475px;
  }
}

@media (max-width: 1100px) {
  :root {
    --type-hero: clamp(3rem, 5.6vw, 3.875rem);
    --type-section: 29px;
    --type-card: 15px;
    --type-price: 18px;
  }

  .wrap {
    width: calc(100% - 56px);
  }

  .header {
    gap: 42px;
  }

  .hero {
    min-height: 570px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
  }

  h1 {
    font-size: var(--type-hero);
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-visual > img {
    height: 390px;
  }

  .hero-word {
    font-size: 13rem;
  }

  .categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .category-media {
    min-height: 190px;
  }

  .category img {
    height: 155px;
  }

  .product-image {
    height: 215px;
  }

  .product-info {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-name {
    font-size: var(--type-card);
  }

  .price {
    font-size: var(--type-price);
  }

  .add-button {
    padding-right: 10px;
    padding-left: 11px;
  }

  .promo-copy {
    padding-right: 38px;
    padding-left: 42px;
  }

  .services {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --type-hero: clamp(44px, 14vw, 57px);
    --type-section: 26px;
    --type-card: 13px;
    --type-meta: 10px;
    --type-price: 17px;
    --type-action: 12px;
    --section-gap: 36px;
    --storefront-anchor-offset: 80px;
  }

  .wrap {
    width: calc(100% - 36px);
  }

  .service-bar .wrap {
    min-height: 31px;
    justify-content: center;
    font-size: 9px;
    text-align: center;
  }

  .service-bar a {
    display: none;
  }

  .header {
    height: 72px;
    gap: 18px;
  }

  .logo {
    font-size: 33px;
  }

  .header nav {
    display: none;
  }

  .header-tools {
    gap: 1px;
  }

  .icon-btn {
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
  }

  .header-tools .icon-btn:nth-child(2) {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 29px;
    padding-top: 44px;
    padding-bottom: 28px;
  }

  .hero-copy {
    padding: 0 2px;
  }

  h1 {
    max-width: none;
    margin-bottom: 17px;
    font-size: var(--type-hero);
    letter-spacing: -2.8px;
  }

  .hero-context {
    margin-bottom: 17px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero-copy > p:not(.hero-context) {
    max-width: 31ch;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 20px;
    margin-top: 25px;
  }

  .button {
    min-height: 48px;
    padding-left: 18px;
    font-size: 12px;
  }

  .text-link {
    font-size: 12px;
  }

  .hero-note {
    margin-top: 25px;
    font-size: 10px;
  }

  .hero-note-icon {
    width: 25px;
    height: 25px;
  }

  .hero-visual {
    min-height: 390px;
    border-radius: 20px;
  }

  .hero-visual > img {
    width: 85%;
    height: 315px;
    margin-bottom: 17px;
  }

  .hero-word {
    top: -0.02em;
    font-size: 10.5rem;
  }

  .hero-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 0;
  }

  .hero-caption span {
    font-size: 8px;
  }

  .hero-caption strong {
    font-size: 16px;
  }

  .round-btn {
    width: 41px;
    height: 41px;
  }

  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 10px;
    padding: 21px 0 22px;
  }

  .advantages > div {
    gap: 8px;
    font-size: 10px;
    line-height: 1.35;
  }

  .advantage-icon {
    width: 30px;
    height: 30px;
  }

  .advantage-icon svg {
    width: 15px;
    height: 15px;
  }

  .section {
    padding-top: 48px;
  }

  .section + .section {
    padding-top: 48px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    max-width: 15ch;
    font-size: var(--type-section);
  }

  .section-lede {
    max-width: 35ch;
    margin-top: 13px;
    font-size: 12px;
  }

  #categories .section-heading > .text-link {
    margin-top: 18px;
  }

  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category {
    padding: 14px 4px 12px;
    border-radius: 14px;
  }

  .category-media {
    min-height: 65px;
  }

  .category img {
    height: 65px;
    margin-bottom: 7px;
  }

  .category-foot {
    padding: 0;
  }

  .category h3 {
    font-size: 11px;
  }

  .category p {
    display: none;
  }

  .category-arrow {
    width: 29px;
    height: 29px;
  }

  .category-arrow svg {
    width: 14px;
    height: 14px;
  }

  #popular .section-heading {
    display: block;
  }

  #popular h2 {
    max-width: 12ch;
  }

  .filter-pills {
    width: 100%;
    margin-top: 20px;
    overflow-x: auto;
  }

  .filter-pills button {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 11px;
    font-size: var(--type-action);
  }

  .brand-filter {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-top: -8px;
  }

  .brand-pills {
    width: 100%;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .brand-pill {
    flex: 0 0 auto;
  }

  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .product {
    border-radius: 0;
  }

  .product-image {
    height: 200px;
  }

  .product-image-link {
    padding: 16px;
  }

  .product-tag {
    top: 11px;
    left: 11px;
    padding: 0;
    font-size: 8px;
  }

  .product-image .favorite {
    top: 7px;
    right: 7px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .favorite svg {
    width: 16px;
    height: 16px;
  }

  .product-info {
    min-height: 176px;
    padding: 14px 2px 0;
  }

  .product-name {
    min-height: 35px;
    font-size: var(--type-card);
  }

  .product-meta {
    min-height: 17px;
    margin: 5px 0 10px;
    font-size: var(--type-meta);
  }

  .swatches {
    min-height: 40px;
    height: auto;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
  }

  .swatches > span {
    width: 8px;
    height: 8px;
  }

  .swatches .color-swatch-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    padding: 13px;
  }

  .swatches .color-swatch-button .color-swatch {
    width: 12px;
    height: 12px;
  }

  .purchase {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .price {
    font-size: var(--type-price);
  }

  .stock {
    margin-top: 4px;
    font-size: 9px;
  }

  .add-button {
    min-height: 34px;
    gap: 6px;
    padding: 0 8px 0 10px;
    font-size: var(--type-action);
  }

  .add-button svg {
    width: 13px;
    height: 13px;
  }

  .promo {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 88px;
    border-radius: 15px;
  }

  .promo-copy {
    padding: 31px 28px 0;
  }

  .promo h2 {
    font-size: 2.75rem;
  }

  .promo-kicker {
    margin-top: 17px;
    font-size: 9px;
  }

  .promo-copy > p:not(.promo-kicker) {
    margin-top: 13px;
    margin-bottom: 22px;
    font-size: 11px;
  }

  .promo-image {
    min-height: 270px;
  }

  .promo-image img {
    height: 230px;
  }

  .promo-image > span {
    right: 15px;
    bottom: 15px;
    left: 15px;
    font-size: 9px;
  }

  .services {
    margin-top: 88px;
    padding: 0 0 46px;
    border-radius: 0;
  }

  .services .section-heading {
    margin-bottom: 31px;
  }

  .services .section-heading > p {
    margin-top: 16px;
    font-size: 12px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    padding: 18px 0 19px;
  }

  .service-icon {
    width: 27px;
    height: 27px;
    border-radius: 0;
  }

  .service-icon svg {
    width: 17px;
    height: 17px;
  }

  .service-grid h3 {
    margin-top: 19px;
    font-size: 13px;
  }

  .service-grid p {
    font-size: 10px;
  }

  footer {
    margin-top: 0;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    padding: 37px 0;
  }

  .footer-brand p {
    font-size: 11px;
  }

  .footer-main > div:nth-child(2) {
    order: 3;
  }

  .footer-main > div:nth-child(3) {
    order: 4;
  }

  .footer-catalog,
  .footer-buyers {
    order: 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-nav a,
  .footer-main .footer-contact > a {
    min-height: 40px;
    font-size: 11px;
  }

  .footer-main .footer-contact {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .footer-main .footer-contact > h3,
  .footer-main .footer-contact > .footer-small {
    grid-column: 1 / -1;
  }

  .footer-main .footer-contact > h3 {
    margin-bottom: 6px;
  }

  .footer-main .footer-contact > .footer-small {
    margin-top: 8px;
    font-size: 10px;
  }

  footer .footer-main > div > a:not(.logo),
  .footer-link,
  .footer-small {
    font-size: 11px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 9px;
  }

  .footer-bottom > span:nth-child(2) {
    width: 100%;
    order: 3;
  }

  .footer-bottom .footer-link {
    margin-left: auto;
    font-size: 9px;
  }

  .footer-bottom {
    display: grid;
    grid-template-areas:
      "copyright privacy"
      "note note";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
    align-items: center;
    padding: 16px 0 max(24px, env(safe-area-inset-bottom));
    font-size: 9px;
  }

  .footer-copyright {
    grid-area: copyright;
  }

  .footer-note {
    grid-area: note;
    width: auto;
  }

  .footer-bottom .footer-link {
    grid-area: privacy;
    margin: 0;
  }

  dialog {
    padding: 21px;
  }

  dialog[data-panel="search"] {
    position: fixed;
    top: 12px;
    right: 12px;
    bottom: auto;
    left: 12px;
    width: calc(100% - 24px);
    height: min(720px, calc(var(--panel-viewport-height, 100dvh) - 24px));
    max-height: calc(var(--panel-viewport-height, 100dvh) - 24px);
    margin: 0;
    padding: 20px;
    border-radius: 24px;
  }

  dialog[data-panel="search"] .search-results {
    margin-top: 16px;
    scrollbar-width: thin;
  }

  .dialog-head h2 {
    font-size: 22px;
  }

  .basket-item {
    gap: 11px;
  }

  .basket-item img {
    width: 62px;
    height: 64px;
  }
}

@media (max-width: 390px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-note {
    margin-top: 22px;
  }

  .product-image {
    height: 184px;
  }

  .product-info {
    min-height: 174px;
  }

  .price {
    font-size: var(--type-price);
  }

  .add-button {
    padding-right: 7px;
    padding-left: 8px;
  }
}

@media (hover: none), (pointer: coarse) {
  .category:hover,
  .product:hover,
  .button:hover,
  .add-button:hover {
    transform: none;
  }

  .product:hover .product-image img,
  .category:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Product pages */
.product-page {
  padding: 32px 0 0;
}

.breadcrumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.breadcrumbs svg {
  width: 13px;
  height: 13px;
  color: var(--faint);
}

.breadcrumbs i[data-lucide] {
  width: 13px;
  height: 13px;
}

.breadcrumbs span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
  margin-top: 28px;
  padding-bottom: 84px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.product-thumbnails {
  display: grid;
  align-content: start;
  gap: 10px;
}

.product-thumb {
  display: flex;
  width: 76px;
  height: 82px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.product-thumb.is-active {
  border-color: #a9bdf5;
  background: var(--accent-soft);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-stage {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper);
}

.product-stage::before {
  position: absolute;
  width: 62%;
  height: 62%;
  border: 1px solid rgb(36 89 232 / 9%);
  border-radius: 50%;
  content: "";
}

.product-stage img {
  position: relative;
  z-index: 1;
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-stage-mark {
  position: absolute;
  right: 22px;
  bottom: 19px;
  z-index: 2;
  color: #a6aaa6;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em;
}

.product-buy {
  min-width: 0;
  padding-top: 4px;
}

.product-buy h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 4.1vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .98;
}

.product-lede {
  max-width: 42ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 29px;
}

.product-price-row strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 750;
  letter-spacing: -.07em;
  line-height: 1;
  white-space: nowrap;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #edf8f0;
  color: #37734c;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.product-stock svg {
  width: 14px;
  height: 14px;
}

.product-price-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.product-model-picker {
  margin-top: 34px;
}

.product-model-picker h2,
.product-option legend {
  margin: 0 0 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.product-model-list,
.product-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-model-button,
.product-option-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  transition: border-color 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.product-model-button.is-selected,
.product-option-button.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumbs a:hover {
    color: var(--accent);
  }

  .product-thumb:hover,
  .product-model-button:hover,
  .product-option-button:hover:not(:disabled) {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-dark);
  }
}

.product-options {
  display: grid;
  gap: 23px;
  margin-top: 25px;
}

.product-option {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-option legend {
  float: left;
  width: 100%;
}

.product-option-list {
  clear: both;
}

.product-option-button[disabled] {
  cursor: not-allowed;
  opacity: .35;
}

.product-option-button[data-tooltip] {
  position: relative;
  z-index: 0;
}

.product-option-button[data-tooltip]::before,
.product-option-button[data-tooltip]::after {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s linear 160ms;
}

.product-option-button[data-tooltip]::before {
  top: calc(100% + 4px);
  left: 24px;
  width: 0;
  height: 0;
  border-right: 5px solid transparent;
  border-bottom: 6px solid var(--ink);
  border-left: 5px solid transparent;
  content: "";
  transform: translateY(-3px);
}

.product-option-button[data-tooltip]::after {
  top: calc(100% + 9px);
  left: 0;
  width: min(360px, calc(100vw - 36px));
  max-height: min(230px, calc(100vh - 32px));
  padding: 14px 16px;
  overflow-y: auto;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 12px 30px rgb(32 34 32 / 16%);
  color: var(--surface);
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.52;
  text-align: left;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  white-space: pre-line;
  transform: translateY(-4px);
}

.product-option-button[data-tooltip]:not(:disabled):hover,
.product-option-button[data-tooltip]:not(:disabled):focus-visible {
  z-index: 30;
}

.product-option-button[data-tooltip]:not(:disabled):hover::before,
.product-option-button[data-tooltip]:not(:disabled):hover::after,
.product-option-button[data-tooltip]:not(:disabled):focus-visible::before,
.product-option-button[data-tooltip]:not(:disabled):focus-visible::after {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.product-option-button[data-tooltip]:not(:disabled):hover::before,
.product-option-button[data-tooltip]:not(:disabled):focus-visible::before {
  transform: translateY(0);
}

.product-option-button[data-tooltip]:not(:disabled):hover::after,
.product-option-button[data-tooltip]:not(:disabled):focus-visible::after {
  transform: translateY(0);
}

@media (max-width: 760px) {
  .product-option-button[data-tooltip]::before {
    top: auto;
    bottom: calc(100% + 4px);
    border-top: 6px solid var(--ink);
    border-bottom: 0;
    transform: translateY(3px);
  }

  .product-option-button[data-tooltip]::after {
    top: auto;
    bottom: calc(100% + 9px);
    transform: translateY(4px);
  }

  .product-option-button[data-tooltip]:not(:disabled):hover::before,
  .product-option-button[data-tooltip]:not(:disabled):focus-visible::before {
    transform: translateY(0);
  }

  .product-option-button[data-tooltip]:not(:disabled):hover::after,
  .product-option-button[data-tooltip]:not(:disabled):focus-visible::after {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-option-button[data-tooltip]::before,
  .product-option-button[data-tooltip]::after {
    transition: none;
  }
}

.product-option-button--color {
  min-width: 116px;
  flex-direction: column;
  min-height: 69px;
  align-items: flex-start;
  justify-content: center;
  padding: 9px 12px;
}

.product-color {
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid rgb(32 34 32 / 18%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 44%);
}

.color-swatch {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.color-swatch--silver {
  background-image: linear-gradient(135deg, #f8fafb 0%, #dce1e3 35%, #aeb6bb 68%, #eef1f2 100%);
}

.color-swatch--black,
.color-swatch--jet-black,
.color-swatch--space-black,
.color-swatch--black-titanium {
  background-image: linear-gradient(135deg, #56585b 0%, #282a2c 42%, #111214 78%, #3d3f41 100%);
}

.color-swatch--white,
.color-swatch--cloud-white,
.color-swatch--white-titanium {
  background-image: linear-gradient(135deg, #ffffff 0%, #eef1ef 45%, #cdd2d1 78%, #fafcfa 100%);
}

.color-swatch--deep-blue,
.color-swatch--blue-titanium {
  background-image: linear-gradient(135deg, #718bc3 0%, #3d5f9d 42%, #1c3564 78%, #486da9 100%);
}

.color-swatch--cosmic-orange {
  background-image: linear-gradient(135deg, #ffc095 0%, #f18b4e 38%, #bd4e25 74%, #e77d40 100%);
}

.color-swatch--orange {
  background-image: linear-gradient(135deg, #f1ae79 0%, #d97945 48%, #a94a2b 100%);
}

.color-swatch--mist-blue,
.color-swatch--ice-blue {
  background-image: linear-gradient(135deg, #e1f0f5 0%, #b9d8e7 45%, #86b7d0 78%, #c5e0eb 100%);
}

.color-swatch--sky-blue {
  background-image: linear-gradient(135deg, #d7effb 0%, #a8d7ed 42%, #72b4d9 76%, #b7e1f1 100%);
}

.color-swatch--soft-pink,
.color-swatch--pink {
  background-image: linear-gradient(135deg, #f8d9da 0%, #e9b6ba 45%, #c8828e 78%, #f1c8cb 100%);
}

.color-swatch--light-gold,
.color-swatch--gold {
  background-image: linear-gradient(135deg, #f4dfb1 0%, #d8b873 46%, #af7f3d 78%, #e6ca8d 100%);
}

.color-swatch--natural,
.color-swatch--natural-titanium,
.color-swatch--desert,
.color-swatch--desert-titanium {
  background-image: linear-gradient(135deg, #e2cbb7 0%, #b99c82 44%, #8d705b 77%, #ceb49d 100%);
}

.color-swatch--product-red,
.color-swatch--red {
  background-image: linear-gradient(135deg, #ef7c83 0%, #c83d4b 48%, #8e1f2d 80%, #d7555d 100%);
}

.color-swatch--blue {
  background-image: linear-gradient(135deg, #b6d2ee 0%, #6d98ca 44%, #38659f 78%, #86b3dd 100%);
}

.color-swatch--space-gray,
.color-swatch--gray,
.color-swatch--graphite {
  background-image: linear-gradient(135deg, #cdd1d1 0%, #8b9191 44%, #555b5d 78%, #aeb4b4 100%);
}

.color-swatch--starlight,
.color-swatch--white-silver {
  background-image: linear-gradient(135deg, #fffdf2 0%, #eee9db 45%, #c8c1b2 78%, #f7f1e1 100%);
}

.color-swatch--midnight {
  background-image: linear-gradient(135deg, #5c6670 0%, #353d46 45%, #1c2228 80%, #454e58 100%);
}

.color-swatch--purple,
.color-swatch--violet,
.color-swatch--deep-violet,
.color-swatch--lavender {
  background-image: linear-gradient(135deg, #e1d9ee 0%, #b9a6d0 45%, #765f9c 78%, #cbbbe0 100%);
}

.color-swatch--green,
.color-swatch--sage,
.color-swatch--pistachio {
  background-image: linear-gradient(135deg, #e1ebd7 0%, #abc493 45%, #6f8f6c 78%, #bed5a7 100%);
}

.color-swatch--yellow,
.color-swatch--citrus {
  background-image: linear-gradient(135deg, #fff6b3 0%, #e4d56a 46%, #a99b32 78%, #efe17e 100%);
}

.product-option-button--color.is-selected .product-color {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-quantity-row {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.product-quantity {
  display: inline-flex;
  min-width: 112px;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
}

.product-quantity button {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--paper);
}

.product-quantity button svg {
  width: 15px;
  height: 15px;
}

.product-quantity button i[data-lucide] {
  width: 15px;
  height: 15px;
}

.product-quantity strong {
  min-width: 24px;
  font-family: var(--display);
  font-size: 13px;
  text-align: center;
}

.product-add-button {
  display: flex;
  width: 100%;
  min-height: 57px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 17px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .product-quantity button:hover {
    background: var(--accent-soft);
    color: var(--accent);
  }

  .product-add-button:hover {
    background: var(--accent-dark);
    box-shadow: 0 12px 26px rgb(36 89 232 / 20%);
  }
}

.product-add-button svg {
  width: 17px;
  height: 17px;
}

.product-add-button i[data-lucide] {
  width: 17px;
  height: 17px;
}

.product-cart-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.product-cart-note svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.product-service-strip {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-service-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-service-strip-inner > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.product-service-strip-inner > div:last-child {
  border-right: 0;
}

.product-service-strip-inner > div > svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--ink-soft);
}

.product-service-strip span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-service-strip strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--display);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-service-strip small {
  color: var(--muted);
  font-size: 10px;
}

.product-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 80px;
  align-items: start;
  margin-top: 112px;
  padding: 0 0 112px;
}

.product-about h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.15rem);
  font-weight: 550;
  letter-spacing: -.05em;
  line-height: 1.03;
}

.product-about > div:first-child p {
  max-width: 42ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.product-selected-summary {
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.product-selected-summary > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-selected-summary strong {
  display: block;
  margin-top: 13px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.product-selected-summary p {
  max-width: 37ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.product-related {
  padding-bottom: 112px;
}

.product-related .section-heading {
  margin-bottom: 30px;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.related-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.related-product-image {
  display: flex;
  height: 220px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 13px;
  background: var(--paper);
}

.related-product-image img {
  width: 86%;
  height: 86%;
  mix-blend-mode: multiply;
  transition: transform 300ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .related-product:hover .related-product-image img {
    transform: scale(1.04);
  }
}

.related-product strong {
  overflow: hidden;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-product > span:not(.related-product-image) {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-product b {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.04em;
}

@media (max-width: 1100px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    gap: 42px;
  }

  .product-buy h1 {
    font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  }

  .product-service-strip-inner > div {
    padding-right: 13px;
    padding-left: 13px;
  }

  .product-service-strip-inner > div > svg {
    width: 18px;
    height: 18px;
  }

  .product-service-strip small {
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  .product-page {
    padding-top: 23px;
  }

  .breadcrumbs {
    gap: 6px;
    font-size: 10px;
  }

  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 37px;
    margin-top: 20px;
    padding-bottom: 63px;
  }

  .product-gallery {
    width: 100%;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .product-thumb {
    width: 58px;
    height: 64px;
    padding: 6px;
    border-radius: 9px;
  }

  .product-stage {
    border-radius: 14px;
  }

  .product-stage-mark {
    right: 14px;
    bottom: 13px;
    font-size: 8px;
  }

  .product-buy {
    width: 100%;
    padding-top: 0;
  }

  .product-buy h1 {
    max-width: 14ch;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .product-lede {
    margin-top: 16px;
    font-size: 13px;
  }

  .product-price-row {
    margin-top: 23px;
  }

  .product-price-row strong {
    font-size: 2rem;
  }

  .product-stock {
    padding: 8px 9px;
    font-size: 10px;
  }

  .product-model-picker {
    margin-top: 28px;
  }

  .product-model-list,
  .product-option-list {
    gap: 7px;
  }

  .product-model-button,
  .product-option-button {
    min-height: 40px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 10px;
  }

  .product-option-button--color {
    min-width: 101px;
    min-height: 64px;
  }

  .product-service-strip {
    display: block;
  }

  .product-service-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-service-strip-inner > div:nth-child(2) {
    border-right: 0;
  }

  .product-service-strip-inner > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-service-strip-inner > div {
    min-height: 75px;
    padding: 14px 12px;
  }

  .product-service-strip strong {
    font-size: 10px;
  }

  .product-about {
    display: block;
    margin-top: 78px;
    padding-bottom: 78px;
  }

  .product-about h2 {
    font-size: 2.35rem;
  }

  .product-about > div:first-child p {
    margin-top: 15px;
    font-size: 12px;
  }

  .product-selected-summary {
    margin-top: 43px;
  }

  .product-related {
    padding-bottom: 78px;
  }

  .product-related .section-heading {
    display: flex;
    align-items: end;
  }

  .product-related .section-heading h2 {
    font-size: 2.2rem;
  }

  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 12px;
  }

  .related-product-image {
    height: 170px;
  }

  .related-product strong {
    font-size: 12px;
  }

  .related-product b {
    font-size: 15px;
  }
}

@media (max-width: 390px) {
  .product-gallery {
    grid-template-columns: 51px minmax(0, 1fr);
  }

  .product-thumb {
    width: 51px;
    height: 57px;
  }

  .product-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .product-stock {
    align-self: flex-start;
  }

  .product-service-strip-inner > div {
    gap: 8px;
    padding-right: 9px;
    padding-left: 9px;
  }
}

/* Product detail presentation */
.header-search {
  display: flex;
  width: 244px;
  min-height: 36px;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 0 13px;
  border-radius: 9px;
  background: var(--paper);
  color: var(--muted);
  font-size: 10px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.header-search:hover,
.header-search:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.header-search svg {
  width: 15px;
  height: 15px;
}

.product-page {
  padding-top: 24px;
}

.product-detail {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: 56px;
  margin-top: 24px;
  padding-bottom: 58px;
}

.product-gallery {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}

.product-thumb {
  width: 64px;
  height: 70px;
  border-radius: 10px;
}

.product-stage {
  border-radius: 14px;
}

.product-stage::before,
.product-stage-mark {
  display: none;
}

.product-stage-expand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  box-shadow: 0 8px 20px rgb(32 34 32 / 10%);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.product-stage-expand:hover,
.product-stage-expand:focus-visible {
  background: var(--accent);
  color: #fff;
}

.product-stage-expand svg {
  width: 15px;
  height: 15px;
}

.product-buy {
  padding-top: 2px;
}

.product-category {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
}

.product-type {
  margin: -5px 0 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.product-buy h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 4vw, 4.2rem);
  line-height: .96;
}

.product-lede {
  max-width: 38ch;
  margin-top: 17px;
  font-size: 14px;
  line-height: 1.5;
}

.product-context-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
}

.product-context-row > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-context-row svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.product-context-row strong {
  color: var(--ink-soft);
  font-weight: 750;
}

.product-price-row {
  align-items: start;
  margin-top: 22px;
}

.product-price-row > div {
  display: grid;
  gap: 7px;
}

.product-price-row strong {
  font-size: clamp(2.2rem, 3.3vw, 3.2rem);
}

.product-price-row > div > small {
  color: var(--muted);
  font-size: 9px;
}

.product-stock {
  gap: 7px;
  padding: 8px 11px;
  border-radius: 9px;
  font-size: 10px;
}

.product-stock > span {
  display: grid;
  gap: 2px;
}

.product-stock small {
  color: #5e8a6a;
  font-size: 8px;
  font-weight: 500;
}

.product-model-picker {
  margin-top: 27px;
}

.product-model-picker h2,
.product-option legend {
  margin-bottom: 9px;
  font-size: 11px;
}

.product-model-list,
.product-option-list {
  gap: 6px;
}

.product-model-button,
.product-option-button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 10px;
}

.product-options {
  gap: 17px;
  margin-top: 19px;
}

.product-option-list--colors {
  align-items: flex-start;
  gap: 20px;
}

.product-option-button--color,
.product-option-button--color.is-selected,
.product-option-button--color:hover:not(:disabled) {
  min-width: 96px;
  height: 86px;
  min-height: 86px;
  align-items: center;
  padding: 8px 10px;
  border-color: transparent;
  background: transparent;
  color: var(--ink-soft);
}

.product-option-button--color .product-color {
  width: 34px;
  height: 34px;
}

.product-option-button--color.is-selected .product-color {
  outline-width: 2px;
}

.product-option-button--color > span:last-child {
  max-width: 100%;
  font-size: 9px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.product-option-button--color.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.product-quantity-row {
  min-height: 42px;
  margin-top: 21px;
  padding-top: 14px;
  font-size: 10px;
}

.product-quantity {
  min-width: 124px;
  height: 44px;
  padding: 0;
  border-radius: 8px;
}

.product-quantity button {
  width: 44px;
  height: 44px;
}

.product-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: 8px;
  margin-top: 16px;
}

.product-add-button,
.product-buy-now {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 750;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.product-add-button {
  margin-top: 0;
}

.product-buy-now {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.product-add-button:hover,
.product-buy-now:hover,
.product-add-button:focus-visible,
.product-buy-now:focus-visible {
  box-shadow: 0 9px 20px rgb(36 89 232 / 16%);
}

.product-buy-now:hover,
.product-buy-now:focus-visible {
  background: #dce6ff;
}

.product-utility-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 17px;
}

.product-utility-actions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  transition: color 180ms var(--ease);
}

.product-utility-actions button:hover,
.product-utility-actions button.is-selected {
  color: var(--accent);
}

.product-utility-actions svg {
  width: 16px;
  height: 16px;
}

.product-utility-actions i[data-lucide] {
  width: 16px;
  height: 16px;
}

.product-selected-variant {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.product-selected-variant strong {
  color: var(--ink-soft);
  font-weight: 700;
}

.product-cart-note {
  margin-top: 9px;
  font-size: 9px;
}

.product-service-strip {
  display: block;
  margin-top: 0;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
}

.product-service-strip-inner > div {
  min-height: 72px;
  padding: 15px 18px;
}

.product-details {
  margin-top: 73px;
  padding-bottom: 74px;
}

.product-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.product-section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
}

.product-section-heading .text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.product-section-heading .text-link svg {
  width: 14px;
  height: 14px;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.product-highlight {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.product-highlight-media {
  display: flex;
  height: 133px;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--accent);
}

.product-highlight:nth-child(2) .product-highlight-media {
  background: #eef2ff;
  color: #496ee8;
}

.product-highlight:nth-child(3) .product-highlight-media {
  background: #f2f5f3;
  color: #61726a;
}

.product-highlight:nth-child(4) .product-highlight-media {
  background: #f6f2ed;
  color: #927352;
}

.product-highlight-media svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
}

.product-highlight h3,
.product-highlight p {
  margin-right: 14px;
  margin-left: 14px;
}

.product-highlight h3 {
  margin-top: 15px;
  margin-bottom: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.025em;
}

.product-highlight p {
  min-height: 35px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.product-specifications {
  margin-top: 57px;
}

.product-specifications .product-section-heading {
  margin-bottom: 17px;
}

.product-specifications .product-section-heading h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

.product-specifications-note {
  color: var(--muted);
  font-size: 10px;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.product-specs-grid > div {
  display: grid;
  grid-template-columns: minmax(110px, .7fr) minmax(0, 1.3fr);
  gap: 15px;
  min-width: 0;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.product-specs-grid > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.product-specs-grid span {
  color: var(--ink-soft);
}

.product-specs-grid strong {
  min-width: 0;
  color: var(--muted);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.product-related {
  padding-bottom: 90px;
}

main.product-page + footer {
  margin-top: 44px;
}

.product-related .section-heading {
  margin-bottom: 23px;
}

.related-product {
  gap: 0;
}

.related-product-visual {
  position: relative;
}

.related-product-link {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.related-product-image {
  height: 175px;
  margin-bottom: 8px;
  border-radius: 11px;
}

.related-product strong {
  font-size: 13px;
}

.related-product-link > span:not(.related-product-image) {
  overflow: hidden;
  font-size: 10px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-product-description {
  display: -webkit-box;
  min-height: 28px;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-favorite {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: var(--ink-soft);
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.related-favorite:hover,
.related-favorite.is-selected {
  background: var(--accent-soft);
  color: var(--accent);
}

.related-favorite svg {
  width: 14px;
  height: 14px;
}

.related-product-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
}

.related-product-purchase b {
  margin: 0;
  font-size: 15px;
}

.related-add {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 750;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.related-add:hover,
.related-add:focus-visible {
  background: var(--accent);
  color: #fff;
}

.related-add svg {
  width: 13px;
  height: 13px;
}

@media (max-width: 1100px) {
  .header-search {
    width: 190px;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
    gap: 34px;
  }

  .product-highlights {
    gap: 9px;
  }

  .product-highlight-media {
    height: 112px;
  }
}

@media (max-width: 760px) {
  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    padding-bottom: 44px;
  }

  .product-gallery {
    width: 100%;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 9px;
  }

  .product-thumb {
    width: 54px;
    height: 60px;
  }

  .product-buy h1 {
    max-width: 13ch;
    font-size: clamp(2.5rem, 11vw, 3.8rem);
  }

  .product-context-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .product-price-row {
    gap: 13px;
  }

  .product-actions {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .product-utility-actions {
    gap: 19px;
  }

  .product-service-strip {
    border-radius: 12px;
  }

  .product-service-strip-inner > div {
    min-height: 72px;
    padding: 13px 11px;
  }

  .product-details {
    margin-top: 62px;
    padding-bottom: 58px;
  }

  .product-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .product-section-heading h2 {
    font-size: 2.25rem;
  }

  .product-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-highlight-media {
    height: 108px;
  }

  .product-highlight h3,
  .product-highlight p {
    margin-right: 11px;
    margin-left: 11px;
  }

  .product-highlight h3 {
    font-size: 11px;
  }

  .product-highlight p {
    min-height: 48px;
    font-size: 9px;
  }

  .product-specifications {
    margin-top: 44px;
  }

  .product-specs-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding: 8px 14px;
  }

  .product-specs-grid > div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-specs-grid > div:last-child {
    border-bottom: 0;
  }

  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 11px;
  }

  .related-product-image {
    height: 144px;
  }

  .related-product-purchase {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-favorite {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) {
  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-buy-now {
    min-height: 45px;
  }

  .product-specs-grid > div {
    grid-template-columns: minmax(93px, .7fr) minmax(0, 1.3fr);
  }
}

}
