:root {
  --color-text: #17191d;
  --color-muted: #6d7280;
  --color-line: #e3e7ee;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-soft: #f6f8fb;
  --color-hover: #f8f9fb;
  --color-nav-hover: #eef2f7;
  --color-brand: #0d0f12;
  --color-accent: #f53345;
  --color-accent-soft: #fff0f2;
  --container: 1200px;
  --radius: 8px;
  --home-control-height: 48px;
  --site-header-pad-top: clamp(14px, 1.8vw, 24px);
  --site-header-inner-height: 72px;
  --site-header-height: calc(var(--site-header-pad-top) + var(--site-header-inner-height));
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 34px 90px rgba(15, 23, 42, 0.13);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-text: #f4f7fb;
  --color-muted: #9ba6b7;
  --color-line: #222b38;
  --color-line-soft: rgba(255, 255, 255, 0.075);
  --color-bg: #0b0f16;
  --color-surface: #111824;
  --color-surface-raised: #151f2d;
  --color-soft: #0f1622;
  --color-hover: #141d2a;
  --color-nav-hover: #1a2535;
  --color-brand: #f4f7fb;
  --color-accent: #ff4052;
  --color-accent-soft: rgba(255, 64, 82, 0.14);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  --shadow-strong: 0 34px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

h1 {
  font-family: var(--font-h1);
}

h2 {
  font-family: var(--font-h2);
}

h3 {
  font-family: var(--font-h3);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.container {
  width: min(100% - clamp(24px, 4vw, 56px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding-top: var(--site-header-pad-top);
  border-bottom: 0;
  background: transparent;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: var(--site-header-inner-height);
  background: transparent;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-brand::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 16px rgba(245, 51, 69, 0.6);
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}

.site-nav__list,
.footer-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__list {
  justify-content: center;
}

.site-nav li {
  position: relative;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav li:hover > a {
  background: transparent;
}

.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a {
  background: transparent;
}

.site-nav a:hover::before,
.site-nav li:hover > a::before,
.site-nav .current-menu-item > a::before,
.site-nav .current-menu-ancestor > a::before {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
}

.site-nav .current-menu-item:hover > a,
.site-nav .current-menu-ancestor:hover > a {
  background: transparent;
}

.site-nav .sub-menu .current-menu-item > a::before,
.site-nav .sub-menu .current-menu-ancestor > a::before {
  right: 8px;
  bottom: 3px;
  left: 8px;
}

.site-nav .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  gap: 4px;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .sub-menu a {
  display: flex;
  width: 100%;
  min-height: 38px;
}

.site-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-search__toggle {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--color-line);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.site-search__toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-search__field {
  position: relative;
  width: clamp(150px, 13vw, 210px);
}

.site-search__input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 2px;
  border: 1px solid var(--color-line);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: 0.84rem;
  outline: 0;
}

.site-search__input:focus {
  border-color: rgba(245, 51, 69, 0.55);
  box-shadow: none;
}

.site-search:focus-within .site-search__toggle {
  border-color: rgba(245, 51, 69, 0.55);
  color: var(--color-accent);
}

.site-search__results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  width: min(360px, 86vw);
  max-height: 420px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-surface-raised);
  box-shadow: var(--shadow);
}

.site-search__results[hidden] {
  display: none;
}

.site-search__result,
.site-search__empty {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
}

.site-search__result {
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
}

.site-search__result:hover,
.site-search__result:focus {
  background: var(--color-hover);
  color: var(--color-text);
}

.site-search__result img {
  width: 54px;
  height: 36px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--color-soft);
}

.site-search__placeholder {
  display: block;
  width: 54px;
  height: 36px;
  border-radius: 5px;
  background: var(--color-soft);
}

.site-search__result strong,
.site-search__result span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search__result span,
.site-search__empty {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.site-search--hero {
  width: 100%;
}

.site-search--hero .site-search__toggle {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  background: var(--color-surface-raised);
}

.site-search--hero .site-search__field {
  width: 100%;
}

.site-search--hero .site-search__input {
  height: 46px;
  padding-right: 16px;
  background: var(--color-surface-raised);
  font-size: 0.95rem;
}

.site-search--hero .site-search__results {
  top: auto;
  right: auto;
  bottom: calc(100% + 10px);
  left: 0;
  width: min(420px, 90vw);
}

.theme-toggle {
  display: inline-flex;
  min-height: 44px;
  gap: 7px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus {
  border-color: var(--color-accent);
  background: transparent;
  color: var(--color-accent);
}

.theme-toggle__icon {
  display: none;
  width: 16px;
  height: 16px;
  color: currentColor;
}

.theme-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="light"] .theme-toggle__icon--moon,
html:not([data-theme]) .theme-toggle__icon--moon,
html[data-theme="dark"] .theme-toggle__icon--sun {
  display: inline-flex;
}

.site-actions a:hover,
.footer-nav a:hover,
.section-heading a:hover {
  color: var(--color-accent);
}

.account-link,
.cart-link {
  display: inline-flex;
  position: relative;
  width: 44px;
  height: 44px;
  justify-content: center;
  gap: 0;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.account-link:hover,
.account-link:focus,
.cart-link:hover,
.cart-link:focus {
  border-color: var(--color-line);
  background: var(--color-soft);
  color: var(--color-accent);
}

.account-link svg,
.cart-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-link__count {
  display: inline-grid;
  position: absolute;
  top: -2px;
  right: -3px;
  min-width: 18px;
  min-height: 18px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
}

.cart-popover {
  position: relative;
}

.cart-popover__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 65;
  width: min(340px, 86vw);
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-surface-raised);
  box-shadow: var(--shadow);
}

.cart-popover__panel[hidden] {
  display: none;
}

.cart-popover__title {
  display: block;
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 0.94rem;
}

.cart-popover__items {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

.cart-popover__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 9px;
  color: var(--color-text);
}

.cart-popover__item:hover,
.cart-popover__item:focus {
  background: var(--color-hover);
  color: var(--color-text);
}

.cart-popover__item img {
  width: 58px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-popover__item strong,
.cart-popover__item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-popover__item strong {
  font-size: 0.82rem;
}

.cart-popover__item small,
.cart-popover__empty {
  color: var(--color-muted);
  font-size: 0.78rem;
}

.cart-popover__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px 10px;
  margin-top: 8px;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
}

.cart-popover__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-popover__actions a {
  display: grid;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: 9px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-popover__actions a:last-child {
  background: var(--color-accent);
  color: #fff;
}

.cart-popover__actions a:hover,
.cart-popover__actions a:focus {
  background: #777;
  border-color: #777;
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--color-text);
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 96px);
  box-sizing: border-box;
  align-items: center;
  overflow: hidden;
  padding: clamp(24px, 3.2vh, 42px) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 51, 69, 0.15), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(13, 15, 18, 0.1), transparent 31%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 48%, #fff2f4 100%);
}

body.home .site-main {
  margin-top: calc(-1 * var(--site-header-height));
}

body.home .hero {
  min-height: clamp(600px, 76svh, 720px);
  padding-top: calc(var(--site-header-height) + clamp(12px, 2vh, 24px));
  padding-bottom: clamp(34px, 4.4vh, 54px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 15, 18, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 15, 18, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 86%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - clamp(24px, 4vw, 56px), var(--container));
  margin-inline: auto;
  grid-template-columns: minmax(430px, 0.95fr) minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 48px);
  align-items: center;
}

.hero__copy {
  order: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.85rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.hero__actions {
  display: grid;
  grid-template-columns: minmax(230px, 340px) auto;
  gap: 14px;
  margin-top: 24px;
  align-items: center;
  justify-content: start;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(245, 51, 69, 0.18);
}

.button--ghost {
  border-color: #cfd6df;
  background: rgba(255, 255, 255, 0.55);
}

.hero__showcase {
  position: relative;
  display: grid;
  order: 1;
  gap: 14px;
  align-items: center;
  perspective: 1000px;
}

.hero__media {
  position: relative;
  display: grid;
  overflow: visible;
  min-height: clamp(320px, 31vw, 470px);
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 520ms ease, transform 620ms ease;
  transform-style: preserve-3d;
}

.hero__slide.is-active {
  opacity: 1;
  transform: translateX(var(--hero-shift-x, 0)) translateY(var(--hero-shift-y, 0)) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg));
}

.hero__slide.is-exiting {
  opacity: 0;
  transform: translateX(-48px);
}

[data-hero-tilt] .hero__slide.is-active {
  transition: opacity 520ms ease, transform 140ms ease-out;
  will-change: transform;
}

.hero__slide img {
  width: auto;
  max-width: 100%;
  max-height: clamp(320px, 31vw, 470px);
  object-fit: contain;
}

.hero__slide::after {
  content: none;
}

.hero__fallback-art {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: inherit;
  place-content: center;
  gap: 10px;
  padding: 44px;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 51, 69, 0.42), transparent 30%),
    linear-gradient(135deg, #080b12, #202838);
  color: #fff;
  text-align: center;
}

.hero__fallback-art span {
  font-family: Georgia, serif;
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 900;
  line-height: 0.9;
}

.hero__fallback-art small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero__dots {
  position: absolute;
  bottom: clamp(36px, 5.2vw, 72px);
  left: 50%;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
  transform: translateX(-50%);
}

.hero__dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-line);
}

.hero__dots .is-active {
  width: 24px;
  background: var(--color-accent);
}

.product-section,
.content-page,
.shop-archive {
  padding: 60px 0;
}

.section-heading {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
}

.section-heading--with-toggle {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 86px;
  align-items: center;
}

.section-heading--with-toggle h2 {
  justify-self: center;
}

.section-heading--with-toggle .home-view-toggle {
  justify-self: end;
}

.section-heading__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.section-heading a {
  color: var(--color-accent);
  font-weight: 800;
}

.section-heading h2,
.content-header h1,
.shop-header h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-section .section-heading h2 {
  font-size: 20px;
  letter-spacing: 0;
}

.product-section--switchable {
  padding-top: 44px;
  padding-bottom: 34px;
}

.shop-fonts {
  padding-top: 46px;
}

.product-section--switchable + .product-section {
  padding-top: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)),
    #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.065);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 51, 69, 0.32);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10.6;
  overflow: hidden;
  margin: 5px;
  border-radius: 10px 10px 4px 4px;
  background: var(--color-soft);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-accent), #ff6a76);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 13px 10px;
}

.product-card__category {
  margin: 1px 0 0;
  color: #8a92a0;
  font-size: 0.76rem;
  line-height: 1.15;
}

.product-card__title {
  margin: 1px 0 0;
  color: #333842;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
}

.product-card__title a {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e6ebf2;
}

.product-card__price {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  color: #333842;
  font-size: 1rem;
  font-weight: 700;
}

.product-card__price small {
  color: #9aa3af;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-card__price del,
.product-card__link {
  display: none;
}

.home-view-toggle {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #d9dfe8;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.home-view-toggle button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.home-view-toggle button:last-child {
  border-right: 0;
}

.home-view-toggle .is-active {
  background: #eef2f7;
  color: var(--color-text);
}

.home-view-toggle button:hover,
.home-view-toggle button:focus {
  background: #f5f7fb;
  color: var(--color-text);
}

.home-view-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-view-toggle [data-home-view="grid"] svg {
  fill: currentColor;
  stroke: none;
}

.catalog-heading {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: left;
}

.catalog-heading__summary {
  min-width: 0;
}

.catalog-heading .catalog-heading__summary h2 {
  margin-bottom: 0;
  text-align: left;
}

.shop-font-count {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.shop-font-count strong {
  color: var(--color-text);
  font-weight: 800;
}

.catalog-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.catalog-sort {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #d9dfe8;
  border-radius: 9px;
  background: #fff;
}

.catalog-sort a {
  display: inline-flex;
  gap: 6px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-right: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.catalog-sort a:last-child {
  border-right: 0;
}

.catalog-sort a:hover,
.catalog-sort a:focus {
  background: #f5f7fb;
}

.catalog-sort .is-active {
  background: #eef2f7;
  color: var(--color-text);
}

.catalog-sort__price-icon {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 12px;
}

.catalog-sort__price-icon::before,
.catalog-sort__price-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}

.catalog-sort__price-icon::before {
  top: 1px;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.42;
}

.catalog-sort__price-icon::after {
  bottom: 1px;
  transform: translateX(-50%) rotate(225deg);
}

.catalog-sort__price-icon--desc::before {
  opacity: 1;
}

.catalog-sort__price-icon--desc::after {
  opacity: 0.42;
}

.catalog-description {
  max-width: 760px;
  margin: -10px auto 18px;
  color: var(--color-muted);
  text-align: center;
}

.catalog-empty {
  display: grid;
  max-width: 680px;
  margin: 28px auto 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.catalog-empty__eyebrow {
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-empty h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.catalog-empty p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: var(--color-muted);
}

.catalog-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-section--switchable.is-specimen-view .product-grid {
  display: none;
}

.product-section--switchable.is-specimen-view .home-specimen-view {
  display: grid;
}

.home-specimen-view[hidden] {
  display: none;
}

.home-specimen-view {
  gap: 0;
}

.product-section--switchable:not(.is-specimen-view) .home-specimen-toolbar {
  display: none;
}

.home-specimen-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr) auto;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-specimen-text-control {
  position: relative;
  display: grid;
  min-width: 0;
}

.home-specimen-input {
  min-height: var(--home-control-height);
  width: 100%;
  padding: 0 16px;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  background: var(--color-surface-raised);
}

.home-specimen-presets {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 20;
  overflow: hidden;
  border: 1px solid #c7d0dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13);
}

.home-specimen-presets[hidden] {
  display: none;
}

.home-specimen-presets button {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  background: #fff;
  color: var(--color-text);
  text-align: left;
  font-size: 0.86rem;
}

.home-specimen-presets button:hover,
.home-specimen-presets button:focus {
  background: #eef2f7;
}

.home-specimen-size {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: var(--home-control-height);
  align-items: center;
  align-content: center;
  padding: 0 14px;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.82rem;
}

.home-specimen-size__label,
.home-specimen-size output {
  line-height: 1;
  white-space: nowrap;
}

.home-specimen-size input {
  width: 100%;
  accent-color: #f53345;
}

.home-specimen-align {
  display: inline-flex;
  overflow: hidden;
  min-height: var(--home-control-height);
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  background: var(--color-surface);
}

.home-specimen-align button {
  display: grid;
  width: 50px;
  min-height: calc(var(--home-control-height) - 2px);
  place-items: center;
  border: 0;
  border-right: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.home-specimen-align button:last-child {
  border-right: 0;
}

.home-specimen-align .is-active {
  background: #eef2f7;
  color: var(--color-text);
}

.home-specimen-align button:hover,
.home-specimen-align button:focus {
  background: #f5f7fb;
}

.home-specimen-align svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.home-specimen-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #e6e9ee;
}

.home-specimen-row {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
  min-height: 0;
  padding: 16px 10px;
  border: 0;
  border-bottom: 1px solid #e6e9ee;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background 140ms ease;
}

.home-specimen-row:hover {
  background: #f8f9fb;
}

.home-specimen-row__meta {
  min-width: 0;
}

.home-specimen-row__meta a {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 7px;
  background: #fff;
}

.home-specimen-row__meta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-specimen-row__content {
  display: grid;
  min-width: 0;
  height: 132px;
  align-self: center;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
}

.home-specimen-row__details {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px 10px;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.home-specimen-row__title {
  overflow: hidden;
  max-width: 100%;
  color: var(--color-text);
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-specimen-row__category a {
  color: var(--color-muted);
  text-decoration: none;
}

.home-specimen-row__category a:hover,
.home-specimen-row__title:hover {
  color: #f53345;
}

.home-specimen-row__types {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.home-specimen-row__types strong {
  color: var(--color-muted);
  font-weight: 600;
}

.home-specimen-row__sample {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding: 0 0.32em;
  overflow: hidden;
  color: #050505;
  font-size: 58px;
  line-height: 1.05;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-specimen-row__action {
  display: grid;
  align-self: center;
  min-height: 132px;
  gap: 9px;
  align-content: center;
  justify-items: stretch;
  padding-left: 16px;
  border-left: 1px solid #e0e6ef;
}

.home-specimen-row__price {
  display: grid;
  gap: 5px;
  justify-items: center;
}

.home-specimen-row__price-label {
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.home-specimen-row__price-amount {
  color: var(--color-text);
  font-size: 1.68rem;
  font-weight: 900;
  line-height: 1;
}

.home-specimen-row__count {
  color: var(--color-text);
  font-size: 0.78rem;
  text-align: center;
}

.home-specimen-row__count {
  color: var(--color-muted);
  margin-top: -1px;
  margin-bottom: 2px;
}

.home-specimen-row__button {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.home-specimen-row__button--primary {
  border: 1px solid #f53345;
  background: #fff;
  color: #f53345;
}

.home-specimen-row__button--primary:hover,
.home-specimen-row__button--primary:focus {
  border-color: #f53345;
  background: #f53345;
  color: #fff;
}

.nurf-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.nurf-pagination .page-numbers {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.nurf-pagination a.page-numbers:hover,
.nurf-pagination a.page-numbers:focus,
.nurf-pagination .page-numbers.current {
  border-color: #f53345;
  background: #f53345;
  color: #fff;
}

.brand-showcase {
  padding: 24px 0 24px;
  background: var(--color-bg);
}

.brand-showcase__head {
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
}

.brand-showcase__head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.brand-showcase__carousel {
  display: grid;
  gap: 14px;
}

.brand-showcase__viewport {
  position: relative;
  overflow: hidden;
  width: min(100%, 940px);
  aspect-ratio: 2 / 1;
  margin: 0 auto;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-soft);
}

.brand-showcase__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 520ms ease, transform 620ms ease;
}

.brand-showcase__slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.brand-showcase__slide.is-exiting {
  opacity: 0;
  transform: translateX(-48px);
}

.brand-showcase__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.brand-showcase__dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--color-line);
}

.brand-showcase__dots .is-active {
  width: 24px;
  background: var(--color-accent);
}

.home-articles {
  padding: clamp(46px, 6vw, 78px) 0;
  background: var(--color-bg);
}

.home-articles__head {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.home-articles__head h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.15;
}

.home-articles__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  color: var(--color-accent);
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease;
}

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

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

.home-article-card {
  overflow: hidden;
  border: 1px solid var(--color-line-soft, var(--color-line));
  border-radius: 12px;
  background: var(--color-surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.home-article-card:hover {
  border-color: rgba(245, 51, 69, 0.36);
  transform: translateY(-2px);
}

.home-article-card__media {
  display: grid;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  background: var(--color-soft);
}

.home-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-article-card__media span {
  color: var(--color-accent);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  font-weight: 900;
}

.home-article-card__body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.home-article-card time {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.home-article-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.28;
}

.home-article-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.content-page {
  max-width: 860px;
}

.content-body {
  margin-top: 28px;
}

.content-body :where(p, ul, ol) {
  color: var(--color-muted);
}

.contact-page {
  padding: 54px 0 76px;
}

.contact-hero {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px auto 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.contact-panel,
.contact-topic,
.contact-response {
  border: 1px solid #dce4ee;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.contact-panel {
  padding: clamp(22px, 3vw, 32px);
}

.contact-panel--primary {
  position: relative;
  overflow: hidden;
}

.contact-panel--primary::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 51, 69, 0.16), transparent 64%);
  pointer-events: none;
}

.contact-panel__header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-panel__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(245, 51, 69, 0.22);
  border-radius: 14px;
  background: rgba(245, 51, 69, 0.08);
  color: var(--color-accent);
}

.contact-panel__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-panel h2,
.contact-topic h2,
.contact-response h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.contact-panel p,
.contact-topic p,
.contact-response p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.contact-email {
  position: relative;
  z-index: 1;
  display: block;
  margin: 30px 0 22px;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.contact-checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-checklist li::before {
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 10px;
  height: 6px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  color: var(--color-accent);
  transform: rotate(-45deg);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.contact-topic {
  padding: 22px;
}

.contact-topic > span {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  background: var(--color-soft);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 900;
}

.contact-response {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(13, 15, 18, 0.95), rgba(23, 25, 29, 0.92)),
    #111;
  color: #fff;
}

.contact-response h2 {
  color: #fff;
}

.contact-response p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-page {
  padding: 54px 0 78px;
}

.about-hero {
  max-width: 980px;
  margin: 0 auto 34px;
  text-align: center;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.about-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.about-story__mark,
.about-story__copy,
.about-stats article,
.about-process__grid article,
.about-trust,
.about-values article,
.about-cta {
  border: 1px solid #dce4ee;
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow);
}

.about-story__mark {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at 50% 36%, rgba(245, 51, 69, 0.18), transparent 36%),
    linear-gradient(135deg, #0d0f12, #22252b);
  color: #fff;
}

.about-story__mark::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.about-story__mark img,
.about-story__mark .custom-logo {
  position: relative;
  z-index: 1;
  max-width: 210px;
  max-height: 120px;
}

.about-story__mark span {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.about-story__copy {
  padding: clamp(24px, 4vw, 42px);
}

.about-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-story__copy h2,
.about-section-heading h2,
.about-trust h2,
.about-values h2,
.about-cta h2 {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.about-story__copy p,
.about-process p,
.about-trust p,
.about-values p,
.about-cta p {
  color: var(--color-muted);
}

.about-story__copy p {
  max-width: 740px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.about-stats article {
  padding: 22px;
}

.about-stats strong {
  display: block;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1;
}

.about-stats span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.about-process,
.about-values,
.about-trust,
.about-cta {
  margin-top: 18px;
}

.about-section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin: 42px 0 18px;
}

.about-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-process__grid article {
  padding: 24px;
}

.about-process__grid span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(245, 51, 69, 0.22);
  border-radius: 999px;
  background: rgba(245, 51, 69, 0.08);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.about-process__grid h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 20px;
}

.about-trust {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(13, 15, 18, 0.96), rgba(23, 25, 29, 0.92)),
    #111;
  color: #fff;
}

.about-trust h2 {
  color: #fff;
}

.about-trust__body {
  display: grid;
  gap: 12px;
}

.about-trust__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-values article {
  padding: 24px;
}

.about-values h2 {
  font-size: 20px;
}

.about-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 36px);
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.featured-image {
  margin: 28px 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.post-card h2,
.post-card p {
  padding-inline: 18px;
}

.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--color-line-soft, var(--color-line));
  background: transparent;
  color: var(--color-muted);
}

.site-footer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(24px, 7vw, 92px);
  align-items: end;
}

.site-footer__left,
.site-footer__right {
  display: grid;
  gap: 22px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line-soft, var(--color-line));
}

.footer-socials a {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--color-muted);
  transition: color 160ms ease, transform 160ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-size: 0.92rem;
}

.site-footer__links a {
  color: var(--color-muted);
  transition: color 160ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--color-accent);
}

.footer-newsletter {
  display: grid;
  gap: 7px;
}

.footer-newsletter label,
.site-footer__copyright {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-newsletter__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
}

.footer-newsletter input {
  width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
}

.footer-newsletter input:focus {
  outline: 0;
  border-color: var(--color-accent);
}

.footer-newsletter button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: var(--color-brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease;
}

.footer-newsletter button:hover,
.footer-newsletter button:focus-visible {
  background: var(--color-accent);
}

.site-footer__copyright {
  margin: 0;
}

html[data-theme="dark"] .site-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--color-muted);
}

html[data-theme="dark"] .footer-socials {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .footer-socials a,
html[data-theme="dark"] .site-footer__links a,
html[data-theme="dark"] .footer-newsletter label,
html[data-theme="dark"] .site-footer__copyright {
  color: #9ba6b7;
}

html[data-theme="dark"] .footer-socials a:hover,
html[data-theme="dark"] .footer-socials a:focus-visible,
html[data-theme="dark"] .site-footer__links a:hover,
html[data-theme="dark"] .site-footer__links a:focus-visible {
  color: var(--color-accent);
}

html[data-theme="dark"] .footer-newsletter input {
  border-color: var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
}

html[data-theme="dark"] .footer-newsletter button {
  background: var(--color-accent);
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .site-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav.is-open + .site-actions {
    display: flex;
  }

  .site-nav__list,
  .site-actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 18px;
  }

  .site-search,
  .site-search__field {
    width: 100%;
  }

  .site-search {
    max-width: 360px;
  }

  .site-nav__list {
    gap: 4px;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav .sub-menu {
    position: static;
    display: grid;
    width: 100%;
    min-width: 0;
    margin: 2px 0 6px 14px;
    padding: 4px 0 4px 12px;
    border: 0;
    border-left: 1px solid var(--color-line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .hero__showcase {
    order: initial;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 28px;
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero__media {
    min-height: 280px;
  }

  .hero__slide img {
    max-height: 280px;
  }

  .hero__dots {
    position: static;
    transform: none;
  }

  .hero__actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-articles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-section--switchable.is-specimen-view .product-grid {
    display: grid;
  }

  .product-section--switchable.is-specimen-view .home-specimen-view,
  .home-specimen-toolbar,
  .product-section--switchable .home-view-toggle {
    display: none;
  }

  .post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer__right {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  :root {
    --site-header-pad-top: 12px;
  }

  .product-grid,
  .post-grid,
  .home-articles__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 30px 0 28px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13.4vw, 3.1rem);
    line-height: 0.98;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero__actions {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__media {
    min-height: 260px;
  }

  .hero__slide img {
    max-height: 260px;
  }

  .site-footer {
    padding: 24px 0;
  }

  .footer-socials {
    gap: 14px;
  }

  .footer-newsletter__row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: center;
    flex-direction: column;
  }

  .section-heading--with-toggle {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading--with-toggle > span {
    display: none;
  }

  .section-heading--with-toggle .home-view-toggle {
    justify-self: center;
  }

  .catalog-actions {
    flex-wrap: wrap;
    justify-content: center;
    justify-self: center;
  }

  .catalog-heading__summary {
    text-align: left;
  }

  .catalog-sort {
    max-width: 100%;
    overflow-x: auto;
  }

  .section-heading__actions {
    width: 100%;
    justify-content: center;
  }

  .home-articles__head {
    align-items: stretch;
    flex-direction: column;
  }

  .home-articles__button {
    width: 100%;
  }

  .product-section,
  .content-page,
  .contact-page,
  .shop-archive {
    padding: 42px 0;
  }

  .contact-grid,
  .contact-cards,
  .contact-response,
  .about-story,
  .about-stats,
  .about-section-heading,
  .about-process__grid,
  .about-trust,
  .about-values,
  .about-cta {
    grid-template-columns: 1fr;
  }

  .contact-hero,
  .about-hero {
    text-align: left;
  }

  .contact-hero p:not(.eyebrow),
  .about-hero p:not(.eyebrow) {
    margin-left: 0;
  }

  .about-story__mark {
    min-height: 240px;
  }

  .about-section-heading {
    margin-top: 30px;
  }

  .about-cta__actions {
    justify-content: flex-start;
  }

  .product-section--switchable {
    padding-top: 38px;
  }

  .product-section--switchable.is-specimen-view .product-grid {
    display: grid;
  }

  .product-section--switchable.is-specimen-view .home-specimen-view,
  .home-specimen-toolbar {
    display: none;
  }

  .product-section--switchable .home-view-toggle {
    display: none;
  }

}

.license-hero {
  padding: 70px 0;
  background: linear-gradient(180deg, #fff, var(--color-soft));
}

.license-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: center;
}

.license-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.license-hero p {
  max-width: 680px;
  color: var(--color-muted);
}

.license-warning {
  padding: 24px;
  border: 1px solid rgba(255, 45, 63, 0.25);
  border-radius: var(--radius);
  background: #fff5f6;
}

.license-warning strong {
  color: #ff2d3f;
}

.license-warning p {
  margin-bottom: 0;
}

.license-section {
  padding: 64px 0;
}

.license-section--soft {
  background: var(--color-soft);
}

.license-heading {
  align-items: center;
}

.license-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.license-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.license-table th,
.license-table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.license-table thead th {
  background: var(--color-brand);
  color: #fff;
}

.license-table tbody th {
  width: 230px;
  color: var(--color-text);
  font-weight: 800;
}

.license-table tbody td {
  color: var(--color-muted);
}

.license-table tr:last-child th,
.license-table tr:last-child td {
  border-bottom: 0;
}

.license-cards {
  display: none;
}

.license-extra-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.license-agency,
.license-help,
.license-notes {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.license-agency h2,
.license-help h2,
.license-notes h2 {
  margin-top: 0;
}

.license-agency ul,
.license-notes ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--color-muted);
}

.license-help p {
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .license-hero__grid,
  .license-extra-grid {
    grid-template-columns: 1fr;
  }

  .license-table-wrap {
    display: none;
  }

  .license-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .license-card {
    padding: 20px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
  }

  .license-card h3 {
    margin: 0 0 14px;
  }

  .license-card dl,
  .license-card div {
    display: grid;
    gap: 4px;
  }

  .license-card dl {
    margin: 0;
    gap: 12px;
  }

  .license-card dt {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .license-card dd {
    margin: 0;
    font-weight: 800;
  }
}

@media (max-width: 560px) {
  .license-cards {
    grid-template-columns: 1fr;
  }
}

.shop-hero {
  padding: 70px 0;
  background: linear-gradient(180deg, #fff, var(--color-soft));
}

.shop-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 44px;
  align-items: center;
}

.shop-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.shop-hero p {
  max-width: 680px;
  color: var(--color-muted);
}

.shop-search {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.shop-search label {
  font-weight: 800;
}

.shop-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.shop-search input[type="search"] {
  min-height: 46px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.shop-search button {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius);
  background: var(--color-brand);
  color: #fff;
  font-weight: 800;
}

.shop-section {
  padding: 64px 0;
}

.shop-section--categories {
  padding-bottom: 0;
}

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shop-category-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  align-content: end;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.shop-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.shop-category-card span {
  font-size: 1.2rem;
  font-weight: 800;
}

.shop-category-card small {
  color: var(--color-muted);
}

.shop-products-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.shop-products-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: 0;
}

.shop-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.shop-filter-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.shop-filter-links a:hover {
  color: var(--color-accent);
  border-color: rgba(143, 93, 47, 0.28);
}

@media (max-width: 900px) {
  .shop-hero__grid,
  .shop-products-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shop-filter-links {
    justify-content: flex-start;
  }

  .shop-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .shop-search div,
  .shop-category-grid {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 64, 82, 0.12), transparent 34%),
    linear-gradient(135deg, #0b0f16 0%, #101722 58%, #180d13 100%);
}

html[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .contact-side,
html[data-theme="dark"] .about-story__copy,
html[data-theme="dark"] .about-stats article,
html[data-theme="dark"] .about-process__grid article,
html[data-theme="dark"] .about-values article,
html[data-theme="dark"] .about-cta,
html[data-theme="dark"] .shop-search,
html[data-theme="dark"] .shop-category-card,
html[data-theme="dark"] .license-heading,
html[data-theme="dark"] .license-agency,
html[data-theme="dark"] .license-help,
html[data-theme="dark"] .license-notes,
html[data-theme="dark"] .post-card,
html[data-theme="dark"] .product-card {
  border-color: var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .about-story__copy h2,
html[data-theme="dark"] .about-section-heading h2,
html[data-theme="dark"] .about-values h2,
html[data-theme="dark"] .about-cta h2,
html[data-theme="dark"] .about-process__grid h3,
html[data-theme="dark"] .about-stats strong {
  color: var(--color-text);
}

html[data-theme="dark"] .about-story__copy p,
html[data-theme="dark"] .about-process p,
html[data-theme="dark"] .about-values p,
html[data-theme="dark"] .about-cta p,
html[data-theme="dark"] .about-stats span {
  color: var(--color-muted);
}

html[data-theme="dark"] .button--ghost,
html[data-theme="dark"] .nav-toggle,
html[data-theme="dark"] .home-view-toggle,
html[data-theme="dark"] .home-view-toggle button,
html[data-theme="dark"] .catalog-sort,
html[data-theme="dark"] .catalog-sort a,
html[data-theme="dark"] .home-specimen-input,
html[data-theme="dark"] .home-specimen-size,
html[data-theme="dark"] .home-specimen-align,
html[data-theme="dark"] .home-specimen-align button,
html[data-theme="dark"] .home-specimen-presets,
html[data-theme="dark"] .home-specimen-presets button,
html[data-theme="dark"] .home-specimen-row__meta a,
html[data-theme="dark"] .home-specimen-row__button--primary,
html[data-theme="dark"] .nurf-pagination .page-numbers,
html[data-theme="dark"] .woocommerce-ordering select,
html[data-theme="dark"] .woocommerce input.input-text,
html[data-theme="dark"] .woocommerce textarea,
html[data-theme="dark"] .woocommerce select {
  border-color: var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
}

html[data-theme="dark"] .site-nav .sub-menu {
  border-color: var(--color-line);
  background: var(--color-surface-raised);
}

html[data-theme="dark"] .home-specimen-list {
  border-top-color: var(--color-line-soft);
}

html[data-theme="dark"] .home-specimen-row {
  border-bottom-color: var(--color-line-soft);
}

html[data-theme="dark"] .home-specimen-row__action {
  border-left-color: var(--color-line-soft);
}

html[data-theme="dark"] .home-view-toggle .is-active,
html[data-theme="dark"] .catalog-sort .is-active,
html[data-theme="dark"] .home-specimen-align .is-active,
html[data-theme="dark"] .home-specimen-presets button:hover,
html[data-theme="dark"] .home-specimen-presets button:focus {
  background: var(--color-nav-hover);
  color: var(--color-text);
}

html[data-theme="dark"] .home-view-toggle button:hover,
html[data-theme="dark"] .home-view-toggle button:focus,
html[data-theme="dark"] .catalog-sort a:hover,
html[data-theme="dark"] .catalog-sort a:focus,
html[data-theme="dark"] .home-specimen-align button:hover,
html[data-theme="dark"] .home-specimen-align button:focus,
html[data-theme="dark"] .home-specimen-row:hover {
  background: var(--color-hover);
}

html[data-theme="dark"] .home-specimen-row__sample {
  color: #fff;
}

html[data-theme="dark"] .license-section--soft,
html[data-theme="dark"] .shop-hero {
  background: var(--color-soft);
}

html[data-theme="dark"] .shop-hero,
html[data-theme="dark"] .license-hero {
  background: linear-gradient(180deg, #0b0f16, var(--color-soft));
}

html[data-theme="dark"] .product-card__title,
html[data-theme="dark"] .product-card__price {
  color: var(--color-text);
}

html[data-theme="dark"] .home-specimen-row__button--primary:hover,
html[data-theme="dark"] .home-specimen-row__button--primary:focus,
html[data-theme="dark"] .nurf-pagination a.page-numbers:hover,
html[data-theme="dark"] .nurf-pagination a.page-numbers:focus,
html[data-theme="dark"] .nurf-pagination .page-numbers.current {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
}
