/*
 * ERMART storefront system
 * Values are aliases of the homepage UI, which remains the source of truth.
 */
:root {
  --store-container: var(--layout-max, 1480px);
  --store-gutter: var(--layout-gutter, clamp(16px, 2.5vw, 32px));
  --store-readable: 880px;

  --store-space-1: 4px;
  --store-space-2: 8px;
  --store-space-3: 12px;
  --store-space-4: 16px;
  --store-space-5: 20px;
  --store-space-6: 24px;
  --store-space-8: 32px;
  --store-space-10: 40px;
  --store-space-12: 48px;
  --store-space-16: 64px;
  --store-space-20: 80px;

  --store-radius-sm: 8px;
  --store-radius-md: 12px;
  --store-radius-lg: 16px;
  --store-radius-xl: 24px;

  --store-blue: var(--colors-100, #2f2fbb);
  --store-yellow: var(--colors-300, #ffe900);
  --store-orange: var(--colors-500, #ff8200);
  --store-text: var(--neutral-200, #1a1a1a);
  --store-muted: rgba(26, 26, 26, 0.62);
  --store-border: var(--neutralgray, #efefef);
  --store-surface: var(--neutral-100, #fff);
  --store-field: #f7f8ff;
  --store-field-border: #e3e3f3;
  --store-danger: #b42318;

  --store-control-height: 48px;
  --store-transition: 180ms ease;
  --store-font: "Onest", "Manrope", Helvetica, system-ui, sans-serif;
  --store-display: "Bebas Neue", sans-serif;
}

.site-container,
.catalog-page__content,
.product-page,
.account-page-screen,
.checkout-page-screen,
.info-page {
  width: 100%;
  max-width: var(--store-container);
  margin-inline: auto;
  box-sizing: border-box;
}

.page :where(button, input, select, textarea) {
  font-family: var(--store-font);
}

.page :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--store-blue);
  outline-offset: 2px;
}

.page :where(button, a, input, select, textarea) {
  transition-duration: 180ms;
}

/* One page-header language for every public route. */
:where(.catalog-page__heading, .info-page__heading, .account-page__heading, .checkout-page__title) {
  margin: 0;
  font-family: var(--store-display);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: var(--store-text);
}

/* Bebas lacks Kazakh glyphs; keep words typographically consistent in kk. */
html[lang="kk"] :where(.catalog-page__heading, .info-page__heading, .account-page__heading, .checkout-page__title),
html[lang="kk"] .section-header__title {
  font-family: var(--store-font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.info-bc,
.product-page__breadcrumb-track {
  gap: var(--store-space-2);
  margin-bottom: var(--store-space-4);
  font-family: var(--store-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--store-muted);
}

.info-bc__link,
.product-page__crumb {
  color: var(--store-muted);
  opacity: 1;
  text-decoration: none;
}

.info-bc__link:hover,
.product-page__crumb:hover {
  color: var(--store-blue);
  text-decoration: none;
}

/* Shared homepage-shaped controls. */
.info-btn,
.checkout-primary,
.account-primary-btn,
.account-secondary-btn,
.catalog-apply-btn,
.catalog-reset-btn {
  min-height: var(--store-control-height);
  padding: 8px 24px;
  border-radius: var(--store-radius-sm);
  box-shadow: none;
  font-family: var(--store-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color var(--store-transition), border-color var(--store-transition),
    color var(--store-transition), transform var(--store-transition);
}

.info-btn,
.checkout-primary,
.account-primary-btn,
.catalog-apply-btn {
  border: 1px solid var(--store-orange);
  background: var(--store-orange);
  color: #fff !important;
}

.info-btn:hover,
.checkout-primary:hover,
.account-primary-btn:hover,
.catalog-apply-btn:hover {
  border-color: #e67500;
  background: #e67500;
  box-shadow: none;
  filter: none;
  transform: translateY(-1px);
}

.account-secondary-btn,
.catalog-reset-btn {
  border: 1px solid rgba(47, 47, 187, 0.2);
  background: transparent;
  color: var(--store-blue);
}

/* ── Form controls ─────────────────────────────────────────────────────────
 * One field language for every public form: filters, auth, checkout,
 * account, product quick order and reviews. Selection = orange, focus = blue.
 */
:root {
  --store-field-hover: #cfd0ec;
  --store-field-focus-ring: 0 0 0 4px rgba(47, 47, 187, 0.12);
  --store-field-error: #d92d20;
  --store-field-error-ring: 0 0 0 4px rgba(217, 45, 32, 0.12);
  --store-placeholder: rgba(26, 26, 26, 0.42);
  --store-check-border: rgba(26, 26, 26, 0.26);
  --store-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --store-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --store-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9L12.6 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page :is(
    .checkout-input,
    .auth-form__input,
    .catalog-filter__brand-search-input,
    .catalog-filter__brand-sort-select,
    .product-page__quick-field :where(input),
    .product-review-form__textarea,
    .brands-search__input
  ) {
  width: 100%;
  height: var(--store-control-height);
  min-height: var(--store-control-height);
  padding: 0 16px;
  border: 1px solid var(--store-field-border);
  border-radius: var(--store-radius-md);
  background-color: var(--store-field);
  color: var(--store-text);
  font-family: var(--store-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s var(--store-ease), background-color 0.2s var(--store-ease),
    box-shadow 0.2s var(--store-ease);
}

.page :is(textarea.checkout-input, textarea.product-review-form__textarea) {
  height: auto;
  min-height: 120px;
  padding: 12px 16px;
  resize: vertical;
}

.page .brands-search__input {
  padding-left: 46px;
}

.page :is(
    .checkout-input,
    .auth-form__input,
    .catalog-filter__brand-search-input,
    .product-page__quick-field :where(input),
    .product-review-form__textarea,
    .brands-search__input
  )::placeholder {
  color: var(--store-placeholder);
  opacity: 1;
}

@media (hover: hover) {
  .page :is(
      .checkout-input,
      .auth-form__input,
      .catalog-filter__brand-search-input,
      .catalog-filter__brand-sort-select,
      .product-page__quick-field :where(input),
      .product-review-form__textarea,
      .brands-search__input
    ):hover:not(:focus):not(:disabled) {
    border-color: var(--store-field-hover);
  }
}

.page :is(
    .checkout-input,
    .auth-form__input,
    .catalog-filter__brand-search-input,
    .catalog-filter__brand-sort-select,
    .product-page__quick-field :where(input),
    .product-review-form__textarea,
    .brands-search__input
  ):focus {
  border-color: var(--store-blue);
  background-color: var(--store-surface);
  box-shadow: var(--store-field-focus-ring);
  outline: none;
}

.page :is(.checkout-input, .auth-form__input, .product-page__quick-field :where(input)):user-invalid {
  border-color: var(--store-field-error);
  box-shadow: var(--store-field-error-ring);
}

.page :is(.checkout-input, .auth-form__input, .product-page__quick-field :where(input)):disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.page .checkout-input:invalid:not(:placeholder-shown):not(:user-invalid) {
  border-color: var(--store-field-border);
}

/* Native select with a drawn chevron instead of the OS arrow. */
.page .catalog-filter__brand-sort-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: var(--store-chevron);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}

/* Compact fields inside the filter sidebar. */
.page .catalog-filter :is(.catalog-filter__brand-search-input, .catalog-filter__brand-sort-select) {
  height: 44px;
  min-height: 44px;
  font-size: 14px;
}

.page .catalog-filter__brand-tools {
  display: grid;
  gap: 8px;
}

/* Checkboxes and radios share one drawn control. */
.page :is(
    .auth-form__checkbox,
    .checkout-consent input,
    .account-company-check input,
    .auth-form__type-option input,
    .payment-methods__input
  ) {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--store-check-border);
  border-radius: 6px;
  background: var(--store-surface) center / 16px 16px no-repeat;
  box-shadow: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s var(--store-ease), border-color 0.2s var(--store-ease),
    box-shadow 0.2s var(--store-ease);
}

.page :is(.auth-form__type-option input, .payment-methods__input) {
  border-radius: 50%;
}

@media (hover: hover) {
  .page :is(
      .auth-form__checkbox,
      .checkout-consent input,
      .account-company-check input,
      .auth-form__type-option input,
      .payment-methods__input
    ):hover:not(:checked):not(:disabled) {
    border-color: var(--store-orange);
  }
}

.page :is(.auth-form__checkbox, .checkout-consent input, .account-company-check input):checked {
  border-color: var(--store-orange);
  background-color: var(--store-orange);
  background-image: var(--store-check);
}

.page :is(.auth-form__type-option input, .payment-methods__input):checked {
  border-color: var(--store-orange);
  background-color: var(--store-surface);
  box-shadow: inset 0 0 0 4px var(--store-surface), inset 0 0 0 10px var(--store-orange);
}

.page :is(
    .auth-form__checkbox,
    .checkout-consent input,
    .account-company-check input,
    .auth-form__type-option input,
    .payment-methods__input
  ):focus-visible {
  outline: none;
  box-shadow: var(--store-field-focus-ring);
}

.page :is(.auth-form__type-option input, .payment-methods__input):checked:focus-visible {
  box-shadow: inset 0 0 0 4px var(--store-surface), inset 0 0 0 10px var(--store-orange),
    var(--store-field-focus-ring);
}

.page :is(.auth-form__checkbox, .checkout-consent input, .account-company-check input):user-invalid {
  border-color: var(--store-field-error);
}

.page :is(.auth-form__checkbox, .payment-methods__input, .auth-form__type-option input):disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page .auth-form__type-option {
  min-height: var(--store-control-height);
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--store-field-border);
  border-radius: var(--store-radius-md);
  background: var(--store-field);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s var(--store-ease), background-color 0.2s var(--store-ease);
}

.page .auth-form__type-option:has(input:checked) {
  border-color: var(--store-orange);
  background: #fff7ee;
}

/* Custom filter ticks rendered by catalog-page.js. */
.page .catalog-filter__tick {
  width: 20px;
  height: 20px;
  margin-top: 0;
  border-radius: 6px;
  transition: background-color 0.2s var(--store-ease), border-color 0.2s var(--store-ease);
}

.page .catalog-filter__tick--unchecked {
  border: 1.5px solid var(--store-check-border);
  background: var(--store-surface);
}

.page .catalog-filter__tick--checked {
  border: 1.5px solid var(--store-orange);
  background: var(--store-orange) var(--store-check) center / 16px 16px no-repeat;
}

@media (hover: hover) {
  .page .catalog-filter__row:hover .catalog-filter__tick--unchecked {
    border-color: var(--store-orange);
  }
}

.page .catalog-filter__row :is(.catalog-filter__option-label, .catalog-filter__option-count) {
  margin-top: 0;
  line-height: 20px;
}

.page .catalog-mega__cat-filter-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border-color: var(--store-check-border);
  transition: background-color 0.2s var(--store-ease), border-color 0.2s var(--store-ease);
}

.page .catalog-mega__cat-filter-box::after {
  left: 5.5px;
  top: 2px;
}

/* Price filter: dual range slider + "от / до" fields. */
.page .catalog-range-slider {
  --thumb: 22px;
  height: var(--thumb);
  margin: 6px 0 16px;
  padding: 0;
  border: 0;
  background: none;
}

.page .catalog-range-slider__track,
.page .catalog-range-slider__fill {
  height: 4px;
  border-radius: 999px;
}

.page .catalog-range-slider__track {
  left: calc(var(--thumb) / 2);
  right: calc(var(--thumb) / 2);
  background: #e7e7ef;
}

.page .catalog-range-slider__fill {
  left: calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--range-from, 0));
  width: calc((100% - var(--thumb)) * (var(--range-to, 1) - var(--range-from, 0)));
  background: var(--store-orange);
}

.page .catalog-range-slider__input {
  height: var(--thumb);
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  outline: none;
}

.page .catalog-range-slider__input::-webkit-slider-runnable-track {
  height: var(--thumb);
  background: transparent;
}

.page .catalog-range-slider__input::-moz-range-track {
  height: var(--thumb);
  background: transparent;
}

.page .catalog-range-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: 0;
  border: 2px solid var(--store-orange);
  border-radius: 50%;
  background: var(--store-surface);
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.12), 0 4px 10px -2px rgba(255, 130, 0, 0.35);
  cursor: grab;
  pointer-events: auto;
  transition: transform 0.2s var(--store-ease), box-shadow 0.2s var(--store-ease);
}

.page .catalog-range-slider__input::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  border: 2px solid var(--store-orange);
  border-radius: 50%;
  background: var(--store-surface);
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.12), 0 4px 10px -2px rgba(255, 130, 0, 0.35);
  cursor: grab;
  pointer-events: auto;
  box-sizing: border-box;
  transition: transform 0.2s var(--store-ease), box-shadow 0.2s var(--store-ease);
}

@media (hover: hover) {
  .page .catalog-range-slider__input::-webkit-slider-thumb:hover {
    transform: scale(1.08);
  }

  .page .catalog-range-slider__input::-moz-range-thumb:hover {
    transform: scale(1.08);
  }
}

.page .catalog-range-slider__input:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(255, 130, 0, 0.16), 0 4px 10px -2px rgba(255, 130, 0, 0.35);
}

.page .catalog-range-slider__input:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(255, 130, 0, 0.16), 0 4px 10px -2px rgba(255, 130, 0, 0.35);
}

.page .catalog-range-slider__input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(47, 47, 187, 0.22);
}

.page .catalog-range-slider__input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(47, 47, 187, 0.22);
}

.page .catalog-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.page .catalog-price-field {
  height: 44px;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--store-field-border);
  border-radius: var(--store-radius-md);
  background: var(--store-field);
  cursor: text;
  transition: border-color 0.2s var(--store-ease), background-color 0.2s var(--store-ease),
    box-shadow 0.2s var(--store-ease);
}

@media (hover: hover) {
  .page .catalog-price-field:hover:not(:focus-within) {
    border-color: var(--store-field-hover);
  }
}

.page .catalog-price-field:focus-within {
  border-color: var(--store-blue);
  background: var(--store-surface);
  box-shadow: var(--store-field-focus-ring);
}

.page .catalog-price-field__label,
.page .catalog-price-field__unit {
  flex: 0 0 auto;
  font-family: var(--store-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--store-muted);
  opacity: 1;
}

.page .catalog-price-input {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--store-font);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--store-text);
  opacity: 1;
}

.page .catalog-price-input:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .page :is(input, select, textarea, .catalog-price-field, .catalog-filter__tick) {
    transition: none;
  }

  .page .catalog-range-slider__input::-webkit-slider-thumb {
    transition: none;
  }

  .page .catalog-range-slider__input::-moz-range-thumb {
    transition: none;
  }
}

/* Shared surface language: the same border and radius as homepage products. */
:where(
    .catalog-filter,
    .checkout-card,
    .checkout-summary,
    .account-panel__inner,
    .account-settings-card,
    .info-card,
    .info-seller,
    .product-page__figure,
    .product-page__panel
  ) {
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  background: var(--store-surface);
  box-shadow: none;
}

/* Catalog family */
.catalog-page-screen {
  padding: var(--store-space-6) var(--store-gutter) var(--store-space-16);
}

.catalog-page__content {
  gap: var(--store-space-8);
}

.catalog-layout {
  gap: var(--store-space-8);
}

.catalog-layout__sidebar {
  flex-basis: 280px;
  width: 280px;
}

.catalog-filter,
.catalog-page-screen .catalog-filter {
  padding: var(--store-space-5);
}

.catalog-filter__heading {
  font-family: var(--store-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

/* Product family */
.product-page {
  padding: var(--store-space-6) var(--store-gutter) var(--store-space-16);
}

.product-page__breadcrumb {
  margin-bottom: var(--store-space-6);
}

.product-page__hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
}

.product-page__hero-media {
  width: 100%;
  max-width: 560px;
}

.product-page__panel-title {
  font-family: var(--store-font);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-page__figure {
  border-radius: var(--store-radius-lg);
}

.product-page__cart {
  min-height: 52px;
}

/* Fullscreen media must sit above mobile navigation and contact controls. */
.product-lightbox {
  z-index: 10070;
}

/* Account, cart, checkout and payment */
.page .main-area.account-layout,
.page .main-area.checkout-layout-outer,
.page .main-area.info-layout {
  width: 100%;
  max-width: none;
  padding-inline: var(--store-gutter);
  box-sizing: border-box;
}

.account-page-screen,
.checkout-page-screen {
  padding: var(--store-space-8) 0 var(--store-space-16);
}

.account-shell {
  gap: var(--store-space-8);
}

.account-panel__inner,
.checkout-card {
  padding: var(--store-space-6);
}

.checkout-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--store-space-8);
}

.checkout-grid__main {
  gap: var(--store-space-5);
}

.checkout-input--area {
  min-height: 120px;
}

/* Information, policy, FAQ, articles and vacancies */
.info-page {
  padding: var(--store-space-8) 0 var(--store-space-16);
}

.info-page--article {
  max-width: var(--store-readable);
}

.info-hero {
  margin: 0 0 var(--store-space-8);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.info-hero::after {
  display: none;
}

.info-page__heading {
  margin-bottom: var(--store-space-3);
  color: var(--store-text);
}

.info-page__lead {
  max-width: 760px;
  margin: 0;
  font-family: var(--store-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--store-muted);
  opacity: 1;
}

.info-page--article .info-page__body {
  padding: var(--store-space-8);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  background: var(--store-surface);
  box-shadow: none;
}

.info-prose {
  font-family: var(--store-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}

.info-prose h2 {
  margin: var(--store-space-8) 0 var(--store-space-3);
  padding: 0;
  border: 0;
  font-family: var(--store-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.info-prose h3 {
  margin: var(--store-space-6) 0 var(--store-space-3);
  font-size: 20px;
  line-height: 1.3;
}

.info-prose p {
  margin: 0 0 var(--store-space-4);
}

.info-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: var(--store-space-8);
  margin-bottom: var(--store-space-10);
  padding: var(--store-space-8);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  background: var(--store-surface);
}

.info-intro-card > div > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.info-intro-facts {
  display: grid;
  gap: var(--store-space-3);
  margin: 0;
}

.info-intro-facts > div {
  padding-bottom: var(--store-space-3);
  border-bottom: 1px solid var(--store-border);
}

.info-intro-facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-intro-facts dt {
  margin-bottom: var(--store-space-1);
  font-size: 13px;
  color: var(--store-muted);
}

.info-intro-facts dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.info-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--store-space-4);
  margin: var(--store-space-6) 0 var(--store-space-8);
}

.info-summary-grid:has(.info-summary-card:nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-summary-card {
  min-height: 140px;
  padding: var(--store-space-5);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  background: var(--store-surface);
}

.info-summary-card h2 {
  margin: 0 0 var(--store-space-2);
  font-size: 18px;
  line-height: 1.3;
}

.info-summary-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--store-muted);
}

.info-prose li::before {
  background: var(--store-orange);
}

.info-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--store-space-5);
}

.info-card {
  gap: var(--store-space-3);
  padding: var(--store-space-5);
  border-color: var(--store-border);
  border-radius: var(--store-radius-lg);
  box-shadow: none;
  transition: transform var(--store-transition), border-color var(--store-transition);
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 47, 187, 0.28);
  box-shadow: none;
}

.info-card__meta {
  font-family: var(--store-font);
  font-size: 13px;
  color: var(--store-muted);
  opacity: 1;
}

.info-card__title {
  font-family: var(--store-font);
  font-size: 20px;
  font-weight: 700;
}

.info-card__excerpt {
  font-family: var(--store-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--store-muted);
  opacity: 1;
}

.info-card__more {
  margin-top: auto;
  padding: 0;
  background: transparent;
  color: var(--store-blue);
  font-family: var(--store-font);
  font-size: 14px;
  font-weight: 600;
}

.info-faq-list {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-faq {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--store-border);
  border-radius: 0;
  background: transparent;
}

.info-faq[open] {
  border-color: var(--store-border);
  background: transparent;
  box-shadow: none;
}

.info-faq__q {
  padding: var(--store-space-5) 0;
  font-family: var(--store-font);
  font-size: 17px;
  font-weight: 600;
}

.info-faq__q::after {
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  color: var(--store-blue);
  font-size: 22px;
}

.info-faq__a {
  padding: 0 40px var(--store-space-5) 0;
  font-family: var(--store-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--store-muted);
  opacity: 1;
}

.info-contacts {
  gap: var(--store-space-4);
}

.info-contacts li {
  min-height: 112px;
  padding: var(--store-space-5);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  background: var(--store-surface);
  font-family: var(--store-font);
}

.info-seller {
  padding: var(--store-space-6);
  background: var(--store-surface);
}

.info-seller__list {
  gap: 0;
}

.info-seller__list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--store-border);
}

.info-seller__list > div:last-child {
  border-bottom: 0;
}

@media (max-width: 1023px) {
  .catalog-page-screen {
    padding-inline: 20px;
  }

  .product-page,
  .page .main-area.account-layout,
  .page .main-area.checkout-layout-outer,
  .page .main-area.info-layout {
    padding-inline: 20px;
  }

  .catalog-layout__sidebar {
    width: auto;
  }

  .product-page__hero-main {
    gap: var(--store-space-8);
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--store-space-6);
  }
}

@media (max-width: 900px) {
  .catalog-page-screen,
  .product-page,
  .page .main-area.account-layout,
  .page .main-area.checkout-layout-outer,
  .page .main-area.info-layout {
    padding-inline: 16px;
  }

  .info-page,
  .account-page-screen,
  .checkout-page-screen {
    padding-top: var(--store-space-6);
    padding-bottom: var(--store-space-10);
  }

  .product-page__hero-main,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .product-page__hero-media {
    max-width: none;
  }

  .info-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--store-space-4);
  }

  .info-summary-grid,
  .info-summary-grid:has(.info-summary-card:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  :where(.catalog-page__heading, .info-page__heading, .account-page__heading, .checkout-page__title) {
    font-size: 36px;
  }

  .catalog-page-screen,
  .product-page {
    padding-top: var(--store-space-5);
    padding-bottom: var(--store-space-10);
  }

  .info-hero {
    margin-bottom: var(--store-space-6);
  }

  .info-page--article .info-page__body,
  .account-panel__inner,
  .checkout-card {
    padding: var(--store-space-5);
  }

  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .info-intro-card,
  .info-summary-grid,
  .info-summary-grid:has(.info-summary-card:nth-child(4)) {
    grid-template-columns: 1fr;
  }

  .info-intro-card {
    padding: var(--store-space-5);
  }

  .info-summary-card {
    min-height: 0;
  }

  .info-prose h2 {
    font-size: 22px;
  }

  .info-seller__list > div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page *,
  .page *::before,
  .page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
