/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: 'Onest', Arial, sans-serif;
  color: #1a1a1a;
  background: #f4f5f6;
  line-height: 1.4;
  overflow-x: clip;
  width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

svg {
  display: block;
  flex-shrink: 0;
}

/* ===========================
   LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================
   ICONS
   =========================== */
.icon {
  width: 16px;
  height: 16px;
}

/* ===========================
   SITE HEADER
   =========================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1100;
  isolation: isolate;
  background: #141416;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-radius 0.2s ease, box-shadow 0.2s ease;
}

.site-header.site-header--catalog-open,
.site-header:has(.catalog-dropdown--open),
.site-header:has(.product-sticky-bar.is-visible) {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

/* ===========================
   TOP BAR
   =========================== */
.top-bar {
  background: transparent;
  height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  height: 100%;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
}

.top-bar__inner > .top-bar__delivery {
  justify-self: start;
}

.top-bar__inner > .top-bar__phone {
  justify-self: end;
}

/* Delivery label */
.top-bar__delivery {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #a1a1aa;
}

.top-bar__delivery .icon {
  width: 16px;
  height: 16px;
  color: #e31e24;
}

/* Top nav */
.top-bar__nav {
  grid-column: span 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  width: 100%;
}

.top-bar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 14px;
  color: #a1a1aa;
  padding: 0 6px;
  height: 38px;
  transition: color 0.15s;
  white-space: nowrap;
}

.top-bar__link:hover {
  color: #ffffff;
}

.top-bar__link .icon-chevron {
  width: 10px;
  height: 10px;
  color: #71717a;
}

/* Phone */
.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #f4f4f5;
  margin-left: 0;
  flex-shrink: 0;
  white-space: nowrap;
  transition: color 0.15s;
}

.top-bar__phone:hover {
  color: #e31e24;
}

.top-bar__phone .icon {
  width: 14px;
  height: 14px;
  color: #e31e24;
}

/* ===========================
   MAIN HEADER
   =========================== */
.main-header {
  background: transparent;
  height: 68px;
}

.main-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}

/* ===========================
   LOGO
   =========================== */
.logo {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  content: url('rokit-logo-white.png?v=20260815-10');
}

.logo__picture {
  display: inline-flex;
  line-height: 0;
}

/* ===========================
   CATALOGUE BUTTON
   =========================== */
.catalogue-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.catalogue-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.catalogue-btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.catalogue-btn__icon rect {
  transition: opacity .18s ease, transform .18s ease;
  transform-origin: center;
}

.catalogue-btn[aria-expanded="true"] .catalogue-btn__icon rect:nth-child(1),
.catalogue-btn[aria-expanded="true"] .catalogue-btn__icon rect:nth-child(4) {
  opacity: .72;
}

/* The same soft four-cell catalogue mark is used in the mobile navigation. */
.mobile-bottom-nav #mobileCatalogBtn .icon rect {
  rx: 2px;
  fill: currentColor;
  stroke: none;
}

/* ===========================
   SEARCH FORM
   =========================== */
.search-form {
  flex: 1;
  display: flex;
  align-items: stretch;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
  border-color: #e31e24;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.25);
}

.search-form__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13.5px;
  font-family: inherit;
  color: #111111;
  padding: 0 20px;
  background: transparent;
  min-width: 0;
}

.search-form__input::placeholder {
  color: #71717a;
}

.search-form__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 38px;
  background: #e31e24;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  margin: 3px 4px 3px 0;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}

.search-form__btn:hover {
  background: #c01a1f;
  transform: scale(1.04);
}

.search-form__btn .icon {
  width: 18px;
  height: 18px;
  color: #fff;
}

/* ===========================
   HEADER ACTIONS
   =========================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 12px;
  color: #f4f4f5;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  position: relative;
  cursor: pointer;
}

.header-action:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.header-action .icon {
  width: 22px;
  height: 22px;
}

.header-action__label {
  font-size: 10.5px;
  color: #a1a1aa;
  white-space: nowrap;
  line-height: 1;
}

.header-action:hover .header-action__label {
  color: #ffffff;
}

.header-action__icon-wrap {
  position: relative;
  display: flex;
}

.header-action__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e31e24;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #141416;
}

/* Login button */
.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-login:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

/* Author styles override the browser's default [hidden] rule, so keep the
   guest-only sign-in pill out of the authenticated desktop header explicitly. */
.btn-login[hidden] {
  display: none !important;
}

.header-action--profile.is-authenticated {
  order: 1;
}

.header-action--profile.is-authenticated .header-action__label {
  color: #ffffff;
  font-weight: 600;
}

/* ===========================
   CATEGORY NAV (MOBILE SCROLL)
   =========================== */
.cat-nav {
  display: none;
  /* Hidden on desktop, layout shifts to elegant dropdown */
  background: #f4f5f6;
  height: 42px;
}

/* ===========================
   DESKTOP CATALOG DROPDOWN (MEGAMENU)
   =========================== */
.catalog-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #141416;
  border-radius: 0 0 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  z-index: 150;
  overflow: hidden;

  /* State animations */
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.catalog-dropdown--open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Product quick actions: attached to the site header without changing page flow. */
.product-sticky-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 140;
  background: #141416;
  border-radius: 0 0 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.2s ease, transform 0.24s cubic-bezier(.22, 1, .36, 1), visibility 0.2s;
}

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

.product-sticky-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.catalog-dropdown--open+.product-sticky-bar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
}

.product-sticky-bar__inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  align-items: center;
  gap: 26px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.product-sticky-bar__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.product-sticky-bar__image {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #202024;
}

.product-sticky-bar__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-sticky-bar__image .product-image-placeholder {
  width: 25px !important;
  height: 25px !important;
}

.product-sticky-bar__copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.product-sticky-bar__title {
  max-width: 520px;
  overflow: hidden;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-sticky-bar__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  color: #a1a1aa;
  font-size: 12px;
  line-height: 1;
}

.product-sticky-bar__rating svg {
  width: 15px;
  height: 15px;
  color: #e31e24;
}

.product-sticky-bar__price-wrap {
  display: grid;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
}

.product-sticky-bar__price {
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.product-sticky-bar__old-price {
  color: #71717a;
  font-size: 12px;
}

.product-sticky-bar__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.product-sticky-bar__favorite,
.product-sticky-bar__quick,
.product-sticky-bar__cart {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.product-sticky-bar__favorite:active,
.product-sticky-bar__quick:active,
.product-sticky-bar__cart:active {
  transform: scale(0.98);
}

.product-sticky-bar__favorite:focus-visible,
.product-sticky-bar__quick:focus-visible,
.product-sticky-bar__cart:focus-visible {
  outline: 3px solid rgba(227, 30, 36, 0.2);
  outline-offset: 2px;
}

.product-sticky-bar__favorite {
  width: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.product-sticky-bar__favorite:hover,
.product-sticky-bar__favorite.is-active {
  border-color: rgba(227, 30, 36, 0.35);
  background: rgba(227, 30, 36, 0.15);
  color: #e31e24;
}

.product-sticky-bar__favorite.is-active svg {
  fill: currentColor;
}

.product-sticky-bar__favorite svg,
.product-sticky-bar__cart svg {
  width: 20px;
  height: 20px;
}

.product-sticky-bar__quick {
  min-width: 142px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.product-sticky-bar__quick:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.product-sticky-bar__quick-short {
  display: none;
}

.product-sticky-bar__cart {
  min-width: 142px;
  gap: 8px;
  padding: 0 20px;
  background: #e31e24;
  color: #fff;
}

.product-sticky-bar__cart:hover {
  background: #c91b20;
}

.product-sticky-bar__cart.is-added {
  background: #287a3e;
}

.product-sticky-bar__quick:disabled,
.product-sticky-bar__cart:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.catalog-dropdown__container {
  display: flex !important;
  height: 440px;
  /* Fixed height for consistent look */
  padding: 0 !important;
  /* Flush sidebar to the left */
  overflow: hidden;
}

.catalog-dropdown[data-state="loading"] .catalog-dropdown__container,
.catalog-dropdown[data-state="error"] .catalog-dropdown__container,
.catalog-dropdown[data-state="empty"] .catalog-dropdown__container {
  height: 116px;
  align-items: center;
  justify-content: center;
}

.catalog-dropdown__status {
  width: min(100% - 40px, 760px);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #f5f5f6;
  text-align: left;
}

.catalog-dropdown__status>span:not(.catalog-dropdown__spinner) {
  display: grid;
  gap: 4px;
}

.catalog-dropdown__status b {
  font-size: 14px;
  font-weight: 650;
}

.catalog-dropdown__status small {
  color: #92939a;
  font-size: 12px;
}

.catalog-dropdown__spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid #35363b;
  border-top-color: #e31e24;
  border-radius: 50%;
  animation: catalog-spinner .8s linear infinite;
}

.catalog-dropdown__status button {
  min-height: 36px;
  margin-left: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #e31e24;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

@keyframes catalog-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Sidebar (Left column) */
.catalog-dropdown__sidebar {
  width: 290px;
  background: #141416;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.catalog-dropdown__sidebar-item {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: #a1a1aa;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 0.15s, color 0.15s;
}

.catalog-dropdown__sidebar-item svg.icon {
  width: 16px;
  height: 16px;
  color: #71717a;
  transition: color 0.15s;
}

.catalog-dropdown__sidebar-item svg.icon-arrow {
  width: 12px;
  height: 12px;
  margin-left: auto;
  color: #e31e24;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.15s, transform 0.15s;
}

/* Sidebar Active & Hover States */
.catalog-dropdown__sidebar-item:hover,
.catalog-dropdown__sidebar-item--active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.catalog-dropdown__sidebar-item:hover svg.icon,
.catalog-dropdown__sidebar-item--active svg.icon {
  color: #e31e24;
  /* Red icon highlight */
}

.catalog-dropdown__sidebar-item:hover svg.icon-arrow,
.catalog-dropdown__sidebar-item--active svg.icon-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Left activity indicator line */
.catalog-dropdown__sidebar-item--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3.5px;
  background: #e31e24;
  /* Brand red indicator */
}

/* Content Area (Right column) */
.catalog-dropdown__content {
  flex: 1;
  background: #141416;
  padding: 32px 40px;
  overflow-y: auto;
}

.catalog-dropdown__content::-webkit-scrollbar {
  width: 6px;
}

.catalog-dropdown__content::-webkit-scrollbar-thumb {
  background: #222224;
  border-radius: 3px;
}

/* Tab panes */
.catalog-dropdown__pane {
  display: none;
}

.catalog-dropdown__pane--active {
  display: block;
  animation: paneFadeIn 0.2s ease-out;
}

@keyframes paneFadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

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

.catalog-dropdown__pane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pane-column {
  display: flex;
  flex-direction: column;
}

.pane-column-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 18px;
  border-bottom: 1px solid #222224;
  padding-bottom: 8px;
}

.pane-link {
  font-size: 13px;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.15s, transform 0.15s;
  display: inline-flex;
}

.pane-link:hover {
  color: #fff;
  transform: translateX(3px);
  /* Interactive slide effect */
}

.pane-link--highlight {
  color: #e31e24;
  /* Highlight sales/promos */
  font-weight: 500;
}

.pane-link--highlight:hover {
  color: #ff333a;
}

.cat-nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav__inner::-webkit-scrollbar {
  display: none;
}

.cat-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  color: #1a1a1a;
  padding: 0 12px;
  height: 100%;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}

.cat-nav__link:hover {
  color: #e31e24;
  border-bottom-color: #e31e24;
}

.cat-nav__link--promo {
  color: #e31e24;
  font-weight: 600;
  padding-left: 4px;
}

.cat-nav__link--promo .icon {
  width: 14px;
  height: 14px;
}

.cat-nav__link--business {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #1a1a1a;
  border-radius: 0;
  padding: 0 0 12px 0;
  margin-left: auto;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

.cat-nav__link--business:hover {
  color: #e31e24;
  border-bottom-color: #e31e24;
}

.cat-nav__link--business .icon {
  width: 14px;
  height: 14px;
}

/* ===========================
   PHONE POPOVER
   =========================== */
.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: end;
  margin-left: 0;
  flex-shrink: 0;
}

.top-bar__phone--trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #f4f4f5 !important;
  white-space: nowrap;
  transition: color 0.15s;
  text-decoration: none;
  cursor: pointer;
  margin-left: 0;
}

.top-bar__phone--trigger:hover {
  color: #e31e24 !important;
}

.top-bar__phone--trigger .icon {
  width: 14px;
  height: 14px;
  color: #e31e24;
}

.phone-chevron {
  width: 10px !important;
  height: 10px !important;
  color: #a1a1aa !important;
  transition: transform 0.2s;
}

/* Popover hidden by default */
.phone-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 14px 16px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

/* Arrow */
.phone-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-bottom: none;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Show on hover over the wrapper */
.phone-wrap:hover .phone-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.phone-wrap:hover .phone-chevron {
  transform: rotate(180deg);
}

.phone-wrap:hover .top-bar__phone--trigger {
  color: #e31e24 !important;
}

.phone-popover__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phone-popover__label {
  font-size: 11.5px;
  color: #a1a1aa;
  line-height: 1.3;
}

.phone-popover__number {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s;
}

.phone-popover__number:hover {
  color: #e31e24;
}

.phone-popover__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 10px 0;
}

/* ===========================
   RESPONSIVE DESIGN (UX OPTIMIZATION)
   =========================== */

/* Hide mobile elements by default on desktop */
.mobile-menu-btn {
  display: none;
}

.mobile-call-btn {
  display: none;
}

.mobile-compare-btn {
  display: none;
}

.header-action--profile {
  display: none !important;
  /* profile icon only for mobile header */
}

body .header-action--profile.is-authenticated {
  display: flex !important;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s;
}

.mobile-drawer__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

/* Open states */
.mobile-drawer--open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer--open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer--open .mobile-drawer__content {
  transform: translateX(0);
}

/* Drawer UI Components */
.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.mobile-drawer__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  border-radius: 50%;
  transition: background 0.2s;
}

.mobile-drawer__close:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

.mobile-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.mobile-drawer__section {
  margin-bottom: 24px;
}

.mobile-drawer__section:last-child {
  margin-bottom: 0;
}

.mobile-drawer__section-title {
  font-size: 12px;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.mobile-drawer__profile {
  background: #f7f7f7;
  padding: 16px;
  border-radius: 12px;
}

.mobile-drawer__login-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.mobile-drawer__login-btn .icon {
  width: 20px;
  height: 20px;
  color: #e31e24;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: #1a1a1a;
  padding: 10px 0;
  border-bottom: 1px solid #f9f9f9;
  transition: color 0.15s;
}

.mobile-drawer__link:hover {
  color: #e31e24;
}

.mobile-drawer__link--promo {
  color: #e31e24;
  font-weight: 600;
}

.mobile-drawer__link--business {
  font-weight: 600;
}

.mobile-drawer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.mobile-drawer__delivery {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.mobile-drawer__delivery .icon {
  color: #e31e24;
}

.mobile-drawer__phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.mobile-drawer__phone-link .icon {
  color: #e31e24;
}


/* Media Query for Mobile (Tablet and Mobile sizes) */
@media (max-width: 1024px) {
  .breadcrumbs-sec {
    display: none;
  }

  .cat-nav__link--promo {
    color: inherit;
    font-weight: inherit;
  }

  .cat-nav__link--promo .icon {
    display: none;
  }


  .top-bar {
    display: none;
    /* Hide top-bar to save space on mobile */
  }

  .site-header {
    box-shadow: none;
  }

  /* Hamburger Menu Button Visible */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
  }

  /* Hide Desktop Catalogue button */
  .catalogue-btn {
    display: none;
  }

  /* Main Header Inner Wrapping via Grid */
  .main-header {
    height: auto;
    padding: 10px 0 8px 0;
  }

  .main-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: 10px;
    column-gap: 12px;
  }

  /* Force elements to correct Grid positions */
  .mobile-menu-btn {
    grid-column: 1;
    grid-row: 1;
  }

  .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
  }

  .logo__img {
    height: 38px;
    max-width: 100%;
    object-fit: contain;
  }

  /* Make Search Bar span 100% on row 2, but keep it compact and centered */
  .search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 90%;
    max-width: 480px;
    height: 40px;
    margin: 0 auto;
    justify-self: center;
  }

  .search-form__input {
    padding: 0 16px;
    font-size: 13px;
  }

  .search-form__btn {
    width: 44px;
    height: 34px;
  }

  /* Hide mobile menu button (since catalog is in bottom nav) */
  .mobile-menu-btn {
    display: none !important;
  }

  /* Main Header Grid Configuration */
  .main-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: 10px;
    column-gap: 12px;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
  }

  .logo__img {
    height: 38px;
  }

  /* Call button on the top right */
  .mobile-call-btn {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #1a1a1a;
    transition: background 0.2s, color 0.2s;
  }

  .mobile-call-btn:active {
    background: #e8e8e8;
    color: #e31e24;
  }

  .mobile-call-btn .icon {
    width: 18px;
    height: 18px;
  }

  /* Make Search Bar span 100% on row 2 (full width minus margins) */
  .search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    height: 40px;
    margin: 0;
  }

  .search-form__input {
    padding: 0 16px;
    font-size: 13px;
  }

  .search-form__btn {
    width: 32px;
    height: 32px;
    margin: 0 3px 0 0;
    align-self: center;
    border-radius: 50%;
  }

  .search-form__btn .icon {
    width: 14px;
    height: 14px;
  }

  .main-header__inner>.search-container {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none !important;
  }

  .mobile-compare-btn {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #e3e5e8;
    border-radius: 999px;
    background: #fff;
    color: #34373d;
    font: inherit;
    font-size: 11.5px;
    font-weight: 650;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-compare-btn:active,
  .mobile-compare-btn[aria-expanded="true"] {
    border-color: #cfd2d7;
    background: #f5f6f8;
  }

  .mobile-compare-btn__icon-wrap {
    position: relative;
    display: grid;
    place-items: center;
  }

  .mobile-compare-btn .icon {
    width: 17px;
    height: 17px;
  }

  .mobile-compare-btn__badge {
    position: absolute;
    top: -7px;
    right: -8px;
    display: grid;
    place-items: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #e31e24;
    color: #fff;
    font-size: 8px;
    font-weight: 750;
    line-height: 1;
  }

  .mobile-compare-btn__badge[hidden] {
    display: none;
  }

  /* Hide Desktop actions completely on mobile */
  .header-actions {
    display: none !important;
  }

  .btn-login {
    display: none !important;
  }

  /* Category Scrollbar Nav */
  .cat-nav {
    height: 38px;
  }

  .cat-nav__inner {
    gap: 4px;
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .cat-nav__link {
    font-size: 12.5px;
    padding: 0 8px;
  }

  .cat-nav__link--business {
    margin-left: auto;
    padding: 0 8px;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .logo__img {
    height: 32px;
  }

  .header-actions {
    gap: 2px;
  }

  .main-header__inner {
    column-gap: 8px;
  }
}

/* ===========================
   MOBILE BOTTOM STICKY NAVBAR
   =========================== */

/* Hidden on desktop by default */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 1024px) {
  .cat-nav {
    display: none !important;
  }

  .catalog-dropdown {
    display: none !important;
    /* Disable desktop dropdown container on mobile */
  }

  body {
    padding-bottom: 60px;
    /* offset for sticky navbar */
  }

  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background: #fff;
    border-top: 1.5px solid #f0f0f0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 999;
    padding: 2px 8px 4px 8px;
  }

  .mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #666;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    padding: 4px 8px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-nav__item:active {
    color: #e31e24;
  }

  .mobile-bottom-nav__item .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.6;
  }

  .mobile-bottom-nav__item--active {
    color: #e31e24;
  }

  .mobile-bottom-nav__icon-wrap {
    position: relative;
    display: flex;
  }

  .mobile-bottom-nav__badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #e31e24;
    color: #fff;
    font-size: 8.5px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    border: 1px solid #fff;
  }
}

/* ===========================
   HERO BANNER
   =========================== */
.hero-banner-sec {
  padding: 24px 0 12px 0;
}

.hero-banner-sec .container {
  padding-left: 0;
  padding-right: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #1f1f24 0%, #111113 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 56px 64px;
}

.hero-slider__slide--link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.hero-slider__slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-slider__slide-bg--video {
  object-fit: cover;
  pointer-events: none;
}

.hero-slider__content {
  position: absolute;
  z-index: 5;
  width: min(55%, 760px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

@media (min-width: 481px) {
  .hero-slider__content--desktop-top-left {
    top: 12%;
    left: 7%;
  }

  .hero-slider__content--desktop-top-center {
    top: 12%;
    left: 50%;
    align-items: center;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-slider__content--desktop-top-right {
    top: 12%;
    right: 7%;
    align-items: flex-end;
    text-align: right;
  }

  .hero-slider__content--desktop-center-left {
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
  }

  .hero-slider__content--desktop-center {
    top: 50%;
    left: 50%;
    align-items: center;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .hero-slider__content--desktop-center-right {
    top: 50%;
    right: 7%;
    align-items: flex-end;
    transform: translateY(-50%);
    text-align: right;
  }

  .hero-slider__content--desktop-bottom-left {
    bottom: 12%;
    left: 7%;
  }

  .hero-slider__content--desktop-bottom-center {
    bottom: 12%;
    left: 50%;
    align-items: center;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-slider__content--desktop-bottom-right {
    right: 7%;
    bottom: 12%;
    align-items: flex-end;
    text-align: right;
  }
}

.hero-slider__title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-slider__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 32px;
}

.hero-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: #e31e24;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(227, 30, 36, 0.3);
  text-decoration: none;
}

.hero-slider__btn:hover {
  background: #c01a1f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
}

.hero-slider__btn:active {
  transform: translateY(1px);
}

.hero-slider__btn--light {
  background: #fff;
  color: #15161a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.hero-slider__btn--light:hover {
  background: #f1f1f2;
  color: #15161a;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.hero-slider__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(12, 13, 16, 0.22);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.hero-slider__btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.hero-slider__pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.hero-slider__dot.active {
  background: #e31e24;
  width: 24px;
}

/* RESPONSIVE HERO SLIDER */
@media (max-width: 1024px) {
  .hero-slider {
    height: 190px;
    border-radius: 20px;
  }

  .hero-slider__slide {
    padding: 24px 28px;
  }

  .hero-slider__content {
    width: min(80%, 620px);
  }

  .hero-slider__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .hero-slider__subtitle {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .hero-slider__btn {
    height: 32px;
    padding: 0 16px;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.2);
  }

  .hero-slider__pagination {
    bottom: 12px;
  }

  .hero-slider__dot {
    width: 6px;
    height: 6px;
  }

  .hero-slider__dot.active {
    width: 16px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 170px;
  }

  .hero-slider__slide {
    padding: 16px 20px;
  }

  .hero-slider__content {
    width: 78%;
  }

  .hero-slider__content--mobile-top-left {
    top: 10%;
    left: 8%;
  }

  .hero-slider__content--mobile-top-center {
    top: 10%;
    left: 50%;
    align-items: center;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-slider__content--mobile-top-right {
    top: 10%;
    right: 8%;
    align-items: flex-end;
    text-align: right;
  }

  .hero-slider__content--mobile-center-left {
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
  }

  .hero-slider__content--mobile-center {
    top: 50%;
    left: 50%;
    align-items: center;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .hero-slider__content--mobile-center-right {
    top: 50%;
    right: 8%;
    align-items: flex-end;
    transform: translateY(-50%);
    text-align: right;
  }

  .hero-slider__content--mobile-bottom-left {
    bottom: 16%;
    left: 8%;
  }

  .hero-slider__content--mobile-bottom-center {
    bottom: 16%;
    left: 50%;
    align-items: center;
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-slider__content--mobile-bottom-right {
    right: 8%;
    bottom: 16%;
    align-items: flex-end;
    text-align: right;
  }
}

/* ===========================
   CATEGORIES SECTION & TILES (DESKTOP)
   =========================== */
.categories-sec {
  padding: 24px 0 16px 0;
  background: transparent;
}

.categories-sec__wrap {
  position: relative;
  background: #141416;
  border-radius: 24px;
  padding: 20px 20px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.categories-sec__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s, opacity 0.2s;
  color: #ffffff;
  opacity: 1;
}

.categories-sec__arrow:hover {
  background: #e31e24;
  border-color: #e31e24;
  box-shadow: 0 4px 16px rgba(227, 30, 36, 0.35);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.categories-sec__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.categories-sec__arrow--prev {
  left: 12px;
}

.categories-sec__arrow--next {
  right: 12px;
}

.categories-sec__arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.categories-sec__arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .categories-sec__wrap {
    border-radius: 20px;
    padding: 16px 12px 16px 12px;
  }

  .categories-sec__arrow {
    display: none;
  }
}

.categories-sec__title {
  margin-bottom: 22px;
}

.categories-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-top: 4px;
  margin-top: 0;
  padding-bottom: 4px;
  margin-bottom: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.category-tile {
  flex-shrink: 0;
  width: 180px;
  /* Increased from 165px */
  height: 180px;
  /* Increased from 165px */
  background: #eff0f2;
  /* Soft clean gray */
  border: 1px solid #e1e3e6;
  /* Subtle soft border */
  border-radius: 16px;
  padding: 18px;
  /* Slightly more padding for larger tile */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  scroll-snap-align: start;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  overflow: hidden;
}

.category-tile__bg-image {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 68%;
  height: 68%;
  color: #fff;
  /* Keep product photography true to source; tile text and arrow already sit above it. */
  opacity: 1;
  transition: transform .2s;
}

.category-tile:hover {
  background: #ffffff;
  /* Pure white highlight on hover */
  border-color: #e31e24;
  /* Brand red border highlight */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.category-tile:hover .category-tile__bg-image {
  transform: scale(1.06) rotate(-3deg);
}

.category-tile__name {
  font-size: 15px;
  /* Increased from 13.5px */
  font-weight: 600;
  /* Sleek medium weight */
  color: #111111;
  /* Dark text for contrast on #eff0f2 */
  letter-spacing: 0.1px;
  /* Tighter letter spacing for standard case */
  line-height: 1.4;
  transition: color 0.2s;
}

.category-tile:hover .category-tile__name {
  color: #000000;
}

.category-tile__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #141416;
  /* Dark arrow background */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  /* White arrow */
  margin-top: 16px;
  align-self: flex-end;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

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

.category-tile:hover .category-tile__arrow {
  background: #e31e24;
  /* Red highlight on hover */
  color: #fff;
  transform: scale(1.08);
}

.scroll-spacer {
  display: none;
}

/* ===========================
   PRODUCT SECTION & CARDS
   =========================== */
.products-sec {
  padding: 32px 0;
  background: #f4f5f6;
}

.sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.sec-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.3px;
}

.sec-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e31e24;
  transition: color 0.2s;
}

.sec-link:hover {
  color: #c01a1f;
}

.sec-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.sec-link:hover .icon {
  transform: translateX(3px);
}

/* Grid layout (5 columns) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* Product Card Base */
.product-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  height: 300px;
  overflow: hidden;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border-color: #dcdcdc;
}

@keyframes product-skeleton-pulse {

  0%,
  100% {
    opacity: .58;
  }

  50% {
    opacity: 1;
  }
}

.product-card--skeleton {
  cursor: default;
  pointer-events: none;
}

/* The legacy server HTML is never allowed to flash before current API data.
   main.js replaces it with neutral skeletons as soon as it is ready. */
.products-grid[aria-busy="true"] > .product-card:not(.product-card--skeleton) {
  visibility: hidden;
}

.product-card--skeleton:hover {
  transform: none;
  border-color: #eaeaea;
  box-shadow: none;
}

.product-skeleton-shape {
  animation: product-skeleton-pulse 1.35s ease-in-out infinite;
  background: #eceef1;
}

.product-card--skeleton .product-card__gallery {
  display: block;
  background: #eceef1;
}

.product-skeleton__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.product-skeleton__meta span {
  width: 42%;
  height: 11px;
  border-radius: 999px;
}

.product-skeleton__title {
  width: 92%;
  height: 14px;
  margin-bottom: 9px;
  border-radius: 6px;
}

.product-skeleton__title--short {
  width: 65%;
}

.product-skeleton__price {
  width: 44%;
  height: 20px;
  margin-top: auto;
  border-radius: 7px;
}

.catalog-load-state {
  grid-column: 1 / -1;
  min-height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid #e5e6e8;
  border-radius: 16px;
  background: #fff;
  color: #202124;
}

.catalog-load-state__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff0f1;
  color: #e31e24;
  font-weight: 750;
}

.catalog-load-state>span:not(.catalog-load-state__icon) {
  display: grid;
  gap: 4px;
}

.catalog-load-state b {
  font-size: 14px;
}

.catalog-load-state small {
  color: #777a80;
  font-size: 12px;
}

.catalog-load-state button {
  min-height: 38px;
  margin-left: 12px;
  padding: 0 17px;
  border: 0;
  border-radius: 10px;
  background: #17191d;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 600px) {
  .catalog-load-state {
    flex-direction: column;
    text-align: center;
  }

  .catalog-load-state button {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .product-skeleton-shape,
  .catalog-dropdown__spinner {
    animation: none;
  }
}

/* Gallery Area — flush with top of card, aspect-ratio 3/4 */
.product-card__gallery {
  position: relative;
  width: calc(100% + 32px);
  aspect-ratio: 4 / 3;
  background: #fcfcfc;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: -16px -16px 14px -16px;
  flex-shrink: 0;
}

/* Vector SVG styles */
.product-card__img-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 0.3s ease;
}

.product-image-placeholder {
  width: 34px;
  height: 34px;
  color: #d7dbe0;
}

.product-image-placeholder--small {
  width: 20px !important;
  height: 20px !important;
}

.product-image-placeholder--detail {
  width: 46px !important;
  height: 46px !important;
  color: #d7dbe0 !important;
}

.product-card:hover .product-card__img-svg {
  transform: scale(1.05) rotate(1deg);
}

.stroke-brand {
  stroke: #e31e24;
}

.stroke-dark {
  stroke: #1a1a1a;
}

.stroke-muted {
  stroke: #ccc;
}

/* Badges */
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #17191d;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 10;
}

.product-badge--discount {
  background: #e31e24;
}

/* Hover action buttons (Fav / Compare) */
.product-card__actions {
  position: absolute;
  top: 10px;
  right: -40px;
  /* Hidden on right */
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: right 0.25s ease;
  z-index: 10;
}

.product-card:hover .product-card__actions {
  right: 10px;
  /* Slide in on hover */
}

.product-action-btn {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.product-action-btn:hover {
  background: #f5f5f5;
  color: #e31e24;
  border-color: #e31e24;
}

/* Once a product is saved, the red glyph is the state signal. Do not retain a
   second grey ring around the active action on either desktop or mobile. */
.product-action-btn.is-active,
.product-action-btn.is-active:hover {
  background: #fff;
  border-color: transparent;
  color: #e31e24;
  box-shadow: none;
}

.product-action-btn:focus-visible {
  outline: 2px solid #e31e24;
  outline-offset: 2px;
}

.product-action-btn svg {
  width: 15px;
  height: 15px;
}

/* Product Info — defined above in gallery section */

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1a1a1a;
}

.product-rating .icon-star {
  width: 12px;
  height: 12px;
  color: #1a1a1a;
  /* Changed from yellow to black */
}

.product-rating__count {
  color: #999;
  font-weight: 400;
}

.product-rating--empty {
  color: #8a9099;
  gap: 5px;
}

.product-rating--empty .icon-star {
  color: #a7adb5;
}

.product-rating__empty {
  color: #777e87;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

/* Stock status */
.product-stock {
  font-size: 11px;
  font-weight: 400;
  color: #666;
  /* Subtle dark gray */
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-stock--in {
  color: #1a1a1a;
  /* Changed from green to black */
}

.product-card .product-stock--in {
  display: none;
}

.product-stock--in::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #e31e24;
  /* Brand red dot */
  border-radius: 50%;
  display: inline-block;
}

/* Title */
.product-card__title {
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 8px;
  height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.product-card:hover .product-card__title {
  color: #e31e24;
}

/* Inline Tech specs */
.product-specs-inline {
  font-size: 11.5px;
  color: #777;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 14px;
}

/* Footer / Pricing & Cart */
.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Keep actual prices on the same bottom baseline */
  gap: 2px;
  height: 34px;
  /* Fixed height handles layout when old price is missing */
}

.product-price__actual {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}

.product-price__old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

/* Cart Button (hidden by default on desktop) */
.product-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: background 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s, box-shadow 0.2s;
}

.product-cart-btn .icon {
  width: 16px;
  height: 16px;
}

/* Hover effect on entire card reveals the cart button */
.product-card:hover .product-cart-btn {
  opacity: 1;
  pointer-events: auto;
  background: #e31e24;
  color: #fff;
  box-shadow: none;
  transform: scale(1);
}

/* Keep the revealed cart action flat and solid instead of glowing. */
.product-cart-btn:hover {
  background: #e31e24 !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: scale(1) !important;
}

/* ===========================
   EDUCATIONAL VIDEOS (DESKTOP)
   =========================== */
.videos-sec {
  padding: 32px 0;
  background: #f4f5f6;
}

.videos-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  /* Match product grid gap exactly */
  padding-top: 8px;
  /* Buffer for hover lift */
  margin-top: -8px;
  padding-bottom: 20px;
  /* Buffer for hover shadow */
  margin-bottom: -20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.video-card {
  flex-shrink: 0;
  width: calc((100% - 80px) / 5);
  /* Match product card width exactly (5 columns layout) */
  aspect-ratio: 9 / 16;
  /* Standard vertical video format */
  background: linear-gradient(135deg, #1f1f21, #0f0f10);
  /* Dark screen mockup */
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #262626;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-color: #3a3a3a;
}

.video-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-card:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .35);
  outline-offset: 3px;
}

/* Duration tag */
.video-card__duration {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 7px;
  border-radius: 6px;
  z-index: 10;
}

/* Center play icon */
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 5;
}

.video-card__play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  /* Center optical offset */
}

.video-card:hover .video-card__play {
  background: #e31e24;
  /* Turns brand red on hover */
  transform: translate(-50%, -50%) scale(1.1);
}

/* Overlay gradient for text legibility */
.video-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 16px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 4;
}

.video-card__title {
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===========================
   HOMEPAGE PHOTO GALLERY
   =========================== */
.home-gallery {
  padding: 14px 0 42px;
  background: #f4f5f6;
}

.home-gallery__head {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px;
}

.home-gallery__all {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(165px, 14.2vw, 248px));
  gap: 12px;
}

.home-gallery__item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #eceef0;
  cursor: zoom-in;
  isolation: isolate;
  transition: border-color .18s ease;
}

.home-gallery__image {
  display: block;
}

.home-gallery__item:hover {
  border-color: #e31e24;
}

.home-gallery__item:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .45);
  outline-offset: 3px;
}

.home-gallery__item--preview-1 {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.home-gallery__item--preview-2 {
  grid-column: 6 / span 4;
  grid-row: 1;
}

.home-gallery__item--preview-3 {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.home-gallery__item--preview-4 {
  grid-column: 6 / span 3;
  grid-row: 2;
}

.home-gallery__item--preview-5 {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.home-gallery__item:only-child {
  grid-column: 1 / -1;
  grid-row: 1 / span 2;
}

.home-gallery-lightbox[hidden] {
  display: none;
}

.home-gallery-is-open {
  overflow: hidden;
}

.home-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: block;
  padding: 0;
  background: #f4f5f6;
}

.home-gallery-lightbox__backdrop {
  display: none;
}

.home-gallery-lightbox__dialog {
  position: relative;
  width: min(100%, 1440px);
  height: 100dvh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.home-gallery-lightbox__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px 76px 10px 24px;
  border-bottom: 1px solid #dfe2e4;
  background: #fff;
}

.home-gallery-lightbox__header strong {
  font-size: 16px;
  color: #17191c;
}

.home-gallery-lightbox__tabs {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-gallery-lightbox__tabs::-webkit-scrollbar {
  display: none;
}

.home-gallery-lightbox__tabs button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d5d9dc;
  border-radius: 999px;
  background: #fff;
  color: #62676d;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

.home-gallery-lightbox__tabs button[aria-selected="true"] {
  border-color: #17191c;
  background: #17191c;
  color: #fff;
}

.home-gallery-lightbox__stage {
  min-height: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: stretch;
  background: #eef0f2;
}

.home-gallery-lightbox__viewport {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #eef0f2;
  scrollbar-width: none;
  touch-action: pan-x;
}

.home-gallery-lightbox__viewport::-webkit-scrollbar {
  display: none;
}

.home-gallery-viewer__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  scroll-snap-align: center;
  background: #eef0f2;
}

.home-gallery-viewer__card {
  width: min(100%, 820px);
  max-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
}

.home-gallery-viewer__card.is-portrait {
  width: min(100%, 440px);
}

.home-gallery-viewer__card.is-square {
  width: min(100%, 620px);
}

.home-gallery-viewer__media {
  position: relative;
  width: min(62vw, calc((100dvh - 286px) * 4 / 3), 800px);
  max-width: 100%;
  max-height: calc(100dvh - 286px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: #e5e8ea;
}

.home-gallery-viewer__media.is-portrait {
  width: min(34vw, calc((100dvh - 286px) * 3 / 4), 420px);
  aspect-ratio: 3 / 4;
}

.home-gallery-viewer__media.is-square {
  width: min(48vw, calc(100dvh - 286px), 600px);
  aspect-ratio: 1;
}

.home-gallery-viewer__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-gallery-viewer__media.is-contained .home-gallery-viewer__image {
  object-fit: contain;
}

.home-gallery-viewer__caption { width: min(100%, 800px);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 2px 0;
  color: #17191c;
}

.home-gallery-viewer__caption.is-empty {
  display: none;
}

.home-gallery-viewer__caption>div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-gallery-viewer__caption strong {
  font-size: 16px;
  line-height: 1.15;
}

.home-gallery-viewer__caption span {
  color: #70757a;
  font-size: 13px;
  line-height: 1.35;
}

.home-gallery-viewer__caption small {
  flex: 0 0 auto;
  color: #70757a;
  font-size: 12px;
  font-weight: 700;
}

.home-gallery-lightbox__nav {
  align-self: center;
  justify-self: center;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d5d9dc;
  border-radius: 50%;
  background: #fff;
  color: #17191c;
  font-size: 20px;
  cursor: pointer;
}

.home-gallery-lightbox__nav:hover {
  border-color: #e31e24;
  color: #e31e24;
}

.home-gallery-lightbox.has-single-image .home-gallery-lightbox__nav {
  visibility: hidden;
}

.home-gallery-lightbox.is-vertical .home-gallery-lightbox__stage {
  grid-template-columns: minmax(0, 1fr);
}

.home-gallery-lightbox.is-vertical .home-gallery-lightbox__nav {
  display: none;
}

.home-gallery-lightbox.is-vertical .home-gallery-lightbox__viewport {
  display: block;
  padding: 24px 16px 36px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y proximity;
  touch-action: pan-y;
}

.home-gallery-lightbox.is-vertical .home-gallery-viewer__slide {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0 0 16px;
  padding: 0;
  scroll-snap-align: start;
  overflow: visible;
}

.home-gallery-lightbox.is-vertical .home-gallery-viewer__card {
  align-content: start;
}

.home-gallery-lightbox.is-vertical .home-gallery-viewer__media {
  width: min(100%, 680px);
  max-height: none;
}

.home-gallery-lightbox.is-vertical .home-gallery-viewer__media.is-portrait {
  width: min(76vw, 420px);
}

.home-gallery-lightbox.is-vertical .home-gallery-viewer__media.is-square {
  width: min(88vw, 560px);
}

.home-gallery-viewer__empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #6b7075;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
}

.home-gallery-lightbox__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 10px 24px;
  border-top: 1px solid #dfe2e4;
  background: #fff;
}

.home-gallery-lightbox__position {
  flex: 0 0 auto;
  min-width: 38px;
  color: #6b7075;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.home-gallery-lightbox__thumbs {
  max-width: 100%;
  display: flex;
  gap: 7px;
  padding: 0;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  scrollbar-width: none;
}

.home-gallery-lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.home-gallery-lightbox__thumb {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #e5e7e9;
  cursor: pointer;
  opacity: .65;
  transition: opacity .18s ease, border-color .18s ease;
}

.home-gallery-lightbox__thumb:hover {
  opacity: 1;
}

.home-gallery-lightbox__thumb.is-active {
  border-color: #e31e24;
  opacity: 1;
}

.home-gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-gallery-lightbox__close {
  position: absolute;
  top: 17px;
  right: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d5d9dc;
  border-radius: 50%;
  background: #fff;
  color: #17191c;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.home-gallery-lightbox__close:hover {
  border-color: #e31e24;
  color: #e31e24;
}

/* ===========================
   FEATURES SECTION (DESKTOP)
   =========================== */
.features-sec {
  padding: 32px 0 16px 0;
  background: transparent;
  border-top: none;
}

/* About ROKIT infographic */
.about-sec {
  padding: 52px 0 84px;
  background: #f4f5f6;
  scroll-margin-top: 110px;
}

.about-sec--home-hidden {
  display: none;
}

.about-page .about-sec {
  min-height: calc(100vh - 190px);
}

.about-page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f4f5f6;
  border-bottom: 1px solid #dedfe1;
}

.about-page-header__inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.about-page-header__logo {
  display: block;
  width: 190px;
  margin-right: auto;
}

.about-page-header__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-page-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: #55585c;
}

.about-page-header__nav a:hover,
.about-page-header__nav a.is-active {
  color: #ed1c24;
}

.about-page-header__phone {
  font-size: 14px;
  font-weight: 700;
}

.about-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background: #171717;
  color: #fff;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 650;
}

.about-page-back svg {
  width: 15px;
  height: 15px;
}

.about-page-crumbs {
  padding: 17px 0;
  background: #eef0f2;
  color: #777;
  font-size: 12px;
}

.about-page-crumbs a:hover {
  color: #ed1c24;
}

.about-page-footer {
  padding: 30px 0;
  color: #b7b7b7;
  background: #171717;
}

.about-page-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.about-sign {
  grid-template-columns: 48px 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 0;
}

.about-sign span {
  align-self: end;
  line-height: 1.05;
}

.about-sign small {
  align-self: start;
  line-height: 1.05;
  margin-top: 2px;
}

.about-sign__picture {
  width: 48px;
  height: 48px;
  grid-row: span 2;
}

.about-sign__photo {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 48% 18%;
  border: 2px solid rgba(255, 255, 255, .72);
  box-shadow: none;
}

@media (max-width: 760px) {
  .about-page-header__inner {
    height: 72px;
  }

  .about-page-header__logo {
    width: 145px;
  }

  .about-page-header__nav,
  .about-page-header__phone {
    display: none;
  }

  .about-page-back {
    margin-left: auto;
  }

  .about-page-footer__inner {
    flex-direction: column;
  }
}

/* Dealers page */
.dealers-sec {
  padding: 66px 0 86px;
  background: #f4f5f6;
}

.dealers-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  margin-bottom: 22px;
}

.dealers-hero__main,
.dealers-hero__side {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.14);
}

.dealers-hero__main {
  min-height: 320px;
  padding: 38px 40px;
  position: relative;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(155deg, #18191d 0%, #111113 100%);
}

.dealers-hero__main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.dealers-hero__main>* {
  position: relative;
  z-index: 1;
}

.dealers-kicker {
  display: inline-flex;
  align-items: center;
  color: #ff3b42;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(227, 30, 36, 0.12);
  border: 1px solid rgba(227, 30, 36, 0.28);
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}

.dealers-title {
  max-width: 52%;
  margin: 0 0 14px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
  color: #ffffff;
}

.dealers-hero__main p {
  max-width: min(54%, 460px);
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.55;
}

.dealers-globe {
  position: absolute !important;
  z-index: 0 !important;
  top: 50%;
  right: 8px;
  width: min(47%, 350px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  touch-action: none;
  cursor: grab;
  user-select: none;
}

.dealers-globe.is-dragging {
  cursor: grabbing;
}

.dealers-globe__canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.dealers-globe.is-ready .dealers-globe__canvas {
  opacity: 1;
}

.dealers-globe__pulse {
  position: absolute;
  position-anchor: var(--pulse-anchor);
  bottom: anchor(center);
  left: anchor(center);
  width: 38px;
  height: 38px;
  border: 2px solid rgba(237, 28, 36, .92);
  border-radius: 50%;
  translate: -50% 50%;
  opacity: var(--pulse-visible, 0);
  filter: blur(calc((1 - var(--pulse-visible, 0)) * 8px));
  pointer-events: none;
  animation: dealers-globe-pulse 2s ease-out infinite;
}

.dealers-globe__pulse::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: inherit;
}

.dealers-globe__pulse[data-marker="barnaul"] {
  --pulse-anchor: --cobe-barnaul;
  --pulse-visible: var(--cobe-visible-barnaul, 0);
  animation-delay: 0s;
}

.dealers-globe__pulse[data-marker="moscow"] {
  --pulse-anchor: --cobe-moscow;
  --pulse-visible: var(--cobe-visible-moscow, 0);
  animation-delay: .5s;
}

.dealers-globe__pulse[data-marker="novosibirsk"] {
  --pulse-anchor: --cobe-novosibirsk;
  --pulse-visible: var(--cobe-visible-novosibirsk, 0);
  animation-delay: 1s;
}

.dealers-globe__pulse[data-marker="vladivostok"] {
  --pulse-anchor: --cobe-vladivostok;
  --pulse-visible: var(--cobe-visible-vladivostok, 0);
  animation-delay: 1.5s;
}

@keyframes dealers-globe-pulse {
  from {
    transform: scale(.3);
    opacity: .8;
  }

  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

.dealers-hero__side {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ed1c24;
  color: #fff;
}

.dealers-hero__side svg {
  width: 48px;
  height: 48px;
  opacity: .95;
}

.dealers-hero__side h2 {
  margin: 28px 0 9px;
  font-size: 22px;
  line-height: 1.16;
}

.dealers-hero__side p {
  font-size: 13px;
  line-height: 1.5;
  opacity: .84;
}

.dealers-hero__side a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 40px;
  padding: 0 15px;
  margin-top: 19px;
  background: #fff;
  color: #d5131a;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.dealers-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 18px;
}

.dealers-tools h2 {
  margin-right: auto;
  font-size: 24px;
}

.dealers-search {
  position: relative;
  width: min(330px, 100%);
}

.dealers-search svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  color: #8a8c90;
  transform: translateY(-50%);
}

.dealers-search input {
  width: 100%;
  height: 42px;
  padding: 0 13px 0 38px;
  border: 1px solid #dedfe1;
  border-radius: 11px;
  outline: none;
  background: #fff;
  font: inherit;
  font-size: 13px;
}

.dealers-search input:focus {
  border-color: #ed1c24;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, .09);
}

.dealers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dealer-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 23px;
  border: 1px solid #e1e2e3;
  border-radius: 18px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}

.dealer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .06);
}

.dealer-card[hidden] {
  display: none;
}

.dealer-card__place {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ed1c24;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dealer-card__place svg {
  width: 15px;
  height: 15px;
}

.dealer-card h3 {
  margin: 13px 0 6px;
  font-size: 19px;
  line-height: 1.2;
}

.dealer-card__type {
  min-height: 34px;
  color: #777a7e;
  font-size: 12px;
  line-height: 1.4;
}

.dealer-card__contacts {
  display: grid;
  gap: 7px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  color: #55575a;
  font-size: 12px;
  line-height: 1.42;
}

.dealer-card__contacts a {
  color: #1d1e20;
  font-weight: 600;
}

.dealer-card__contacts a:hover {
  color: #ed1c24;
}

.dealer-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.dealer-card__actions a {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 8px;
  background: #f3f4f5;
  font-size: 11px;
  font-weight: 650;
}

.dealer-card__actions a:hover {
  background: #ed1c24;
  color: #fff;
}

.dealer-card__actions svg {
  width: 13px;
  height: 13px;
}

.dealers-note {
  margin-top: 30px;
  padding: 21px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5f6266;
  background: #eef0f2;
}

.dealers-note svg {
  width: 28px;
  height: 28px;
  color: #ed1c24;
  flex: none;
}

.dealers-note strong {
  display: block;
  margin-bottom: 3px;
  color: #1d1e20;
  font-size: 14px;
}

.dealers-note p {
  font-size: 12px;
  line-height: 1.45;
}

.dealers-note a {
  color: #ed1c24;
  font-weight: 700;
}

.dealers-note__contacts { display: grid;
  gap: 5px;
  margin-top: 8px;
}

.dealers-note__contacts a {
  display: block;
  width: fit-content;
  white-space: nowrap;
}

.makers-sec {
  padding-top: 58px;
}

.makers-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 20px;
}

.makers-head h2 {
  font-size: 28px;
}

.makers-head p {
  max-width: 455px;
  color: #6b6d71;
  font-size: 13px;
  line-height: 1.5;
}

.makers-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.maker-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid #e0e1e2;
  border-radius: 13px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.maker-item:hover {
  border-color: #bfc2c6;
  box-shadow: 0 9px 18px rgba(20, 22, 25, .05);
}

.maker-item strong {
  color: #202226;
  font-size: 14px;
  line-height: 1.2;
}

.maker-item span {
  color: #85888e;
  font-size: 11px;
  line-height: 1.2;
}

.maker-item a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 3px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f2f3;
  color: #242629;
  font-size: 10px;
  font-weight: 700;
}

.maker-item a:hover {
  background: #ed1c24;
  color: #fff;
}

@media (max-width: 900px) {

  .dealers-grid,
  .makers-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .dealers-hero {
    grid-template-columns: 1fr;
  }

  .dealers-hero__side {
    min-height: 185px;
  }

  .dealers-hero__side h2 {
    margin-top: 15px;
  }
}

@media (max-width: 600px) {
  .dealers-sec {
    padding: 42px 0 60px;
  }

  .dealers-hero__main {
    min-height: 390px;
    padding: 25px;
  }

  .dealers-hero__main p,
  .dealers-title {
    max-width: 100%;
  }

  .dealers-globe {
    top: auto;
    right: -18px;
    bottom: -58px;
    width: 255px;
    transform: none;
    opacity: .9;
  }

  .dealers-tools,
  .makers-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .dealers-search {
    width: 100%;
  }

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

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

  .maker-item {
    min-height: 62px;
    padding: 12px;
  }

  .maker-item strong {
    font-size: 12px;
  }

  .maker-item span {
    font-size: 10px;
  }

  .dealers-note {
    align-items: flex-start;
  }

  .dealers-title {
    font-size: 39px;
  }
}

.about-head {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 54px;
  min-height: 340px;
  margin-bottom: 16px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  background: #111112;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.about-head::after {
  content: "";
  position: absolute;
  top: -210px;
  right: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(237, 28, 36, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(237, 28, 36, .08), 0 0 0 116px rgba(255, 255, 255, .035);
  pointer-events: none;
}

.about-head > * {
  position: relative;
  z-index: 1;
}

.about-head__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #ff343b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-head__label::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.about-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
  white-space: pre-line;
}

.about-intro {
  max-width: 560px;
  margin: 0;
  color: #b3b6bf;
  font-size: 17px;
  line-height: 1.65;
}

.about-head__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.about-head__signal span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.about-head__signal i {
  width: 18px;
  height: 1px;
  flex: 0 0 18px;
  background: #ed1c24;
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 14px;
}

.about-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 26px;
  background: #fff;
  border: 1px solid #e4e5e6;
  border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  border-color: #d4d5d6;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .07);
}

.about-card h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.about-card p {
  color: #707277;
  font-size: 13px;
  line-height: 1.55;
}

.about-card--year {
  grid-column: span 2;
  min-height: 330px;
  background: #171717;
  color: #fff;
}

.about-card--year p {
  color: #a9aaad;
}

.about-year {
  position: relative;
  z-index: 2;
  margin: auto 0;
  font-size: clamp(60px, 7vw, 90px);
  font-weight: 750;
  letter-spacing: -.07em;
  color: #ed1c24;
}

.about-orbits {
  position: absolute;
  width: 270px;
  height: 270px;
  top: -82px;
  right: -90px;
  opacity: .65;
}

.about-orbits i {
  position: absolute;
  inset: 0;
  border: 1px solid #454545;
  border-radius: 50%;
}

.about-orbits i:nth-child(2) {
  inset: 30px;
  border-color: #7b2528;
}

.about-orbits i:nth-child(3) {
  inset: 62px;
  border-color: #ed1c24;
}

.about-card--factory {
  grid-column: span 2;
}

.about-icon-ring,
.about-support-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #dadbdd;
  border-radius: 50%;
  box-shadow: 0 0 0 8px #f7f7f8;
}

.about-icon-ring svg,
.about-support-icon svg {
  width: 24px;
  height: 24px;
  color: #ed1c24;
}

.about-production-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 7px;
  padding-top: 15px;
}

.about-production-flow>i {
  color: #c5c6c8;
  font-size: 14px;
  font-style: normal;
}

.about-production-step {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.about-production-step>span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dedfe1;
  border-radius: 11px;
  color: #ed1c24;
  background: #fafafa;
}

.about-production-step svg {
  width: 19px;
  height: 19px;
}

.about-production-step small {
  color: #6f7276;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.about-card--russia {
  grid-column: span 2;
  background: #f0f1f2;
}

.about-route {
  height: 125px;
  margin: 0 -10px;
}

.about-route svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.about-route path {
  fill: none;
  stroke: #ed1c24;
  stroke-width: 2;
  stroke-dasharray: 5 6;
}

.about-route circle {
  fill: #fff;
  stroke: #ed1c24;
  stroke-width: 3;
}

.about-card__bottom {
  display: flex;
  gap: 20px;
  align-items: end;
}

.about-card__emblem {
  width: 66px;
  height: 58px;
  margin-left: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .11;
}

.about-card--precision {
  grid-column: span 2;
  flex-direction: row;
  gap: 18px;
  align-items: end;
}

.about-target {
  position: relative;
  flex: 0 0 130px;
  height: 130px;
  display: grid;
  place-items: center;
}

.about-target i {
  position: absolute;
  border: 1px solid #d7d8da;
  border-radius: 50%;
}

.about-target i:nth-child(1) {
  inset: 0;
}

.about-target i:nth-child(2) {
  inset: 23px;
}

.about-target i:nth-child(3) {
  inset: 46px;
  border-color: #ed1c24;
}

.about-target b {
  width: 9px;
  height: 9px;
  background: #ed1c24;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(237, 28, 36, .1);
}

.about-card--support {
  grid-column: span 2;
}

.about-stat {
  display: block;
  color: #ed1c24;
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -.04em;
}

.about-card--quote {
  grid-column: span 2;
  background: #ed1c24;
  color: #fff;
}

.about-quote-mark {
  height: 38px;
  font-size: 62px;
  line-height: 1;
  opacity: .35;
}

.about-card--quote blockquote {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 550;
}

.about-sign {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.about-sign span {
  font-size: 12px;
  font-weight: 700;
}

.about-sign small {
  font-size: 10px;
  opacity: .72;
}

.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 38px;
}

.about-timeline__line {
  position: absolute;
  top: 7px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: #d4d5d6;
}

.about-timeline__item {
  position: relative;
  display: grid;
  gap: 12px;
  padding-top: 22px;
}

.about-timeline__item::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 11px;
  height: 11px;
  border: 3px solid #f4f5f6;
  border-radius: 50%;
  background: #ed1c24;
  box-shadow: 0 0 0 1px #ed1c24;
}

.about-timeline__item b {
  font-size: 14px;
}

.about-timeline__item span {
  max-width: 240px;
  color: #737579;
  font-size: 12px;
}

@media (max-width: 900px) {
  .about-head {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 32px;
  }

  .about-card {
    grid-column: span 3;
  }

  .about-card--year {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .about-sec {
    padding: 32px 0 58px;
  }

  .about-head {
    gap: 24px;
    padding: 26px 24px;
    border-radius: 22px;
  }

  .about-head__signal {
    flex-wrap: wrap;
    gap: 8px;
  }

  .about-head__signal i {
    width: 12px;
    flex-basis: 12px;
  }

  .about-bento {
    display: flex;
    flex-direction: column;
  }

  .about-card {
    min-height: 260px;
  }

  .about-card--russia {
    min-height: 320px;
    justify-content: flex-start;
    gap: 24px;
  }

  .about-card--russia .about-route {
    flex: 0 0 88px;
    width: 100%;
    height: 88px;
    margin: 0;
    overflow: hidden;
  }

  .about-card--russia .about-route svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .about-card--russia .about-card__bottom {
    position: relative;
    display: block;
    min-width: 0;
    margin-top: auto;
    padding-right: 58px;
  }

  .about-card--russia .about-card__bottom > div {
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .about-card--russia .about-card__emblem {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46px;
    height: 42px;
    margin: 0;
    opacity: .09;
  }

  .about-card--russia h3,
  .about-card--russia p {
    overflow-wrap: anywhere;
  }

  .about-card--precision {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-timeline {
    grid-template-columns: 1fr;
  }

  .about-timeline__line {
    top: 4px;
    bottom: 4px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .about-timeline__item {
    padding: 0 0 22px 28px;
  }

  .about-timeline__item::before {
    top: 3px;
    left: 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  background: linear-gradient(155deg, #18191d 0%, #111113 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 26px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 30, 36, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 24px rgba(227, 30, 36, 0.12);
}

.feature-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(227, 30, 36, 0.12);
  border: 1px solid rgba(227, 30, 36, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff3b42;
  box-shadow: 0 4px 14px rgba(227, 30, 36, 0.15);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.feature-card:hover .feature-card__icon-wrap {
  background: #e31e24;
  color: #ffffff;
  border-color: #e31e24;
  box-shadow: 0 6px 20px rgba(227, 30, 36, 0.45);
  transform: scale(1.08);
}

.feature-card__icon {
  width: 24px;
  height: 24px;
  transform-origin: center;
}

.feature-card:nth-child(1) .feature-card__icon {
  animation: feature-delivery-icon 5.5s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-card__icon {
  animation: feature-payment-icon 5.5s ease-in-out 1.1s infinite;
}

.feature-card:nth-child(3) .feature-card__icon {
  animation: feature-development-icon 5.5s ease-in-out 2.2s infinite;
}

@keyframes feature-delivery-icon {

  0%,
  14%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(3px);
  }

  36% {
    transform: translateX(-1px);
  }

  47% {
    transform: translateX(0);
  }
}

@keyframes feature-payment-icon {

  0%,
  14%,
  100% {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(-2px) scale(1.06);
  }

  36% {
    transform: translateY(1px) scale(.98);
  }

  47% {
    transform: translateY(0) scale(1);
  }
}

@keyframes feature-development-icon {

  0%,
  14%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(7deg);
  }

  36% {
    transform: rotate(-3deg);
  }

  47% {
    transform: rotate(0);
  }
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.3;
}

.feature-card__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card__icon {
    animation: none;
  }
}

/* ===========================
   SITE FOOTER (DESKTOP)
   =========================== */
.site-footer {
  background: #111112;
  /* Deep premium dark slate */
  color: #fff;
  width: 100%;
  max-width: 1232px;
  margin: 48px auto 32px auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.site-footer .container {
  padding-left: 28px;
  padding-right: 28px;
}

/* Payment and delivery information page */
.delivery-page {
  padding: 0;
  background: var(--bg-main, #f7f7f8);
}

.delivery-page + .site-footer {
  margin-top: 32px;
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 48px;
  align-items: center;
  margin-top: 32px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 28px;
  background: #111112;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.delivery-hero__eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #ff343b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.delivery-hero h1 {
  margin: 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.045em;
}

.delivery-hero p {
  max-width: 500px;
  margin: 0;
  color: #b3b6bf;
  font-size: 17px;
  line-height: 1.55;
}

.delivery-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.delivery-hero__facts span {
  position: relative;
  padding-left: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.delivery-hero__facts span::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ed1c24;
}

.delivery-section {
  padding: 64px 0 0;
}

.delivery-section:first-of-type { padding-top: 48px; }

.delivery-section__heading {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #e4e5e6;
  border-radius: 18px;
  background: #fff;
}

.delivery-section__label {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #17191f;
  font-size: 15px;
  font-weight: 700;
}

.delivery-section__number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: #ed1c24;
  color: #fff;
  font: 650 13px/1 "Roboto Mono", monospace;
}

.delivery-section__heading h2 {
  margin: 0;
  color: #17191f;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.delivery-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(330px, auto);
  gap: 14px;
}

.delivery-card, .delivery-wide-card, .delivery-carrier {
  position: relative;
  overflow: hidden;
  display: flex;
  min-width: 0;
  padding: 26px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e4e5e6;
  border-radius: 20px;
  background: #fff;
  color: #17191f;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.delivery-card:hover,
.delivery-wide-card:hover,
.delivery-carrier:hover {
  transform: translateY(-3px);
  border-color: #d4d5d6;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .07);
}

.delivery-bento--payments>* {
  grid-column: span 2;
}

.delivery-card__content {
  position: relative;
  z-index: 2;
}

.delivery-card__tag {
  color: #8a8f9a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.delivery-card h3,
.delivery-wide-card h3 {
  margin: 11px 0 8px;
  color: inherit;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.delivery-card p,
.delivery-wide-card p {
  margin: 0;
  color: #707277;
  font-size: 13px;
  line-height: 1.55;
}

.delivery-card p+p,
.delivery-wide-card p+p {
  margin-top: 10px;
}

.delivery-card__note {
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #e7e8e9;
  color: #ed1c24;
  font-size: 11px;
  line-height: 1.45;
}

.delivery-card--cash {
  background: #171717;
  color: #fff;
}

.delivery-card--cash p {
  color: #a9aaad;
}

.delivery-card--cash .delivery-card__tag,
.delivery-card--cash .delivery-card__note {
  color: #ff3138;
}

.delivery-card--cash .delivery-card__note {
  border-color: #343434;
}

.delivery-card__money {
  position: relative;
  z-index: 2;
  display: block;
  margin: auto 0;
  color: #ed1c24;
  font-size: 88px;
  font-weight: 750;
  line-height: .9;
  letter-spacing: -.07em;
}

.delivery-card__orbits {
  position: absolute;
  width: 270px;
  height: 270px;
  top: -82px;
  right: -90px;
  opacity: .65;
}

.delivery-card__orbits i {
  position: absolute;
  inset: 0;
  border: 1px solid #454545;
  border-radius: 50%;
}

.delivery-card__orbits i:nth-child(2) {
  inset: 30px;
  border-color: #7b2528;
}

.delivery-card__orbits i:nth-child(3) {
  inset: 62px;
  border-color: #ed1c24;
}

.delivery-icon-ring {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid #dadbdd;
  border-radius: 50%;
  color: #ed1c24;
  box-shadow: 0 0 0 8px #f7f7f8;
}

.delivery-icon-ring svg {
  width: 24px;
  height: 24px;
}

.delivery-card--invoice .delivery-card__content {
  margin-top: auto;
}

.delivery-wide-card--receipt {
  background: #f0f1f2;
}

.delivery-wide-card--receipt>div:last-child {
  margin-top: auto;
}

.delivery-bento--shipping {
  margin-top: 0;
}

.delivery-wide-card--accent {
  grid-column: span 2;
  background: #f0f1f2;
}

.delivery-wide-card--accent>div:last-child {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.delivery-route {
  height: 112px;
  margin: 0 -10px 16px;
}

.delivery-route svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.delivery-route path {
  fill: none;
  stroke: #ed1c24;
  stroke-width: 2;
  stroke-dasharray: 5 6;
}

.delivery-route circle {
  fill: #fff;
  stroke: #ed1c24;
  stroke-width: 3;
}

.delivery-carrier {
  grid-column: span 1;
  min-height: 330px;
  justify-content: flex-end;
}

.delivery-carrier::before {
  content: "↗";
  position: absolute;
  top: 26px;
  right: 26px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dedfe1;
  border-radius: 11px;
  color: #ed1c24;
  background: #fafafa;
  font-size: 18px;
}

.delivery-carrier strong {
  color: inherit;
  font-size: 18px;
  line-height: 1.2;
}

.delivery-carrier span {
  margin-top: 9px;
  color: #777d88;
  font-size: 12px;
  line-height: 1.45;
}

.delivery-carrier em {
  margin-top: 18px;
  color: #ed1c24;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.delivery-carrier--accent {
  border-color: #ed1c24;
  background: #ed1c24;
  color: #fff;
}

.delivery-carrier--accent::before {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.delivery-carrier--accent span,
.delivery-carrier--accent em {
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 900px) {
  .delivery-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 24px;
    padding: 32px;
  }

  .delivery-section__heading {
    grid-template-columns: minmax(160px, .4fr) minmax(0, 1fr);
  }

  .delivery-bento>* {
    grid-column: span 3;
  }

  .delivery-wide-card--receipt,
  .delivery-wide-card--accent {
    grid-column: span 6;
  }

}

@media (max-width: 600px) {
  .delivery-page {
    padding-bottom: 0;
  }

  .delivery-bento {
    display: flex;
    flex-direction: column;
  }

  .delivery-card,
  .delivery-wide-card {
    min-height: 260px;
  }

  .delivery-carrier {
    min-height: 220px;
  }

  .delivery-hero {
    gap: 24px;
    padding: 26px 24px;
    border-radius: 22px;
  }

  .delivery-hero__facts {
    grid-template-columns: 1fr;
  }

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

  .delivery-section:first-of-type {
    padding-top: 32px;
  }

  .delivery-section__heading {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  .delivery-section__heading h2 {
    font-size: 27px;
  }

  .delivery-card,
  .delivery-wide-card,
  .delivery-carrier {
    padding: 24px;
    border-radius: 18px;
  }
}

/* Footer Contacts Bar */
.footer-contacts-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
}

.footer-contacts-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: #e31e24;
  /* Brand red icons */
  flex-shrink: 0;
}

.footer-contact-item__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact-link,
.footer-contact-text {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-contact-link:hover {
  color: #e31e24;
}

.footer-contact-sublink {
  font-size: 12px;
  color: #888;
}

/* Social Buttons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials__title {
  font-size: 13.5px;
  font-weight: 500;
  color: #888;
}

.footer-socials__links {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #222224;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.social-btn svg {
  width: 14px;
  height: 14px;
}

.social-btn img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
}

.social-btn span {
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
}

.social-btn:hover {
  background: #e31e24;
  color: #fff;
  transform: translateY(-2px);
}

/* Footer Links Grid */
.footer-links-grid {
  padding: 48px 0;
  border-bottom: 1px solid #222224;
}

.footer-links-grid__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col--about {
  padding-right: 30px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo__img {
  height: 34px;
}

.footer-about-text {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-about-subtext {
  font-size: 11px;
  font-weight: 500;
  color: #666;
  margin: 0;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 13px;
  color: #999;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
}

.footer-links-list a:hover {
  color: #fff;
  padding-left: 2px;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding: 24px 0;
  font-size: 12.5px;
  color: #666;
}

.footer-bottom-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-bar__inner nav {
  display: flex;
  gap: 18px;
}

.footer-bottom-bar__inner nav a {
  color: #888;
  text-decoration: none;
  transition: color .15s ease;
}

.footer-bottom-bar__inner nav a:hover {
  color: #fff;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-copyright-link {
  color: #666;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-copyright-link:hover {
  color: #999;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-icon {
  color: #444;
  /* Clean monochrome style */
  transition: color 0.2s;
}

.payment-icon:hover {
  color: #888;
}

.mir-payment-logo {
  font-size: 11px;
  font-weight: 800;
  color: #444;
  letter-spacing: 0.5px;
  border: 1px solid #444;
  padding: 1px 5px;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.mir-payment-logo:hover {
  color: #888;
  border-color: #888;
}

@media (max-width: 1024px) {
  .products-sec {
    padding: 20px 0;
  }

  .sec-title {
    font-size: 18px;
  }

  /* Grid turns into horizontal swipeable carousel */
  .products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    /* Keep 16px padding on left snap point */
    scroll-padding-right: 16px;
    /* Keep 16px padding on right snap point */
    gap: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .scroll-spacer {
    display: block;
    width: 16px;
    /* Physical space at the end of mobile scroll */
    flex-shrink: 0;
    height: 1px;
  }

  .product-card {
    flex-shrink: 0;
    width: 180px;
    height: 270px;
    scroll-snap-align: start;
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
  }

  .product-card__gallery {
    width: calc(100% + 24px);
    aspect-ratio: 4 / 3;
    margin: -12px -12px 8px -12px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
  }

  .product-card__info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
  }

  .product-card__meta {
    margin-bottom: 4px;
  }

  .product-card__actions {
    right: 8px;
    top: 8px;
    /* Always visible on mobile instead of hover */
  }

  .product-action-btn {
    width: 28px;
    height: 28px;
  }

  .product-action-btn svg {
    width: 13px;
    height: 13px;
  }

  .product-card__title {
    font-size: 12px;
    line-height: 1.3;
    height: 32px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-specs-inline {
    font-size: 10.5px;
    margin-bottom: 8px;
  }

  .product-price__actual {
    font-size: 14.5px;
  }

  .product-price__old {
    font-size: 10.5px;
  }

  .product-cart-btn {
    width: 32px;
    height: 32px;
    background: #e31e24;
    /* Red by default on mobile */
    color: #fff;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) !important;
  }

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

/* ===========================
   RESPONSIVE CATEGORIES
   =========================== */
@media (max-width: 1024px) {
  .categories-sec {
    padding: 20px 0 10px 0;
  }

  .categories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    /* Keep 16px padding on left snap point */
    scroll-padding-right: 16px;
    /* Keep 16px padding on right snap point */
    gap: 10px;
    margin: -8px -16px -16px -16px;
    /* Compensate for hover top padding and bottom shadow spacing */
    padding: 8px 16px 16px 16px;
    /* Top and bottom buffer padding */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  /* Spacer rule is already declared globally for mobile above */

  .category-tile {
    flex-shrink: 0;
    width: 140px;
    /* Increased from 125px */
    height: 140px;
    /* Increased from 125px */
    padding: 14px;
    border-radius: 12px;
    scroll-snap-align: start;
    border: 1px solid #e1e3e6;
  }

  .category-tile__name {
    font-size: 12.5px;
    /* Increased from 11.5px */
    font-weight: 500;
    letter-spacing: 0.1px;
    line-height: 1.35;
  }

  .category-tile__arrow {
    width: 24px;
    height: 24px;
    margin-top: 8px;
  }

  .category-tile__arrow svg {
    width: 12px;
    height: 12px;
  }
}

/* ===========================
   RESPONSIVE VIDEOS (MOBILE)
   =========================== */
@media (max-width: 1024px) {
  .videos-sec {
    padding: 20px 0 16px 0;
  }

  .videos-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
    gap: 12px;
    margin: -8px -16px -16px -16px;
    padding: 8px 16px 16px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .video-card {
    width: 190px;
    /* Match mobile product card width exactly */
    height: auto;
    /* Let aspect-ratio dictate vertical height */
    border-radius: 12px;
  }

  .video-card__duration {
    top: 8px;
    right: 8px;
    font-size: 9.5px;
    padding: 2px 5px;
    border-radius: 4px;
  }

  .video-card__play {
    width: 38px;
    height: 38px;
  }

  .video-card__play svg {
    width: 12px;
    height: 12px;
  }

  .video-card__overlay {
    padding: 30px 10px 12px 10px;
  }

  .video-card__title {
    font-size: 11px;
    line-height: 1.35;
  }

  .home-gallery {
    padding-bottom: 24px;
  }

  .home-gallery__grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(118px, 21vw, 190px));
  }

  .home-gallery__item--preview-1 {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
  }

  .home-gallery__item--preview-2 {
    grid-column: 4 / span 2;
    grid-row: 1;
  }

  .home-gallery__item--preview-3 {
    grid-column: 6 / span 2;
    grid-row: 1;
  }

  .home-gallery__item--preview-4 {
    grid-column: 4 / span 2;
    grid-row: 2;
  }

  .home-gallery__item--preview-5 {
    grid-column: 6 / span 2;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  .home-gallery {
    padding: 8px 0 26px;
  }

  .home-gallery__head {
    margin-bottom: 14px;
  }

  .home-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, clamp(98px, 26vw, 138px));
    gap: 8px;
  }

  .home-gallery__item {
    border-radius: 11px;
  }

  .home-gallery__item--preview-1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .home-gallery__item--preview-2 {
    grid-column: 1;
    grid-row: 3;
  }

  .home-gallery__item--preview-3 {
    grid-column: 2;
    grid-row: 3;
  }

  .home-gallery__item--preview-4 {
    grid-column: 1;
    grid-row: 4;
  }

  .home-gallery__item--preview-5 {
    grid-column: 2;
    grid-row: 4;
  }

  .home-gallery-lightbox {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background: #eef0f2;
  }

  .home-gallery-lightbox__dialog { width: 100%; max-width: 100vw; height: 100svh; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }

  .home-gallery-lightbox__header {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    min-height: 0;
    padding: 10px 52px 9px 12px;
  }

  .home-gallery-lightbox__header strong {
    display: block;
    font-size: 14px;
  }

  .home-gallery-lightbox__tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 2px 0 0;
  }

  .home-gallery-lightbox__tabs button {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .home-gallery-lightbox__stage { width: 100%; max-width: 100vw; min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .home-gallery-lightbox__nav {
    display: none;
  }

  .home-gallery-lightbox__viewport { width: 100%; max-width: 100%; min-width: 0; min-height: 0; }

  .home-gallery-viewer__slide { width: 100%; max-width: 100vw; min-width: 100%;
    padding: 14px 12px 18px;
    place-items: start center; align-content: start; overflow: hidden; }

  .home-gallery-viewer__card,
  .home-gallery-viewer__card.is-portrait,
  .home-gallery-viewer__card.is-square {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    align-content: start;
    justify-items: center;
  }

  .home-gallery-viewer__media {
    width: 100%;
    max-width: 100%;
    max-height: none;
    border-radius: 13px;
  }

  .home-gallery-viewer__media.is-portrait {
    width: min(78vw, 360px);
    max-width: 100%;
  }

  .home-gallery-viewer__media.is-square {
    width: min(88vw, 400px);
    max-width: 100%;
  }

  .home-gallery-viewer__caption {
    padding: 10px 1px 0;
  }

  .home-gallery-viewer__card.is-portrait .home-gallery-viewer__caption {
    width: min(78vw, 360px);
  }

  .home-gallery-viewer__card.is-square .home-gallery-viewer__caption {
    width: min(88vw, 400px);
  }

  .home-gallery-viewer__caption strong {
    font-size: 14px;
  }

  .home-gallery-viewer__caption span {
    font-size: 12px;
  }

  .home-gallery-viewer__caption small {
    font-size: 11px;
  }

  .home-gallery-lightbox.is-vertical .home-gallery-lightbox__viewport { width: 100%; padding: 12px 10px 24px; }

  .home-gallery-lightbox.is-vertical .home-gallery-viewer__slide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin-bottom: 12px;
    overflow: visible;
  }

  .home-gallery-lightbox.is-vertical .home-gallery-viewer__card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .home-gallery-lightbox.is-vertical .home-gallery-viewer__media {
    width: 100%;
    max-width: 100%;
  }

  .home-gallery-lightbox.is-vertical .home-gallery-viewer__media.is-portrait {
    width: min(82vw, 360px);
  }

  .home-gallery-lightbox.is-vertical .home-gallery-viewer__media.is-square {
    width: min(88vw, 420px);
  }

  .home-gallery-lightbox__footer {
    min-height: 60px;
    gap: 9px;
    padding: 8px 12px;
  }

  .home-gallery-lightbox__thumb {
    width: 40px;
    height: 40px;
  }

  .home-gallery-lightbox__close {
    top: 9px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-lightbox__viewport {
    scroll-behavior: auto;
  }
}

/* ===========================
   RESPONSIVE FEATURES & FOOTER (MOBILE)
   =========================== */
@media (max-width: 1024px) {
  .features-sec {
    padding: 20px 0 10px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 14px;
  }

  .feature-card {
    padding: 20px 18px;
    border-radius: 18px;
    gap: 14px;
  }

  .feature-card__icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .feature-card__icon {
    width: 20px;
    height: 20px;
  }

  .feature-card__title {
    font-size: 15px;
  }

  .feature-card__text {
    font-size: 12.5px;
  }

  /* Site Footer Responsive */
  .site-footer {
    width: calc(100% - 32px);
    margin: 32px 16px 24px 16px;
    border-radius: 22px;
  }

  .site-footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Footer Contacts */
  .footer-contacts-bar {
    padding: 24px 0;
  }

  .footer-contacts-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-contact-item {
    gap: 10px;
  }

  .footer-contact-link,
  .footer-contact-text {
    font-size: 13.5px;
  }

  .footer-socials {
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid #222224;
    padding-top: 16px;
  }

  /* Footer Links Grid */
  .footer-links-grid {
    padding: 32px 0;
  }

  .footer-links-grid__inner {
    grid-template-columns: 1fr;
    /* Stack columns on mobile */
    gap: 30px;
  }

  .footer-col--about {
    padding-right: 0;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #222224;
    padding-bottom: 20px;
  }

  .footer-about-text {
    font-size: 12px;
  }

  .footer-col-title {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .footer-links-list {
    gap: 8px;
  }

  .footer-links-list a {
    font-size: 12.5px;
  }

  /* Footer Bottom Copyright */
  .footer-bottom-bar {
    padding: 20px 0;
  }

  .footer-bottom-bar__inner {
    flex-direction: column-reverse;
    gap: 14px;
    align-items: center;
    text-align: center;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 6px;
  }
}

/* ==========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================== */

/* Product breadcrumbs */
.breadcrumbs-sec {
  padding: 16px 0;
  background: #eef0f2;
}

.product-breadcrumbs {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: #8a8d92;
  font-size: 12.5px;
  line-height: 1.35;
}

.product-breadcrumbs .breadcrumbs__link {
  color: #72757a;
  transition: color .15s ease;
}

.product-breadcrumbs .breadcrumbs__link:hover {
  color: #e31e24;
}

.product-breadcrumbs .breadcrumbs__separator {
  color: #b3b5b8;
}

.product-breadcrumbs .breadcrumbs__current {
  min-width: 0;
  overflow: hidden;
  color: #3e4044;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
}

/* Product header block */
.product-header-block {
  padding: 24px 0 16px 0;
}

.product-title-main {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 12px;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: #666;
  padding-bottom: 12px;
}

.product-meta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #1a1a1a;
}

.product-rating .icon-star {
  width: 14px;
  height: 14px;
  color: #1a1a1a;
  /* Black rating star */
}

.product-rating__count {
  font-weight: 400;
  color: #888;
}

.product-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color .15s ease;
}

.product-share-btn svg {
  width: 16px;
  height: 16px;
}

.product-share-btn:hover,
.product-share-btn.is-copied {
  color: #e31e24;
}

.product-meta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-warranty-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 13px;
  white-space: nowrap;
}

.product-warranty-meta svg {
  width: 15px;
  height: 15px;
  color: #e31e24;
}

.meta-action-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.15s, transform 0.15s;
}

.meta-action-btn:hover {
  color: #e31e24;
}

.meta-action-btn svg {
  width: 14px;
  height: 14px;
  transition: fill 0.15s, stroke 0.15s;
}

.meta-action-btn--active,
.meta-action-btn--active:hover {
  border: 0;
  outline: 0;
  box-shadow: none;
  color: #e31e24;
}

/* Product Detail Grid Layout */
.product-detail-sec {
  padding-bottom: 60px;
}

.product-detail-sec--loading .product-header-block,
.product-detail-sec--loading .product-detail-grid,
.product-detail-sec--loading .product-related-bottom,
.product-detail-sec--loading .product-info-tabs-sec {
  display: none;
}

.product-detail-skeleton {
  padding: 28px 0 12px;
}

.product-detail-sec:not(.product-detail-sec--loading) .product-detail-skeleton {
  display: none;
}

.product-detail-error {
  max-width: 620px;
  margin: 52px auto 72px;
  padding: 40px;
  border: 1px solid #e6e7e9;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(23, 24, 26, 0.08);
}

.product-detail-error__mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(227, 30, 36, 0.1);
  color: #e31e24;
  font-size: 24px;
  font-weight: 800;
}

.product-detail-error h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 36px);
}

.product-detail-error p {
  margin: 0;
  color: #666b73;
  line-height: 1.55;
}

.product-detail-error__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.product-detail-sec--error .product-detail-grid,
.product-detail-sec--error .product-related-bottom,
.product-detail-sec--error .product-info-tabs-sec {
  display: none;
}

@media (max-width: 600px) {
  .product-detail-error {
    margin: 28px auto 52px;
    padding: 28px 20px;
    border-radius: 18px;
  }

  .product-detail-error__actions {
    flex-direction: column;
  }
}

.product-detail-skeleton__pulse {
  background: linear-gradient(90deg, #eceef1 25%, #f6f7f8 42%, #eceef1 60%);
  background-size: 300% 100%;
  animation: product-detail-skeleton-pulse 1.35s ease-in-out infinite;
}

@keyframes product-detail-skeleton-pulse {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.product-detail-skeleton__heading {
  width: min(620px, 74%);
  height: 34px;
  border-radius: 9px;
}

.product-detail-skeleton__meta {
  width: min(390px, 52%);
  height: 15px;
  margin-top: 16px;
  border-radius: 6px;
}

.product-detail-skeleton__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 340px;
  gap: 32px;
  margin-top: 36px;
}

.product-detail-skeleton__gallery,
.product-detail-skeleton__buy,
.product-detail-skeleton__card {
  border-radius: 16px;
}

.product-detail-skeleton__gallery,
.product-detail-skeleton__buy {
  min-height: 500px;
}

.product-detail-skeleton__middle {
  display: grid;
  grid-template-rows: 290px 1fr;
  gap: 28px;
}

.product-detail-skeleton__card--description {
  min-height: 182px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: stretch;
  margin-top: 16px;
  transition: grid-template-columns .52s cubic-bezier(.22, 1, .36, 1), gap .52s cubic-bezier(.22, 1, .36, 1);
}

.product-detail-col {
  min-width: 0;
  display: flex;
}

.product-header-block {
  grid-column: 1 / -1;
}

/* Column 1: Gallery */
.product-detail-col--gallery {
  position: static;
}

.detail-gallery {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 92px;
  position: relative;
  width: 100%;
  height: auto;
  align-self: flex-start;
}

.product-badges-wrap {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.product-badge--detail {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge--discount {
  background: #ffe3e3;
  color: #e31e24;
}

.product-badge--hit {
  background: #fff3cd;
  color: #856404;
}

.product-badge--new {
  background: #e1f5fe;
  color: #0288d1;
}

.detail-gallery__main {
  position: relative;
  flex: none;
  min-width: 0;
  width: 100%;
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  padding: 0;
}

.detail-gallery__main .product-detail-image,
.detail-gallery__main .product-detail-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.detail-gallery__main svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  color: #1a1a1a;
}

.detail-gallery__thumbs {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 76px;
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  flex-shrink: 0;
}

.detail-gallery__thumbs[hidden] {
  display: none;
}

.gallery-thumb-btn {
  width: 76px;
  height: 76px;
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gallery-thumb-btn svg {
  width: 100%;
  height: 100%;
}

.gallery-thumb-btn:hover {
  border-color: #999;
}

.gallery-thumb-btn--active {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.15);
}

.gallery-thumb-btn--video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 114px;
  /* Taller vertical ratio */
  border-color: rgba(227, 30, 36, 0.25) !important;
  background: #fff5f5 !important;
}

.gallery-thumb-btn--video:hover {
  border-color: #e31e24 !important;
  background: #ffe3e3 !important;
}

.detail-gallery__main.is-gallery-openable {
  position: relative;
  cursor: zoom-in;
}

.detail-gallery__main.is-gallery-openable::after {
  content: "Открыть фото";
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 24px rgba(18, 20, 24, .1);
  color: #24262a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.detail-gallery__main.is-gallery-openable:hover::after,
.detail-gallery__main.is-gallery-openable:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.detail-gallery__main.is-gallery-openable:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .42);
  outline-offset: 3px;
}

html.product-gallery-is-open,
html.product-gallery-is-open body {
  overflow: hidden;
}

.product-gallery-viewer[hidden] {
  display: none;
}

.product-gallery-viewer {
  position: fixed;
  z-index: 12000;
  inset: 0;
  background: #f3f4f5;
  color: #17191c;
}

.product-gallery-viewer__dialog {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #f3f4f5;
}

.product-gallery-viewer__rail {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 116px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 16px 24px;
  border-right: 1px solid #e1e3e5;
  background: rgba(255, 255, 255, .92);
}

.product-gallery-viewer__thumbs {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 4px 12px 2px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.product-gallery-viewer__thumb {
  width: 78px;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 10px;
  background: #fff;
  opacity: .62;
  cursor: pointer;
  transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.product-gallery-viewer__thumb:hover {
  opacity: 1;
}

.product-gallery-viewer__thumb.is-active {
  border-color: #17191c;
  opacity: 1;
}

.product-gallery-viewer__thumb:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .38);
  outline-offset: 2px;
}

.product-gallery-viewer__thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-gallery-viewer__viewport {
  width: 100%;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 88px 72px 116px;
  outline: 0;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.product-gallery-viewer__feed {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.product-gallery-viewer__frame {
  position: relative;
  width: min(900px, calc(100vw - 260px), calc((100dvh - 40px) * 4 / 3));
  max-width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
  scroll-margin-top: 20px;
}

.product-gallery-viewer__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-gallery-viewer__close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #dfe2e4;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #222429;
  box-shadow: 0 10px 28px rgba(18, 20, 24, .09);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.product-gallery-viewer__close:hover {
  border-color: #e31e24;
  color: #e31e24;
  transform: scale(1.04);
}

.product-gallery-viewer__close:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .38);
  outline-offset: 2px;
}

.product-gallery-viewer__close svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 760px) {
  .detail-gallery__main.is-gallery-openable::after {
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    opacity: 1;
    transform: none;
  }

  .product-gallery-viewer,
  .product-gallery-viewer__dialog {
    background: #eef0f2;
  }

  .product-gallery-viewer__dialog {
    height: 100svh;
  }

  .product-gallery-viewer__rail {
    position: static;
    width: auto;
    height: 0;
    padding: 0;
    border: 0;
  }

  .product-gallery-viewer__thumbs { display: none; }

  .product-gallery-viewer__viewport {
    height: 100svh;
    padding: calc(max(12px, env(safe-area-inset-top)) + 52px) 10px calc(24px + env(safe-area-inset-bottom));
    scrollbar-gutter: auto;
    scroll-snap-type: y proximity;
  }

  .product-gallery-viewer__feed {
    gap: 10px;
  }

  .product-gallery-viewer__frame {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    scroll-margin-top: calc(max(12px, env(safe-area-inset-top)) + 52px);
  }

  .product-gallery-viewer__close {
    position: absolute;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .detail-gallery__main.is-gallery-openable::after,
  .product-gallery-viewer__thumb,
  .product-gallery-viewer__close {
    transition: none;
  }

  .product-gallery-viewer__viewport {
    scroll-behavior: auto;
  }
}

/* Column 2: Specs & Options */
.product-options-sec {
  margin-bottom: 28px;
}

.product-options-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-options-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-pill-btn {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s;
}

.option-pill-btn:hover {
  border-color: #999;
}

.option-pill-btn--active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

/* Brief Specs */
.product-ai-card {
  margin-bottom: 28px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .045);
}

.product-ai-card__close {
  display: none;
}

.product-detail-col--info {
  flex-direction: column;
  overflow: hidden;
  transition: opacity .32s ease, transform .52s cubic-bezier(.22, 1, .36, 1), visibility .32s ease;
}

.product-detail-col--info > * { min-width: 360px; }

.ai-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px 11px 20px;
}

.rokit-ai-orb {
  --orb-eye-width: 3px;
  --orb-eye-height: 7px;
  --orb-eye-gap: 6px;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(126, 0, 6, .24);
  background:
    radial-gradient(circle at 29% 21%, rgba(255, 255, 255, .42), transparent 25%),
    linear-gradient(145deg, #ff6e73 0%, #f02027 48%, #9e0008 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .28),
    inset -5px -6px 11px rgba(84, 0, 4, .28);
  transform: translateZ(0);
  transition: border-color .22s ease, box-shadow .28s ease, filter .22s ease;
}

.rokit-ai-orb::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 5%;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .2), transparent 28%),
    conic-gradient(from 205deg, transparent 0 37%, rgba(255, 255, 255, .14) 44%, transparent 51% 100%);
  animation: rokitAiOrbSurface 11s linear infinite;
}

.rokit-ai-orb::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, .055) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(255, 255, 255, .045) 50%, transparent 51%),
    radial-gradient(circle at 24% 27%, rgba(255, 255, 255, .78) 0 .7px, transparent 1px);
  background-size: 13px 13px, 13px 13px, 5px 5px;
  -webkit-mask-image: linear-gradient(135deg, #000 3%, rgba(0, 0, 0, .7) 38%, transparent 82%);
  mask-image: linear-gradient(135deg, #000 3%, rgba(0, 0, 0, .7) 38%, transparent 82%);
  opacity: .68;
  mix-blend-mode: soft-light;
}

.rokit-ai-orb__face {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--orb-eye-gap);
  width: 70%;
  height: 46%;
  transform: translate(-50%, -48%);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.rokit-ai-orb__face i {
  display: block;
  width: var(--orb-eye-width);
  height: var(--orb-eye-height);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 7px rgba(255, 255, 255, .65), 0 1px 0 rgba(255, 255, 255, .7);
  transform-origin: center;
  animation: rokitOrbBlink 5.8s ease-in-out infinite;
  transition: width .2s ease, height .2s ease, border-radius .2s ease, transform .22s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}

.rokit-ai-orb__face i:nth-child(2) {
  animation-delay: .035s;
}

.rokit-ai-orb:hover,
.rokit-ai-orb[data-state="focus"] {
  border-color: rgba(126, 0, 6, .32);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .34),
    inset -5px -6px 11px rgba(84, 0, 4, .22);
}

.rokit-ai-orb:hover .rokit-ai-orb__face,
.rokit-ai-orb[data-state="focus"] .rokit-ai-orb__face {
  transform: translate(-44%, -51%);
}

.rokit-ai-orb[data-state="success"] {
  border-color: rgba(126, 0, 6, .28);
  filter: brightness(1.04);
}

.rokit-ai-orb[data-state="success"] .rokit-ai-orb__face {
  transform: translate(-50%, -43%) scale(1.04);
}

.rokit-ai-orb[data-state="success"] .rokit-ai-orb__face i {
  width: calc(var(--orb-eye-width) * 1.72);
  height: calc(var(--orb-eye-height) * .34);
  border-radius: 999px 999px 0 0;
  border-top: calc(var(--orb-eye-width) * .62) solid #fff;
  background: transparent;
  box-shadow: 0 -2px 7px rgba(255, 255, 255, .46);
  animation: none;
  transform: rotate(-7deg);
}

.rokit-ai-orb[data-state="success"] .rokit-ai-orb__face i:nth-child(2) {
  transform: rotate(7deg);
}

.rokit-ai-orb--small {
  --orb-eye-width: 2.5px;
  --orb-eye-height: 6px;
  --orb-eye-gap: 5px;
  width: 24px;
  height: 24px;
}

@keyframes rokitAiOrbSurface {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rokitOrbBlink {

  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(.12);
  }
}

.ai-card__icon-wrap {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #e31e24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-card__icon {
  width: 14px;
  height: 14px;
}

.ai-card__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex-grow: 1;
}

.ai-card__label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #e31e24;
}

.ai-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  min-height: 1.2em;
}

/* Blinking cursor during typing */
.ai-card__title:not(.ai-title--done)::after {
  content: "|";
  animation: blink 0.7s step-end infinite;
  color: #e31e24;
  margin-left: 1px;
  font-weight: 300;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Remove old pulse */
.ai-card__pulse {
  display: none;
}

.ai-pulse-dot {
  display: none;
}

.ai-card__status {
  display: none;
}

.ai-card__divider {
  height: 1px;
  background: #f0f0f0;
  margin: 0 16px 0 20px;
}

.ai-specs-list {
  list-style: none;
  padding: 4px 16px 8px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ai-spec-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  opacity: 0;
  transform: translateY(3px);
  animation: fadeSlideIn 0.3s ease forwards;
}

.ai-spec-item:last-child {
  border-bottom: none;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-spec-key {
  font-size: 13px;
  color: #888;
  flex-shrink: 0;
  white-space: nowrap;
}

.ai-spec-dots {
  flex-grow: 1;
  border-bottom: 1.5px dotted #e0e0e0;
  margin-bottom: 3px;
  min-width: 12px;
}

.ai-spec-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
  white-space: nowrap;
}

.ai-card__footer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 16px 12px 20px;
  font-size: 10.5px;
  color: #bbb;
}

.ai-morph {
  margin: 5px 16px 16px 20px;
  min-height: 44px;
  border: 1px solid #e3e3e3;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  transition: border-radius .28s ease, box-shadow .28s ease, min-height .28s ease;
}

.ai-morph.is-open {
  min-height: 188px;
  border-radius: 14px;
  border-color: #d7d7d7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.ai-morph__dock {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 650;
  color: #202020;
  transition: opacity .16s;
}

.ai-morph__dock svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: #999;
}

.ai-morph.is-open .ai-morph__dock {
  display: none;
}

.ai-morph__form {
  height: 0;
  opacity: 0;
  pointer-events: none;
  padding: 0 12px;
  transition: opacity .18s ease;
}

.ai-morph.is-open .ai-morph__form {
  height: 188px;
  opacity: 1;
  pointer-events: auto;
  padding-top: 10px;
}

.ai-morph__form-head {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.ai-morph textarea {
  width: 100%;
  height: 92px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 10px 2px;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  color: #222;
  background: transparent;
}

.ai-morph__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ai-morph__actions button {
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 650;
  background: #f3f3f3;
}

.ai-morph__actions button[type="submit"] {
  background: #ed1c24;
  color: #fff;
}

.ai-morph__success {
  display: none;
  min-height: 44px;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  font-size: 12.5px;
}

.ai-morph__response {
  min-width: 0;
  flex: 1;
}

.ai-morph__response>strong {
  display: block;
  margin: 3px 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #202020;
}

.ai-morph__answer {
  margin: 0;
  color: #343434;
  font-size: 12.5px;
  font-weight: 450;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ai-morph__answer> :first-child {
  margin-top: 0;
}

.ai-morph__answer> :last-child {
  margin-bottom: 0;
}

.ai-morph__answer p {
  margin: 0 0 7px;
  white-space: pre-wrap;
}

.ai-morph__answer strong {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: 700;
}

.ai-morph__answer em {
  font-style: italic;
}

.ai-morph__answer ul,
.ai-morph__answer ol {
  margin: 0 0 7px;
  padding-left: 18px;
}

.ai-morph__answer li+li {
  margin-top: 3px;
}

.ai-morph__answer a {
  color: #b4232a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ai-morph__response button {
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f3f3f3;
  color: #292929;
  font-size: 11px;
  font-weight: 650;
}

.ai-morph__response button:hover {
  background: #ececec;
}

.ai-morph.is-success .ai-morph__dock,
.ai-morph.is-success .ai-morph__form {
  display: none;
}

.ai-morph.is-success .ai-morph__success {
  display: flex;
}

.ai-morph.is-loading .ai-morph__success {
  align-items: center;
  justify-content: center;
}

.ai-morph.is-loading .ai-morph__response {
  flex: 0 1 auto;
}

.ai-morph.is-loading .ai-morph__response strong {
  margin: 0;
}

.ai-morph.is-loading .ai-morph__answer,
.ai-morph.is-loading .ai-morph__response button {
  display: none;
}

.ai-morph.is-error {
  border-color: #f0b8ba;
  background: #fffafa;
}

.ai-morph.is-error .ai-morph__response strong {
  color: #b4232a;
}

@media (prefers-reduced-motion: reduce) {

  .rokit-ai-orb,
  .rokit-ai-orb::before,
  .rokit-ai-orb__face i {
    animation: none;
  }
}







/* Accordions */
.product-details-accordions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.details-accordion__item {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}

.product-details-accordions .details-accordion__item {
  height: 100%;
}

.details-accordion__item:hover {
  border-color: #ccc;
}

.details-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  background: #fff;
  text-align: left;
  border: none;
  font-family: inherit;
}

.details-accordion__title {
  margin: 0;
  padding: 16px 20px 10px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.accordion-chevron {
  width: 10px;
  height: 10px;
  color: #999;
  transition: transform 0.2s;
}

.details-accordion__content {
  display: none;
  padding: 0 20px 20px 20px;
  animation: slideFadeIn 0.25s ease-out;
}

.details-accordion__item--open .details-accordion__content {
  display: block;
}

.details-accordion__item--static .details-accordion__content {
  display: block;
  padding-top: 0;
}

.details-accordion__item--open .accordion-chevron {
  transform: rotate(180deg);
  color: #1a1a1a;
}

.details-accordion__text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #444;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

/* Full Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.specs-table tr {
  border-bottom: 1px dashed #e0e0e0;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 10px 0;
  font-size: 13.5px;
  vertical-align: bottom;
}

.specs-table-label {
  color: #777;
  padding-right: 15px;
  width: 55%;
}

.specs-table-label span {
  background: #fff;
  padding-right: 4px;
}

.specs-table-value {
  color: #1a1a1a;
  font-weight: 500;
}

/* Column 3: Buy Box */
.sticky-buy-box {
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  height: 100%;
}

.product-ai-reveal {
  display: none;
}

@media (min-width: 1025px) {
  .product-detail-grid:not(.is-ai-open) {
    grid-template-columns: minmax(0, 2.2fr) 0 340px;
    gap: 0 18px;
  }

  .product-detail-grid:not(.is-ai-open) .product-detail-col--info {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-22px);
  }

  .product-detail-col--gallery {
    transition: margin-right .52s cubic-bezier(.22, 1, .36, 1);
  }

  .product-detail-col--info .product-details-accordions {
    display: none;
  }

  .product-detail-col--info .product-ai-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    margin: 0;
  }

  .product-detail-grid.is-ai-open .product-detail-col--info .ai-specs-list,
  .product-detail-grid.is-ai-open .product-detail-col--info .ai-card__divider {
    display: none;
  }

  .product-detail-grid.is-ai-open .product-detail-col--info .ai-card__title {
    font-size: 0;
  }

  .product-detail-grid.is-ai-open .product-detail-col--info .ai-card__title::before {
    content: "Спросите о товаре";
    font-size: 13px;
  }

  .product-detail-col--info .ai-morph {
    margin-top: auto;
  }

  .product-detail-col--info .ai-morph.is-open {
    display: flex;
    flex: 1;
    min-height: 250px;
    flex-direction: column;
  }

  .product-detail-col--info .ai-morph.is-open .ai-morph__form {
    display: flex;
    flex: 1;
    height: auto;
    min-height: 250px;
    flex-direction: column;
  }

  .product-detail-col--info .ai-morph.is-open textarea {
    flex: 1;
    height: auto;
    min-height: 128px;
  }

  .product-ai-reveal {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 18px;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    border: 1px solid rgba(255, 255, 255, .52);
    color: #18181a;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .42);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    transition: opacity .24s ease, visibility .24s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .product-ai-reveal:hover {
    transform: translateX(-3px) scale(1.04);
  }

  .product-ai-reveal:focus-visible {
    outline: 2px solid #e31e24;
    outline-offset: 3px;
  }

  .product-ai-reveal .rokit-ai-orb {
    width: 32px;
    height: 32px;
    margin: 0;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), filter .22s ease;
  }

  .product-ai-reveal:hover .rokit-ai-orb {
    transform: scale(1.08);
    filter: saturate(1.08);
  }

  .product-ai-reveal__label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    width: max-content;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid #ececec;
    background: rgba(255, 255, 255, .96);
    color: #202024;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
    font-size: 11px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: .01em;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, -4px) scale(.96);
    transition: opacity .28s ease, visibility .28s ease, transform .36s cubic-bezier(.22, 1, .36, 1);
  }

  .product-ai-reveal__label::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0;
    height: 0;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #ececec;
    border-left: 5px solid transparent;
    transform: translateX(-50%);
  }

  .product-ai-reveal__label::after {
    content: "";
    position: absolute;
    bottom: calc(100% - 1px);
    left: 50%;
    width: 0;
    height: 0;
    border-right: 4px solid transparent;
    border-bottom: 5px solid rgba(255, 255, 255, .96);
    border-left: 4px solid transparent;
    transform: translateX(-50%);
  }

  .product-ai-reveal.is-intro .product-ai-reveal__label,
  .product-ai-reveal:hover .product-ai-reveal__label,
  .product-ai-reveal:focus-visible .product-ai-reveal__label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
  }

  .product-detail-grid.is-ai-open .product-ai-reveal {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(.88);
  }

  .product-detail-grid.is-ai-open .product-ai-card__close {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 42% 58% 48% 52% / 54% 44% 56% 46%;
    background: #f5f5f5;
    color: #777;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
  }

  .product-detail-grid.is-ai-open .product-ai-card__close svg {
    width: 16px;
    height: 16px;
  }

  .product-detail-grid.is-ai-open .product-ai-card__close:hover {
    color: #e31e24;
    background: #fff0f1;
    transform: rotate(4deg) scale(1.04);
  }

  .product-detail-grid.is-ai-open .product-ai-card__close:focus-visible {
    outline: 2px solid #e31e24;
    outline-offset: 2px;
  }

  .product-detail-col--info .ai-morph.is-open {
    margin: 14px 22px 24px;
  }

  .product-detail-col--info .ai-morph.is-open .ai-morph__form {
    box-sizing: border-box;
    padding: 18px 18px 20px;
  }

  .product-detail-col--info .ai-morph.is-open .ai-morph__actions {
    margin-top: 16px;
    padding-bottom: 2px;
  }

  /* The assistant is an overlay: opening it must not reflow the product page. */
  .product-detail-grid.is-ai-open {
    grid-template-columns: minmax(0, 2.2fr) 0 340px;
    gap: 0 18px;
  }

  .detail-gallery {
    isolation: isolate;
  }

  .product-ai-card--overlay {
    position: absolute;
    z-index: 12;
    top: 24px;
    right: 24px;
    bottom: 24px;
    display: flex !important;
    flex-direction: column;
    width: min(390px, calc(100% - 48px));
    min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 20px;
    background: rgba(255, 255, 255, .58);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .5);
    backdrop-filter: blur(28px) saturate(1.35);
    -webkit-backdrop-filter: blur(28px) saturate(1.35);
  }

  .product-ai-card--overlay .ai-card__header {
    padding: 20px 22px 14px;
  }

  .product-ai-card--overlay .ai-card__label {
    display: none;
  }

  .product-ai-card--overlay .ai-card__divider,
  .product-ai-card--overlay .ai-specs-list {
    display: none;
  }

  .product-ai-card--overlay .ai-card__title {
    display: flex;
    align-items: center;
    min-height: 36px;
    font-size: 0;
  }

  .product-ai-card--overlay .ai-card__title::before {
    content: "Спросите о товаре";
    font-size: 14px;
  }

  .product-detail-grid.is-ai-open .product-ai-card--overlay .product-ai-card__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    flex: 0 0 34px;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .45);
    color: #4c4d50;
    cursor: pointer;
  }

  .product-ai-card--overlay .product-ai-card__close:hover {
    color: #e31e24;
    background: rgba(255, 255, 255, .78);
  }

  .product-ai-card--overlay .product-ai-card__close svg {
    display: block;
    width: 16px;
    height: 16px;
  }

  .product-ai-card--overlay .ai-morph {
    width: auto;
    margin: 0 16px 16px;
    background: rgba(255, 255, 255, .52);
  }

  .product-ai-card--overlay .ai-morph.is-open {
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
  }

  .product-ai-card--overlay .ai-morph.is-open .ai-morph__form {
    display: flex;
    flex: 1;
    height: auto;
    min-height: 0;
    flex-direction: column;
    padding: 16px;
  }

  .product-ai-card--overlay .ai-morph.is-open textarea {
    flex: 1;
    height: auto;
    min-height: 100px;
  }

  .product-ai-card--overlay .ai-morph.is-open .ai-morph__actions {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .product-detail-grid,
  .product-detail-col--info,
  .product-detail-col--gallery,
  .product-ai-reveal,
  .product-ai-reveal .rokit-ai-orb,
  .product-ai-reveal__label {
    transition: none !important;
  }
}

/* Pricing in Buy Box */
.buy-box-price-wrap {
  margin-bottom: 20px;
}

.price-actual-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.buy-price-actual {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.buy-price-old {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.buy-discount-badge {
  display: inline-block;
  background: #ffe3e3;
  color: #e31e24;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* Action Buttons */
.buy-box-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.buy-btn {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.buy-btn--cart {
  background: #e31e24;
  border: 1.5px solid #e31e24;
  color: #fff;
}

.buy-btn--cart:hover {
  background: #c01a1f;
  border-color: #c01a1f;
}

.buy-btn--cart svg {
  width: 18px;
  height: 18px;
}

.buy-btn--quick {
  background: #fff;
  border: 1.5px solid #1a1a1a;
  color: #1a1a1a;
}

.buy-btn--quick:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Favorites/Compare utility */
.buy-box-fav-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.buy-box-utility-btn {
  flex: 1;
  height: 38px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
}

.buy-box-utility-btn svg {
  width: 14px;
  height: 14px;
}

.buy-box-utility-btn:hover {
  border-color: #999;
  color: #1a1a1a;
}

.buy-box-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

/* Delivery details */
.delivery-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.delivery-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.delivery-row .icon {
  width: 18px;
  height: 18px;
  color: #e31e24;
  margin-top: 2px;
}

.delivery-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delivery-main-text {
  font-size: 13px;
  color: #1a1a1a;
}

.delivery-sub-text {
  font-size: 11.5px;
  color: #777;
}

/* ==========================================
   PRODUCT PAGE MEDIA QUERIES
   ========================================== */

@media (max-width: 1024px) {
  .product-detail-skeleton__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-detail-skeleton__gallery {
    order: 1;
    min-height: 0;
    aspect-ratio: 1;
  }

  .product-detail-skeleton__buy {
    order: 2;
    min-height: 320px;
  }

  .product-detail-skeleton__middle {
    order: 3;
    grid-template-rows: 260px 170px;
    gap: 18px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 0;
  }

  .product-header-block {
    grid-column: auto;
    order: 2;
  }

  .product-detail-col--gallery {
    order: 1;
    position: static;
  }

  .product-detail-col--buy {
    order: 3;
  }

  .product-detail-col--info {
    order: 4;
  }

  .detail-gallery {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: auto;
  }

  .breadcrumbs-sec--product {
    display: block;
    padding: 11px 0;
  }

  .product-breadcrumbs {
    gap: 7px;
    font-size: 11.5px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .product-breadcrumbs .breadcrumbs__link,
  .product-breadcrumbs .breadcrumbs__separator {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .product-breadcrumbs .breadcrumbs__current {
    flex: 1 1 auto;
  }

  .detail-gallery__main {
    flex: none;
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .detail-gallery__thumbs {
    position: static;
    flex-direction: row;
    align-items: center;
    /* Center items vertically */
    width: 100%;
    height: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px;
  }

  .gallery-thumb-btn {
    flex-shrink: 0;
  }

  .gallery-thumb-btn--video {
    height: 76px !important;
    /* Make it square on mobile */
  }

  .sticky-buy-box {
    position: static;
    height: auto;
    box-shadow: none;
  }

  .product-detail-col--info > * {
    min-width: 0;
  }

  .product-details-accordions .details-accordion__item {
    height: auto;
  }
}

@media (max-width: 480px) {
  .product-header-block {
    padding: 16px 0;
  }

  .product-title-main {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .product-meta-row {
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .product-meta-left {
    display: none;
  }

  .product-meta-actions {
    gap: 12px;
    flex-wrap: wrap;
  }

  .option-pill-btn {
    padding: 8px 16px;
    font-size: 12.5px;
  }

  .sticky-buy-box {
    padding: 16px;
  }

  .product-detail-col--info {
    gap: 14px;
  }

  .product-ai-card {
    margin-bottom: 0;
    border-radius: 16px;
  }

  .ai-card__header {
    gap: 10px;
    padding: 18px 18px 14px;
  }

  .ai-card__label {
    font-size: 10px;
  }

  .ai-card__title {
    font-size: 14px;
  }

  .ai-specs-list {
    padding: 6px 18px 12px;
  }

  .ai-spec-item {
    gap: 8px;
    padding: 10px 0;
  }

  .ai-spec-key {
    font-size: 12.5px;
  }

  .ai-spec-val {
    font-size: 13px;
  }

  .ai-morph {
    margin: 8px 18px 18px;
    min-height: 48px;
  }

  .ai-morph__dock {
    height: 48px;
    font-size: 13px;
  }

  .details-accordion__item--static {
    border-radius: 16px;
  }

  .details-accordion__title {
    padding: 18px 20px 11px;
    font-size: 16px;
  }

  .details-accordion__content {
    padding: 0 20px 22px;
  }

  .details-accordion__text {
    font-size: 14px;
    line-height: 1.58;
  }

  .product-info-tabs-sec {
    margin-top: 32px;
    padding-top: 24px;
  }
}

@media (max-width: 768px) {
  .product-detail-col--info .product-details-accordions {
    display: none;
  }
}

/* Related products bottom section */
.product-related-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eaeaea;
}


/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.video-modal--open {
  visibility: visible;
  opacity: 1;
}

.video-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal__content {
  position: relative;
  width: 360px;
  max-width: 90%;
  height: 640px;
  max-height: 85vh;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #222;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.video-modal--open .video-modal__content {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 20;
}

.video-modal__close:hover {
  background: #e31e24;
  transform: scale(1.05);
}

.video-modal__close svg {
  width: 18px;
  height: 18px;
}

.video-modal__player-wrap {
  width: 100%;
  height: 100%;
}

.video-modal__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   PRODUCT INFO TABS SECTION
   ========================================================================== */
.product-info-tabs-sec {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid #f0f0f0;
}

.info-tabs-nav {
  display: flex;
  gap: 32px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 36px;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
}

.info-tabs-nav::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.info-tab-btn {
  font-size: 16px;
  font-weight: 600;
  padding: 14px 4px;
  color: #777;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
  bottom: -2px;
  white-space: nowrap;
}

.info-tab-btn:hover {
  color: #1a1a1a;
}

.info-tab-btn.active {
  color: #1a1a1a;
  border-bottom-color: #e31e24;
}

.reviews-badge {
  background: #f0f0f0;
  color: #555;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 600;
  transition: all 0.2s;
}

.info-tab-btn.active .reviews-badge {
  background: #e31e24;
  color: #fff;
}

/* Tab panes default */
.info-tab-pane {
  display: none;
  animation: fadeInTab 0.3s ease;
}

.info-tab-pane.active {
  display: block;
}

.product-documents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 1100px;
}

.product-documents__empty {
  margin: 0;
  padding: 28px;
  color: #777;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 16px;
}

.product-document {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 16px;
}

.product-document__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #e31e24;
  background: #fff1f2;
  border-radius: 12px;
}

.product-document__icon svg {
  width: 22px;
  height: 22px;
}

.product-document__body {
  min-width: 0;
  flex: 1;
}

.product-document__title {
  display: block;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 650;
}

.product-document__meta {
  display: block;
  margin-top: 4px;
  color: #85878b;
  font-size: 12px;
}

.product-document__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.product-document__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  color: #252527;
  border: 1px solid #d9dadd;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .2s, background .2s, color .2s;
}

.product-document__action:hover {
  border-color: #e31e24;
  color: #e31e24;
}

.product-document__action--download {
  background: #e31e24;
  border-color: #e31e24;
  color: #fff;
}

.product-document__action--download:hover {
  background: #c9191f;
  color: #fff;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

/* Product presentation: editorial, technical and intentionally distinct from specs. */
.product-story {
  overflow: hidden;
  color: #f7f7f5;
  background: #111113;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(13, 13, 15, .12);
}

.product-story__hero {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.product-story__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 3.2vw, 52px);
}

.product-story__eyebrow,
.product-story__consultation-label {
  color: #ef3a40;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.product-story__title {
  max-width: 720px;
  margin: 17px 0 19px;
  color: #fff;
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 560;
  letter-spacing: -.045em;
  line-height: 1.01;
}

.product-story__lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .66);
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.58;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-story__lead.is-expanded {
  display: block;
  overflow: visible;
}

.product-story__lead-toggle {
  align-self: flex-start;
  margin-top: 17px;
  padding: 0 0 4px;
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  font-size: 12px;
  font-weight: 650;
}

.product-story__lead-toggle:hover {
  color: #fff;
  border-bottom-color: #ef3a40;
}

.product-story__lead-toggle[hidden] {
  display: none;
}

.product-story__hero-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  background: #ececea;
  isolation: isolate;
}

.product-story__hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 17, 19, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(17, 17, 19, .025), 0 0 0 120px rgba(17, 17, 19, .018);
}

.product-story__hero-image,
.product-story__hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-story__hero-visual.has-independent-image::before {
  display: none;
}

.product-image-placeholder--story {
  width: min(72%, 420px);
  aspect-ratio: 1;
}

.product-story__hero-mark {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: rgba(17, 17, 19, .28);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
}

.product-story__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #18181b;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.product-story__facts[hidden],
.product-story__blocks[hidden] {
  display: none;
}

.product-story__fact {
  min-width: 0;
  padding: 24px clamp(20px, 2.5vw, 36px);
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.product-story__fact:nth-child(4n) {
  border-right: 0;
}

.product-story__fact span {
  display: block;
  margin-bottom: 18px;
  color: #ef3a40;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .14em;
}

.product-story__fact strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 560;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.product-story__fact small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
  line-height: 1.4;
}

.product-story__blocks {
  padding: clamp(22px, 4vw, 58px);
}

.product-story__block {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  overflow: hidden;
  margin-bottom: 18px;
  background: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
}

.product-story__block:last-child {
  margin-bottom: 0;
}

.product-story__block:nth-child(even) .product-story__block-media {
  order: 2;
}

.product-story__block-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 0;
  background: #ececea;
}

.product-story__block-image,
.product-story__block-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-story__block-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 76px);
}

.product-story__block h3 {
  max-width: 560px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 540;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.product-story__block p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
}

.product-story__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.product-story__favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.product-story__favorite-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.product-story__favorite-btn:active {
  transform: scale(0.96);
}

.product-story__favorite-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.product-story__favorite-icon svg {
  width: 18px;
  height: 18px;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.product-story__favorite-btn.is-active,
.product-story__favorite-btn.meta-action-btn--active {
  background: rgba(227, 30, 36, 0.15);
  border-color: rgba(227, 30, 36, 0.5);
  color: #ffffff;
}

.product-story__favorite-btn.is-active .product-story__favorite-icon svg,
.product-story__favorite-btn.meta-action-btn--active .product-story__favorite-icon svg {
  fill: #e31e24;
  stroke: #e31e24;
}

.product-story__favorite-btn.is-active .product-story__favorite-icon {
  transform: scale(1.15);
}

/* Embedded Product Card Widget in Story Presentation */
.product-story__embed-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 520px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-story__embed-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.product-story__embed-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.product-story__embed-thumb img,
.product-story__embed-thumb .product-story__embed-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-story__embed-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  background: #f1f5f9;
}

.product-story__embed-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.product-story__embed-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.product-story__embed-title:hover {
  color: #e31e24;
}

.product-story__embed-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-story__embed-actual {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.product-story__embed-old-price {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.product-story__embed-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.product-story__embed-fav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.product-story__embed-fav-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.product-story__embed-fav-btn:active {
  transform: scale(0.92);
}

.product-story__embed-fav-btn svg {
  width: 17px;
  height: 17px;
  stroke: #ffffff;
  fill: none;
  display: block;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

.product-story__embed-fav-btn.is-active,
.product-story__embed-fav-btn.meta-action-btn--active {
  background: rgba(227, 30, 36, 0.2);
  border-color: rgba(227, 30, 36, 0.6);
  color: #e31e24;
}

.product-story__embed-fav-btn.is-active svg,
.product-story__embed-fav-btn.meta-action-btn--active svg {
  fill: #e31e24 !important;
  stroke: #e31e24 !important;
  transform: scale(1.12);
}

.product-story__embed-cart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e31e24;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-story__embed-cart-btn:hover {
  background: #c8191e;
  transform: scale(1.08);
}

.product-story__embed-cart-btn:active {
  transform: scale(0.92);
}

.product-story__embed-cart-btn svg {
  width: 17px;
  height: 17px;
}

.product-story__block--text-only {
  min-height: auto;
  grid-template-columns: 1fr;
}

.product-story__block--text-only .product-story__block-copy {
  min-height: 330px;
  max-width: 980px;
}

.product-story__consultation {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px clamp(28px, 5vw, 72px);
  background: #e31e24;
}

.product-story__consultation-label {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .72);
}

.product-story__consultation strong {
  display: block;
  max-width: 660px;
  color: #fff;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 560;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.product-story__consultation a {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  transition: color .2s, background .2s;
}

.product-story__consultation a:hover {
  color: #e31e24;
  background: #fff;
}

@media (max-width: 1100px) {
  .product-story__hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-story__hero-copy {
    min-height: 380px;
  }

  .product-story__hero-visual {
    min-height: 380px;
  }

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

  .product-story__fact:nth-child(2) {
    border-right: 0;
  }

  .product-story__fact:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .product-story__block {
    grid-template-columns: 1fr;
  }

  .product-story__block:nth-child(even) .product-story__block-media {
    order: initial;
  }
}

@media (max-width: 640px) {
  .product-story {
    border-radius: 18px;
  }

  .product-story__hero-copy {
    min-height: 0;
    padding: 40px 24px 46px;
  }

  .product-story__title {
    margin-block: 18px;
    font-size: clamp(32px, 11vw, 48px);
  }

  .product-story__lead {
    font-size: 15px;
    line-height: 1.62;
  }

  .product-story__hero-visual {
    min-height: 320px;
    padding: 0;
  }

  .product-story__facts {
    grid-template-columns: 1fr 1fr;
  }

  .product-story__fact {
    min-height: 155px;
    padding: 22px 18px;
  }

  .product-story__fact span {
    margin-bottom: 22px;
  }

  .product-story__fact strong {
    font-size: 19px;
  }

  .product-story__blocks {
    padding: 12px;
  }

  .product-story__block {
    min-height: 0;
    margin-bottom: 12px;
    border-radius: 15px;
  }

  .product-story__block-media {
    min-height: 300px;
    padding: 0;
  }

  .product-story__block-copy,
  .product-story__block--text-only .product-story__block-copy {
    min-height: 0;
    padding: 34px 24px 40px;
  }

  .product-story__block h3 {
    margin-block: 17px 14px;
    font-size: 30px;
  }

  .product-story__block p {
    font-size: 15px;
  }

  .product-story__consultation {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 24px;
  }

  .product-story__consultation a {
    width: 100%;
  }
}

/* Specs Tab pane styling */
.specs-detailed-wrap {
  max-width: 800px;
}

.specs-table-detailed {
  width: 100%;
  border-collapse: collapse;
}

.specs-table-detailed tr {
  border-bottom: 1px solid #f0f0f0;
}

.specs-table-detailed tr:last-child {
  border-bottom: none;
}

.specs-table-detailed td {
  padding: 16px 0;
  font-size: 15px;
  vertical-align: top;
}

.specs-detailed-label {
  color: #666;
  width: 40%;
  font-weight: 400;
  padding-right: 20px;
}

.specs-detailed-value {
  color: #1a1a1a;
  font-weight: 500;
  width: 60%;
}

/* Reviews Tab pane styling */
.reviews-section-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* Summary Card */
.reviews-summary-card {
  background: #fafafa;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 100px;
}

.rating-huge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.rating-huge-val {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}

.rating-stars-wrap {
  display: flex;
  gap: 4px;
  color: #e5e5e5;
}

.rating-stars-wrap svg {
  width: 18px;
  height: 18px;
}

.rating-stars-wrap svg.active {
  color: #ed1c24;
  fill: currentColor;
}

.rating-total-label {
  font-size: 13.5px;
  color: #666;
  font-weight: 500;
  margin-top: 4px;
}

.rating-bars-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #555;
  font-weight: 500;
}

.rating-bar-row.disabled {
  opacity: 0.5;
}

.rating-bar-stars {
  width: 28px;
  text-align: right;
  white-space: nowrap;
}

.rating-bar-track {
  flex-grow: 1;
  height: 6px;
  background: #eceff1;
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #ed1c24;
  border-radius: 3px;
  transition: width 0.5s ease;
}

.rating-bar-count {
  width: 16px;
  text-align: left;
  color: #888;
}

.write-review-btn {
  width: 100%;
  height: 44px;
  border: 1.5px solid #1a1a1a;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  transition: all 0.2s;
}

.write-review-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.reviews-load-more {
  margin-top: 20px;
}

/* Reviews List / Feed */
.reviews-list-col {
  display: flex;
  flex-direction: column;
}

.reviews-filters {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.filter-chip {
  appearance: none;
  border: 0;
  font-family: inherit;
  padding: 8px 16px;
  background: #f5f5f5;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-chip:hover {
  background: #e9e9e9;
  color: #1a1a1a;
}

.filter-chip.active {
  background: #1a1a1a;
  color: #fff;
}

.chip-count {
  opacity: 0.6;
  font-size: 11px;
}

.reviews-feed {
  display: flex;
  flex-direction: column;
}

.review-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 24px 0;
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.review-date {
  font-size: 12.5px;
  color: #888;
}

.review-item-rating {
  display: flex;
  gap: 2px;
  color: #e5e5e5;
}

.review-item-rating svg {
  width: 14px;
  height: 14px;
}

.review-item-rating svg.active {
  color: #ed1c24;
  fill: currentColor;
}

/* Review modal */
.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 24px;
}

.review-modal.is-open {
  display: grid;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.58);
  backdrop-filter: blur(4px);
}

.review-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.review-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  color: #1a1a1a;
}

.review-modal__close:hover {
  background: #ededed;
}

.review-modal__close svg {
  width: 20px;
  height: 20px;
}

.review-modal__eyebrow {
  color: #ed1c24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.review-modal__title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 48px 8px 0;
}

.review-modal__subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}

.review-form {
  display: grid;
  gap: 18px;
}

.review-form__field {
  display: grid;
  gap: 8px;
}

.review-form__label {
  font-size: 13px;
  font-weight: 650;
  color: #222;
}

.review-account {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  background: #fafafa;
}

.review-account strong {
  color: #1a1a1a;
  font-size: 14px;
}

.review-account small {
  color: #737373;
  font-size: 11px;
  line-height: 1.45;
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.review-form textarea {
  min-height: 92px;
  resize: vertical;
}

.review-form input:focus,
.review-form textarea:focus {
  border-color: #ed1c24;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, .1);
}

.review-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 5px;
}

.review-rating-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.review-rating-input label {
  color: #dedede;
  cursor: pointer;
  line-height: 1;
  transition: color .15s, transform .15s;
}

.review-rating-input label svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.review-rating-input label:hover {
  transform: translateY(-2px);
}

.review-rating-input label:hover,
.review-rating-input label:hover~label,
.review-rating-input input:checked~label {
  color: #ed1c24;
}

.review-upload {
  border: 1px dashed #cfcfcf;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #fafafa;
}

.review-upload:hover {
  border-color: #ed1c24;
  background: #fff8f8;
}

.review-upload.is-invalid {
  border-color: #c9171d;
  background: #fff4f4;
}

.review-upload__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #ed1c24;
  flex: 0 0 auto;
}

.review-upload__icon svg {
  width: 19px;
  height: 19px;
}

.review-upload__text {
  display: grid;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
}

.review-upload__hint {
  color: #888;
  font-size: 11px;
  font-weight: 400;
}

.review-upload input {
  display: none;
}

.review-form__actions {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.review-form__submit,
.review-form__cancel {
  height: 48px;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 650;
}

.review-form__submit {
  flex: 1;
  background: #ed1c24;
  color: #fff;
}

.review-form__submit:hover {
  background: #cf1118;
}

.review-form__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.review-form__cancel {
  background: #f3f3f3;
  color: #222;
}

.review-form__error {
  margin: 0;
  color: #b5161c;
  font-size: 12px;
  line-height: 1.5;
}

.review-form__success {
  display: none;
  text-align: center;
  padding: 42px 10px 24px;
}

.review-form__success.is-visible {
  display: block;
}

.review-form__success-icon {
  font-size: 42px;
  color: #ed1c24;
  margin-bottom: 12px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .review-modal {
    padding: 12px;
    align-items: end;
  }

  .review-modal__dialog {
    padding: 26px 20px 20px;
    border-radius: 22px 22px 14px 14px;
    max-height: calc(100vh - 24px);
  }

  .review-form__actions {
    flex-direction: column;
  }

  .review-form__cancel {
    order: 2;
  }
}

/* Commerce: persistent cart and checkout */
.cart-header-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  border-radius: 8px;
  background: #e31e24;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

#cartBtn {
  position: relative;
}

.rokit-cart-overlay .cart-panel {
  width: min(560px, 100%);
}

.rokit-cart-overlay .cart-panel__body {
  padding-top: 4px;
}

.rokit-cart-overlay .cart-item {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: start;
}

.cart-item__media {
  width: 72px;
  height: 72px;
  border: 1px solid #eceef1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fafafa;
  color: #9a9da5;
  font-size: 10px;
  font-weight: 700;
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item__content {
  min-width: 0;
}

.cart-item__content small {
  display: block;
  color: #8a8f98;
  font-size: 11px;
  margin: -5px 0 10px;
}

.cart-item__content .cart-item__option {
  margin: 0 0 10px;
  color: #5f6570;
}

.cart-item__name {
  color: #181a20;
  text-decoration: none;
  display: block;
}

.cart-item__name:hover {
  color: #e31e24;
}

.rokit-cart-overlay .ui-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.rokit-cart-overlay .cart-checkout[aria-disabled="true"] {
  pointer-events: none;
  opacity: .45;
}

.cart-empty {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #20242b;
}

.cart-empty span {
  font-size: 22px;
  font-weight: 700;
}

.cart-empty p {
  max-width: 300px;
  color: #777d87;
  line-height: 1.55;
  margin: 10px 0 22px;
}

.cart-empty a {
  text-decoration: none;
}

.product-cart-btn.is-added,
#detailCartBtn.is-added {
  background: #25813a !important;
  border-color: #25813a !important;
  color: #fff !important;
}

.cart-option-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(12, 14, 18, .62);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 18px
}

.cart-option-dialog {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28)
}

.cart-option-dialog>span {
  color: #e31e24;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em
}

.cart-option-dialog h2 {
  font-size: 21px;
  line-height: 1.3;
  margin: 7px 0 20px
}

.cart-option-dialog>div {
  display: grid;
  gap: 8px
}

.cart-option-dialog [data-option-index] {
  border: 1px solid #e1e4e8;
  border-radius: 11px;
  padding: 13px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #20242b
}

.cart-option-dialog [data-option-index]:hover,
.cart-option-dialog [data-option-index]:focus {
  border-color: #e31e24;
  background: #fff8f8;
  outline: none
}

.cart-option-dialog [data-option-index] small {
  color: #737985
}

.cart-option-cancel {
  margin-top: 16px;
  color: #747a84;
  font-size: 12px
}

.checkout-page {
  min-height: 100vh;
  background: #f5f6f8;
  color: #1b1e24;
  font-family: 'Onest', sans-serif;
}

.checkout-header {
  height: 82px;
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-header img {
  width: 130px;
  height: auto;
}

.checkout-back {
  color: #676e79;
  text-decoration: none;
  font-size: 14px;
}

.checkout-back:hover {
  color: #e31e24;
}

.checkout-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 32px 80px;
}

.checkout-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.checkout-heading>span {
  color: #e31e24;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 700;
}

.checkout-heading h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 10px 0 14px;
  letter-spacing: -.04em;
}

.checkout-heading p {
  color: #656c77;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

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

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-card {
  background: #fff;
  border: 1px solid #e7e9ed;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  box-shadow: 0 10px 35px rgba(31, 35, 42, .04);
}

.checkout-card__number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #1c1f27;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.checkout-card__content h2 {
  margin: 2px 0 22px;
  font-size: 21px;
}

.checkout-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field--wide {
  grid-column: 1/-1;
}

.checkout-field span {
  font-size: 12px;
  color: #656b75;
  font-weight: 600;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1px solid #dfe2e7;
  border-radius: 11px;
  background: #fbfbfc;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  color: #1b1e24;
  transition: .2s;
}

.checkout-field textarea {
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: #e31e24;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, .09);
  background: #fff;
}

.checkout-delivery {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
}

.checkout-delivery label {
  cursor: pointer;
}

.checkout-delivery input {
  position: absolute;
  opacity: 0;
}

.checkout-delivery label span {
  display: grid;
  gap: 3px;
  padding: 14px 16px 14px 46px;
  border: 1px solid #e0e3e8;
  border-radius: 12px;
  position: relative;
}

.checkout-delivery label span:before {
  content: '';
  position: absolute;
  left: 16px;
  top: 19px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #b5bac3;
  border-radius: 50%;
}

.checkout-delivery input:checked+span {
  border-color: #e31e24;
  background: #fff8f8;
}

.checkout-delivery input:checked+span:before {
  border: 5px solid #e31e24;
}

.checkout-delivery b {
  font-size: 14px;
}

.checkout-delivery small {
  color: #747b85;
  font-size: 12px;
}

.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #686f7a;
  font-size: 12px;
  line-height: 1.5;
  padding: 4px 3px;
}

.checkout-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #e31e24;
  cursor: pointer;
}

.checkout-consent label {
  cursor: pointer;
}

.checkout-policy-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #c9161d;
  font: inherit;
  font-weight: 650;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: pointer;
}

.checkout-policy-link:hover {
  color: #971016;
}

.checkout-policy-link:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .15);
  outline-offset: 3px;
  border-radius: 3px;
}

.checkout-policy-overlay {
  position:fixed;
  inset: 0;
  z-index: 1510;
  display: grid;
  place-items:center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.checkout-policy-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

.checkout-policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 19, .58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.checkout-policy-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 90px rgba(12, 14, 18, .3);
  transform: translateY(10px) scale(.985);
  transition: transform .24s cubic-bezier(.2, .8, .2, 1);
}

.checkout-policy-overlay.is-open .checkout-policy-dialog {
  transform: translateY(0) scale(1);
}

.checkout-policy-handle {
  display: none;
  flex: 0 0 auto;
  height: 18px;
  align-items: flex-end;
  justify-content: center;
}

.checkout-policy-handle span {
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: #c9ccd1;
}

.checkout-policy-header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid #e8eaed;
}

.checkout-policy-header>div>span {
  display: block;
  margin-bottom: 5px;
  color: #e31e24;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.checkout-policy-header h2 {
  margin: 0;
  color: #1b1e24;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.checkout-policy-close {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f0f1f3;
  color: #343840;
  font: 400 27px/1 'Onest', sans-serif;
  cursor: pointer;
}

.checkout-policy-close:hover {
  background: #e5e7ea;
}

.checkout-policy-body {
  min-height: 180px;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 28px;
  color: #505660;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  scrollbar-width: thin;
  scrollbar-color: #c8ccd2 transparent;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling:touch;
}

.checkout-policy-body:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .12);
  outline-offset: -4px;
}

.checkout-policy-footer {
  flex: 0 0 auto;
  padding: 16px 28px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid #e8eaed;
  background: rgba(255, 255, 255, .82);
}

.checkout-policy-done {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  background: #e31e24;
  color: #fff;
  font: 700 14px/1 'Onest', sans-serif;
  cursor: pointer;
}

.checkout-policy-done:hover {
  background: #c9171d;
}

.checkout-policy-close:focus-visible,
.checkout-policy-done:focus-visible {
  outline: 3px solid rgba(227, 30, 36, .18);
  outline-offset: 3px;
}

body.checkout-policy-open {
  overflow: hidden;
}

.checkout-submit {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #e31e24;
  color: #fff;
  min-height: 52px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: .2s;
}

.checkout-submit:hover {
  background: #c9171d;
  transform: translateY(-1px);
}

.checkout-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.checkout-form-status {
  color: #c61c22;
  min-height: 22px;
  margin: 0;
  font-size: 13px;
}

.checkout-summary {
  position: sticky;
  top: 24px;
  background: #171a22;
  color: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(24, 27, 34, .18);
}

.checkout-summary__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.checkout-summary__head h2 {
  margin: 0;
  font-size: 20px;
}

.checkout-summary__head span {
  color: #a9aeb9;
  font-size: 12px;
}

.checkout-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.checkout-line div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.checkout-line b {
  font-size: 13px;
  line-height: 1.4;
}

.checkout-line small,
.checkout-line span {
  color: #9fa5b0;
  font-size: 11px;
}

.checkout-line>strong {
  font-size: 13px;
  white-space: nowrap;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 22px;
}

.checkout-summary__total span {
  color: #b8bdc5;
}

.checkout-summary__total strong {
  font-size: 25px;
}

.checkout-summary>p {
  margin: 14px 0 0;
  color: #9298a4;
  font-size: 11px;
  line-height: 1.5;
}

.checkout-empty {
  padding: 30px 0;
  color: #b8bdc5;
}

.checkout-empty a {
  color: #fff;
}

.checkout-success {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background: rgba(15, 15, 15, .56);
  backdrop-filter: blur(4px);
}

.checkout-success[hidden] {
  display: none;
}

.checkout-success__card {
  width: min(980px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.checkout-success__header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e5e7eb;
}

.checkout-success__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf7ec;
  color: #27823b;
}

.checkout-success__icon svg {
  width: 28px;
  height: 28px;
}

.checkout-success h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.checkout-success__reference {
  min-width: 210px;
  padding: 15px 17px;
  border: 1px solid #dfe2e7;
  border-radius: 16px;
  background: #f7f8f9;
}

.checkout-success__reference span,
.checkout-success__delivery span {
  display: block;
  margin-bottom: 5px;
  color: #8a909b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.checkout-success__reference strong {
  display: block;
  color: #1b1e24;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
}

.checkout-success__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 18px;
  padding-top: 22px;
}

.checkout-success__main,
.checkout-success__summary {
  border: 1px solid #e2e4e8;
  border-radius: 20px;
  background: #fff;
}

.checkout-success__next {
  padding: 22px;
}

.checkout-success__next h2,
.checkout-success__summary h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.checkout-success__steps {
  display: grid;
  gap: 0;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-success__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  min-height: 66px;
}

.checkout-success__steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  bottom: 2px;
  left: 14px;
  width: 1px;
  background: #dfe2e6;
}

.checkout-success__steps li>span {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f1f3;
  color: #737986;
  font-size: 12px;
  font-weight: 700;
}

.checkout-success__steps li.is-current>span {
  background: #eaf7ec;
  color: #27823b;
}

.checkout-success__steps strong,
.checkout-success__steps small {
  display: block;
}

.checkout-success__steps strong {
  padding-top: 3px;
  color: #23262d;
  font-size: 14px;
}

.checkout-success__steps small {
  margin-top: 4px;
  color: #838994;
  font-size: 12px;
  line-height: 1.4;
}

.checkout-success__delivery {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin: 0 22px 22px;
  padding: 16px;
  border-radius: 16px;
  background: #f5f6f7;
}

.checkout-success__delivery-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #e31e24;
  box-shadow: 0 1px 3px rgba(17, 24, 39, .08);
}

.checkout-success__delivery-icon svg {
  width: 22px;
  height: 22px;
}

.checkout-success__delivery strong,
.checkout-success__delivery small {
  display: block;
}

.checkout-success__delivery strong {
  color: #252830;
  font-size: 14px;
}

.checkout-success__delivery small {
  margin-top: 3px;
  overflow: hidden;
  color: #818793;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-success__summary {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  background: #f8f8f9;
}

.checkout-success__summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.checkout-success__summary-head span {
  color: #888e99;
  font-size: 12px;
}

.checkout-success__items {
  display: grid;
  gap: 4px;
}

.checkout-success__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 60px;
}

.checkout-success__item-media {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e2e4e8;
  border-radius: 12px;
  background: #fff;
  color: #949aa4;
}

.checkout-success__item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-success__item-media svg {
  width: 22px;
  height: 22px;
}

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

.checkout-success__item strong {
  color: #282b31;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-success__item span {
  margin-top: 3px;
  color: #888e98;
  font-size: 11px;
}

.checkout-success__more {
  margin-top: 7px;
  color: #757b86;
  font-size: 11px;
}

.checkout-success__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #dfe2e6;
}

.checkout-success__total span {
  color: #6e7480;
  font-size: 13px;
}

.checkout-success__total strong {
  color: #17191e;
  font-size: 22px;
}

.checkout-success__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 20px;
}

.checkout-success__action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-success__action--secondary {
  border: 1px solid #d8dbe0;
  color: #30333a;
  background: #fff;
}

.checkout-success__action--primary {
  border: 1px solid #e31e24;
  color: #fff;
  background: #e31e24;
}

@media(max-width:900px) {
  .checkout-layout {
    grid-template-columns: 1fr
  }

  .checkout-summary {
    position: static;
    grid-row: 1
  }

  .checkout-shell {
    padding: 24px 18px 60px
  }

  .checkout-header {
    padding: 0 18px
  }

  .checkout-card {
    padding: 22px 18px;
    grid-template-columns: 32px 1fr;
    gap: 12px
  }

  .checkout-fields {
    grid-template-columns: 1fr
  }

  .checkout-field--wide {
    grid-column: auto
  }

  .checkout-success__content {
    grid-template-columns: 1fr;
  }

  .checkout-success__summary {
    min-height: auto;
  }

  .checkout-success__total {
    margin-top: 16px;
  }
}

@media(max-width:560px) {
  .rokit-cart-overlay .cart-item {
    grid-template-columns: 54px minmax(0, 1fr)
  }

  .cart-item__media {
    width: 54px;
    height: 54px
  }

  .rokit-cart-overlay .cart-item__price {
    grid-column: 2
  }

  .checkout-back {
    font-size: 0
  }

  .checkout-back:after {
    content: '← Назад';
    font-size: 13px
  }

  .checkout-heading h1 {
    font-size: 36px
  }

  .checkout-card {
    display: block
  }

  .checkout-card__number {
    margin-bottom: 16px
  }

  .checkout-success {
    padding: 16px
  }

  .checkout-success__card {
    padding: 24px
  }

  .checkout-success__header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 22px;
  }

  .checkout-success__icon {
    width: 48px;
    height: 48px;
  }

  .checkout-success__reference {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .checkout-success__content {
    grid-template-columns: 1fr;
  }

  .checkout-success__summary {
    min-height: auto;
  }

  .checkout-success__total {
    margin-top: 16px;
  }
}

@media(max-width:560px) {
  .checkout-success {
    place-items: end stretch;
    padding: 0;
  }

  .checkout-success__card {
    max-height: 94svh;
    overflow-y: auto;
    border-radius: 24px 24px 0 0;
    padding: 22px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .checkout-success__content {
    gap: 12px;
    padding-top: 16px;
  }

  .checkout-success__next,
  .checkout-success__summary {
    padding: 18px;
  }

  .checkout-success__delivery {
    margin: 0 18px 18px;
  }

  .checkout-success__actions {
    position: sticky;
    bottom: calc(-18px - env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 -16px;
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid #e5e7eb;
    backdrop-filter: blur(12px);
  }

  .checkout-success__action {
    min-height: 46px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media(max-width:1024px) {
  .hero-banner-sec .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .categories-sec {
    padding-right: 16px;
    padding-left: 16px;
  }

  .categories-sec__wrap {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media(max-width:640px){.checkout-policy-overlay{place-items:end stretch;padding:0}

  .checkout-policy-dialog{
    width: 100%;
    max-height: min(88svh, 760px);
    border-width: 1px 0 0;
    border-radius:24px 24px 0 0;
    box-shadow: 0 -18px 55px rgba(12, 14, 18, .22);
    transform:translateY(100%)
  }

  .checkout-policy-overlay.is-open .checkout-policy-dialog {
    transform: translateY(0)
  }

  .checkout-policy-handle {
    display: flex
  }

  .checkout-policy-header {
    padding: 14px 20px 17px
  }

  .checkout-policy-header h2 {
    font-size: 19px;
    line-height: 1.3
  }

  .checkout-policy-header>div>span {
    font-size: 9px
  }

  .checkout-policy-close {
    width: 36px;
    height: 36px;
    font-size: 24px
  }

  .checkout-policy-body {
    min-height: 140px;
    padding: 20px;
    font-size: 13px;
    line-height: 1.65
  }

  .checkout-policy-footer {
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom))
  }

  .checkout-policy-done {
    min-height: 50px;
    border-radius: 14px
  }
}

/* Account, saved items and cart UI */
.ui-overlay { position: fixed; inset: 0; z-index: 1300;
  display: none;
}

.ui-overlay.is-open {
  display: block;
}

.ui-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, .56);
  backdrop-filter: blur(4px);
}

.ui-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f4f4;
  display: grid;
  place-items: center;
  color: #171717;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.ui-close:hover {
  background: #e9e9e9;
}

.ui-close svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  display: block;
}

.auth-dialog {
  position: relative;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: min(10vh, 80px) auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

.auth-dialog .ui-close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.auth-brand {
  width: 118px;
  height: auto;
  margin-bottom: 22px;
}

.auth-title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 48px 8px 0;
}

.auth-subtitle {
  font-size: 14px;
  color: #6d6d6d;
  margin-bottom: 22px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 12px;
  background: #f3f3f3;
  margin-bottom: 22px;
}

.auth-tab {
  height: 40px;
  border-radius: 9px;
  color: #666;
  font-weight: 650;
  font-size: 14px;
}

.auth-tab.is-active {
  background: #fff;
  color: #171717;
  box-shadow: 0 2px 9px rgba(0, 0, 0, .08);
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.is-active {
  display: grid;
}

.ui-field {
  display: grid;
  gap: 7px;
}

.ui-field span {
  font-size: 12.5px;
  font-weight: 650;
}

.ui-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #dedede;
  border-radius: 12px;
  font: inherit;
  outline: none;
}

.ui-field input:focus {
  border-color: #ed1c24;
  box-shadow: 0 0 0 3px rgba(237, 28, 36, .1);
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #555;
}

.auth-link {
  color: #ed1c24;
  font-weight: 600;
}

.auth-form__assist {
  display: flex;
  justify-content: flex-end;
  margin-top: -3px;
}

.auth-form__assist .auth-link {
  font-size: 12px;
}

.auth-verification[hidden] {
  display: none;
}

.auth-verification h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.auth-verification>p {
  margin: 0 0 20px;
  color: #6d727a;
  font-size: 13px;
  line-height: 1.55;
}

.auth-verification>p strong {
  color: #171717;
  overflow-wrap: anywhere;
}

.auth-verification form {
  display: grid;
  gap: 14px;
}

.auth-otp {
  display: grid;
  gap: 8px;
}

.auth-otp__label {
  color: #202124;
  font-size: 12.5px;
  font-weight: 650;
}

.auth-otp__group {
  position: relative;
  isolation: isolate;
  width: min(100%, 276px);
  margin: 2px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  perspective: 480px;
}

.auth-code-input {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  outline: none;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  cursor: text;
  opacity: .01;
  font-size: 16px;
  -webkit-text-fill-color: transparent;
}

.auth-otp__slot {
  position: relative;
  min-width: 0;
  height: 60px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid #d9dce1;
  border-radius: 15px;
  background: #f7f8f9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88), 0 5px 14px rgba(24, 27, 33, .035);
  color: #17191d;
  font-size: 27px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transform: translateY(0) scale(1);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  pointer-events: none;
}

.auth-otp__slot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0) 55%);
  opacity: .65;
}

.auth-otp__slot.is-filled {
  border-color: #c6c9cf;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 27, 33, .055);
}

.auth-otp__slot.is-active {
  z-index: 1;
  border-color: #ed1c24;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, .11), 0 9px 22px rgba(152, 16, 23, .1);
  transform: translateY(-2px) scale(1.025);
}

.auth-otp__group.is-complete .auth-otp__slot {
  border-color: rgba(237, 28, 36, .52);
  background: #fffafa;
}

.auth-otp__group.is-invalid .auth-otp__slot {
  border-color: #d71920;
  background: #fff6f6;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, .08);
}

.auth-otp__value {
  position: relative;
  z-index: 1;
  display: inline-block;
  transform-origin: 50% 70%;
}

.auth-otp__value.is-entering {
  animation: auth-otp-digit-in .24s cubic-bezier(.2, .8, .2, 1);
}

.auth-otp__caret {
  position: absolute;
  z-index: 1;
  width: 2px;
  height: 26px;
  border-radius: 2px;
  background: #ed1c24;
  opacity: 0;
  transform: scaleY(.7);
}

.auth-otp__slot.is-active:not(.is-filled) .auth-otp__caret {
  opacity: 1;
  animation: auth-otp-caret 1s steps(1, end) infinite;
}

.auth-otp__group.is-shaking {
  animation: auth-otp-shake .3s ease;
}

@keyframes auth-otp-digit-in {
  from {
    opacity: 0;
    transform: translateY(8px) rotateX(-58deg) scale(.78);
  }

  65% {
    opacity: 1;
    transform: translateY(-2px) rotateX(8deg) scale(1.08);
  }

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

@keyframes auth-otp-caret {

  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes auth-otp-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }
}

.auth-verification__error {
  min-height: 18px;
  margin: -3px 0 0;
  color: #c2141b;
  font-size: 12px;
  line-height: 1.45;
}

.auth-verification__back {
  justify-self: center;
  padding: 3px 0;
  font-size: 12px;
}

.auth-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #555b65;
  font-size: 11.5px;
  line-height: 1.45;
}

.auth-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ed1c24;
  cursor: pointer;
}

.auth-consent label {
  cursor: pointer;
}

.auth-consent input:focus-visible {
  outline: 3px solid rgba(237, 28, 36, .16);
  outline-offset: 2px;
}

.auth-policy-link {
  display: inline;
  color: #d9161d;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.auth-policy-link:hover {
  color: #a90e14;
}

.ui-primary {
  min-height: 48px;
  border-radius: 12px;
  background: #ed1c24;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
}

.ui-primary:hover {
  background: #cf1118;
}

.auth-legal {
  font-size: 11px;
  line-height: 1.45;
  color: #888;
  text-align: center;
}

.auth-success {
  display: none;
  text-align: center;
  padding: 38px 5px 15px;
}

.auth-success.is-visible {
  display: block;
}

.auth-success__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff0f0;
  color: #ed1c24;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 700;
}

@media (max-width: 420px) {
  .auth-otp__group {
    width: min(100%, 250px);
    gap: 8px;
  }

  .auth-otp__slot {
    height: 54px;
    border-radius: 13px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .auth-otp__slot,
  .auth-otp__value,
  .auth-otp__caret,
  .auth-otp__group {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .auth-otp__slot.is-active {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

.privacy-overlay {
  z-index: 1310;
}

.privacy-dialog {
  height: min(640px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-dialog .auth-brand {
  flex: 0 0 auto;
}

.privacy-dialog .auth-title {
  flex: 0 0 auto;
  margin-bottom: 18px;
  font-size: 24px;
}

.privacy-dialog__body {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 18px 0;
  border-top: 1px solid #eceef1;
  color: #555b65;
  font-size: 12.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  scrollbar-width: thin;
  scrollbar-color: #c9ccd1 transparent;
}

.profile-overlay {
  z-index: 1305;
}

.profile-dialog {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  height: min(800px, calc(100vh - 32px));
  margin: 16px auto 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f6f7f8;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(17, 19, 24, .26);
}

.profile-dialog > .ui-close {
  position: absolute;
  z-index: 3;
  top: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  padding: 0 0 2px;
  font: 400 30px/1 Arial, sans-serif;
}

.profile-head {
  flex: 0 0 auto;
  min-height: 126px;
  padding: 25px 94px 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border-bottom: 1px solid #e8eaed;
}

.profile-head__copy {
  min-width: 0;
}

.profile-eyebrow {
  margin: 0 0 7px;
  color: #e31e24;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.profile-head h2 {
  margin: 0;
  color: #17191d;
  font-size: 30px;
  line-height: 1.15;
}

.profile-head__copy > p:last-child {
  margin: 7px 0 0;
  color: #777d87;
  font-size: 12.5px;
}

.profile-head__identity {
  min-width: 220px;
  max-width: 320px;
  padding: 12px 16px;
  display: grid;
  gap: 3px;
  border: 1px solid #e7e9ec;
  border-radius: 14px;
  background: #fafafb;
}

.profile-head__identity span {
  color: #8a9099;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.profile-head__identity strong {
  min-width: 0;
  overflow: hidden;
  color: #25282e;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-layout {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.profile-nav {
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid #e3e5e8;
  background: #f1f2f4;
}

.profile-nav__label {
  margin: 0 10px 5px;
  color: #9297a0;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-nav button {
  min-height: 62px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #606670;
  text-align: left;
}

.profile-nav button > .profile-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e6e8eb;
  color: #747a83;
}

.profile-nav button > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-nav button strong {
  color: inherit;
  font-size: 12.5px;
  font-weight: 700;
}

.profile-nav button small {
  color: #9297a0;
  font-size: 10px;
  font-weight: 500;
}

.profile-nav button:hover {
  background: rgba(255, 255, 255, .72);
  color: #17191d;
}

.profile-nav button.is-active {
  background: #fff;
  color: #17191d;
  border-color: #e3e5e8;
  box-shadow: 0 5px 18px rgba(21, 24, 31, .055);
}

.profile-nav button.is-active > .profile-icon {
  background: #e31e24;
  color: #fff;
}

.profile-nav__support {
  margin: auto 8px 0;
  padding: 15px 14px;
  display: grid;
  gap: 3px;
  border-top: 1px solid #dfe1e4;
  color: #898f98;
  font-size: 10px;
}

.profile-nav__support a {
  color: #343840;
  font-size: 11.5px;
  font-weight: 650;
  text-decoration: none;
}

.profile-content {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 30px 32px 36px;
  scrollbar-width: thin;
}

.profile-panel[hidden] {
  display: none;
}

.profile-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}

.profile-icon svg {
  width: 18px;
  height: 18px;
}

.profile-panel__head {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-panel__head h3 {
  margin: 0 0 7px;
  color: #17191d;
  font-size: 25px;
  line-height: 1.15;
}

.profile-panel__eyebrow {
  margin: 0 0 6px !important;
  color: #d71920 !important;
  font-size: 9.5px !important;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-panel__head p {
  margin: 0;
  color: #737985;
  font-size: 12.5px;
  line-height: 1.5;
}

.profile-refresh,
.profile-secondary {
  min-height: 38px;
  padding: 0 14px;
  flex: 0 0 auto;
  border: 1px solid #dfe2e6;
  border-radius: 10px;
  background: #fff;
  color: #32363e;
  font-size: 12px;
  font-weight: 650;
}

.profile-refresh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.profile-refresh .profile-icon {
  width: 17px;
  height: 17px;
}

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

.profile-refresh:hover,
.profile-secondary:hover {
  border-color: #c9cdd3;
  background: #f8f8f9;
}

.profile-orders {
  display: grid;
  gap: 16px;
}

.profile-state,
.profile-empty {
  min-height: 300px;
  padding: 36px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 9px;
  border: 1px solid #e3e5e8;
  border-radius: 22px;
  background: #fff;
  color: #777d87;
  font-size: 13px;
  text-align: center;
}

.profile-state strong {
  color: #262a30;
  font-size: 15px;
}

.profile-state p {
  margin: 0;
  font-size: 11.5px;
}

.profile-state__spinner {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  border: 2px solid #e1e3e7;
  border-top-color: #e31e24;
  border-radius: 50%;
  animation: profileSpin .75s linear infinite;
}

@keyframes profileSpin {
  to { transform: rotate(360deg); }
}

.profile-state--error {
  color: #a4262b;
}

.profile-state button,
.profile-empty a {
  margin-top: 10px;
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 11px;
  background: #e31e24;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.profile-empty a .profile-icon,
.profile-empty a .profile-icon svg {
  width: 15px;
  height: 15px;
}

.profile-icon--empty {
  width: 58px;
  height: 58px;
  margin-bottom: 7px;
  border-radius: 18px;
  background: #f4f5f6;
  color: #686e77;
}

.profile-icon--empty svg {
  width: 30px;
  height: 30px;
}

.profile-empty__eyebrow {
  margin: 0 !important;
  color: #969ba3 !important;
  font-size: 9.5px !important;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-empty strong {
  color: #1b1e24;
  font-size: 20px;
}

.profile-empty p {
  margin: 0;
  max-width: 370px;
  line-height: 1.55;
}

.profile-order {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e5e8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(24, 27, 34, .04);
}

.profile-order::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #e31e24;
  content: '';
}

.profile-order__head {
  padding: 20px 22px 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-order__reference {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-order__reference > .profile-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f0f1f3;
  color: #525862;
}

.profile-order__reference > .profile-icon svg {
  width: 20px;
  height: 20px;
}

.profile-order__reference > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-order__reference span {
  color: #878d96;
  font-size: 10.5px;
}

.profile-order__reference strong {
  overflow: hidden;
  color: #202329;
  font-size: 15.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-order__status {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef1f5;
  color: #4d545f;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .025em;
}

.profile-order__status--delivered {
  background: #eaf6ed;
  color: #28713a;
}

.profile-order__status--cancelled {
  background: #f2f2f3;
  color: #767b84;
}

.profile-order__status--shipped,
.profile-order__status--ready_to_ship {
  background: #edf3fb;
  color: #2e6095;
}

.profile-order__status--confirmed,
.profile-order__status--preparing {
  background: #fff3df;
  color: #936018;
}

.profile-order__progress {
  margin: 0;
  padding: 1px 22px 18px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.profile-order__progress li {
  position: relative;
  display: grid;
  gap: 6px;
  color: #a0a5ad;
}

.profile-order__progress li::before {
  position: absolute;
  top: 4px;
  left: 10px;
  right: -2px;
  height: 1px;
  background: #e1e3e6;
  content: '';
}

.profile-order__progress li:last-child::before {
  display: none;
}

.profile-order__progress li > span {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid #d8dade;
  border-radius: 50%;
  background: #fff;
}

.profile-order__progress li.is-complete::before {
  background: #e31e24;
}

.profile-order__progress li.is-complete > span,
.profile-order__progress li.is-current > span {
  border-color: #e31e24;
  background: #e31e24;
}

.profile-order__progress li.is-complete,
.profile-order__progress li.is-current {
  color: #4b5058;
}

.profile-order__progress small {
  overflow: hidden;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-order__summary {
  padding: 15px 22px 15px 24px;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(110px, .8fr) minmax(140px, auto);
  align-items: center;
  gap: 12px;
  border-top: 1px solid #edeef0;
  border-bottom: 1px solid #edeef0;
  background: #fafafb;
}

.profile-order__summary > div:not(.profile-order__total) {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #757b85;
}

.profile-order__summary > div > .profile-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #fff;
  color: #6c727b;
  box-shadow: inset 0 0 0 1px #e6e8eb;
}

.profile-order__summary > div > .profile-icon svg {
  width: 16px;
  height: 16px;
}

.profile-order__summary > div > span {
  min-width: 0;
  display: grid;
  gap: 2px;
  font-size: 9.5px;
}

.profile-order__summary > div > span strong {
  overflow: hidden;
  color: #30343b;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-order__total {
  padding-left: 18px;
  display: grid;
  gap: 2px;
  border-left: 1px solid #e1e3e6;
  text-align: right;
}

.profile-order__total span {
  color: #858b94;
  font-size: 9.5px;
}

.profile-order__total strong {
  color: #1e2127;
  font-size: 17px;
}

.profile-order__items {
  padding: 17px 22px 20px 24px;
  display: grid;
  gap: 5px;
}

.profile-order__items-head {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-order__items-head strong {
  color: #32363d;
  font-size: 11px;
}

.profile-order__items-head > span {
  color: #969ba3;
  font-size: 9.5px;
}

.profile-order__items a {
  min-width: 0;
  min-height: 48px;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  color: #30343b;
  text-decoration: none;
}

.profile-order__items a:hover {
  background: #f6f7f8;
}

.profile-order__item-media {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid #e8e9eb;
  background: #fff;
  color: #777d86;
}

.profile-order__item-media img {
  width: 100%;
  height: 100%;
  padding: 3px;
  display: block;
  object-fit: contain;
}

.profile-order__item-media .profile-icon,
.profile-order__item-media .profile-icon svg {
  width: 17px;
  height: 17px;
}

.profile-order__item-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.profile-order__item-copy strong {
  overflow: hidden;
  color: #30343b;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-order__items a:hover .profile-order__item-copy strong {
  color: #d71920;
}

.profile-order__item-copy small {
  color: #878d96;
  font-size: 9.5px;
}

.profile-order__items a > .profile-icon:last-child {
  width: 16px;
  height: 16px;
  color: #a2a7af;
}

.profile-order__items a > .profile-icon:last-child svg {
  width: 14px;
  height: 14px;
}

.profile-form {
  width: min(650px, 100%);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid #e2e4e8;
  border-radius: 18px;
  background: #fff;
}

.profile-form .ui-field:nth-of-type(3),
.profile-form__status,
.profile-form__submit {
  grid-column: 1 / -1;
}

.profile-form .ui-field span small {
  color: #8b9098;
  font-size: 10px;
  font-weight: 500;
}

.profile-form__submit {
  justify-self: start;
  min-width: 190px;
}

.profile-form__status {
  min-height: 18px;
  margin: 0;
  color: #6d737d;
  font-size: 11.5px;
  line-height: 1.45;
}

.profile-form__status.is-success {
  color: #28713a;
}

.profile-form__status.is-error {
  color: #bd1d24;
}

.profile-security-card {
  margin-bottom: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid #e2e4e8;
  border-radius: 16px;
  background: #fff;
}

.profile-security-card > .profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f0f1f3;
  color: #666c75;
}

.profile-security-card > .profile-icon svg {
  width: 20px;
  height: 20px;
}

.profile-security-card h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.profile-security-card p {
  margin: 0;
  color: #7a8089;
  font-size: 11.5px;
}

.profile-danger {
  margin-top: 26px;
  border-top: 1px solid #dde0e4;
}

.profile-danger summary {
  padding: 16px 2px;
  color: #8a9099;
  font-size: 11px;
  cursor: pointer;
  user-select: none;
}

.profile-danger__body {
  padding: 20px;
  border: 1px solid #f0c8ca;
  border-radius: 16px;
  background: #fffafa;
}

.profile-danger__body h4 {
  margin: 0 0 7px;
  color: #a9151b;
  font-size: 15px;
}

.profile-danger__body>p {
  margin: 0 0 18px;
  color: #76575a;
  font-size: 11.5px;
  line-height: 1.55;
}

.profile-danger form {
  display: grid;
  gap: 13px;
}

.profile-delete {
  min-height: 44px;
  justify-self: start;
  padding: 0 16px;
  border-radius: 10px;
  background: #b7181e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.profile-delete:hover {
  background: #941218;
}

.password-reset-overlay {
  z-index: 1320;
}

.password-reset-dialog {
  margin-top: min(14vh, 110px);
}

.password-reset-verification[hidden] {
  display: none;
}

.password-reset-verification>p {
  margin: 0 0 18px;
  color: #6d727a;
  font-size: 13px;
  line-height: 1.55;
}

.password-reset-verification>p strong {
  color: #171717;
  overflow-wrap: anywhere;
}

.password-reset-verification__back {
  justify-self: center;
  padding: 3px 0;
  font-size: 12px;
}

@media (max-width: 900px) and (min-width: 701px) {
  .profile-dialog {
    width: calc(100% - 24px);
  }

  .profile-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .profile-content {
    padding: 26px 24px 32px;
  }

  .profile-order__summary {
    grid-template-columns: minmax(120px, 1fr) minmax(100px, .75fr) minmax(120px, auto);
  }
}

@media (max-width: 700px) {
  .profile-dialog {
    width: 100%;
    height: calc(100% - 12px);
    margin: 12px 0 0;
    border-radius: 24px 24px 0 0;
  }

  .profile-dialog > .ui-close { top: 16px; right: 16px; }

  .profile-head {
    min-height: 104px;
    padding: 18px 66px 16px 18px;
  }

  .profile-head h2 {
    font-size: 21px;
  }

  .profile-head__copy > p:last-child {
    max-width: 230px;
    font-size: 10.5px;
  }

  .profile-head__identity {
    display: none;
  }

  .profile-layout {
    display: flex;
    flex-direction: column;
  }

  .profile-nav {
    flex: 0 0 auto;
    padding: 8px 10px;
    flex-direction: row;
    gap: 5px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid #e3e5e8;
    scrollbar-width: none;
  }

  .profile-nav button {
    min-width: max-content;
    min-height: 46px;
    padding: 6px 10px;
    grid-template-columns: 26px auto;
    gap: 7px;
  }

  .profile-nav button > .profile-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .profile-nav button > .profile-icon svg {
    width: 15px;
    height: 15px;
  }

  .profile-nav button strong {
    font-size: 11px;
  }

  .profile-nav button small,
  .profile-nav__label,
  .profile-nav__support {
    display: none;
  }

  .profile-content {
    padding: 18px 14px 88px;
  }

  .profile-panel__head h3 {
    font-size: 19px;
  }

  .profile-panel__head p:not(.profile-panel__eyebrow) {
    max-width: 230px;
    font-size: 10.5px;
  }

  .profile-refresh {
    min-height: 34px;
    padding: 0 11px;
  }

  .profile-refresh span:last-child {
    display: none;
  }

  .profile-order {
    border-radius: 18px;
  }

  .profile-order__head {
    padding: 16px 15px 14px 18px;
  }

  .profile-order__reference > .profile-icon {
    width: 34px;
    height: 34px;
  }

  .profile-order__reference strong {
    max-width: 170px;
    font-size: 13px;
  }

  .profile-order__status {
    padding: 6px 8px;
    font-size: 8.5px;
  }

  .profile-order__progress {
    padding: 0 15px 16px 18px;
  }

  .profile-order__progress small {
    font-size: 8px;
  }

  .profile-order__summary {
    padding: 13px 15px 13px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }

  .profile-order__total {
    grid-column: 1 / -1;
    padding: 11px 0 0;
    grid-template-columns: 1fr auto;
    align-items: end;
    border-top: 1px solid #e1e3e6;
    border-left: 0;
    text-align: left;
  }

  .profile-order__items {
    padding: 15px 11px 16px 14px;
  }

  .profile-order__items a {
    padding: 6px 4px;
  }

  .profile-form {
    padding: 17px;
    grid-template-columns: 1fr;
  }

  .profile-form .ui-field,
  .profile-form__status,
  .profile-form__submit {
    grid-column: 1;
  }

  .profile-form__submit {
    width: 100%;
  }

  .profile-security-card {
    padding: 15px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .profile-security-card > .profile-icon {
    width: 36px;
    height: 36px;
  }

  .profile-security-card .profile-secondary {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-delete {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .profile-order__progress small {
    visibility: hidden;
  }

  .profile-order__progress li.is-current small {
    visibility: visible;
  }

  .profile-order__reference strong {
    max-width: 135px;
  }

  .profile-order__summary > div > .profile-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-state__spinner {
    animation: none;
    border-color: #e31e24;
  }
}

.saved-popover {
  position: fixed;
  z-index: 1250;
  width: 360px;
  max-width: calc(100vw - 24px);
  display: none;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .16);
  padding: 18px;
}

.saved-popover.is-open {
  display: block;
  animation: uiPop .16s ease-out;
}

@keyframes uiPop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.saved-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.saved-popover__title {
  font-size: 17px;
  font-weight: 700;
}

.saved-popover__count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 20px;
  background: #17191d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.saved-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
}

.saved-item__image {
  display: none;
}

.saved-item__name {
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 5px;
}

.saved-item__price {
  font-size: 13px;
  font-weight: 750;
}

.saved-item__remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #999;
  font-size: 18px;
}

.saved-item__remove:hover {
  background: #f4f4f4;
  color: #ed1c24;
}

.saved-popover__action {
  width: 100%;
  margin-top: 10px;
}

.saved-popover__empty {
  padding: 18px 4px 8px;
  color: #777d87;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.saved-popover__hint {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f6f8;
  color: #555b65;
  font-size: 12px;
  line-height: 1.45;
}

.saved-popover__action[aria-disabled="true"] {
  background: #d7d9dd;
  color: #6e737b;
  box-shadow: none;
  cursor: pointer;
}

.saved-lists-notice {
  position: fixed;
  z-index: 10020;
  left: 50%;
  bottom: 28px;
  width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: #1b1d22;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
  color: #fff;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.saved-lists-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 720px) {
  .saved-lists-notice {
    bottom: 88px;
  }
}

.favorite-panel-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.favorite-panel-item>div:first-child {
  min-width: 0;
}

.favorite-panel-item small {
  display: block;
  margin-top: 6px;
  color: #777d87;
  font-size: 12px;
}

.favorite-panel-item__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.favorite-panel-item__actions .ui-primary {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12px;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -20px 0 65px rgba(0, 0, 0, .18);
}

.ui-overlay.is-open .cart-panel {
  transform: translateX(0);
}

.cart-panel__header {
  padding: 22px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel__title {
  font-size: 25px;
  font-weight: 750;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-panel__badge {
  font-size: 11px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #17191d;
  color: #fff;
}

.cart-panel__body {
  flex: 1;
  overflow: auto;
  padding: 8px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.cart-item__image {
  display: none;
}

.cart-item__name {
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 650;
  margin: 2px 0 10px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 9px;
  overflow: hidden;
}

.cart-qty button {
  width: 30px;
  height: 30px;
  font-size: 18px;
}

.cart-qty span {
  width: 25px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-item__price {
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  padding-top: 3px;
}

.cart-item__remove {
  color: #999;
  font-size: 11px;
  border-bottom: 1px dashed #aaa;
}

.cart-panel__footer {
  border-top: 1px solid #e9e9e9;
  padding: 20px 24px 24px;
  background: #fff;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 15px;
}

.cart-summary__label {
  display: grid;
  gap: 3px;
  font-size: 13px;
  color: #777;
}

.cart-summary__label b {
  color: #222;
  font-size: 16px;
}

.cart-summary__total {
  font-size: 25px;
  font-weight: 800;
}

.cart-checkout {
  width: 100%;
}

.cart-delivery-note {
  margin-top: 10px;
  color: #777;
  font-size: 11.5px;
  text-align: center;
}

@media (max-width: 700px) {
  .auth-dialog {
    margin: 12px auto 0;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .saved-popover {
    left: 12px !important;
    right: 12px;
    top: 76px !important;
    width: auto;
  }

  .cart-panel__header,
  .cart-panel__footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cart-panel__body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cart-item {
    grid-template-columns: 1fr auto;
  }

  .cart-item__price {
    grid-column: 2;
  }
}

.review-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.review-media-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #111;
  transition: opacity 0.15s;
}

.review-media-thumb:hover {
  opacity: 0.85;
}

.review-media-thumb img,
.review-media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-body {
  margin-bottom: 16px;
}

.review-main-text {
  font-size: 15px;
  line-height: 1.55;
  color: #222;
  margin-bottom: 16px;
}

.review-pros-cons {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-points {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.points-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a1a1a;
}

.points-text {
  font-size: 14.5px;
  color: #444;
  line-height: 1.45;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.review-action-btn {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.review-action-btn:hover {
  color: #1a1a1a;
}

.review-like-btn svg {
  width: 14.5px;
  height: 14.5px;
}

.review-like-btn.liked {
  color: #2e7d32;
}

.review-like-btn:disabled {
  cursor: wait;
  opacity: .55;
}

.like-count {
  font-weight: 700;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 1px 6px;
  border-radius: 6px;
}

/* Response Adaptive Settings */
@media (max-width: 768px) {
  .reviews-section-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .reviews-summary-card {
    position: static;
    width: 100%;
  }

  .info-tabs-nav {
    gap: 20px;
  }

  .info-tab-btn {
    font-size: 15px;
  }

  .product-documents {
    grid-template-columns: 1fr;
  }

  .product-document {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px;
    gap: 12px;
  }

  .product-document__actions {
    width: 100%;
    padding-left: 54px;
  }

  .product-document__action {
    flex: 1;
  }

  .features-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Search Suggestions Hover & Active State */
.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: #f5f5f7 !important;
}

.search-suggestion-item:last-child {
  border-bottom: none !important;
}

/* Ensure megamenu links use correct light text color on dark sidebar background */
a.catalog-dropdown__sidebar-item {
  color: #999 !important;
}

a.catalog-dropdown__sidebar-item:hover,
a.catalog-dropdown__sidebar-item--active {
  color: #fff !important;
}

/* iOS zooms the viewport when a focused editable control computes below 16px.
   Keep native page zoom available while making form focus stable on phones. */
@media (max-width: 1024px) {
  @supports (-webkit-touch-callout: none) {

    input,
    select,
    textarea,
    [contenteditable="true"] {
      font-size: 16px !important;
    }
  }
}

/* Client ROKIT AI: shared floating consultation entry point. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.client-ai-widget { position: fixed; z-index: 1250;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 13px;
  font-family: 'Onest', sans-serif;
  transition: opacity .16s ease, visibility 0s linear 0s;
}

body:has(.ui-overlay.is-open) .client-ai-widget,
body:has(.checkout-policy-overlay.is-open) .client-ai-widget,
body:has(.home-gallery-lightbox:not([hidden])) .client-ai-widget,
body:has(.shorts-viewer:not([hidden])) .client-ai-widget,
body:has(.video-modal--open) .client-ai-widget,
body:has(.cart-option-overlay) .client-ai-widget,
body:has(.checkout-success) .client-ai-widget {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition-delay: 0s, .16s;
}

.client-ai-launcher {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}

.client-ai-launcher::before,
.client-ai-launcher::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -5px;
  border: 1px solid rgba(227, 30, 36, .28);
  border-radius: inherit;
  opacity: .7;
  animation: clientAiPulse 3.6s ease-out infinite;
}

.client-ai-launcher::after {
  inset: -11px;
  opacity: .25;
  animation-delay: 1.8s;
}

.client-ai-launcher .client-ai-orb {
  --orb-eye-width: 5px;
  --orb-eye-height: 12px;
  --orb-eye-gap: 10px;
  width: 58px;
  height: 58px;
  box-shadow: 0 10px 26px rgba(157, 0, 8, .28), inset 0 1px 1px rgba(255, 255, 255, .32), inset -7px -8px 13px rgba(84, 0, 4, .27);
  transition: transform .22s ease, filter .22s ease;
}

.client-ai-orb--launcher { display: block; }

.client-ai-launcher__message {
  position: absolute !important;
  z-index: 5;
  top: 50% !important;
  left: 50% !important;
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 !important;
  color: #fff;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .34));
  transform: translate(-50%, -50%) !important;
}

.client-ai-launcher:hover .client-ai-orb,
.client-ai-widget.is-open .client-ai-launcher .client-ai-orb {
  transform: translateY(-2px) scale(1.04);
  filter: saturate(1.08);
}

.client-ai-widget.is-thinking .client-ai-launcher::before,
.client-ai-widget.is-thinking .client-ai-launcher::after {
  animation-duration: 1.05s;
  border-color: rgba(227, 30, 36, .54);
}

.client-ai-launcher:focus-visible {
  outline: 2px solid #e31e24;
  outline-offset: 5px;
}

.client-ai-launcher.has-unread::after {
  inset: auto -1px auto auto;
  z-index: 7;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  background: #e31e24;
  opacity: 1;
  animation: none;
}

.client-ai-panel { width: min(390px, calc(100vw - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 24px;
  background: rgba(249, 250, 252, .79);
  box-shadow: 0 22px 70px rgba(18, 20, 25, .2), 0 2px 8px rgba(18, 20, 25, .08);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  transform-origin: right bottom;
  animation: clientAiPanelIn .24s cubic-bezier(.2, .8, .2, 1);
}

.client-ai-panel[hidden] {
  display: none;
}

.client-ai-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 14px 14px 12px 17px;
  border-bottom: 1px solid rgba(24, 25, 29, .08);
}

.client-ai-panel__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.client-ai-panel__identity .client-ai-orb {
  width: 34px;
  height: 34px;
  --orb-eye-width: 3px;
  --orb-eye-height: 8px;
  --orb-eye-gap: 6px;
  box-shadow: 0 5px 14px rgba(157, 0, 8, .2), inset 0 1px 1px rgba(255, 255, 255, .28), inset -5px -5px 9px rgba(84, 0, 4, .25);
}

.client-ai-panel__identity strong,
.client-ai-panel__identity span {
  display: block;
}

.client-ai-panel__identity strong {
  color: #1b1b1e;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.client-ai-panel__identity div span {
  margin-top: 2px;
  color: #777981;
  font-size: 10px;
  font-weight: 500;
}

.client-ai-panel__close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(24, 25, 29, .08);
  border-radius: 50%;
  background: rgba(255, 255, 255, .54);
  color: #54555a;
  font: 300 24px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.client-ai-panel__close:hover {
  color: #1b1b1e;
  background: #fff;
  transform: rotate(4deg);
}

.client-ai-panel__close:focus-visible,
.client-ai-suggestions button:focus-visible,
.client-ai-form__send:focus-visible {
  outline: 2px solid #e31e24;
  outline-offset: 2px;
}

.client-ai-operator-state {
  margin: 10px 14px 0;
  padding: 9px 11px;
  border: 1px solid rgba(227, 30, 36, .12);
  border-radius: 12px;
  background: rgba(227, 30, 36, .055);
  color: #6f3033;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.client-ai-messages {
  display: flex;
  max-height: min(360px, 42dvh);
  min-height: 158px;
  flex-direction: column;
  gap: 9px;
  padding: 15px 14px 11px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 29, 33, .22) transparent;
}

.client-ai-message {
  width: fit-content;
  max-width: 90%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  animation: clientAiMessageIn .2s ease both;
}

.client-ai-message p {
  margin: 0;
}

.client-ai-message--assistant {
  align-self: flex-start;
  border: 1px solid rgba(31, 32, 36, .07);
  border-top-left-radius: 5px;
  background: rgba(255, 255, 255, .7);
  color: #303136;
}

.client-ai-message--operator {
  align-self: flex-start;
  border: 1px solid rgba(227, 30, 36, .14);
  border-top-left-radius: 5px;
  background: #fff;
  color: #26272b;
  box-shadow: 0 5px 16px rgba(35, 21, 22, .06);
}

.client-ai-message--operator small {
  display: block;
  margin: 0 0 3px;
  color: #c41b22;
  font-size: 9px;
  font-weight: 750;
}

.client-ai-message--system {
  align-self: center;
  max-width: 96%;
  padding: 5px 10px;
  background: transparent;
  color: #8b8c91;
  font-size: 9px;
  text-align: center;
}

.client-ai-message--user {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: #202124;
  color: #fff;
}

.client-ai-message__contact {
  display: inline-flex;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(227, 30, 36, .1);
  color: #c61b22;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.client-ai-message__contact:hover {
  background: rgba(227, 30, 36, .16);
}

.client-ai-suggestions {
  display: flex;
  gap: 7px;
  padding: 0 14px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.client-ai-suggestions::-webkit-scrollbar {
  display: none;
}

.client-ai-suggestions button {
  min-height: 31px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid rgba(31, 32, 36, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  color: #55565c;
  font: 600 10px/1 'Onest', sans-serif;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.client-ai-suggestions button:hover {
  border-color: rgba(227, 30, 36, .25);
  background: rgba(227, 30, 36, .06);
  color: #bd1c22;
}

.client-ai-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 12px;
  padding: 7px 8px 7px 12px;
  border: 1px solid rgba(31, 32, 36, .12);
  border-radius: 17px;
  background: rgba(255, 255, 255, .77);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.client-ai-form:focus-within {
  border-color: rgba(227, 30, 36, .34);
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 0 0 3px rgba(227, 30, 36, .07);
}

.client-ai-form__field {
  display: block;
  min-width: 0;
  flex: 1;
}

.client-ai-form textarea {
  display: block;
  width: 100%;
  min-height: 27px;
  max-height: 104px;
  resize: none;
  border: 0;
  outline: 0;
  padding: 4px 0;
  overflow-y: auto;
  background: transparent;
  color: #25262b;
  font: 500 12px/1.45 'Onest', sans-serif;
}

.client-ai-form textarea:focus-visible { outline: none; }

.client-ai-form textarea::placeholder {
  color: #9b9ca2;
}

.client-ai-form textarea:disabled {
  opacity: .58;
}

.client-ai-form__send {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e31e24;
  color: #fff;
  font: 500 21px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.client-ai-form__send:hover {
  background: #c8161d;
  transform: translateY(-1px);
}

.client-ai-form__send:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.client-ai-send-error {
  align-self: center;
  margin: 0;
  color: #c41b22;
  font-size: 10px;
  text-align: center;
}

.client-ai-orb .rokit-ai-orb__face {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--orb-eye-gap);
  box-sizing: border-box;
}

.client-ai-orb .client-ai-orb__eye {
  display: block !important;
  width: var(--orb-eye-width);
  min-width: var(--orb-eye-width);
  height: var(--orb-eye-height);
  min-height: var(--orb-eye-height);
  flex: 0 0 var(--orb-eye-width);
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 7px rgba(255, 255, 255, .65), 0 1px 0 rgba(255, 255, 255, .7);
  transform: none;
  animation: clientAiEyeBlink 5.8s ease-in-out infinite;
}

.client-ai-orb .client-ai-orb__eye:nth-child(2) {
  animation-delay: .035s;
}

.client-ai-panel__note {
  margin: 10px 18px 15px;
  color: #8b8c91;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

@keyframes clientAiPulse {

  0%,
  36% {
    transform: scale(.88);
    opacity: 0;
  }

  48% {
    opacity: .6;
  }

  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

@keyframes clientAiPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }

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

@keyframes clientAiMessageIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

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

@keyframes clientAiEyeBlink {

  0%,
  92%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(.12);
  }
}

@media (max-width: 760px) {
  .client-ai-widget { right: 13px; bottom: max(84px, calc(env(safe-area-inset-bottom) + 76px)); }

  .client-ai-launcher {
    width: 56px;
    height: 56px;
  }

  .client-ai-launcher .client-ai-orb {
    width: 52px;
    height: 52px;
    --orb-eye-width: 4px;
    --orb-eye-height: 10px;
    --orb-eye-gap: 8px;
  }

  .client-ai-panel {
    width: calc(100vw - 26px);
    border-radius: 21px;
  }

  .client-ai-messages {
    max-height: min(330px, 39dvh);
    min-height: 138px;
  }

  .product-sticky-bar {
    display: none !important;
  }

  .product-sticky-bar__image {
    display: none;
  }

  .product-sticky-bar__rating {
    display: none;
  }

  .product-sticky-bar__quick-full {
    display: none;
  }

  .product-sticky-bar__quick-short {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {

  .client-ai-launcher::before,
  .client-ai-launcher::after,
  .client-ai-panel,
  .client-ai-message,
  .client-ai-orb .client-ai-orb__eye {
    animation: none;
  }

  .client-ai-launcher .client-ai-orb {
    transition: none;
  }

  .product-sticky-bar {
    transition: none;
  }
}

/* ===========================
   SEO / GEO CONTENT LAYERS
   =========================== */
.home-solutions__head > span,
.home-faq header > span,
.solution-hero > span,
.solution-faq > span,
.knowledge-page-intro span {
  display: block;
  margin-bottom: 12px;
  color: #d91f26;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solution-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.solution-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #17181c;
  color: #fff;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease;
}

.solution-links a:nth-child(even) {
  border: 1px solid #d8dce1;
  background: #fff;
  color: #17181c;
}

.solution-links a:hover {
  transform: translateY(-2px);
  background: #d91f26;
  color: #fff;
}

.home-solutions,
.home-faq {
  padding: 68px 0;
}

.home-solutions {
  background: #17181c;
  color: #fff;
}

.home-solutions__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 10px 40px;
  align-items: end;
  margin-bottom: 28px;
}

.home-solutions__head > span {
  grid-column: 1 / -1;
  color: #ff545a;
}

.home-solutions__head h2,
.home-faq h2,
.solution-hero h1,
.solution-faq h2,
.solution-next h2,
.knowledge-page-intro h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.home-solutions__head p {
  color: #aeb2ba;
  font-size: 15px;
  line-height: 1.55;
}

.home-solutions__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.home-solutions__grid > a {
  grid-column: span 2;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: #202126;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-solutions__grid > a:nth-child(4),
.home-solutions__grid > a:nth-child(5) {
  grid-column: span 3;
}

.home-solutions__grid > a:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 84, 90, .55);
  background: #27282e;
}

.home-solutions__grid span,
.solution-index-grid article > span {
  color: #ff6a70;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-solutions__grid strong {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.16;
}

.home-solutions__grid small {
  margin-top: auto;
  padding-top: 24px;
  color: #c7cad0;
  font-size: 13px;
}

.home-faq__layout {
  display: grid;
  grid-template-columns: minmax(250px, .58fr) minmax(0, 1fr);
  gap: 48px;
}

.home-faq header {
  position: sticky;
  top: 150px;
  align-self: start;
}

.home-faq header p {
  margin-top: 18px;
  color: #6e747c;
  line-height: 1.6;
}

.home-faq__items,
.solution-faq {
  display: grid;
  gap: 10px;
}

.home-faq details,
.solution-faq details {
  border: 1px solid #e1e4e8;
  border-radius: 18px;
  background: #fff;
}

.home-faq summary,
.solution-faq summary {
  position: relative;
  padding: 21px 54px 21px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 650;
}

.home-faq summary::-webkit-details-marker,
.solution-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after,
.solution-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 20px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f1f3;
  line-height: 25px;
  text-align: center;
  transform: translateY(-50%);
}

.home-faq details[open] summary::after,
.solution-faq details[open] summary::after {
  content: '−';
  background: #17181c;
  color: #fff;
}

.home-faq details p,
.solution-faq details p {
  padding: 0 22px 22px;
  color: #5c626a;
  line-height: 1.65;
}

.category-content__intro {
  max-width: 780px;
  margin: 10px 0 24px;
  color: #61666d;
  font-size: 15px;
  line-height: 1.6;
}

.knowledge-page-intro {
  padding: 50px 0 22px;
}

.knowledge-page-intro p {
  max-width: 800px;
  margin-top: 16px;
  color: #626870;
  font-size: 16px;
  line-height: 1.65;
}

.company-passport {
  padding: 22px 0 80px;
}

.company-passport__layout {
  display: grid;
  grid-template-columns: minmax(260px, .55fr) minmax(0, 1fr);
  gap: 46px;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 28px;
  background: #17181c;
  color: #fff;
}

.company-passport header > span {
  display: block;
  margin-bottom: 12px;
  color: #ff5e64;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.company-passport h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.company-passport header p {
  margin-top: 18px;
  color: #afb3bb;
  line-height: 1.6;
}

.company-passport__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
}

.company-passport__facts > div {
  min-height: 105px;
  padding: 19px;
  background: #202126;
}

.company-passport__facts dt {
  color: #8f949d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.company-passport__facts dd {
  margin-top: 8px;
  line-height: 1.55;
}

.company-passport__facts a {
  color: #ff6a70;
}

/* Server-rendered solution hubs */
.solution-page {
  padding: 34px 0 86px;
}

.solution-page .knowledge-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: #777d85;
  font-size: 12px;
}

.solution-page .knowledge-breadcrumbs a:hover {
  color: #d91f26;
}

.solution-hero {
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 15%, rgba(229, 31, 38, .35), transparent 34%),
    linear-gradient(140deg, #17181c, #25262c);
  color: #fff;
}

.solution-hero h1 {
  max-width: 950px;
}

.solution-hero > p {
  max-width: 840px;
  margin-top: 22px;
  color: #c4c7cd;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.65;
}

.solution-hero ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  list-style: none;
}

.solution-hero li {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #e4e5e8;
  font-size: 12px;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  margin-top: 18px;
}

.solution-layout > article {
  display: grid;
  gap: 18px;
}

.solution-section,
.solution-layout > aside,
.solution-index-grid article {
  border: 1px solid #e1e4e8;
  border-radius: 24px;
  background: #fff;
}

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

.solution-section h2 {
  margin-bottom: 18px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.solution-section p {
  max-width: 830px;
  margin-top: 12px;
  color: #555b63;
  font-size: 15px;
  line-height: 1.7;
}

.solution-layout > aside {
  position: sticky;
  top: 150px;
  display: flex;
  min-height: 240px;
  align-self: start;
  flex-direction: column;
  padding: 26px;
}

.solution-layout > aside strong {
  font-size: 20px;
  line-height: 1.2;
}

.solution-layout > aside p {
  margin: 12px 0 24px;
  color: #6d737b;
  line-height: 1.55;
}

.solution-layout > aside a {
  margin-top: 7px;
  color: #c91b22;
  font-weight: 650;
}

.solution-faq,
.solution-next {
  margin-top: 66px;
}

.solution-faq > span {
  margin-bottom: 5px;
}

.solution-faq h2,
.solution-next h2 {
  margin-bottom: 22px;
}

.solution-next > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.solution-next a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid #e1e4e8;
  border-radius: 16px;
  background: #fff;
  font-weight: 650;
}

.solution-next a:hover {
  border-color: #d91f26;
  color: #d91f26;
}

.solution-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.solution-index-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 30px;
}

.solution-index-grid h2 {
  margin-top: 18px;
  font-size: 25px;
  line-height: 1.15;
}

.solution-index-grid p {
  margin-top: 13px;
  color: #60666e;
  line-height: 1.6;
}

.solution-index-grid article > a:last-child {
  margin-top: auto;
  padding-top: 24px;
  color: #c91b22;
  font-weight: 650;
}

/* Error documents are served with real 404/410 HTTP status codes. */
.not-found-page {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 50% 0, rgba(229, 31, 38, .22), transparent 42%),
    #17181c;
  color: #fff;
}

.not-found-page__logo {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.not-found-page__logo img {
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
}

.not-found-page > section {
  max-width: 720px;
  text-align: center;
}

.not-found-page > section > span {
  color: #ff5e64;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.not-found-page h1 {
  margin-top: 12px;
  font-size: clamp(38px, 8vw, 78px);
  line-height: 1;
  letter-spacing: -.05em;
}

.not-found-page p {
  margin: 22px auto 0;
  color: #bdc1c8;
  font-size: 16px;
  line-height: 1.6;
}

.not-found-page nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.not-found-page nav a {
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

.not-found-page nav a:hover {
  border-color: #ff5e64;
  background: #d91f26;
}

@media (max-width: 820px) {
  .home-faq__layout,
  .solution-layout {
    grid-template-columns: 1fr;
  }

  .company-passport__layout {
    grid-template-columns: 1fr;
  }

  .home-solutions__head {
    grid-template-columns: 1fr;
  }

  .home-solutions__head > span {
    grid-column: auto;
  }

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

  .home-solutions__grid > a,
  .home-solutions__grid > a:nth-child(4),
  .home-solutions__grid > a:nth-child(5) {
    grid-column: auto;
  }

  .home-faq header,
  .solution-layout > aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .solution-hero {
    border-radius: 20px;
  }

  .home-solutions,
  .home-faq {
    padding: 48px 0;
  }

  .home-solutions__grid,
  .solution-index-grid,
  .solution-next > div {
    grid-template-columns: 1fr;
  }

  .company-passport__facts {
    grid-template-columns: 1fr;
  }

  .home-solutions__grid > a {
    min-height: 176px;
  }

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

  .solution-section,
  .solution-index-grid article {
    border-radius: 18px;
    padding: 22px;
  }
}
