:root {
  --site-bg: #fefefd;
  --site-bg-secondary: #f3efec;
  --site-text: #0a0e00;
  --site-text-secondary: #656771;
  --stroke: #b8b8b8;
  --accent-green: #f1ff8b;
  --accent-yellow: #ffdf48;
  --accent-blue: #bbe9f9;
  --accent-lilac: #cac3fb;
  --heroscreen-text: #fefefd;
  --button-bg-default: #0a0e00;
  --button-text-default: #fefefd;
  --button-bg-cta: #f1ff8b;
  --button-text-cta: #0a0e00;
  --button-bg-hover: #ebff56;
  --button-text-hover: #0a0e00;
  --red-gradient-start: #ff516a;
  --red-gradient-end: #e2418e;

  --button-bg-normal: var(--button-bg-cta);
  --accent-highlight: var(--button-bg-hover);
  --page-min-width: 1200px;
  --page-max-width: 1600px;
  --header-visual-height: 106px;
  --hero-panel-min-height: clamp(420px, 62vh, 760px);
  --products-visible-columns: 3;
  --products-card-width: 421.33px;
  --products-column-gap: 48px;
  --new-products-visible-columns: 1;
  --new-products-card-width: 1312px;
  --new-products-card-height: 448px;
  --new-products-column-gap: 24px;
  --category-columns: 6;
  --category-gap: 24px;
  --category-image-size: 198.67px;
  --ink: var(--site-text);
  --muted: var(--site-text-secondary);
  --line: var(--stroke);
  --card-radius: 26px;
  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 32px;
  --shadow-soft: 0 18px 50px rgba(15, 15, 10, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: var(--page-min-width);
  margin: 0;
  font-family: "Onest", sans-serif;
  color: var(--ink);
  background: var(--site-bg);
}

.site-main {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 14, 0, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 0, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(10, 14, 0, 0.065) 2px, transparent 2px),
    linear-gradient(90deg, rgba(10, 14, 0, 0.065) 2px, transparent 2px);
  background-size: 10.67px 10.67px, 10.67px 10.67px, 53.33px 53.33px, 53.33px 53.33px;
  background-position: center top;
  opacity: 0.7;
  pointer-events: none;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--page-max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 14px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.site-header__inner,
.section-heading,
.product-card__footer,
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__inner {
  min-height: 92px;
  padding: 14px 28px;
  border: 1px solid rgba(17, 17, 15, 0.08);
  border-radius: 30px;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(17, 17, 15, 0.05);
}

.site-header__brand,
.site-header__actions {
  width: 204px;
  flex: 0 0 204px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.site-logo__text {
  display: none;
}

.site-nav__menu,
.detail-list,
.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  font-size: 17px;
  font-weight: 500;
  color: var(--site-text);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__menu a {
  text-decoration: none;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.75px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a {
  color: var(--site-text-secondary);
  text-decoration-color: var(--accent-highlight);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--site-text);
}

.icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  color: var(--site-text);
  transition: opacity 160ms ease, background-color 160ms ease;
  aspect-ratio: 1 / 1;
  flex: 0 0 48px;
}

.icon-button:hover {
  opacity: 0.75;
  background: var(--accent-highlight);
}

.icon-button__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.icon-button__badge.is-empty {
  display: none;
}

.hero,
.section,
.page-hero {
  padding: 48px 0;
}

.hero > .container {
  min-height: calc(100vh - var(--header-visual-height) - 48px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
}

.catalog-hero {
  padding-bottom: 20px;
}

.catalog-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(17, 17, 15, 0.56);
}

.catalog-filters {
  width: 100%;
  margin-top: 24px;
}

.catalog-filters__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.catalog-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 2px solid rgba(17, 17, 15, 0.78);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.catalog-chip.is-active {
  background: rgb(235, 255, 86);
}

.catalog-sorting {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.catalog-sorting__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.catalog-page .container {
  overflow: hidden;
}

.catalog-grid {
  --catalog-card-height: 673px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 24px;
  align-items: stretch;
}

.catalog-page .product-card {
  width: 100%;
  min-width: 0;
  min-height: var(--catalog-card-height);
  height: var(--catalog-card-height);
  padding-bottom: 20px;
}

.catalog-page .product-card__favorite {
  top: 24px;
  right: 24px;
}

.catalog-page .product-card__image {
  width: 100%;
}

.catalog-feature-tile {
  display: block;
  grid-column: span 2;
  min-height: var(--catalog-card-height);
  height: var(--catalog-card-height);
  border: 2px solid rgba(17, 17, 15, 0.9);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.catalog-feature-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-empty {
  padding: 32px;
  text-align: center;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.catalog-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-pagination__page,
.catalog-pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 2px solid rgba(17, 17, 15, 0.85);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.catalog-pagination__page.is-active,
.catalog-pagination__page:hover,
.catalog-pagination__button:hover {
  background: rgb(235, 255, 86);
}

.danzh-checkout-hint {
  margin-top: 12px;
  padding: 16px 18px;
  border: 2px solid rgba(17, 17, 15, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #333336;
}

.danzh-checkout-hint p {
  margin: 0;
}

.woocommerce-page .prose,
.woocommerce-page .woocommerce {
  max-width: 100%;
}

.woocommerce-page .woocommerce {
  padding: 32px;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.woocommerce-cart-form,
.woocommerce-checkout {
  display: grid;
  gap: 28px;
}

.woocommerce-page .woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-cart .woocommerce-notices-wrapper {
  display: none;
}

.woocommerce-page table.shop_table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-page table.shop_table th,
.woocommerce-page table.shop_table td {
  border-color: rgba(17, 17, 15, 0.08);
}

.woocommerce-page .cart_item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
}

.woocommerce-page .product-name a {
  color: #0f0f0f;
  font-weight: 700;
  text-decoration: none;
}

.woocommerce-page .actions .button,
.woocommerce-page .cart_totals .checkout-button,
.woocommerce-page #place_order,
.woocommerce-page .woocommerce button.button,
.woocommerce-page .woocommerce a.button,
.woocommerce-page .woocommerce input.button {
  min-height: 54px;
  border: 2px solid #0a0e00;
  border-radius: 28px;
  background: rgb(235, 255, 86);
  color: #0a0e00;
  font-family: "Onest", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.woocommerce-page .checkout_coupon,
.woocommerce-page .woocommerce-billing-fields,
.woocommerce-page .woocommerce-additional-fields,
.woocommerce-page .woocommerce-checkout-review-order,
.woocommerce-page .cart_totals {
  padding: 24px;
  border: 2px solid rgba(17, 17, 15, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.woocommerce-page .coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.woocommerce-page .coupon label {
  grid-column: 1 / -1;
}

.woocommerce-page .coupon .input-text {
  margin: 0 !important;
  width: 100% !important;
}

.woocommerce-page .form-row label {
  font-weight: 600;
}

.woocommerce-page .input-text,
.woocommerce-page select,
.woocommerce-page textarea {
  min-height: 52px;
  border: 2px solid rgba(17, 17, 15, 0.18);
  border-radius: 16px;
  background: #fff;
  font-family: "Onest", sans-serif;
}

.woocommerce-page textarea {
  min-height: 120px;
}

.danzh-checkout-conditional {
  display: none;
}

.woocommerce-page select,
.select2-container--default .select2-selection--single {
  font-size: 18px;
}

.woocommerce-page .cart_totals h2,
.woocommerce-page .woocommerce-billing-fields > h3,
.woocommerce-page #order_review_heading {
  margin-bottom: 18px;
  font-size: 28px;
}

.danzh-cart-delivery-info {
  margin-bottom: 18px;
  padding: 22px 24px;
  border: 2px solid rgba(17, 17, 15, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.danzh-cart-delivery-info h3 {
  margin: 0 0 14px;
  font-family: "Onest", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.danzh-cart-delivery-info ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(17, 17, 15, 0.82);
  line-height: 1.7;
}

.danzh-quantity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.danzh-quantity__button {
  width: 40px;
  height: 40px;
  border: 2px solid #0a0e00;
  border-radius: 999px;
  background: #fff;
  color: #0a0e00;
  font-family: "Onest", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.danzh-quantity__button:hover {
  background: rgb(235, 255, 86);
}

.danzh-quantity .quantity {
  margin: 0;
}

.danzh-quantity .qty {
  width: 68px;
  min-height: 40px;
  text-align: center;
}

.product-single {
  padding-top: 16px;
}

.product-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(360px, 1fr);
  gap: 40px;
  align-items: start;
}

.product-single__gallery,
.product-single__summary {
  padding: 28px;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.product-single__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.product-single__media img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-single__media-shell {
  position: relative;
}

.product-single__zoom {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-single__arrow,
.product-lightbox__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid #0a0e00;
  border-radius: 999px;
  background: #fff;
  color: #0a0e00;
  font-family: "Onest", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.product-single__arrow:hover,
.product-lightbox__arrow:hover {
  background: rgb(235, 255, 86);
}

.product-single__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.product-single__arrow--prev {
  left: 18px;
}

.product-single__arrow--next {
  right: 18px;
}

.product-single__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.product-single__thumb {
  padding: 0;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.product-single__thumb.is-active {
  border-color: #0a0e00;
}

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

.product-single__files {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 2px solid rgba(17, 17, 15, 0.1);
}

.product-single__files h2 {
  margin: 0 0 14px;
  font-family: "Onest", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.product-single__file-list {
  display: grid;
  gap: 10px;
}

.product-single__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 13px 16px;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #11110f;
  font-family: "Onest", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.product-single__file:hover {
  border-color: #0a0e00;
  background: rgb(235, 255, 86);
}

.product-single__file-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-single__file-type {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 8px;
  background: #11110f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.product-single__summary {
  position: sticky;
  top: 120px;
}

.product-single__badges {
  position: static;
  left: auto;
  bottom: auto;
  margin: 12px 0 20px;
}

.product-single__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
}

.product-single__price {
  margin-bottom: 20px;
  font-family: "Onest", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.product-single__content {
  color: rgba(17, 17, 15, 0.82);
  line-height: 1.7;
}

.product-single__purchase {
  margin: 28px 0;
}

.product-single__purchase .cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-single__purchase .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-single__purchase .quantity .qty {
  min-height: 54px;
  min-width: 72px;
  border: 2px solid rgba(17, 17, 15, 0.18);
  border-radius: 16px;
  text-align: center;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px;
  background: rgba(10, 14, 0, 0.88);
}

.product-lightbox[hidden] {
  display: none !important;
}

.product-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(90vw, 1200px);
  height: min(84vh, 920px);
}

.product-lightbox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0a0e00;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.has-product-lightbox {
  overflow: hidden;
}

.instructions-table {
  display: grid;
  gap: 14px;
}

.instructions-table__row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 2px solid rgba(17, 17, 15, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.instructions-toolbar {
  margin-bottom: 20px;
}

.instructions-search {
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin: 0;
}

.instructions-search span {
  font-size: 15px;
  font-weight: 700;
}

.instructions-search__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.instructions-search input {
  flex: 1 1 auto;
  min-height: 54px;
  padding: 0 18px;
  border: 2px solid rgba(17, 17, 15, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  font-family: "Onest", sans-serif;
  font-size: 16px;
}

.instructions-search input:focus {
  outline: none;
  border-color: #0a0e00;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.86);
}

.instructions-empty {
  margin: 16px 0 0;
  color: rgba(17, 17, 15, 0.68);
  font-size: 15px;
  font-weight: 600;
}

.instructions-table__image img {
  width: 100%;
  height: 96px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.instructions-table__title a {
  color: #0f0f0f;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.instructions-table__title {
  display: grid;
  gap: 10px;
}

.instructions-table__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 15, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: rgba(17, 17, 15, 0.76);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.instructions-table__pin.is-active {
  border-color: rgba(10, 14, 0, 0.95);
  background: var(--accent-green);
  color: var(--site-text);
}

.instructions-table__row.is-pinned {
  border-color: rgba(10, 14, 0, 0.16);
  background: rgba(241, 255, 139, 0.22);
}

.instructions-table__action {
  display: flex;
  justify-content: flex-end;
}

.instructions-table__pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 2px dashed rgba(17, 17, 15, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(17, 17, 15, 0.64);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.delivery-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.delivery-page__content {
  display: grid;
  gap: 18px;
}

.delivery-card,
.delivery-note {
  padding: 28px;
  border: 2px solid rgba(17, 17, 15, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.delivery-card h2,
.delivery-note h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.delivery-card__list,
.delivery-note__list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
  color: rgba(17, 17, 15, 0.82);
}

.delivery-card__payments {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.delivery-card__payments img {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.delivery-card__link {
  margin: 18px 0 0;
}

.delivery-card__link a,
.delivery-note a {
  color: #0f0f0f;
  font-weight: 700;
}

.hero__panel {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: var(--hero-panel-min-height);
  padding: 48px 56px;
  border-radius: var(--radius-large);
  clip-path: inset(0 round var(--radius-large));
  background:
    linear-gradient(180deg, rgba(10, 14, 0, 0.3), rgba(10, 14, 0, 0.48)),
    url("../images/hero-banner-placeholder.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-clip: padding-box;
  color: #fffef8;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, rgba(10, 14, 0, 0), rgba(10, 14, 0, 0.26));
  pointer-events: none;
  border-radius: var(--radius-large);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.hero__button-wrap {
  margin-top: 32px;
}

.section-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1.05;
}

h3,
h4,
h5,
h6,
button,
input,
textarea,
select {
  font-family: "Onest", sans-serif;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.hero__headline {
  width: 100%;
  max-width: 1238px;
}

.hero__title {
  width: 100%;
  max-width: 1238px;
  min-height: 89px;
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fffef8;
}

.hero__subtitle {
  width: 100%;
  max-width: 1238px;
  min-height: 36px;
  margin: 16px 0 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 248, 0.88);
}

.hero__lead,
.page-hero__lead,
.product-card__description {
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 32px;
  background: var(--button-bg-normal);
  font-weight: 700;
}

.button--hero {
  width: 247px;
  height: 68px;
  min-width: 247px;
  min-height: 68px;
  justify-content: space-between;
  overflow: hidden;
  border: 2px solid #0a0e00;
  border-radius: 32px;
  background: #f1ff8b;
  color: #0a0e00;
  font-size: 18px;
  line-height: 1;
  box-shadow: none;
}

.button__label,
.button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.button__label {
  flex: 1 1 auto;
  padding: 0 18px 0 26px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: none;
}

.button__icon {
  width: 64px;
  height: 68px;
  flex: 0 0 64px;
  gap: 8px;
  padding-left: 16px;
  padding-right: 24px;
  border-left: 2px solid #0a0e00;
  color: #0a0e00;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
}

.button__icon svg {
  width: 32px;
  height: 32px;
}

.button:hover {
  background: #e4f05f;
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.category-strip,
.product-grid,
.news-grid {
  display: grid;
  gap: 22px;
}

.category-strip {
  grid-template-columns: repeat(var(--category-columns), minmax(0, 1fr));
  align-items: start;
  padding: 24px 0 0;
  gap: 48px var(--category-gap);
  width: 100%;
  max-width: 100%;
  min-height: auto;
  margin: 0 auto;
}

@media (min-height: 980px) {
  .hero > .container {
    min-height: calc(100vh - var(--header-visual-height) - 24px);
  }

  .category-strip {
    padding-top: 24px;
    min-height: 330.67px;
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 240.67px;
  margin: 0 auto;
  text-align: center;
}

.category-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--category-image-size));
  height: var(--category-image-size);
  border-radius: 999px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 160ms ease, transform 160ms ease;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.category-card__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 26px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.category-card:hover .category-card__image,
.category-card:focus-visible .category-card__image {
  border-color: var(--accent-highlight);
  transform: translateY(-2px);
}

.products-showcase {
  overflow: hidden;
}

.products-showcase__header {
  position: relative;
  margin-bottom: 40px;
}

.products-showcase__heading-wrap {
  display: block;
  width: 100%;
  min-height: 108px;
  padding-inline: 64px;
}

.products-showcase__heading-wrap--simple {
  padding-inline: 0;
}

.products-showcase__heading {
  text-align: center;
}

.products-showcase__heading h2 {
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.products-showcase__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.products-showcase__arrows {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 112px;
  height: 48px;
}

.products-showcase__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid #0f0f0f;
  border-radius: 999px;
  background: #fff;
  color: #0f0f0f;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.products-showcase__arrow:hover {
  background: rgb(235, 255, 86);
  transform: translateY(-1px);
}

.products-showcase__viewport {
  width: calc(
    (var(--products-card-width) * var(--products-visible-columns)) +
    (var(--products-column-gap) * (var(--products-visible-columns) - 1))
  );
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 8px;
}

.product-grid {
  display: flex;
  gap: var(--products-column-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 0 0 16px;
  scroll-behavior: smooth;
  align-items: stretch;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

.products-showcase .product-card {
  min-height: 673px;
  height: 673px;
  gap: 16px;
}

.products-showcase .product-card__media {
  padding-bottom: 0;
}

.products-showcase .product-card__title {
  min-height: 58px;
  max-height: 58px;
}

.products-showcase .product-card__footer {
  min-height: 92px;
  gap: 8px;
}

.site-search {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
  padding: 20px 24px;
  border: 1px solid rgba(10, 14, 0, 0.12);
  border-radius: var(--radius-large);
  background: rgba(254, 254, 253, 0.92);
}

.site-search.is-open {
  display: flex;
}

.site-search input {
  flex: 1;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(10, 14, 0, 0.18);
  border-radius: var(--radius-medium);
  font: inherit;
  background: #fff;
}

.about-home__header {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.about-home__header h2 {
  text-align: center;
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.about-home__layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, 556px) minmax(300px, 1fr);
  gap: 40px;
  align-items: start;
}

.about-home__side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 360px;
  min-height: 440px;
  font-size: 22px;
  line-height: 1.28;
  color: var(--site-text);
}

.about-home__side--left {
  align-self: start;
}

.about-home__side--right {
  align-self: stretch;
  justify-self: end;
}

.about-home__side p {
  margin: 0;
}

.about-home__side strong {
  font-weight: 700;
}

.about-home__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-home__photo {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(10, 14, 0, 0.12);
  background: var(--site-bg-secondary);
}

.about-home__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-home__photo--left {
  margin-top: 24px;
}

.about-home__photo--right {
  margin-bottom: auto;
}

.about-home__side--right p {
  margin-top: 24px;
}

.about-home__image {
  width: 100%;
  border-radius: var(--radius-large);
  overflow: hidden;
}

.about-home__image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 556 / 440;
  object-fit: cover;
  object-position: center;
}

.about-home__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.about-home__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.discounts-page__stack {
  display: grid;
  gap: 40px;
}

.discounts-section {
  display: grid;
  gap: 24px;
}

.discounts-section__heading {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.discounts-section__heading h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.04em;
}

.discounts-section__heading p {
  margin: 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--site-text-secondary);
}

.instructions-table__files {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.contacts-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.search-page {
  padding-top: 12px;
}

.search-page__form {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.search-page__form input {
  flex: 1;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid rgba(10, 14, 0, 0.16);
  border-radius: var(--radius-medium);
  font: inherit;
  background: #fff;
}

.search-results {
  display: grid;
  gap: 18px;
}

.search-card {
  padding: 24px 28px;
  border: 1px solid rgba(10, 14, 0, 0.14);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.74);
}

.search-card__meta {
  margin-bottom: 8px;
  color: var(--site-text-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.search-card p {
  margin: 0 0 14px;
  color: var(--site-text-secondary);
}

.search-card__link {
  font-weight: 600;
}

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

.discount-card,
.discounts-empty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px;
  border: 2px solid #0a0e00;
  border-radius: var(--radius-large);
}

.discount-card--active,
.discounts-empty--active {
  background: linear-gradient(135deg, #f1ff8b 0%, #ffdf48 100%);
}

.discount-card--archived,
.discounts-empty--archived {
  background: linear-gradient(135deg, #e7e7e7 0%, #d5d5d5 100%);
}

.discount-card__content {
  display: grid;
  align-content: start;
  gap: 16px;
}

.discount-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.discount-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border: 2px solid #0a0e00;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.discount-card__status,
.discount-card__archive-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border: 2px solid rgba(10, 14, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 700;
}

.discount-card__content h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.discount-card__content p,
.discounts-empty p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.discount-card__promo {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.discount-card__code {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  border: 2px dashed #0a0e00;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.discount-card__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 22px;
  border: 2px solid #0a0e00;
  border-radius: 18px;
  background: #0a0e00;
  color: #fefefd;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.discount-card__copy:hover {
  transform: translateY(-1px);
}

.discount-card__copy.is-copied {
  background: #ffffff;
  color: #0a0e00;
}

.products-showcase--new .products-showcase__viewport {
  width: calc(
    (var(--new-products-card-width) * var(--new-products-visible-columns)) +
    (var(--new-products-column-gap) * (var(--new-products-visible-columns) - 1))
  );
}

.products-showcase--new .product-grid {
  gap: var(--new-products-column-gap);
}

.products-showcase--new .product-card {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "media title"
    "media description"
    "media footer";
  align-items: stretch;
  width: var(--new-products-card-width);
  min-width: var(--new-products-card-width);
  min-height: var(--new-products-card-height);
  height: var(--new-products-card-height);
  padding: 18px;
  gap: 16px 36px;
  border: 2px solid #0a0e00;
  border-radius: 32px;
  background: var(--accent-green);
}

.products-showcase--new .product-card:nth-child(3n + 1) {
  background: var(--accent-green);
}

.products-showcase--new .product-card:nth-child(3n + 2) {
  background: linear-gradient(135deg, #d9dbff 0%, #eadbff 100%);
}

.products-showcase--new .product-card:nth-child(3n) {
  background: linear-gradient(135deg, #ffe45a 0%, #ffe978 100%);
}

.products-showcase--new .product-card__media {
  grid-area: media;
  align-self: stretch;
  width: 460px;
  padding-bottom: 0;
}

.products-showcase--new .product-card__image {
  width: 460px;
  height: 410px;
  border-radius: 16px;
}

.products-showcase--new .product-card__title {
  grid-area: title;
  align-self: start;
  min-height: auto;
  max-height: none;
  padding-top: 38px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  -webkit-line-clamp: 2;
}

.products-showcase--new .product-card__description--featured {
  grid-area: description;
  display: -webkit-box;
  margin: 0;
  max-width: 560px;
  color: var(--site-text);
  font-size: 18px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products-showcase--new .product-card__footer {
  grid-area: footer;
  align-self: end;
  min-height: 0;
  gap: 26px;
}

.products-showcase--new .product-card__price {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.products-showcase--new .product-card__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.products-showcase--new .product-card__button {
  flex: 1 1 auto;
  min-height: 72px;
  border-color: #0a0e00;
  background: #0a0e00;
  color: var(--button-text-default);
}

.products-showcase--new .product-card__button-label,
.products-showcase--new .product-card__button-icon {
  min-height: 72px;
}

.products-showcase--new .product-card__button-label {
  font-size: 22px;
}

.products-showcase--new .product-card__button-icon {
  border-left-color: rgba(254, 254, 253, 0.28);
}

.products-showcase--new .product-card__button.is-in-cart {
  background: #ffffff;
  color: #0a0e00;
}

.products-showcase--new .product-card__favorite--inline {
  position: static;
  top: auto;
  right: auto;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid #0a0e00;
  background: #ffffff;
}

.products-showcase--new .product-card__badges {
  left: 12px;
  bottom: 12px;
}

@media (max-width: 1400px) {
  .products-showcase--new .products-showcase__viewport {
    width: 100%;
  }

  .products-showcase--new .product-card {
    width: min(100%, var(--new-products-card-width));
    min-width: min(100%, var(--new-products-card-width));
  }
}

@media (max-width: 1024px) {
  .products-showcase--new .product-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "media"
      "title"
      "description"
      "footer";
    width: min(100%, 640px);
    min-width: min(100%, 640px);
    height: auto;
    min-height: 0;
  }

  .products-showcase--new .product-card__media,
  .products-showcase--new .product-card__image {
    width: 100%;
    height: 320px;
  }

  .products-showcase--new .product-card__title {
    padding-top: 0;
  }

  .products-showcase--new .product-card__description--featured {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .products-showcase--new .product-card {
    padding: 16px;
    gap: 14px;
    border-radius: 24px;
  }

  .products-showcase--new .product-card__image {
    height: 240px;
  }

  .products-showcase--new .product-card__price {
    font-size: 38px;
  }

  .products-showcase--new .product-card__actions {
    gap: 12px;
  }
}

.product-card,
.news-card {
  border: 2px solid rgba(17, 17, 15, 0.9);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: background-color 180ms ease, transform 180ms ease;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 var(--products-card-width);
  width: var(--products-card-width);
  min-width: var(--products-card-width);
  min-height: 673px;
  height: 673px;
  padding: 24px;
  gap: 24px;
  border-radius: 16px;
  scroll-snap-align: start;
  cursor: pointer;
  overflow: hidden;
  background: #fff;
}

.news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
}

.product-card:hover,
.product-card:focus-within {
  background: #cac3fb;
  transform: none;
}

.product-card__badges {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid rgba(17, 17, 15, 0.8);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.product-card__badge.is-new,
.product-card__badge.is-popular {
  background: rgb(235, 255, 86);
}

.product-card__badge.is-preorder {
  background: #fff0b8;
}

.product-card__media {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}

.product-card__favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid rgba(17, 17, 15, 0.85);
  background: #fff;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.product-card__favorite svg {
  transition: transform 160ms ease;
}

.product-card__favorite:hover svg {
  transform: scale(1.08);
}

.product-card__favorite.is-active {
  background: #fff;
  border-color: #0a0e00;
}

.product-card__favorite.is-active svg path {
  fill: rgb(242, 74, 123);
  stroke: rgb(242, 74, 123);
}

.product-card__image,
.news-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 373px;
  max-width: 100%;
  height: 373px;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  border: 0;
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border-radius: 0;
  transform: scale(1.05);
  transform-origin: center;
}

.product-card__title {
  width: 100%;
  min-height: 72px;
  max-height: 72px;
  font-size: 24px;
  font-family: "Onest", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-wrap: balance;
}

.news-card__image {
  width: 100%;
  height: 344px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__description {
  display: none;
}

.product-card__price {
  display: block;
  margin-bottom: 0;
  font-family: "Onest", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.product-card__price ins,
.product-card__price del {
  text-decoration: none;
}

.product-card__price ins {
  color: var(--site-text);
}

.product-card__price del {
  display: block;
  margin-top: 6px;
  color: rgba(10, 14, 0, 0.45);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card__price del .amount {
  text-decoration: line-through;
}


.product-card__footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 0;
  min-height: 126px;
  padding-top: 0;
  border-top: 0;
}

.product-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  margin-top: auto;
  border: 2px solid #0a0e00;
  border-radius: 32px;
  background: rgb(235, 255, 86);
  overflow: hidden;
  box-shadow: none;
  transition: background-color 160ms ease, opacity 160ms ease;
}

.product-card__button-label,
.product-card__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
}

.product-card__button-label {
  flex: 1 1 auto;
  padding: 0 20px;
  font-size: 20px;
  font-weight: 700;
}

.product-card__button-icon {
  width: 64px;
  flex: 0 0 64px;
  border-left: 2px solid #0a0e00;
}

.product-card__button.is-in-cart {
  background: #ffffff;
}

.product-card__button.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.news-showcase .products-showcase__header {
  margin-bottom: 32px;
}

.news-layout {
  --news-feature-height: 528px;
  --news-column-gap: 24px;
  --news-compact-height: calc((var(--news-feature-height) - (var(--news-column-gap) * 2)) / 3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  justify-content: space-between;
  align-items: stretch;
  gap: var(--news-column-gap);
}

.news-column {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--news-column-gap);
  height: var(--news-feature-height);
}

.news-card--feature {
  width: 100%;
  height: var(--news-feature-height);
  min-height: var(--news-feature-height);
}

.news-card--compact {
  width: 100%;
  min-height: var(--news-compact-height);
  height: var(--news-compact-height);
}

.news-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 112px;
  height: 112px;
  overflow: hidden;
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #333336;
  flex: 0 0 20px;
}

.news-card__meta span {
  white-space: nowrap;
}

.news-card__title {
  width: 100%;
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  color: #0f0f0f;
  min-height: 36px;
  max-height: 36px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 0 0 36px;
}

.news-card__description {
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #333336;
  min-height: 40px;
  max-height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  flex: 0 0 40px;
}

.news-card:hover,
.news-card:focus-within {
  background: #cac3fb;
  transform: none;
}

.news-archive {
  padding-top: 20px;
}

.news-card--archive-feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  min-height: 520px;
  margin-bottom: 24px;
}

.news-card--archive-feature .news-card__image {
  height: auto;
  min-height: 100%;
}

.news-card--archive-feature .news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card--archive-feature .news-card__content {
  justify-content: space-between;
  gap: 18px;
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card--archive {
  min-height: 460px;
}

.news-card--archive .news-card__image {
  height: 220px;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.article-hero {
  padding-bottom: 24px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  font-size: 16px;
  color: rgba(17, 17, 15, 0.72);
}

.article-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px;
  border: 2px solid rgba(17, 17, 15, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.article-card__image {
  margin-bottom: 28px;
  border-radius: 18px;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-card__content {
  max-width: 760px;
}

.article-card__lead {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.5;
  color: rgba(17, 17, 15, 0.86);
}

.article-card__body {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(17, 17, 15, 0.84);
}

.article-card__body > *:first-child {
  margin-top: 0;
}

.article-card__body p,
.article-card__body ul,
.article-card__body ol {
  margin: 0 0 18px;
}

.site-footer {
  margin-top: 56px;
  padding: 32px 0 64px;
}

.site-footer__rule {
  width: 100%;
  height: 2px;
  margin-bottom: 28px;
  background: rgba(17, 17, 15, 0.42);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0 0 28px;
  color: rgba(17, 17, 15, 0.84);
}

.site-footer__column {
  min-width: 0;
}

.site-footer__brand img {
  width: 96px;
  margin: 0 auto 16px;
}

.site-footer__brand {
  text-align: center;
}

.site-footer__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(17, 17, 15, 0.82);
}

.site-footer__list--details {
  gap: 12px;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.site-footer__payments {
  width: 100%;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 15, 0.12);
}

.site-footer__payments img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .hero__panel,
  .news-grid,
  .catalog-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    min-height: clamp(360px, 52vh, 620px);
    padding: 40px 24px;
    border-radius: var(--radius-large);
  }

  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 24px 0;
    gap: 32px 16px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-header__brand,
  .site-header__actions,
  .site-nav {
    width: 100%;
    flex: 1 1 100%;
  }

  .site-header__actions {
    justify-content: center;
  }

  .site-nav__menu {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .about-home__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-home__side {
    text-align: center;
    align-items: center;
    min-height: auto;
  }

  .about-home__center {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  .contacts-page__grid {
    grid-template-columns: 1fr;
  }

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

  .discount-card,
  .discounts-empty {
    grid-template-columns: 1fr;
  }

  .discount-card__promo {
    flex-direction: column;
    align-items: stretch;
  }

  .discount-card__code,
  .discount-card__copy {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 0;
  }

  .site-nav__menu,
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header__actions {
    gap: 18px;
  }

  .site-logo img {
    height: 48px;
  }

  .hero__panel {
    min-height: 320px;
    border-radius: var(--radius-large);
  }

  .hero__title {
    min-height: auto;
  }

  .hero__subtitle {
    min-height: auto;
    font-size: 20px;
  }

  .about-home__header {
    margin-bottom: 28px;
  }

  .about-home__side {
    font-size: 20px;
  }

  .site-search,
  .search-page__form {
    flex-direction: column;
  }

  .discount-card,
  .discounts-empty {
    padding: 18px;
    gap: 18px;
  }

  .discount-card__content h3 {
    font-size: 24px;
  }

  .discount-card__code {
    min-height: 56px;
    padding: 0 16px;
    font-size: 22px;
  }

  .discount-card__copy {
    min-height: 56px;
  }
}
