/* Astralis redesign — header, home, catalog, product, blog (single bundle) */

/* =============================================================================
   HEADER — merged from redesign-header.css (variables + site chrome; load first)
   ============================================================================= */
:root {
  --modern-dark: #1c1c1c;
  --modern-accent: #e66a24;
  --modern-accent-light: #f08b41;
  --nav-accent: #e66a24;
  --nav-accent-light: #f08b41;
  /* Primary body copy — Inter 400, rgb(50, 50, 50) */
  --modern-text: #323232;
  --modern-text-strong: #2d3748;
  --font-body: "Inter", sans-serif;
  --font-size-body: 16px;
  --font-weight-body: 400;
  --line-height-body: normal;
  --modern-muted: #7a8599;
  --line: #e5e7eb;
  /* Content cap: 1280 on laptop/desktop, slightly wider only on large monitors */
  --container: 1280px;
  --gutter: 32px;
  --sticky-sidebar-top: 116px;
  --product-sold-image-opacity: 0.45;
}

@media (min-width: 1600px) {
  :root {
    --container: 1360px;
  }
}

.custome-container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  max-width: none;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

.site-header,
.mobile-search-panel,
.mobile-menu-drawer {
  font-family: "Inter", "Open Sans", sans-serif;
}

main {
  margin-top: 0 !important;
}

#loader-wrapper,
.loader {
  display: none !important;
}

.site-header .custome-container {
  width: 100%;
  max-width: var(--container);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
}

.header-top {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.header-top__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding: 12px 0;
}

.header-top__desktop {
  display: none;
}

.header-top__inner > .site-logo,
.header-top__inner > #logo {
  grid-column: 1;
  justify-self: start;
}

.header-top__inner > .header-mobile-actions {
  grid-column: 2;
  justify-self: end;
}

.header-search-bar {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: stretch;
}

.header-search-bar.header-pill-nav {
  min-width: 0;
}

.header-pill--search-only {
  width: 100%;
  max-width: none;
  position: relative;
}

.header-pill__inner--search-only {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  overflow: visible;
  min-height: 36px;
}

.header-pill--search-only .header-pill__inner--search-only,
.header-pill--search-only .header-search--always,
.header-pill--search-only .header-search.header-search--desktop,
.header-pill--search-only .header-search-form,
.header-pill--search-only .header-search-field {
  cursor: text;
}

.header-pill--search-only .header-search--always,
.header-pill--search-only .header-search.header-search--desktop {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex !important;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  height: 36px;
  min-height: 36px;
  box-sizing: border-box;
}

.header-pill--search-only .header-search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 4px 0 0;
  box-sizing: border-box;
}

.header-pill--search-only .header-search-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}

.header-pill--search-only .header-search-form .form-control.search,
.header-pill--search-only .header-search-form input.header-search-input.search {
  cursor: text !important;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 8px 2px 16px !important;
  border: 0 !important;
  box-sizing: border-box;
  text-indent: 0 !important;
  background: transparent !important;
  -webkit-appearance: none;
  appearance: none;
  font-family: "Inter", "Open Sans", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px !important;
  letter-spacing: normal;
  text-transform: none;
  color: var(--modern-muted) !important;
  -webkit-text-fill-color: var(--modern-muted);
  caret-color: var(--modern-text);
}

.header-pill--search-only .header-search-form .form-control.search::-webkit-input-placeholder,
.header-pill--search-only .header-search-form .form-control.search::placeholder {
  color: var(--modern-muted) !important;
  -webkit-text-fill-color: var(--modern-muted);
  opacity: 1 !important;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
}

.header-pill--search-only .header-search-form .form-control.search:not(:placeholder-shown) {
  font-style: normal;
  font-weight: 400;
  color: var(--modern-text) !important;
  -webkit-text-fill-color: var(--modern-text);
}

.header-pill--search-only .search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.header-pill--search-only .search-clear svg {
  display: block;
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.header-pill--search-only .header-search-form:has(.header-search-input:not(:placeholder-shown)) .search-clear {
  display: inline-flex;
}

.header-pill--search-only .search-clear:hover,
.header-pill--search-only .search-clear:focus {
  color: #475569;
  background: #f0f0f0;
  outline: none;
}

.header-pill--search-only .search-trigger--submit {
  flex-shrink: 0;
  cursor: pointer;
}

.header-pill--search-only .search-trigger--submit .icon-close {
  display: none !important;
}

.header-pill--search-only .header-search-dropdown {
  left: 0;
  right: 0;
  width: 100%;
}

.header-phones {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.header-phone-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: inherit;
}

.header-phone-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--modern-accent);
}

.header-phone-item__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-phone-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-phone-item__number {
  font: 700 14px/1.2 "Inter", sans-serif;
  color: var(--modern-dark);
  letter-spacing: .01em;
}

.header-phone-item__label {
  font: 500 12px/1.2 "Inter", sans-serif;
  color: var(--modern-muted);
}

.header-nav-bar {
  background: #1c1c1c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-nav-bar__inner {
  display: flex;
  width: 100%;
}

.header-primary-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 48px;
}

.header-primary-nav::before,
.header-primary-nav::after {
  content: "";
  width: 1px;
  align-self: stretch;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 1px;
}

.header-primary-nav__item {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.header-nav-divider {
  width: 1px;
  align-self: stretch;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 1px;
}

.header-primary-nav__item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 0 10px;
  min-height: 48px;
  box-sizing: border-box;
  font: 700 13px/1 "Inter", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .15s ease;
  background: transparent;
}

.header-primary-nav__item > a:hover,
.header-primary-nav__item > a:focus-visible,
.header-primary-nav__item > a:active,
.header-primary-nav__item > a.is-active,
.header-primary-nav__item.has-mega.is-open > a,
.header-primary-nav__item.has-mega:hover > a {
  color: var(--nav-accent);
  background: transparent !important;
}

.header-primary-nav__item > a:hover .chevron,
.header-primary-nav__item > a:focus-visible .chevron,
.header-primary-nav__item > a:active .chevron,
.header-primary-nav__item > a.is-active .chevron,
.header-primary-nav__item.has-mega.is-open > a .chevron {
  color: var(--nav-accent);
}

.header-nav-link__label {
  position: relative;
  display: inline-block;
}

.header-nav-link__label:has(.header-nav-link__count) {
  padding-top: 4px;
  margin-right: 8px;
}

.header-nav-link__count {
  position: absolute;
  top: -6px;
  left: 100%;
  right: auto;
  margin-left: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--nav-accent, #e66a24);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  pointer-events: none;
}

.header-primary-nav__item > a.is-active .header-nav-link__count,
.header-primary-nav__item > a:hover .header-nav-link__count,
.header-primary-nav__item > a:focus-visible .header-nav-link__count {
  background: var(--nav-accent, #e66a24);
  color: #fff;
}

.header-primary-nav__item.has-mega:hover .chevron,
.header-primary-nav__item.has-mega.is-open .chevron {
  transform: rotate(180deg);
}

.header-primary-nav .chevron {
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.75);
  transition: color .15s ease, transform .2s ease;
}

.mobile-menu__inner [data-nav-empty-link] {
  cursor: pointer;
}

.site-logo,
.site-header #logo,
header.site-header #logo,
header.site-header #logo.site-logo {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start !important;
  flex-shrink: 0;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  order: 0 !important;
  overflow: visible;
  position: relative;
  z-index: 5;
  text-decoration: none !important;
}

.site-logo img {
  display: block;
  height: 26px;
  width: auto;
  max-width: none;
  opacity: 1;
  visibility: visible;
  transition: transform .2s ease;
  transform-origin: center;
}

.header-mobile-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.site-logo:hover img,
.site-logo:focus-visible img {
  transform: scale(1.05);
}

@media (min-width: 1025px) {
  .header-top__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
  }

  .header-top__inner > .site-logo,
  .header-top__inner > #logo {
    flex-shrink: 0;
  }

  .header-mobile-actions {
    display: none !important;
  }

  .header-top__desktop {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-top__desktop .header-pill--search-only {
    max-width: 100%;
  }

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

  .mega-menu:not([hidden]) {
    display: block;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .header-phones {
    gap: 14px;
  }

  .header-phone-item__number {
    font-size: 13px;
  }

  .header-primary-nav__item > a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 11px;
    letter-spacing: .04em;
  }
}

@media (min-width: 1025px) and (max-width: 1550px) {
  .header-pill--search-only {
    max-width: 100%;
  }
}

.header-pill-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-pill {
  width: 100%;
  max-width: 1220px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 6px;
  background: #f0f0f0;
  position: relative;
  min-height: 48px;
}

.header-pill__inner {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  min-height: 36px;
}

.header-pill__item {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.pill-divider {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.header-pill__item a,
.search-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 20px;
  height: 36px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  color: var(--modern-text);
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease;
}

.header-pill__item a:hover,
.header-pill__item a.is-active {
  color: var(--nav-accent);
  text-decoration: none !important;
}

.search-placeholder {
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  color: var(--modern-muted);
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  cursor: text;
}

.search-placeholder:focus,
.search-placeholder:active,
.search-trigger:focus,
.search-trigger:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Laptop (~1366px): more room for nav + „Търси машини …“ — unchanged on scroll */
@media (min-width: 1025px) and (max-width: 1550px) {
  .header-pill-nav--desktop {
    justify-content: stretch;
  }

  .header-pill-nav--desktop .header-pill {
    max-width: 100%;
  }

  .header-main-row > .header-pill-nav--desktop {
    padding-left: 4px;
    padding-right: 4px;
  }

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

  .header-pill__inner .header-pill__item a {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header-pill__inner .search-placeholder {
    flex-shrink: 0;
    min-width: 11.25rem;
  }
}

.chevron {
  font-size: 12px;
  transition: transform .2s ease;
}

.header-pill__item.has-mega:hover .chevron,
.header-pill__item.has-mega.is-open .chevron {
  transform: rotate(180deg);
}

.search-trigger,
.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--modern-accent);
  color: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  flex-shrink: 0;
}

.search-trigger:hover {
  background: var(--modern-accent-light);
}

.search-trigger svg,
.icon-button svg,
.mobile-search-icon,
.chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.search-trigger svg,
.icon-button svg {
  width: 16px;
  height: 16px;
}

.search-trigger .icon-search,
.search-trigger .icon-close {
  transition: opacity .2s ease, transform .2s ease;
}

.search-trigger .icon-close {
  display: block;
  opacity: 0;
  transform: scale(0.8) rotate(-90deg);
  position: absolute;
}

.search-trigger.is-close .icon-search {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.search-trigger.is-close .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.header-search {
  position: relative;
  flex: 1;
  min-width: 0;
}

.header-search--desktop {
  background: rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 0 8px 0 14px;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  width: 100%;
  height: 36px;
}

.header-search-form .form-control.search:not(.header-search-input) {
  width: 100%;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
  height: 34px;
  font-size: 14px;
  /* fix.css sets input.search { color: #fff !important } for legacy bars */
  color: var(--modern-muted) !important;
  caret-color: var(--modern-text);
  -webkit-text-fill-color: var(--modern-text);
  cursor: text !important;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 34px;
  margin: 0;
}

.header-search-form .form-control.search:focus,
.header-search-form .header-search-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Pale placeholder (ref); -webkit-text-fill on input must be overridden here */
.header-search-form .form-control.search:not(.header-search-input)::-webkit-input-placeholder {
  color: #b9c2d0 !important;
  -webkit-text-fill-color: #b9c2d0;
  opacity: 1 !important;
}

.header-search-form .form-control.search:not(.header-search-input)::placeholder {
  color: #b9c2d0 !important;
  -webkit-text-fill-color: #b9c2d0;
  opacity: 1 !important;
}

/* Hide native browser clear — custom button only */
.header-search-form input[name="q"]::-webkit-search-cancel-button,
.mobile-search-field input[name="q"]::-webkit-search-cancel-button,
.header-search-form input[name="q"]::-webkit-search-decoration,
.mobile-search-field input[name="q"]::-webkit-search-decoration,
.header-search-form input[name="q"]::-ms-clear,
.mobile-search-field input[name="q"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
  appearance: none;
}

.header-search-form .search-clear {
  border: 0;
  background: transparent;
  color: var(--modern-muted);
}

.header-search--desktop .search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}


.header-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 1050;
}

.header-search-dropdown__inner {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: min(70vh, 520px);
}

.header-search-results {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.header-search-results__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(58vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1025px) {
  html.is-header-search-locked,
  body.is-header-search-locked {
    overflow: hidden;
  }

  .header-search-dropdown:not([hidden]) {
    overscroll-behavior: contain;
  }

  .header-search-dropdown:not(.header-search-dropdown--mobile) .header-search-dropdown__inner {
    max-height: min(72vh, 560px);
  }

  .header-search-dropdown:not(.header-search-dropdown--mobile) .header-search-results__list {
    max-height: min(64vh, 520px);
  }
}

.header-search-section + .header-search-section {
  border-top: 1px solid #eef2f7;
}

.header-search-section__label {
  padding: 12px 16px 8px;
  font: 700 11px/1.2 "Inter", sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.header-search-section__categories {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px 12px;
}

.header-search-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font: 500 14px/1.4 "Inter", sans-serif;
  color: #1f2437;
  text-decoration: none !important;
  transition: color .15s ease;
}

.header-search-category:hover {
  color: var(--modern-accent, #e66a24);
}

.header-search-category__section {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b;
  font: 700 11px/1.2 "Inter", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.header-search-category__name {
  min-width: 0;
}

.header-search-section__products .header-search-item {
  border-bottom: 1px solid #eef2f7;
}

.header-search-section__products .header-search-item:last-child {
  border-bottom: 0;
}

.header-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none !important;
  color: inherit;
  transition: background-color .15s ease;
}

.header-search-item:hover {
  background: #f8fafc;
}

.header-search-item__thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}

.header-search-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-search-item__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.header-search-item__title {
  font: 600 14px/1.35 "Inter", sans-serif;
  color: #1f2437;
}

.header-search-item__section {
  font: 600 11px/1.2 "Inter", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
}

.header-search-item__highlight {
  color: var(--modern-accent, #e66a24);
  font-weight: 800;
}

.header-search-item__price {
  flex: 0 0 auto;
  font: 700 13px/1.2 "Inter", sans-serif;
  color: var(--modern-dark, #1f2437);
  white-space: nowrap;
  text-align: right;
}

.header-search-results__footer {
  flex-shrink: 0;
  display: block;
  padding: 12px 16px;
  text-align: center;
  background: var(--modern-accent, #e66a24);
  color: #fff !important;
  font: 700 14px/1.2 "Inter", sans-serif;
  letter-spacing: .02em;
  text-decoration: none !important;
  transition: background-color .2s ease;
}

.header-search-results__footer:hover {
  background: var(--modern-accent-light, #f08b41);
  color: #fff !important;
}

.header-search-results--empty {
  padding: 18px 16px;
  text-align: center;
}

.header-search-results--empty p {
  margin: 0;
  font: 500 14px/1.4 "Inter", sans-serif;
  color: #64748b;
}

.header-search-results--hint {
  padding: 16px;
  text-align: center;
}

.header-search-results--hint p {
  margin: 0;
  font: 500 14px/1.45 "Inter", sans-serif;
  color: #64748b;
}

.contact-pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--modern-dark);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  line-height: 1;
}

.contact-pill:hover,
.contact-pill:focus,
.contact-pill:active {
  background: #151a2b;
  color: #fff;
  text-decoration: none !important;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 14px rgba(10, 14, 28, 0.25);
  transform: translateY(-1px);
  outline: none;
}

.contact-pill__icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.mobile-search-panel {
  background: #fff;
  border-top: 1px solid #f3f4f6;
  padding: 12px 0;
}

@media (max-width: 1024px) {
  .site-header {
    --header-mobile-bar-height: 52px;
  }

  .mobile-search-panel {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-mobile-bar-height);
    bottom: 0;
    z-index: 1150;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .mobile-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-search-panel__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.38);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-search-panel__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 16px 16px;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  }

  .mobile-search-panel__inner .mobile-search-field {
    width: 100%;
  }

  .mobile-search-panel.is-open .header-search-dropdown--mobile:not([hidden]) {
    display: flex !important;
  }

  body.mobile-search-open {
    overflow: hidden;
  }
}

@media (min-width: 1025px) {
  .mobile-search-panel {
    display: none !important;
  }
}

.mobile-search-panel__inner {
  position: relative;
}

.header-search-dropdown--mobile {
  position: static;
  width: 100% !important;
  margin-top: 10px;
  max-height: min(60vh, 420px);
  overflow: hidden;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.header-search-dropdown--mobile .header-search-dropdown__inner {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(60vh, 420px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

.header-search-dropdown--mobile .header-search-results,
.header-search-dropdown--mobile .header-search-results--hint,
.header-search-dropdown--mobile .header-search-results--empty {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.header-search-dropdown--mobile .header-search-results__list {
  max-height: none;
}

.mobile-search-field {
  position: relative;
  background: #fff;
  margin: 0;
}

.mobile-search-field input {
  width: 100%;
  border: 2px solid var(--modern-accent);
  border-radius: 999px;
  padding: 10px 38px;
  outline: none;
  color: var(--modern-text);
}

.mobile-search-field input::-webkit-input-placeholder,
.mobile-search-field input::placeholder {
  color: #b9c2d0 !important;
  -webkit-text-fill-color: #b9c2d0;
  opacity: 1 !important;
}

.mobile-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--modern-accent);
  width: 20px;
  height: 20px;
}

.mobile-search-field .search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-search-field .search-clear:hover,
.mobile-search-field .search-clear:focus {
  background: #f0f0f0;
  color: #475569;
  outline: none;
}

.mobile-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

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

.mobile-menu-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(320px, 88vw);
  max-width: 100%;
  background: #fff;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-menu-drawer.is-open .mobile-menu-drawer__panel {
  transform: translateX(0);
}

.mobile-menu-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-drawer__title {
  font: 700 17px/1.25 "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--modern-dark);
}

.mobile-menu-drawer__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--modern-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu__inner {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

.mobile-menu__inner a {
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: var(--modern-text);
}

.mobile-menu__inner a:hover,
.mobile-menu__inner a.is-active {
  color: var(--nav-accent);
  background: #f9fafb;
}

.mobile-menu__inner a .header-nav-link__count {
  top: -2px;
  margin-left: 6px;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-contact-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--modern-dark);
  color: #fff !important;
  border-radius: 999px;
  margin-top: 10px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.mobile-menu__inner a.mobile-contact-cta:hover,
.mobile-menu__inner a.mobile-contact-cta:focus,
.mobile-menu__inner a.mobile-contact-cta:active {
  background: #151a2b !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(10, 14, 28, 0.25);
}

.mobile-menu__social.footer-social {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 6px;
  margin-top: 18px;
  padding: 4px 0 0;
}

.mobile-menu__inner .mobile-menu__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--modern-dark, #1f2437);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.mobile-menu__inner .mobile-menu__social a:hover,
.mobile-menu__inner .mobile-menu__social a:focus {
  background: var(--modern-accent, #e66a24);
  color: #fff;
}

.mobile-menu__inner .mobile-menu__social a i.fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.mobile-menu__inner .mobile-menu__social a .fa-youtube {
  font-size: 14px !important;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  padding: 0;
  pointer-events: none;
}

.mega-menu__shell {
  position: relative;
  pointer-events: auto;
  background: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
  font-family: "Inter", sans-serif;
}

/* Narrow hover bridge above the shell — keeps menu open when moving down from trigger */
.mega-menu__shell::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 30px;
  background: transparent;
}

.mega-menu__accent {
  height: 4px;
  background: linear-gradient(to right, var(--modern-accent), #fbbf24, var(--modern-accent));
}

.mega-menu__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mega-menu__cols--triple {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(248px, 292px);
}

.mega-menu--services .mega-menu__col--other {
  padding: 14px 16px 14px 20px;
}

/* Услуги: само „Други услуги“ — по-малко разстояние между редовете */
.mega-menu--services .mega-menu__col--other .mega-menu__links {
  gap: 0;
}

.mega-menu--services .mega-menu__col--other .mega-menu__link,
.mega-menu--services .mega-menu__col--other .mega-menu__link:active {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  margin: 0;
  font: 500 14px/1.35 "Inter", sans-serif !important;
  color: #374151 !important;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
}

.mega-menu--services .mega-menu__col--other .mega-menu__link-icon {
  flex-shrink: 0;
  width: 10px;
  font-size: 12px;
  line-height: 1;
  color: #9ca3af;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mega-menu--services .mega-menu__col--other .mega-menu__link:hover,
.mega-menu--services .mega-menu__col--other .mega-menu__link:focus {
  padding: 3px 6px;
  margin: 0;
  font: 500 14px/1.35 "Inter", sans-serif !important;
  border-radius: 8px;
  text-decoration: none !important;
  background: #fff7ed;
  color: var(--nav-accent) !important;
}

.mega-menu--services .mega-menu__col--other .mega-menu__link:hover .mega-menu__link-icon,
.mega-menu--services .mega-menu__col--other .mega-menu__link:focus .mega-menu__link-icon {
  color: var(--nav-accent);
  transform: translateX(2px);
}

.mega-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-menu__link,
.mega-menu__link:hover,
.mega-menu__link:focus,
.mega-menu__link:active {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font: 500 14px/1.35 "Inter", sans-serif;
  color: #374151;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-menu__link:hover,
.mega-menu__link:focus {
  background: #fff7ed;
  color: var(--nav-accent);
  text-decoration: none !important;
}

.mega-menu--services .mega-menu__col--other .mega-menu__head--dark .mega-menu__badge {
  background: #1c1c1c;
}

.mega-menu__col {
  padding: 14px 24px;
}

.mega-menu__col + .mega-menu__col {
  border-left: 1px solid #f3f4f6;
}

.mega-menu__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 0;
  border-bottom: 1px solid #f3f4f6;
}

.mega-menu__badge {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
}

.mega-menu__badge--img img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.mega-menu__head--dark .mega-menu__badge--img img {
  filter: brightness(0) invert(1);
}

.mega-menu__head--dark .mega-menu__badge {
  background: #1c1c1c;
}

.mega-menu__head--accent .mega-menu__badge {
  background: var(--modern-accent);
}

.mega-menu__head-main {
  flex: 1;
  min-width: 0;
}

.mega-menu__title-row,
.mega-menu__title-row:hover,
.mega-menu__title-row:focus,
.mega-menu__title-row:active {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-decoration: none !important;
  color: inherit;
}

.mega-menu__title-row:hover .mega-menu__title {
  color: var(--nav-accent);
  text-decoration: none !important;
}

.mega-menu__title {
  display: block;
  margin: 0;
  font: 800 14px/1.2 "Montserrat", "Inter", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--modern-dark);
  transition: color .2s ease;
  text-decoration: none !important;
}

.mega-menu__title-count {
  flex-shrink: 0;
  min-width: 28px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #525a68;
  line-height: 1.4;
  text-decoration: none !important;
}

.mega-menu__title-row:hover .mega-menu__title-count {
  background: var(--nav-accent);
  color: #fff;
  text-decoration: none !important;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.mega-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
  color: inherit;
  line-height: normal;
}

.mega-item:hover {
  background: rgba(230, 106, 36, .08);
}

.mega-item__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-item__left img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mega-item__left span {
  font-size: 14px;
  font-weight: 500;
  color: var(--modern-text, #323232);
  text-decoration: none !important;
  line-height: normal;
}

.mega-item__count {
  min-width: 28px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f3f4f6 !important;
  color: #525a68 !important;
  transition: color .2s ease, background-color .2s ease;
}

.mega-item,
.mega-item:hover,
.mega-item:focus,
.mega-item:active {
  text-decoration: none !important;
}

.mega-item:hover .mega-item__left span,
.mega-item:hover .mega-item__count {
  color: var(--nav-accent);
}

.mega-item:hover .mega-item__count {
  color: var(--nav-accent) !important;
  background: #f3f4f6 !important;
}

@media (max-width: 1024px) {
  :root {
    --gutter: 16px;
  }

  .site-header .custome-container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    max-width: none;
  }

  .header-nav-bar--desktop,
  .mega-menu {
    display: none;
  }

  .icon-button {
    background: transparent;
    color: var(--modern-text);
  }

  .icon-button[data-mobile-search-toggle],
  .icon-button.icon-button--search {
    background: var(--modern-accent);
    color: #fff;
  }

  .icon-button[data-mobile-search-toggle]:hover,
  .icon-button.icon-button--search:hover {
    background: var(--modern-accent-light);
    color: #fff;
  }

  .icon-button[data-mobile-toggle] {
    flex-direction: column;
    gap: 4px;
  }

  .icon-button[data-mobile-toggle] span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .icon-button[data-mobile-toggle][aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .icon-button[data-mobile-toggle][aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .icon-button[data-mobile-toggle][aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-top__inner {
    padding: 10px 0;
  }
}

/* Reference-locked mega menu styles (Static-codex parity) */
.mega-menu--ref .mega-item {
  text-decoration: none !important;
  color: inherit !important;
}

.mega-menu--ref .mega-item__left span {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: normal !important;
  color: var(--modern-text, #323232) !important;
  text-decoration: none !important;
}

.mega-menu--ref .mega-item__count {
  min-width: 28px !important;
  text-align: center !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
  color: #525a68 !important;
}

.mega-menu--ref .mega-item:hover {
  background: rgba(235, 125, 36, 0.08) !important;
}

.mega-menu--ref .mega-item:hover .mega-item__left span,
.mega-menu--ref .mega-item:hover .mega-item__count {
  color: var(--nav-accent) !important;
}

.mega-menu--ref .mega-item:hover .mega-item__count {
  background: var(--nav-accent) !important;
  color: #fff !important;
}

/* Rent / Serviz — anchored under nav trigger via JS */
.mega-menu--rent,
.mega-menu--repair {
  right: auto;
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

.mega-menu--rent__container,
.mega-menu--repair__container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.mega-menu--rent .mega-menu__shell,
.mega-menu--repair .mega-menu__shell {
  width: min(920px, calc(100vw - var(--gutter, 16px) * 2));
  max-width: 920px;
}

.mega-menu--rent .mega-menu__cols--rent,
.mega-menu--repair .mega-menu__cols--repair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu--rent .mega-menu__col + .mega-menu__col,
.mega-menu--repair .mega-menu__col + .mega-menu__col {
  border-left: 0;
}

.mega-menu--rent .mega-menu__col--rent-head,
.mega-menu--repair .mega-menu__col--repair-head {
  grid-column: 1 / -1;
  padding: 14px 24px 0;
}

.mega-menu--rent .mega-menu__col--rent-list,
.mega-menu--repair .mega-menu__col--repair-list {
  padding: 0 24px 14px;
  min-width: 0;
}

.mega-menu--rent .mega-menu__col--rent-list + .mega-menu__col--rent-list,
.mega-menu--repair .mega-menu__col--repair-list + .mega-menu__col--repair-list {
  border-left: 1px solid #f3f4f6;
}

.mega-menu--rent .mega-menu__grid--stack,
.mega-menu--repair .mega-menu__grid--stack {
  grid-template-columns: 1fr;
  gap: 0;
}

@media (max-width: 1280px) {
  .mega-menu__cols--triple {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu__col--other {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid #f3f4f6;
  }
}

/* Align Bootstrap .container (cart, checkout, account) with site grid */
body .container:not(.container-fluid) {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* Legacy rule in new_style.css forces full width below 1260px — keep side gutters */
@media only screen and (max-width: 1260px) {
  .custome-container,
  body .container:not(.container-fluid) {
    width: min(var(--container), calc(100% - var(--gutter) * 2)) !important;
    max-width: none !important;
  }
}
/* Site base copy — same as product short description (Inter 400, 16px, #323232) */
body {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-body, 400);
  line-height: var(--line-height-body, normal);
  color: var(--modern-text, #323232);
}

/* --- Hero --- */
.hero-modern {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  background: var(--modern-dark);
  touch-action: pan-y pinch-zoom;
}

.hero-modern__slides,
.hero-modern__slide,
.hero-modern__slide a,
.hero-modern__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-modern__slide {
  opacity: 0;
  transform: scale(1);
  transition: opacity .7s ease;
  z-index: 0;
}

.hero-modern__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-modern__slide img {
  object-fit: cover;
}

.hero-modern__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(31, 36, 55, .86) 0%, rgba(31, 36, 55, .5) 45%, rgba(31, 36, 55, .25) 68%, rgba(31, 36, 55, .05) 100%);
}

.hero-modern__right-gradient,
.hero-modern__right-blur {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-modern__right-gradient {
  width: 44%;
  background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .3) 25%, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .6) 100%);
}

.hero-modern__right-blur {
  width: 39%;
  backdrop-filter: blur(6px);
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
}

.hero-modern__main {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-modern__main-inner {
  height: calc(100% - 53px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
}

.hero-modern__left {
  width: 100%;
  max-width: 760px;
  padding-left: 60px;
}

.hero-modern__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-modern__brand-line {
  width: 48px;
  height: 2px;
  background: var(--modern-accent);
}

.hero-modern__brand-text {
  color: var(--modern-accent);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-modern__captions {
  position: relative;
  min-height: 260px;
}

.hero-modern__caption {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  transition: opacity .45s ease;
}

.hero-modern__caption.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-modern__caption.is-active .hero-modern__brand-text,
.hero-modern__caption.is-active .hero-modern__title,
.hero-modern__caption.is-active .hero-modern__description {
  text-shadow: 0 1px 4px rgba(0, 0, 0, .32), 0 2px 12px rgba(31, 36, 55, .22);
}

.hero-modern__title {
  margin: 0 0 12px;
  max-width: 680px;
  color: #fff;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.08;
  font-weight: 800;
}

.hero-modern__description {
  margin: 0 0 26px;
  max-width: 640px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(14px, 1.3vw, 21px);
  line-height: 1.5;
}

/* Large desktop — wider copy; laptop keeps 640px */
@media (min-width: 1600px) {
  .hero-modern__left {
    max-width: 880px;
  }

  .hero-modern__description {
    max-width: 820px;
  }
}

.hero-modern__caption:not(.is-active) .hero-modern__title,
.hero-modern__caption:not(.is-active) .hero-modern__description,
.hero-modern__caption:not(.is-active) .hero-modern__cta {
  animation: none;
  opacity: 0;
}

.hero-modern__caption.is-active .hero-modern__title {
  animation: heroTitleUp .7s cubic-bezier(.16, 1, .3, 1) both;
}

.hero-modern__caption.is-active .hero-modern__description {
  animation: heroBlurReveal 1.2s cubic-bezier(.16, 1, .3, 1) .2s both;
}

.hero-modern__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--modern-accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 28px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.hero-modern__caption.is-active .hero-modern__cta {
  animation: heroTitleUp .7s cubic-bezier(.16, 1, .3, 1) .3s both;
}

.hero-modern__cta:hover {
  background: var(--modern-accent-light);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(230, 106, 36, .35);
}

.hero-modern__cta svg,
.hero-modern__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-modern__side-banners {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 380px;
  max-width: 100%;
  flex-shrink: 0;
  align-self: center;
}

.hero-modern__side-banner {
  display: block;
  width: 100%;
  border: 1px solid #e5e7eb;
  padding: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .3s ease;
}

.hero-modern__side-banner:hover {
  transform: none;
}

.hero-modern__side-banner__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.hero-modern__side-banner__media img,
.hero-modern__side-banner__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .3s ease, opacity .35s ease;
  backface-visibility: hidden;
}

.hero-modern__side-banner__media .hero-banner-poster {
  position: relative;
  z-index: 1;
}

.hero-modern__side-banner__media:has(.hero-banner-poster) .hero-banner-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
}

.hero-modern__side-banner__media.hero-banner-media--playing .hero-banner-video {
  opacity: 1;
}

.hero-modern__side-banner__media.hero-banner-media--playing .hero-banner-poster {
  opacity: 0;
  pointer-events: none;
}

.hero-modern__side-banner__media video {
  background: transparent;
}

.hero-modern__side-banner:hover .hero-modern__side-banner__media img,
.hero-modern__side-banner:hover .hero-modern__side-banner__media video {
  transform: scale(1.03);
}

.hero-modern__side-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 64px 12px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .45) 45%, transparent 100%);
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-modern__side-overlay p {
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-rendering: geometricPrecision;
  transform: translateZ(0);
}

.hero-modern__side-badge,
.hero-modern__side-overlay p > span {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--modern-accent, #e66a24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-modern__controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-modern__controls-inner {
  height: calc(100% - 53px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 0;
}

.hero-modern__arrow {
  position: absolute;
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background-color .2s ease;
}

.hero-modern__arrow--prev {
  left: 0;
}

.hero-modern__arrow--next {
  right: 396px;
}

.hero-modern__arrow:hover {
  background: rgba(255, 255, 255, .25);
}

.hero-modern__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 74px;
  z-index: 4;
}

.hero-modern__dots-inner {
  padding-left: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-modern__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, .45);
  transition: all .2s ease;
}

.hero-modern__dot.is-active {
  width: 34px;
  background: var(--modern-accent);
}

.hero-modern__stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.hero-modern__stats-overlay {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(31, 36, 55, .4);
}

.hero-modern__stats-desktop {
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
}

.hero-modern__badge {
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: 7px 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.hero-modern__stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-modern__stat strong {
  color: var(--modern-accent);
  font: 700 26px/1 "Montserrat", "Inter", sans-serif;
}

.hero-modern__stat span {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 600;
}

.hero-modern__stats-mobile {
  display: none;
}

@keyframes heroTitleUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBlurReveal {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .hero-modern__side-banners {
    width: 340px;
  }

  .hero-modern__arrow--next {
    right: 356px;
  }
}

/* Laptop with side banners — shift next arrow; large desktop & mobile keep defaults */
@media (min-width: 1280px) and (max-width: 1599px) {
  .hero-modern__arrow--next {
    right: 420px;
  }
}

/* Mobile / tablet — banners under hero (side-by-side) */
.hero-mobile-banners {
  display: none;
}

@media (max-width: 1279px) {
  .hero-mobile-banners {
    display: block;
    padding: 10px 0 14px;
    background: #fff;
  }

  .hero-mobile-banners__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-mobile-banners__card {
    display: block;
    min-width: 0;
    border: 1px solid #e5e7eb;
    padding: 3px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
    text-decoration: none;
  }

  .hero-mobile-banners__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
  }

  .hero-mobile-banners__media img,
  .hero-mobile-banners__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .35s ease;
  }

  .hero-mobile-banners__media .hero-banner-poster {
    position: relative;
    z-index: 1;
  }

  .hero-mobile-banners__media:has(.hero-banner-poster) .hero-banner-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
  }

  .hero-mobile-banners__media.hero-banner-media--playing .hero-banner-video {
    opacity: 1;
  }

  .hero-mobile-banners__media.hero-banner-media--playing .hero-banner-poster {
    opacity: 0;
    pointer-events: none;
  }

  .hero-mobile-banners__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 8px 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
    pointer-events: none;
  }

  .hero-mobile-banners__overlay p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
  }

  .hero-mobile-banners__overlay .hero-modern__side-badge {
    font-size: 9px;
    padding: 2px 6px;
  }

  @media (max-width: 767px) {
    .hero-mobile-banners__overlay p {
      font-size: 10px;
    }
  }

  .hero-modern {
    height: 580px;
  }

  .hero-modern__right-gradient,
  .hero-modern__right-blur,
  .hero-modern__side-banners {
    display: none;
  }

  .hero-modern__arrow--prev {
    left: 2px;
  }

  .hero-modern__arrow--next {
    right: 2px;
  }
}

@media (min-width: 1025px) {
  .hero-modern__left {
    transform: translateY(-40px);
  }
}

@media (max-width: 1024px) {
  .hero-modern {
    --hero-mobile-gutter: 16px;
  }

  .hero-modern__overlay {
    background: rgba(31, 36, 55, .65);
  }

  .hero-modern__main-inner {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 48px var(--hero-mobile-gutter) 108px;
    height: calc(100% - 58px);
    box-sizing: border-box;
  }

  .hero-modern .custome-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-modern__main-inner.custome-container {
    padding-left: var(--hero-mobile-gutter) !important;
    padding-right: var(--hero-mobile-gutter) !important;
  }

  .hero-modern__left {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
    text-align: left;
  }

  .hero-modern__captions {
    min-height: 0;
    width: 100%;
  }

  .hero-modern__caption.is-active {
    text-align: left;
  }

  .hero-modern__brand {
    justify-content: flex-start;
    width: auto;
  }

  .hero-modern__title {
    max-width: 100%;
    font-size: clamp(30px, 7vw, 46px);
  }

  .hero-modern__description {
    font-size: 15px;
    line-height: 1.55;
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-modern__cta {
    padding: 11px 22px;
  }

  .hero-modern__controls {
    z-index: 6;
  }

  .hero-modern__arrow {
    width: 36px;
    height: 36px;
    pointer-events: auto !important;
    z-index: 2;
  }

  .hero-modern__controls-inner {
    position: static;
    height: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
    pointer-events: none;
  }

  .hero-modern__arrow--prev {
    position: absolute;
    top: auto;
    left: auto;
    right: calc(var(--hero-mobile-gutter) + 44px);
    bottom: 72px;
  }

  .hero-modern__arrow--next {
    position: absolute;
    top: auto;
    left: auto;
    right: var(--hero-mobile-gutter);
    bottom: 72px;
  }

  .hero-modern__dots {
    bottom: 72px;
    z-index: 5;
    pointer-events: none;
  }

  .hero-modern__dots > .custome-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--hero-mobile-gutter) !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  .hero-modern__dots-inner {
    padding-left: 0;
    min-height: 36px;
    align-items: center;
    pointer-events: none;
  }

  .hero-modern__dot {
    pointer-events: auto;
  }

  .hero-modern__stats-desktop {
    display: none;
  }

  .hero-modern__stats-mobile {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    touch-action: pan-x pinch-zoom;
  }

  .hero-modern__stats-mobile-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    min-height: 34px;
    will-change: transform;
    touch-action: pan-x pinch-zoom;
    -webkit-user-select: none;
    user-select: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .hero-modern__stats-mobile-track.marquee-loop--draggable {
    cursor: grab;
  }

  .hero-modern__stats-mobile-track.is-marquee-dragging {
    cursor: grabbing;
    touch-action: none;
  }

  .hero-modern__stats-mobile-track > span {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
  }

  .hero-modern__stats-mobile-track > span + span::before {
    content: "•";
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin-right: 12px;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    line-height: 1;
  }

  /* On mobile, make stats ticker edge-to-edge like the reference */
  .hero-modern__stats .custome-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-modern__stats-mobile-track .hero-modern__badge {
    padding: 6px 14px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-modern__stats-mobile-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 12px 20px;
    padding: 0 16px;
    box-sizing: border-box;
    white-space: normal;
    transform: none !important;
  }

  .hero-modern__stats-mobile-track > span + span::before {
    display: none;
  }
}

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

  .hero-modern__main-inner {
    padding-top: 56px;
  }

  .hero-modern__left {
    padding-left: 0 !important;
  }

  .hero-modern__brand {
    margin-bottom: 14px;
  }

  .hero-modern__description {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-modern__dots-inner {
    padding-left: 0 !important;
  }
}

/* --- Categories --- */
.home-categories-modern {
  background: #fff;
  padding: 30px 0 10px;
}

.home-categories-modern .custome-container,
.home-categories-modern + .custome-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home-categories-modern__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.home-categories-modern__line {
  width: 40px;
  height: 2px;
  background: var(--modern-accent);
}

.home-categories-modern__heading h2 {
  margin: 0;
  color: var(--modern-dark);
  font: 800 clamp(18px, 2.2vw, 34px)/1.2 "Montserrat", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
}

.home-category-tile {
  position: relative;
  min-height: 141px;
  padding: 20px;
  margin: -1px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  overflow: hidden;
  text-decoration: none;
}

.home-category-tile,
.home-category-tile:hover,
.home-category-tile:focus,
.home-category-tile:active,
.home-category-mobile-tile,
.home-category-mobile-tile:hover,
.home-category-mobile-tile:focus,
.home-category-mobile-tile:active {
  text-decoration: none !important;
}

.home-category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #1f2437 0%, #2d3348 100%);
  opacity: 0;
  transition: opacity .15s ease-out;
}

.home-category-tile__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s ease-out;
}

.home-category-tile__image img {
  position: absolute;
  right: 0;
  top: 0;
  width: 75%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
  mask-image: linear-gradient(to left, black 30%, transparent 100%);
}

.home-category-tile__content {
  position: relative;
  z-index: 1;
}

.home-category-tile__content img {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 12px;
  object-fit: contain;
  transition: filter .15s ease, color .15s ease;
}

.home-category-tile__content h3 {
  margin: 0 0 6px;
  font: 700 14px/1.3 "Montserrat", sans-serif;
  color: var(--modern-text);
  transition: color .15s ease;
}

.home-category-tile__content p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--modern-muted);
  font-size: 12px;
  transition: color .15s ease;
}

.home-category-tile__arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .15s ease, transform .15s ease;
  color: #fff;
}

.home-category-tile__arrow path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.home-category-tile.is-active .home-category-tile__overlay,
.home-category-tile.is-active .home-category-tile__image,
.home-category-tile:hover .home-category-tile__overlay,
.home-category-tile:hover .home-category-tile__image {
  opacity: 1;
}

.home-category-tile.is-active .home-category-tile__content img,
.home-category-tile.is-active .home-category-tile__content h3,
.home-category-tile.is-active .home-category-tile__content p,
.home-category-tile:hover .home-category-tile__content img,
.home-category-tile:hover .home-category-tile__content h3,
.home-category-tile:hover .home-category-tile__content p {
  color: #fff;
}

.home-category-tile.is-active .home-category-tile__content img,
.home-category-tile:hover .home-category-tile__content img {
  filter: brightness(0) invert(1);
}

.home-category-tile.is-active .home-category-tile__arrow,
.home-category-tile:hover .home-category-tile__arrow {
  opacity: 1;
  transform: translateX(0);
  color: #fff;
}

.home-categories-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .home-categories-modern .custome-container {
    width: min(var(--container), calc(100% - 24px)) !important;
  }

  .home-categories-modern + .custome-container {
    width: min(var(--container), calc(100% - 24px)) !important;
  }

  .home-categories-modern {
    padding-top: 4px;
    padding-bottom: 12px;
  }

  .home-categories-modern__heading {
    margin-bottom: 15px;
  }

  .hero-mobile-banners {
    padding-bottom: 8px;
  }

  .home-categories-grid {
    display: none;
  }

  .home-categories-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e5e7eb;
  }

  .home-category-mobile-tile {
    padding: 12px;
    text-align: center;
    background: #f9fafb;
    text-decoration: none;
  }

  .home-category-mobile-tile img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-category-mobile-tile strong {
    display: block;
    font: 700 11px/1.3 "Montserrat", sans-serif;
    color: var(--modern-text);
  }

  .home-category-mobile-tile span {
    display: block;
    margin-top: 4px;
    color: var(--modern-muted);
    font-size: 10px;
  }
}

/* --- Products --- */
.home-promo-products {
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 40px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.home-promo-products__heading {
  margin-bottom: 0;
}

.home-promo-products__heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.home-promo-products__heading-row .home-promo-products__heading {
  flex: 1 1 auto;
  min-width: 0;
}

.home-promo-products__nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.home-promo-products__nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: background-color .2s ease, border-color .2s ease;
}

.home-promo-products__nav-btn::before {
  position: absolute;
  top: 11px;
  content: "";
  border-right: 2px solid #6b85b4;
  border-top: 2px solid #6b85b4;
  height: 12px;
  width: 12px;
}

.home-promo-products__nav-btn--prev::before {
  left: 13px;
  transform: rotate(-135deg);
}

.home-promo-products__nav-btn--next::before {
  right: 13px;
  transform: rotate(45deg);
}

.home-promo-products__nav-btn:hover,
.home-promo-products__nav-btn:focus-visible {
  background: #f8fafc;
  border-color: #93b4e8;
  outline: none;
}

.home-promo-products__box {
  position: relative;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.home-promo-products__nav--carousel {
  display: none !important;
}

@media (min-width: 768px) {
  .home-promo-products .slider-promo-products--modern > .slick-prev,
  .home-promo-products .slider-promo-products--modern > .slick-next {
    display: none !important;
  }
}

.home-promo-products__all {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--modern-accent);
  text-decoration: none;
  white-space: nowrap;
}

.home-promo-products__all:hover,
.home-promo-products__all:focus-visible {
  text-decoration: underline;
}

.home-promo-products__slider.slider-promo-products--modern {
  --carousel-slides-per-view: 1;
  --products-gutter: 0;
  --carousel-hover-outset: 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
}

.home-promo-products__slider.slider-promo-products--modern.home-products-carousel--ready {
  opacity: 1;
  visibility: visible;
}

.home-promo-products__slider .home-products-carousel__viewport {
  overflow: hidden;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

.home-promo-products__slider .home-products-carousel__clip {
  overflow: hidden;
  width: 100%;
}

.home-promo-products__slider .home-products-carousel__track {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
}

.home-promo-products__slider .slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Promo deal cards — horizontal 40% image / 60% content */
.product-card-promo {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
  width: 100%;
  min-height: clamp(280px, 34vw, 380px);
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.product-card-promo:hover {
  border-color: transparent;
  box-shadow: none;
}

.product-card-promo__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: 100%;
  background: #f8fafc;
  overflow: hidden;
  line-height: 0;
  text-decoration: none !important;
}

.product-card-promo__media img {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
  display: block;
}

.product-card-promo__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  pointer-events: none;
}

.product-card-promo__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px) clamp(20px, 2.5vw, 28px);
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-card-promo:hover .product-card-promo__body {
  border-color: transparent;
  box-shadow: none;
}

.product-card-promo__title {
  margin: 0;
}

.product-card-promo__title a {
  display: block;
  color: #1f2437;
  font: 800 clamp(18px, 2.2vw, 24px)/1.25 "Montserrat", "Inter", sans-serif;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card-promo__title a:hover {
  color: var(--modern-accent);
}

.product-card-promo__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.product-card-promo__spec {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  line-height: 1.35;
  color: #64748b;
}

.product-card-promo__spec strong {
  color: #1f2437;
  font-weight: 700;
}

.product-card-promo__spec-label::after {
  content: ":";
}

.product-card-promo__excerpt {
  margin: 0;
  color: #64748b;
  font: 400 14px/1.55 "Inter", "Open Sans", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-promo__countdown {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0;
  background: transparent;
  border: 0;
}

.product-card-promo__countdown-label {
  display: block;
  width: 100%;
  color: #1f2437;
  font: 700 13px/1.3 "Inter", sans-serif;
  letter-spacing: 0.02em;
}

.product-card-promo__countdown-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.product-card-promo__countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 56px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #1f2437;
  color: #fff;
}

.product-card-promo__countdown-unit strong {
  font: 800 22px/1 "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
}

.product-card-promo__countdown-unit small {
  font: 600 11px/1 "Inter", sans-serif;
  opacity: 0.9;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .product-card-promo__countdown-unit small {
    text-transform: none;
    font-size: 12px;
  }
}

.product-card-promo__countdown-sep {
  color: #94a3b8;
  font: 700 18px/1 "Inter", sans-serif;
  align-self: center;
  padding-bottom: 8px;
}

.product-card-promo__countdown.is-expired .product-card-promo__countdown-label::after {
  content: " Изтекла";
  color: #dc2626;
}

.product-card-promo__deal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.product-card-promo__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  min-width: 58px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #facc15;
  color: #1f2437;
  font: 800 18px/1.1 "Inter", sans-serif;
  letter-spacing: -0.02em;
  box-sizing: border-box;
}

.product-card-promo__discount--media {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: auto;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.product-card-promo__price {
  flex: 1 1 auto;
  min-width: 0;
}

.product-card-promo__price .product-card-modern__price-block--promo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card-promo__price .product-card-modern__price-old,
.product-card-promo__price .product-card-modern__price-old .product-card-modern__price-line {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1f2437 !important;
  text-decoration: line-through;
  opacity: 1;
}

.product-card-promo__price .product-card-modern__price-value--promo,
.product-card-promo__price .product-card-modern__price-value--promo .product-card-modern__price-line {
  font-size: clamp(20px, 2.4vw, 28px) !important;
  font-weight: 800 !important;
  color: var(--modern-accent) !important;
  line-height: 1.2 !important;
}

.product-card-promo__price .product-card-modern__price-value {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
}

.product-card-promo__deal .product-button.product-button--primary,
.product-card-promo__deal a.product-button.product-button--primary {
  width: auto;
  flex-shrink: 0;
  padding: 12px 22px;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card-promo--sold .product-card-promo__media img {
  opacity: var(--product-sold-image-opacity);
}

@media (max-width: 767px) {
  .home-promo-products {
    margin-bottom: 28px;
  }

  .home-promo-products__heading-row {
    flex-wrap: wrap;
    margin-bottom: 14px;
  }

  .home-promo-products__nav--header {
    display: none;
  }

  .product-card-promo__discount--media {
    min-width: 50px;
    min-height: 46px;
    padding: 8px 10px;
    font-size: 16px;
  }

  .home-promo-products__all {
    margin-left: auto;
  }

  .home-promo-products__box {
    overflow: hidden;
  }

  .home-promo-products__slider .home-products-carousel__track {
    align-items: flex-start;
  }

  .home-promo-products__slider .slide {
    align-self: flex-start;
  }

  .product-card-promo {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .product-card-promo__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .product-card-promo__media img {
    object-fit: cover !important;
    object-position: center center;
  }

  .product-card-promo__badges {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .product-card-promo__body {
    padding: 18px 20px;
    gap: 12px;
  }

  .product-card-promo__excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 13px;
    line-height: 1.45;
  }

  .product-card-promo__countdown {
    margin-top: 2px;
    align-items: center;
    width: 100%;
  }

  .product-card-promo__countdown-label {
    text-align: center;
  }

  .product-card-promo__countdown-timer {
    justify-content: center;
    width: 100%;
  }

  .product-card-promo__countdown-unit {
    min-width: 48px;
    padding: 8px 10px;
  }

  .product-card-promo__countdown-unit strong {
    font-size: 18px;
  }

  .product-card-promo__deal {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    padding-top: 12px;
    text-align: center;
  }

  .product-card-promo__price {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .product-card-promo__price .product-card-modern__price-block--promo {
    align-items: center;
    text-align: center;
  }

  .product-card-promo__price .product-card-modern__price-old,
  .product-card-promo__price .product-card-modern__price-value--promo {
    justify-content: center;
    width: 100%;
  }

  .product-card-promo__deal .product-button.product-button--primary {
    width: 100%;
    text-align: center;
  }
}

/* Latest products — compact showcase cards */
.product-card-latest {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #e8edf3;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.product-card-latest__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.product-card-latest__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
  line-height: 0;
}

.product-card-latest__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transition: transform .25s ease;
}

.product-card-latest__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 2;
  pointer-events: none;
}

.product-card-latest__title {
  margin: 0;
  padding: 12px 12px 14px;
  color: #1f2437;
  font: 700 13px/18px "Montserrat", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-latest--sold .product-card-latest__media img {
  opacity: var(--product-sold-image-opacity);
}

.new-products:not(.recommended-products) {
  margin-top: 4px;
}

.new-products:not(.recommended-products) .home-categories-modern__heading {
  margin-bottom: 18px;
}

.new-products {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

.recommended-products {
  margin-top: 10px;
  margin-bottom: 0;
  overflow: visible;
}

.new-products:has(.home-products-carousel--busy),
.recommended-products:has(.home-products-carousel--busy) {
  overflow-x: clip;
}

/*
 * Home carousels: bleed box (wider + negative margin + inner padding) — cards align with grid,
 * hover scale/shadow fits inside padding; viewport overflow:hidden only clips sliding track.
 */
@media (max-width: 1024px) {
  .slider-new-products.slider-new-products--modern,
  .slider-new-products--modern.slick-slider.slick-dotted {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
  }
}

.new-products .slider-new-products--modern,
.recommended-products .slider-new-products--modern {
  overflow: visible;
}

.slider-new-products--modern {
  --carousel-hover-outset: 14px;
  --products-gutter: 12px;
  --carousel-slides-per-view: 4;
  position: relative;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
}

.slider-new-products--modern.home-products-carousel--ready,
.slider-new-products--modern.slick-initialized {
  opacity: 1;
  visibility: visible;
}

.slider-new-products--modern .home-products-carousel__viewport {
  box-sizing: border-box;
  width: calc(100% + 2 * var(--carousel-hover-outset));
  max-width: none;
  min-width: 0;
  margin-left: calc(-1 * var(--carousel-hover-outset)) !important;
  margin-right: calc(-1 * var(--carousel-hover-outset)) !important;
  padding: 0 var(--carousel-hover-outset) 12px !important;
  overflow: visible;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.slider-new-products--modern .home-products-carousel__clip {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.slider-new-products--modern .home-products-carousel__track {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--products-gutter);
  box-sizing: border-box;
  width: max-content;
  max-width: none;
  min-width: 100%;
  margin: 0;
  padding: 0;
  will-change: transform;
}

.slider-new-products--modern.home-products-carousel--busy .product-card-modern,
.slider-new-products--modern.home-products-carousel--busy .product-card-modern:hover,
.slider-new-products--modern.home-products-carousel--busy .product-card-latest,
.slider-new-products--modern.home-products-carousel--busy .product-card-latest:hover {
  transform: none !important;
  box-shadow: none !important;
  z-index: auto;
}

.slider-new-products--modern .slick-dots {
  display: none !important;
}

.slider-new-products--modern .slick-list {
  margin: 0 !important;
  padding: 0 0 12px !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  /* pan-y: page scroll works when finger starts on slider; Slick still handles horizontal swipe */
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.slider-new-products--modern .slick-track {
  display: flex !important;
  align-items: stretch;
}

.slider-new-products--modern .slick-slide {
  display: flex !important;
  align-items: stretch;
  height: auto !important;
  margin: 0 !important;
}

.slider-new-products--modern .slick-slide > div {
  display: flex !important;
  width: 100%;
  height: 100%;
}

.slider-new-products--modern .slick-slide:hover {
  box-shadow: none !important;
}

.slider-new-products--modern .home-products-carousel__track > .slide {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
}

.slider-new-products--modern .home-products-carousel__track > .slide > .product-card-modern,
.slider-new-products--modern .home-products-carousel__track > .slide > .product-card-latest,
.slider-new-products--modern .home-products-carousel__track > .slide > a {
  width: 100%;
}

.slider-new-products--modern .slide {
  display: flex;
  height: 100%;
  padding: 10px 0 12px;
  box-sizing: border-box;
  overflow: visible;
}

.slider-new-products--modern .product-card-modern {
  overflow: visible;
}

.slider-new-products--modern .product-card-latest {
  overflow: visible;
}

.slider-new-products--modern .product-card-modern__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.slider-new-products--modern .home-products-carousel__track > .slide[data-carousel-edge="left"] .product-card-modern,
.slider-new-products--modern .home-products-carousel__track > .slide[data-carousel-edge="left"] .product-card-latest {
  transform-origin: left center;
}

.slider-new-products--modern .home-products-carousel__track > .slide[data-carousel-edge="right"] .product-card-modern,
.slider-new-products--modern .home-products-carousel__track > .slide[data-carousel-edge="right"] .product-card-latest {
  transform-origin: right center;
}

.slider-new-products--modern .product-card-modern:hover {
  transform: scale(1.02);
  border-color: #cbd5e1;
  position: relative;
  z-index: 6;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
}

.new-products:not(.recommended-products) .slider-new-products--modern .product-card-latest:hover {
  transform: scale(1.02);
  border-color: #cbd5e1;
  position: relative;
  z-index: 6;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
}

.new-products:not(.recommended-products) .slider-new-products--modern .product-card-latest:hover .product-card-latest__media img {
  transform: scale(1.04);
}

.product-card-modern {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  overflow: hidden;
  transform-origin: center center;
  transition: transform .2s ease, border-color .2s ease;
}

.product-card-modern:hover {
  transform: scale(1.02);
  border-color: #cbd5e1;
  position: relative;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
}

.product-card-modern__media {
  position: relative;
  display: block;
  background: #f9fafb;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  line-height: 0;
}

.product-card-modern__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  border-radius: 0 !important;
}

.slider-new-products--modern.home-products-carousel--ready .slide img,
.slider-new-products--modern .slick-initialized .slick-slide img,
.slider-new-products--modern.slick-initialized .slick-slide img {
  border-radius: 0 !important;
}

.product-card-modern__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  pointer-events: none;
}

.product-media-badges {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.product-media-badges__start {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 48%;
}

.product-media-badges__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
  max-width: 52%;
}

.product-card-modern__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "Inter", "Open Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

.product-card-modern__media,
.product-card-modern__media:hover,
.product-card-modern__media:focus,
.product-card-modern__media:active,
.product-card-modern:hover .product-card-modern__badge,
.product-card-modern__media:hover .product-card-modern__badge {
  text-decoration: none !important;
}

.product-card-modern__badge--promo {
  color: #1f2437;
  background: #facc15;
}

.product-card-modern__badge--new {
  color: #fff;
  background: #22a55a;
}

.product-card-modern__badge--dark {
  color: #fff;
  background: #e66a24;
}

.product-card-modern__badge--on-order,
.badge-pill--on-order {
  color: #fff;
  background: #1f2437;
}

.product-card-modern__badge--sold {
  color: #fff;
  background: #000;
}

.product-card-modern--sold .product-card-modern__media img {
  opacity: var(--product-sold-image-opacity);
}

.product-card-modern__badge--stock {
  color: #fff;
  background: #22a55a;
}

.product-card-modern__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 12px;
  min-height: 0;
}

.product-card-modern__title {
  margin: 0;
  min-height: 42px;
}

.product-card-modern__title a {
  display: block;
  color: #1f2437;
  font: 700 16px/21px "Montserrat", "Inter", sans-serif;
  text-align: left;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 42px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card-modern__meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 6px;
}

.product-card-modern__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  line-height: 1.35;
  color: #1f2437;
  font-weight: 500;
}

.product-card-modern__row strong {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.product-card-modern__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

/* Препоръчани: компактни карти без изкуствен gap под атрибутите */
.recommended-products .product-card-modern__body {
  flex: 0 1 auto;
}

.recommended-products .product-card-modern__footer {
  margin-top: 12px;
}

.recommended-products .home-products-carousel__track,
.recommended-products .slick-track {
  align-items: flex-start;
}

.recommended-products .slick-slide,
.recommended-products .slick-slide > div,
.recommended-products .slide,
.recommended-products .product-card-modern {
  height: auto !important;
}

/* Най-нови: изравнени карти, празнината остава над footer-а (не в meta) */
.new-products:not(.recommended-products) .product-card-modern__body {
  flex: 1 1 auto;
}

.product-card-modern__price strong {
  color: #1f2437;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

/* Home carousels — same compact price row as catalog grid */
.new-products .product-card-modern__footer,
.recommended-products .product-card-modern__footer {
  gap: 8px;
  min-width: 0;
}

.new-products .product-card-modern__price,
.recommended-products .product-card-modern__price {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.new-products .product-card-modern__price strong,
.recommended-products .product-card-modern__price strong,
.new-products .product-card-modern__price-value,
.recommended-products .product-card-modern__price-value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 100%;
  font-size: 17px;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  gap: 0 2px;
}

.product-card-modern__cta {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #1f2437;
  text-decoration: none !important;
  padding: 0;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.product-card-modern__cta-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.product-card-modern:hover .product-card-modern__cta,
.product-card-modern__cta:hover {
  color: #fff;
  background: var(--modern-accent);
  transform: none;
}

.slider-new-products--modern .slick-prev,
.slider-new-products--modern .slick-next,
.home-promo-products .slider-promo-products--modern > .slick-prev,
.home-promo-products .slider-promo-products--modern > .slick-next {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  z-index: 6;
  font-size: 0;
  color: transparent;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color .2s ease, border-color .2s ease;
}

.slider-new-products--modern .slick-prev:focus,
.slider-new-products--modern .slick-next:focus,
.slider-new-products--modern .slick-prev:active,
.slider-new-products--modern .slick-next:active,
.home-promo-products .slider-promo-products--modern > .slick-prev:focus,
.home-promo-products .slider-promo-products--modern > .slick-next:focus,
.home-promo-products .slider-promo-products--modern > .slick-prev:active,
.home-promo-products .slider-promo-products--modern > .slick-next:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: #dbeafe;
}

.slider-new-products--modern .slick-prev::before,
.slider-new-products--modern .slick-next::before,
.home-promo-products .slider-promo-products--modern > .slick-prev::before,
.home-promo-products .slider-promo-products--modern > .slick-next::before {
  position: absolute;
  top: 10px;
  content: "";
  border-right: 2px solid #6b85b4;
  border-top: 2px solid #6b85b4;
  height: 12px;
  width: 12px;
  opacity: 1;
  transition: border-color .2s ease;
}

.slider-new-products--modern .slick-prev::before,
.home-promo-products .slider-promo-products--modern > .slick-prev::before {
  left: 13px;
  transform: rotate(-135deg);
}

.slider-new-products--modern .slick-next::before,
.home-promo-products .slider-promo-products--modern > .slick-next::before {
  right: 13px;
  transform: rotate(45deg);
}

.slider-new-products--modern .slick-prev:hover,
.slider-new-products--modern .slick-next:hover,
.home-promo-products .slider-promo-products--modern > .slick-prev:hover,
.home-promo-products .slider-promo-products--modern > .slick-next:hover {
  background: var(--modern-accent);
  border-color: var(--modern-accent);
}

.slider-new-products--modern .slick-prev:hover::before,
.slider-new-products--modern .slick-next:hover::before,
.home-promo-products .slider-promo-products--modern > .slick-prev:hover::before,
.home-promo-products .slider-promo-products--modern > .slick-next:hover::before {
  border-right-color: #fff;
  border-top-color: #fff;
}

.slider-new-products--modern .slick-prev.slick-disabled,
.slider-new-products--modern .slick-next.slick-disabled,
.home-promo-products .slider-promo-products--modern > .slick-prev.slick-disabled,
.home-promo-products .slider-promo-products--modern > .slick-next.slick-disabled {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.slider-new-products--modern .slick-dots li button::before {
  font-size: 10px;
  color: #cbd5e1;
  opacity: 1;
}

.slider-new-products--modern .slick-dots li.slick-active button::before {
  color: var(--modern-accent);
}

@media only screen and (max-width: 1024px) {
  .new-products {
    margin-top: 0;
  }

  .recommended-products {
    margin-top: 20px;
  }

  .new-products .slider-new-products--modern,
  .recommended-products .slider-new-products--modern,
  .home-promo-products .slider-promo-products--modern {
    container-type: inline-size;
  }

  .slider-new-products {
    padding: 0 !important;
  }

  .slider-new-products--modern {
    --carousel-hover-outset: 0;
    --products-gutter: 0;
  }

  .slider-new-products--modern .home-products-carousel__viewport {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible;
  }

  .slider-new-products--modern .home-products-carousel__clip {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .slider-new-products--modern .home-products-carousel__track {
    gap: 0;
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0;
  }

  .slider-new-products--modern .home-products-carousel__track .slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .slider-new-products--modern .product-card-modern:hover,
  .slider-new-products--modern .product-card-modern:active,
  .new-products:not(.recommended-products) .slider-new-products--modern .product-card-latest:hover,
  .new-products:not(.recommended-products) .slider-new-products--modern .product-card-latest:active {
    transform: none !important;
    border-color: #e5e7eb !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: auto;
  }

  .slider-new-products--modern .slick-prev,
  .slider-new-products--modern .slick-next,
  .home-promo-products .slider-promo-products--modern > .slick-prev,
  .home-promo-products .slider-promo-products--modern > .slick-next {
    position: absolute !important;
    top: 37.5cqw !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  .slider-new-products--modern .slick-prev,
  .home-promo-products .slider-promo-products--modern > .slick-prev {
    left: 10px !important;
    right: auto !important;
  }

  .slider-new-products--modern .slick-next,
  .home-promo-products .slider-promo-products--modern > .slick-next {
    right: 10px !important;
    left: auto !important;
  }

  .product-card-modern__title a {
    font-size: 16px;
    line-height: 21px;
    min-height: 42px;
  }

  .product-card-modern__price strong {
    font-size: 17px;
  }

  .new-products .product-card-modern__price strong,
  .recommended-products .product-card-modern__price strong,
  .new-products .product-card-modern__price-value,
  .recommended-products .product-card-modern__price-value {
    font-size: 14px;
    line-height: 1.35;
  }

  .product-card-modern__row {
    font-size: 14px;
  }
}

@media (min-width: 992px) and (max-width: 1399px) {
  .new-products .product-card-modern__price strong,
  .recommended-products .product-card-modern__price strong,
  .new-products .product-card-modern__price-value,
  .recommended-products .product-card-modern__price-value {
    font-size: 16px;
    line-height: 1.35;
  }
}

@media (min-width: 1025px) {
  .slider-promo-products,
  .slider-new-products {
    margin: 0 0 30px;
    position: relative;
    padding: 0 0 11px;
  }

  .slider-new-products.slider-new-products--modern,
  .slider-new-products--modern.slick-slider.slick-dotted {
    margin: 0 0 20px !important;
    padding: 0 0 11px !important;
    position: relative;
  }

  .new-products,
  .recommended-products {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    column-gap: 10px;
    row-gap: 20px;
    align-items: center;
  }

  .new-products .home-categories-modern__heading,
  .recommended-products .home-categories-modern__heading {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    padding-right: 0;
    min-height: 0;
    align-self: center;
    align-items: center;
    box-sizing: border-box;
  }

  .new-products .slider-new-products--modern,
  .recommended-products .slider-new-products--modern {
    display: contents;
  }

  .new-products .slider-new-products--modern .home-products-carousel__viewport,
  .recommended-products .slider-new-products--modern .home-products-carousel__viewport {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    margin-bottom: 20px;
    padding-bottom: 11px;
    --carousel-hover-outset: 18px;
    padding-left: var(--carousel-hover-outset) !important;
    padding-right: var(--carousel-hover-outset) !important;
    overflow: visible;
  }

  .slider-new-products--modern .home-products-carousel__track .slide {
    box-sizing: border-box;
  }

  .new-products .slider-new-products--modern .slick-prev,
  .new-products .slider-new-products--modern .slick-next,
  .recommended-products .slider-new-products--modern .slick-prev,
  .recommended-products .slider-new-products--modern .slick-next {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 !important;
    align-self: center;
    justify-self: center;
    z-index: 4;
  }

  .new-products .slider-new-products--modern .slick-prev,
  .recommended-products .slider-new-products--modern .slick-prev {
    grid-column: 2;
    grid-row: 1;
  }

  .new-products .slider-new-products--modern .slick-next,
  .recommended-products .slider-new-products--modern .slick-next {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 600px) {
  .slider-new-products--modern {
    --products-gutter: 0px;
  }

  .slider-new-products--modern .home-products-carousel__viewport,
  .slider-new-products--modern .slick-list {
    overflow: hidden !important;
    padding: 0 0 8px !important;
  }

  .slider-new-products--modern .slick-slide {
    width: 100% !important;
  }

  .slider-new-products--modern .slide {
    padding: 10px 0 12px;
  }

  .product-card-modern__body {
    padding: 10px;
  }
}

/* --- Brands archive (/brands) --- */
.brands-archive-page .filters-sidebar {
  align-self: flex-start;
}

.brands-archive-sidebar .filter-section__title-link.is-current .filter-section__label-text,
.brands-archive-sidebar .filter-option--link.is-current .filter-option__label {
  color: var(--modern-accent);
}

/* /brands sidebar: level-2 must live in .category-nav-branch__children for hover (same as catalog) */
.brands-archive-sidebar .filter-options--category > .filter-option--level-2 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 9px 12px 9px 28px;
  box-sizing: border-box;
  background: #fff;
}

.brands-archive-sidebar .filter-options--category > .filter-option--level-2:not(.is-current):hover {
  background: #f5f6f8;
  text-decoration: none;
}

.brands-archive-sidebar .filter-options--category > .filter-option--level-2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #1f2437;
  z-index: 1;
  opacity: 0;
}

.brands-archive-sidebar .filter-options--category > .filter-option--level-2:not(.is-current):hover::before,
.brands-archive-sidebar .filter-options--category > .filter-option--level-2.is-current::before {
  opacity: 1;
}

.brands-archive-sidebar .filter-options--category > .filter-option--level-2:not(.is-current):hover .filter-sidebar-count-pill,
.brands-archive-sidebar .filter-options--category > .filter-option--level-2.is-current .filter-sidebar-count-pill {
  background: #1f2437;
  color: #fff;
}

.brands-archive__sections {
  column-count: 4;
  column-gap: 28px;
}

.brands-archive__section {
  display: inline-block;
  width: 100%;
  margin: 0 0 28px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.brands-archive__letter {
  margin: 0 0 12px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line, #e5e7eb);
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #E66A24;
}

.brands-archive__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brands-archive__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 10px;
  background: #fff;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.brands-archive__card--with-logo {
  padding: 16px 12px 14px;
  gap: 10px;
}

.brands-archive__card--no-logo {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  text-align: left;
}

.brands-archive__card:hover,
.brands-archive__card:focus-visible {
  border-color: #d1d5db;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.brands-archive__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
}

.brands-archive__logo {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brands-archive__name {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--modern-text);
}

.brands-archive__card--no-logo .brands-archive__name {
  flex: 1 1 auto;
  min-width: 0;
}

.brands-archive__count {
  font-size: 12px;
  line-height: 1.35;
  color: var(--modern-muted);
  white-space: nowrap;
}

.brands-archive__card--no-logo .brands-archive__count {
  flex-shrink: 0;
}

@media (max-width: 1280px) {
  .brands-archive__sections {
    column-count: 3;
    column-gap: 24px;
  }
}

@media (max-width: 900px) {
  .brands-archive__sections {
    column-count: 2;
    column-gap: 20px;
  }
}

.brands-archive__empty {
  margin: 0;
  font-size: 15px;
  color: var(--modern-muted);
}

@media (max-width: 1024px) {
  .brands-archive__sections {
    column-count: 1;
    column-gap: 0;
  }

  .brands-archive__section {
    margin-bottom: 22px;
  }

  .brands-archive__letter {
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 18px;
  }

  .brands-archive__stack {
    gap: 8px;
  }
}

/* --- Brands --- */
.brands-strip {
  padding: 32px 0;
  border-top: 1px solid var(--line, #e5e7eb);
  border-bottom: 1px solid var(--line, #e5e7eb);
  overflow: hidden;
  background: #fff;
}

.brands-strip .brands-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.brands-strip .brands-track__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 64px;
  padding-right: 0;
  will-change: transform;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.brands-strip .brands-track__group.marquee-loop--draggable {
  cursor: grab;
  touch-action: pan-y pinch-zoom;
}

.brands-strip .brands-track__group.is-marquee-dragging {
  cursor: grabbing;
  touch-action: none;
}

.brands-strip .brand-logo {
  flex-shrink: 0;
  display: block;
  filter: grayscale(1);
  opacity: .5;
  text-decoration: none;
  transition: opacity .2s ease, filter .2s ease;
}

.brands-strip .brand-logo:hover,
.brands-strip .brand-logo:focus-visible {
  opacity: .85;
  filter: grayscale(.35);
}

.brands-strip .brand-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .brands-strip .brands-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 32px 48px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .brands-strip .brands-track__group {
    display: contents;
    padding-right: 0;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .brands-strip {
    padding: 24px 0;
  }

  .brands-strip .brands-track__group {
    gap: 40px;
    padding-right: 0;
  }

  .brands-strip .brand-logo img {
    height: 44px;
  }
}

/* --- About --- */
.about-modern {
  position: relative;
  overflow: hidden;
  padding: 66px 0;
  background: #1c1c1c;
}

.about-modern__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  background: rgba(230, 106, 36, .05);
  pointer-events: none;
}

.about-modern__orb--top {
  width: 384px;
  height: 384px;
  top: 0;
  right: 0;
}

.about-modern__orb--bottom {
  width: 256px;
  height: 256px;
  bottom: 0;
  left: 0;
}

.about-modern__brand-a {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  height: 95%;
  width: auto;
  max-width: none;
  opacity: .02;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.about-modern__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-modern .modern-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.about-modern .modern-heading__line {
  width: 40px;
  height: 2px;
  background: var(--modern-accent);
  flex-shrink: 0;
}

.about-modern .modern-heading--light span {
  color: var(--modern-accent);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.about-modern__content h1 {
  margin: 0 0 24px;
  color: #fff;
  font: 800 clamp(2rem, 4vw, 2.5rem)/1.2 "Montserrat", sans-serif;
}

.about-modern__content > p {
  margin: 0 0 32px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
}

.about-modern .modern-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  background: var(--modern-accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background .25s ease;
}

.about-modern .modern-cta:hover {
  background: var(--modern-accent-light);
  color: #fff;
  text-decoration: none;
}

.about-modern__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  padding: 24px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .04);
  box-shadow: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background .25s ease;
}

.about-feature:hover {
  background: rgba(255, 255, 255, .04);
}

.about-feature__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 106, 36, .1);
  color: var(--modern-accent);
  transition: background .25s ease;
}

.about-feature:hover .about-feature__icon {
  background: rgba(230, 106, 36, .2);
}

.about-feature__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-feature h3 {
  margin: 0 0 8px;
  color: #fff;
  font: 700 14px/1.4 "Montserrat", sans-serif;
}

.about-feature p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.6;
}

#container-ceo.home-seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#container-ceo.home-seo-h1 h1 {
  margin: 0;
  font-size: 1px;
}

@media (max-width: 991px) {
  .about-modern {
    padding: 40px 0;
  }

  .about-modern__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-modern__brand-a {
    display: none;
  }
}

@media (max-width: 575px) {
  .about-modern__features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-feature {
    padding: 16px;
  }

  .about-feature h3 {
    font-size: 13px;
  }

  .about-feature p {
    font-size: 13px;
  }

  .about-modern .modern-cta {
    padding: 12px 20px;
    font-size: 12px;
  }
}

/* --- Newsletter --- */
.newsletter-modern {
  position: relative;
  overflow: hidden;
  background: var(--modern-accent);
}

.newsletter-modern__bg {
  position: absolute;
  right: 0;
  top: 50%;
  max-width: none;
  width: auto;
  opacity: .6;
  transform: translateY(-50%) scaleX(-1);
  pointer-events: none;
}

.newsletter-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .08) 0 1px,
      transparent 1px 130px
    );
  pointer-events: none;
}

.newsletter-modern__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(31, 36, 55, .12), rgba(31, 36, 55, 0) 40%),
    linear-gradient(to left, rgba(31, 36, 55, .14), rgba(31, 36, 55, 0) 42%);
}

.newsletter-modern__row {
  position: relative;
  z-index: 1;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-family: "Inter", sans-serif;
}

.newsletter-modern__copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font: 800 clamp(20px, 2vw, 28px)/1.15 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.newsletter-modern__copy p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.55;
  font-family: "Inter", sans-serif;
}

.newsletter-modern__form-wrap {
  width: 100%;
  max-width: 520px;
}

.newsletter-modern__form-wrap .message-holder {
  margin: 0 0 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  font: 500 14px/1.45 "Inter", sans-serif;
  box-shadow: 0 4px 14px rgba(31, 36, 55, 0.12);
}

/* Override global .message-success (green on green + white text from old rule) */
.newsletter-modern__form-wrap .message-holder.message-success {
  background: #fff;
  color: #166534;
}

.newsletter-modern__form-wrap .message-holder.message-error {
  background: #fff;
  color: #b91c1c;
}

.newsletter-modern__form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-modern__form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(234, 121, 56, .75);
  color: rgba(255, 255, 255, .9);
  padding: 14px 20px;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none;
}

.newsletter-modern__form input::placeholder {
  color: rgba(255, 255, 255, .9);
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
}

.newsletter-modern__form button {
  flex-shrink: 0;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--modern-accent);
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.newsletter-modern__form button:focus,
.newsletter-modern__form button:active {
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 991px) {
  .newsletter-modern__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .newsletter-modern__form-wrap {
    max-width: 100%;
  }

  .newsletter-modern__form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .newsletter-modern__form input,
  .newsletter-modern__form button {
    width: 100%;
    flex: none;
  }

  .newsletter-modern__form button {
    min-height: 48px;
    padding: 14px 20px;
    font-size: 14px !important;
  }
}

@media (max-width: 640px) {
  .newsletter-modern__bg {
    opacity: .4;
  }

  .newsletter-modern__copy h2 {
    font-size: 20px;
  }

  .newsletter-modern__copy p {
    font-size: 12px;
  }
}

/* --- Footer --- */
.site-footer {
  background: #1c1c1c;
  color: #fff;
  /* Override legacy all.css: footer { padding: 25px 0 40px } */
  padding: 0 !important;
}

.site-footer .footer-shell {
  padding: 32px 0 0;
}

.site-footer .footer-brand--mobile {
  display: none;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer dl {
  margin: 0;
}

.site-footer dt {
  margin: 0 0 20px;
  color: var(--modern-accent);
  font: 700 12px/1 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: .25em;
}

.site-footer dt.footer-hours-dt {
  margin-top: 16px;
}

.site-footer dd {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .5);
  font-size: 15px;
  line-height: 1.45;
}

.site-footer dd:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--modern-accent);
  text-decoration: none;
}

.site-footer dl dd a:hover::before {
  border-right-color: var(--modern-accent) !important;
  border-top-color: var(--modern-accent) !important;
}

.site-footer .footer-social a::before,
.site-footer .footer-social a:hover::before {
  content: none !important;
  display: none !important;
}

.site-footer .footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.site-footer .footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  max-width: 320px;
}

.site-footer .footer-offer {
  margin-top: 16px;
  color: rgba(255, 255, 255, .82);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 700;
}

.site-footer dd.footer-social {
  line-height: 1;
}

.site-footer .footer-social {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-footer .footer-social a {
  position: static;
  padding: 0 !important;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}

/* Override legacy footer dl dd i.fa { margin: -3px 5px 0 0 } */
.site-footer .footer-social a i.fa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0;
  font-size: 13px !important;
  line-height: 1 !important;
  vertical-align: middle;
}

.site-footer .footer-social a i.fa::before {
  display: block;
  line-height: 1;
  text-align: center;
}

.site-footer .footer-social a .fa-youtube {
  font-size: 11px !important;
}

.site-footer .footer-social a:hover {
  background: var(--modern-accent);
  color: #fff;
}

.site-footer .footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.site-footer .footer-hours-row span {
  color: rgba(255, 255, 255, .55);
}

.site-footer .footer-hours-row strong {
  color: rgba(255, 255, 255, .88);
  font-weight: 500;
}

.site-footer .footer-hours-row em {
  color: rgba(255, 255, 255, .4);
  font-style: normal;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .3);
  font-size: 12px;
  text-align: center;
}

.site-footer .footer-bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .site-footer .footer-shell {
    padding: 24px 0 0;
  }

  .site-footer .footer-brand--desktop {
    display: none;
  }

  .site-footer .footer-brand--mobile {
    display: block;
    margin-bottom: 4px;
    border-top: 0;
    padding-top: 0;
  }

  .site-footer .footer-brand img {
    height: 32px;
    margin-bottom: 12px;
  }

  .site-footer .footer-brand p {
    font-size: 13px;
    line-height: 1.4;
  }

  .site-footer .footer-offer {
    margin-top: 10px;
    font-size: 10px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 20px;
  }

  .site-footer .footer-col {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 14px 0;
  }

  /* Нормални колони — без accordion / chevron (override legacy footer dl rules) */
  .site-footer dl dt {
    margin: 0 0 10px;
    padding: 0;
    border-bottom: 0;
    cursor: default;
    pointer-events: none;
    font-size: 11px;
  }

  .site-footer dt.footer-hours-dt {
    margin-top: 10px;
  }

  .site-footer dl dt::before {
    content: none !important;
    display: none !important;
  }

  .site-footer dl dd {
    display: block !important;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .site-footer dl dd:last-child {
    margin-bottom: 0;
  }

  .site-footer a {
    font-size: 13px;
  }

  .site-footer .footer-social {
    margin-top: 10px;
    gap: 8px;
  }

  .site-footer .footer-social a {
    width: 28px;
    height: 28px;
  }

  .site-footer .footer-social a i.fa {
    font-size: 12px !important;
  }

  .site-footer .footer-bottom {
    padding: 16px 0 14px;
    font-size: 11px;
    gap: 10px;
  }

  .site-footer .footer-hours-row {
    display: block;
    line-height: 1.4;
    font-size: 13px;
  }

  .site-footer .footer-hours-row span::after {
    content: " – ";
    color: rgba(255, 255, 255, .35);
  }

  .site-footer .footer-hours-row span,
  .site-footer .footer-hours-row strong,
  .site-footer .footer-hours-row em {
    display: inline;
  }
}

/* --- Unified breadcrumb (news, catalog, product, pages) — Inter 12px, gray bar --- */
.site-breadcrumb--bar {
  background: #f9fafb;
  border-bottom: 1px solid var(--line, #e5e7eb);
  box-sizing: border-box;
  min-height: 39px;
}

@media (min-width: 1025px) {
  .site-breadcrumb--bar .custome-container {
    min-height: 39px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5px;
  }
}

#breadcrumb.site-breadcrumb--bar .custome-container {
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

#breadcrumb.site-breadcrumb--bar nav {
  display: flex;
  align-items: center;
  min-height: inherit;
}

.site-breadcrumb--inline {
  display: none;
  margin: 0 0 12px;
  padding: 10px 16px;
  background: #f9fafb;
  border-bottom: 1px solid var(--line, #e5e7eb);
  box-sizing: border-box;
}

.site-breadcrumb nav {
  width: 100%;
}

.site-breadcrumb .breadcrumb,
.site-breadcrumb .breadcrumb-item,
.site-breadcrumb .breadcrumb a,
.site-breadcrumb .breadcrumb-item__current {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
}

.site-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0 !important;
  background: transparent;
  border-radius: 0;
}

.site-breadcrumb .breadcrumb-item {
  display: inline;
}

.site-breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.site-breadcrumb ol.breadcrumb li + li::before {
  display: inline-block !important;
  content: ">" !important;
  float: none;
  padding: 0 8px;
  color: #9ca3af;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  position: static;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  -webkit-transform: none;
}

.site-breadcrumb ol.breadcrumb li a::before {
  display: none !important;
  content: none !important;
}

.site-breadcrumb ol.breadcrumb li a {
  position: static;
  padding: 0;
  color: #6b7280;
  text-decoration: none !important;
}

.site-breadcrumb ol.breadcrumb li a:hover,
.site-breadcrumb ol.breadcrumb li a:focus {
  color: #374151;
  text-decoration: none !important;
}

.site-breadcrumb ol.breadcrumb li:first-child a {
  padding-left: 0;
}

.site-breadcrumb .breadcrumb-item.active .breadcrumb-item__current,
.site-breadcrumb .breadcrumb-item.active span[itemprop="name"] {
  color: #111827;
  font-weight: 600;
  text-decoration: none !important;
}

.custome-column-big .site-breadcrumb .breadcrumb-item.active,
.custome-column-big .site-breadcrumb .breadcrumb-item.active .breadcrumb-item__current,
.custome-column-big .site-breadcrumb .breadcrumb-item.active span,
.custome-column-big .site-breadcrumb a,
.custome-column-big .site-breadcrumb a:hover,
.custome-column-big .site-breadcrumb a:focus,
.custome-column-big .site-breadcrumb a:active {
  text-decoration: none !important;
}

@media only screen and (max-width: 1024px) {
  /* Един breadcrumb на мобилно — лента под хедъра (пълна ширина), не в колоната */
  .site-breadcrumb--inline {
    display: none !important;
  }

  .site-breadcrumb--bar {
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    margin: 0 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .site-breadcrumb--bar::-webkit-scrollbar {
    display: none;
  }

  .site-breadcrumb--bar .custome-container,
  #breadcrumb.site-breadcrumb--bar .custome-container {
    min-height: 36px;
    padding: 0 !important;
    overflow: visible;
  }

  #breadcrumb.site-breadcrumb--bar ol.breadcrumb {
    padding: 0 !important;
    padding-right: var(--gutter, 16px) !important;
  }

  .site-breadcrumb--bar nav,
  #breadcrumb.site-breadcrumb--bar nav {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    min-height: inherit;
  }

  .site-breadcrumb--bar ol.breadcrumb {
    display: flex !important;
    flex-flow: row nowrap !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: max-content;
    max-width: none;
    margin: 0;
    white-space: nowrap;
  }

  .site-breadcrumb--bar .breadcrumb-item {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    float: none;
  }

  .site-breadcrumb--bar .breadcrumb-item + .breadcrumb-item::before,
  .site-breadcrumb--bar ol.breadcrumb li + li::before {
    flex-shrink: 0;
  }

  .site-breadcrumb--bar .breadcrumb-item a,
  .site-breadcrumb--bar .breadcrumb-item span,
  .site-breadcrumb--bar .breadcrumb-item__current {
    white-space: nowrap;
  }

  .site-breadcrumb--bar + .custome-container {
    padding-top: 12px;
  }

  .site-breadcrumb--bar + .custome-container.product-page,
  .site-breadcrumb--bar + .custome-container.catalog-page {
    padding-top: 0;
  }
}

/* No default browser focus ring on mouse click (redesign UI) */
main :is(button, a, input, select, textarea):focus:not(:focus-visible),
.site-footer :is(button, a, input):focus:not(:focus-visible),
.newsletter-modern :is(button, input):focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

main button:focus:not(:focus-visible),
main .btn:focus:not(:focus-visible),
.site-footer button:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

/* --- Product page layout --- */
.product-page .product-page-grid {
  width: 100%;
  max-width: none;
}

/* --- Contacts page --- */
.contacts-page {
  padding: 24px 0 48px;
  font-family: var(--font-body, "Inter", sans-serif);
}

.contacts-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 24px;
  align-items: start;
}

.contacts-page .contacts-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.contacts-page .contacts-card::before,
.contacts-page .contacts-card .card-body::before {
  display: none !important;
  content: none !important;
}

.contacts-card__title {
  margin: 0 0 20px;
  font: 700 12px/1.2 "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--modern-dark, #1f2437);
}

.contacts-card__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contacts-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--modern-text, #323232);
}

.contacts-card__item i.fa {
  flex-shrink: 0;
  width: 20px;
  margin-top: 2px;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  color: var(--modern-accent, #e66a24);
}

.contacts-card__item a {
  color: var(--modern-dark, #1f2437);
  font-weight: 600;
  text-decoration: none;
}

.contacts-card__item a:hover,
.contacts-card__item a:focus {
  color: var(--modern-accent, #e66a24);
  text-decoration: none;
}

.contacts-card__item em {
  display: inline;
  margin-left: 4px;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: var(--modern-muted, #7a8599);
}

.contacts-card__map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
}

.contacts-card__map iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.contacts-form__message.message-holder {
  display: none;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.contacts-form__message.message-holder.message-success,
.contacts-form__message.message-holder.message-error {
  display: block;
}

.contacts-form__message.message-holder.message-success {
  border: 1px solid #86efac;
  background: #ecfdf5;
  color: #166534;
}

.contacts-form__message.message-holder.message-error {
  border: 1px solid #fca5a5;
  background: #fef2f2;
  color: #b91c1c;
}

.contacts-form__group {
  margin-bottom: 16px;
}

.contacts-form__group.required-field .contacts-form__label::after {
  content: " *";
  color: var(--modern-accent, #e66a24);
  font-weight: 600;
}

.contacts-form__label {
  display: block;
  margin-bottom: 6px;
  font: 500 13px/1.3 "Inter", sans-serif;
  color: var(--modern-dark, #1f2437);
}

.contacts-page .contacts-form__control.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--modern-text, #323232);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contacts-page textarea.contacts-form__control.form-control {
  min-height: 120px;
  resize: vertical;
}

.contacts-page .contacts-form__control.form-control:focus {
  border-color: var(--modern-accent, #e66a24);
  box-shadow: 0 0 0 2px rgba(230, 106, 36, 0.15);
  outline: none;
}

.contacts-form__footer {
  margin-top: 8px;
  padding: 0;
}

.contacts-page .contacts-form__submit.btn-primary {
  width: auto;
  min-width: 160px;
  margin: 0;
  border: 0 !important;
  border-bottom: 3px solid var(--modern-dark, #1f2437) !important;
  border-radius: 10px !important;
  background: var(--modern-accent, #e66a24) !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  min-height: 46px;
  padding: 0 24px !important;
}

.contacts-page .contacts-form__submit.btn-primary:hover,
.contacts-page .contacts-form__submit.btn-primary:focus {
  background: var(--modern-accent-light, #f08b41) !important;
  color: #fff !important;
  border-bottom-color: var(--modern-dark, #1f2437) !important;
}

@media (max-width: 991px) {
  .contacts-page {
    padding-top: 16px;
  }

  .contacts-page__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* =============================================================================
   CATALOG — merged from redesign-catalog.css (load order preserved)
   ============================================================================= */
/* Category catalog — filters sidebar (Static-codex) */

:root {
  --filter-sidebar-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.08);
  --view-second-title-color: #7a8599;
}

.catalog-archive-notice {
  margin: 16px 0 8px;
  padding: 12px 16px;
  border: 1px solid #fca5a5;
  border-radius: 4px;
  background: #fef2f2;
  color: #b91c1c;
  font: 400 15px/1.5 "Inter", sans-serif;
}

.custome-container > .catalog-archive-notice + .content {
  padding-top: 8px;
}

.catalog-archive-notice a {
  color: #b91c1c;
  font-weight: 600;
  text-decoration: underline;
}

.catalog-archive-notice a:hover {
  color: #991b1b;
}

/* Catalog page only — sidebar + products row (not product/home pages) */
.d-flex.row.content:has(> .filters-sidebar) {
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}

@media (min-width: 992px) {
  .d-flex.row.content:has(> .filters-sidebar) {
    flex-wrap: nowrap;
  }

  .d-flex.row.content:has(> .filters-sidebar) > .filters-sidebar.filters-sidebar--desktop {
    flex: 0 0 260px;
    width: 260px;
    max-width: 260px;
    margin-right: 0 !important;
  }

  .d-flex.row.content:has(> .filters-sidebar) > .custome-column-big {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
  }
}

.filters-sidebar {
  position: static;
  align-self: start;
  max-width: 260px;
  width: 100%;
  padding: 0;
}

.filters-shell {
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  background: #fff;
  box-shadow: var(--filter-sidebar-shadow);
  border-radius: 4px;
}

/* Reserved for future blocks (Марки, Цена) above category sections */
.filters-sidebar__blocks {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.filters-shell--sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.filters-shell--sections .filter-section {
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--filter-sidebar-shadow);
}

/* Марки, Състояние, Цена — без заоблени ъгли */
.filters-sidebar__blocks > .filter-section {
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--filter-sidebar-shadow);
}

.filters-sidebar__blocks > .filter-section .filter-section__head,
.filters-sidebar__blocks > .filter-section .filter-section__title-link,
.filters-sidebar__blocks > .filter-section .filter-section__actions,
.filters-sidebar__blocks > .filter-section .filter-section__toggle,
.filters-sidebar__blocks > .filter-section .filter-section__title-text {
  border-radius: 0;
}

.filter-section__head {
  --filter-head-height: 44px;
  --filter-head-toggle-width: 44px;
  display: flex;
  align-items: stretch;
  min-height: var(--filter-head-height);
  background: #1c1c1c;
}

.filter-section__title-link,
.filter-section__title-text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: var(--filter-head-height);
  padding: 12px 4px 12px 16px;
  box-sizing: border-box;
  color: #fff;
  font: 700 11px/1.2 "Montserrat", "Inter", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-section__title-text {
  cursor: default;
}

.filter-section__title-link:hover,
.filter-section__title-link:focus {
  color: #fff;
  text-decoration: none;
  background: #2e2e2e;
}

.filter-section__toggle {
  width: var(--filter-head-toggle-width);
  min-width: var(--filter-head-toggle-width);
  min-height: var(--filter-head-height);
  flex-shrink: 0;
  align-self: stretch;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.filter-section__actions {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  justify-content: flex-end;
  width: var(--filter-head-toggle-width);
  min-height: var(--filter-head-height);
  padding: 0;
  background: #1c1c1c;
  box-sizing: border-box;
}

.filter-section__toggle:focus,
.filter-section__toggle:active {
  outline: none !important;
  box-shadow: none !important;
}

.filter-section__title-link:focus,
.filter-section__title-link:active,
.filter-option--link:focus,
.filter-option--link:active,
.filter-option--brand:focus-within,
.filter-option--condition:focus-within,
.catalog-active-filters__chip:focus,
.catalog-active-filters__chip:active,
.catalog-active-filters__clear:focus,
.catalog-active-filters__clear:active {
  outline: none !important;
  box-shadow: none !important;
}

.filter-section__label {
  display: block;
  min-width: 0;
  width: 100%;
}

.filter-section__label-text {
  display: block;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-section__title-link .filter-section__label-text,
.filter-section__title-text .filter-section__label-text {
  display: block;
}

.filter-section__title-link:has(.filter-section__title-count),
.filter-section__title-text:has(.filter-section__title-count) {
  justify-content: space-between;
  gap: 10px;
}

.filter-section__title-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--modern-accent, #e66a24);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.filter-section__head:hover .filter-section__title-count {
  background: #fff;
  color: var(--modern-accent, #e66a24);
}

.filter-section__head:hover .filter-section__title-link,
.filter-section__head:hover .filter-section__title-text,
.filter-section__head:hover .filter-section__actions {
  background: #2e2e2e;
}

.filter-section__caret {
  flex-shrink: 0;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.filter-section__toggle[aria-expanded="true"] .filter-section__caret {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.filter-options {
  padding: 10px 10px 8px;
  display: grid;
  gap: 2px;
}

.filter-options[hidden] {
  display: none !important;
}

.filter-options--nested {
  padding: 0 0 2px 5px;
  margin: 0 0 4px 8px;
  border-left: 1px solid var(--line, #e5e7eb);
}

.filter-option--link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  margin: 0;
  border-radius: 6px;
  text-decoration: none;
  color: #1f2437;
  font: 600 14px/1.25 "Inter", sans-serif;
}

.filter-option--link:hover {
  background: #f9fafb;
  color: var(--modern-text, #2d3748);
  text-decoration: none;
}

.filter-option--link.is-active {
  background: #f9fafb;
}

.filter-option--link.is-active > span:first-child {
  font-weight: 700;
  color: var(--modern-accent, #e66a24);
}

.filter-option--link.is-active .filter-option__count {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--modern-accent, #e66a24);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

.filter-option__count {
  margin-left: auto;
  color: #5c6578;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.category-sidebar-nav.filters-shell--sections {
  gap: 1px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.category-sidebar-nav .filter-section--category {
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--filter-sidebar-shadow);
}

.category-sidebar-nav .filter-section__head {
  background: #1c1c1c;
  border-radius: 0;
}

.category-sidebar-nav .filter-section__actions {
  width: auto;
  padding-right: 12px;
  box-sizing: border-box;
}

.category-sidebar-nav .filter-section__toggle {
  width: 28px;
  min-width: 28px;
}

.category-sidebar-nav .filter-section__title-link,
.category-sidebar-nav .filter-section__title-text,
.category-sidebar-nav .filter-section__actions {
  border-radius: 0;
  background: #1c1c1c;
}

.category-sidebar-nav .filter-section__title-link:hover,
.category-sidebar-nav .filter-section__title-link:focus,
.category-sidebar-nav .filter-section__head:hover .filter-section__title-link,
.category-sidebar-nav .filter-section__head:hover .filter-section__title-text,
.category-sidebar-nav .filter-section__head:hover .filter-section__actions {
  background: #2e2e2e;
}

/* Category tabs use same head metrics as Марка / Състояние / Цена */

.category-sidebar-nav .filter-options--category {
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
}

.category-sidebar-nav .filter-option--link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px 8px 16px;
  margin: 0;
  border-radius: 0;
  font: 500 14px/1.25 "Inter", sans-serif;
  color: #1f2937;
  background: #fff;
  box-sizing: border-box;
}

.category-sidebar-nav .filter-option--link .filter-option__label {
  color: #1f2937;
  font-weight: 500;
}

.category-sidebar-nav .filter-option--link:hover:not(.filter-option--level-2):not(.filter-option--level-1) {
  background: #fff;
  color: #1f2937;
  text-decoration: none;
}

.category-sidebar-nav .filter-option--link:hover:not(.filter-option--level-2):not(.filter-option--level-1) .filter-option__label {
  color: #1f2937;
}

.category-sidebar-nav .filter-option__label {
  flex: 1;
  min-width: 0;
}

.category-sidebar-nav .filter-option__count {
  flex-shrink: 0;
}

.filter-option__count.filter-sidebar-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f9fafb;
  color: #525a68;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
  margin-left: auto;
}

/* Level-1 parents (Багери, Валяци, …) */
.category-sidebar-nav .filter-option--level-1 {
  position: relative;
}

.category-sidebar-nav .filter-options--category > .filter-option--level-1 .filter-option__label {
  font-weight: 500;
  color: #374151;
}

.category-sidebar-nav .filter-option--level-1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--modern-accent, #e66a24);
  z-index: 1;
  opacity: 0;
}

.category-sidebar-nav .filter-option--level-1:hover {
  background: #f3f4f6;
  text-decoration: none;
}

.category-sidebar-nav .filter-option--level-1:hover::before,
.category-sidebar-nav .filter-option--level-1.is-branch-parent::before,
.category-sidebar-nav .filter-option--level-1.is-current::before {
  opacity: 1;
}

.category-sidebar-nav .filter-option--level-1:hover .filter-sidebar-count-pill,
.category-sidebar-nav .filter-option--level-1.is-branch-parent .filter-sidebar-count-pill,
.category-sidebar-nav .filter-option--level-1.is-current .filter-sidebar-count-pill,
.filter-option--brand:hover .filter-sidebar-count-pill,
.filter-option--brand:has(input[type="checkbox"]:checked) .filter-sidebar-count-pill,
.filter-option--condition:hover .filter-sidebar-count-pill,
.filter-option--condition:has(input[type="checkbox"]:checked) .filter-sidebar-count-pill {
  background: var(--modern-accent, #e66a24);
  color: #fff;
}

.category-sidebar-nav .filter-option--level-1.is-branch-parent,
.category-sidebar-nav .filter-option--level-1.is-current,
.category-sidebar-nav .filter-options--category > .filter-option--level-1.is-current {
  background: #f3f4f6;
}

.category-sidebar-nav .filter-option--level-1.is-branch-parent > .filter-option__label,
.category-sidebar-nav .filter-option--level-1.is-current > .filter-option__label,
.category-sidebar-nav .filter-options--category > .filter-option--level-1.is-current .filter-option__label {
  font-weight: 700;
  color: #111827;
}

.category-sidebar-nav .filter-options--category > .filter-option--level-1.is-current .filter-option__count {
  font-weight: 700;
}

.category-sidebar-nav .filter-option--level-1.is-branch-parent:hover,
.category-sidebar-nav .filter-option--level-1.is-current:hover {
  background: #eef1f4;
}

/* Open branch wrapper */
.category-sidebar-nav .category-nav-branch.is-branch-active {
  margin: 0;
  padding: 0;
  background: #fff;
}

.category-sidebar-nav .category-nav-branch .filter-option--level-1 {
  min-height: 36px;
  padding: 8px 12px 8px 16px;
}

/* Children — continuous gray spine; orange + gray bg only on active row */
.category-sidebar-nav .category-nav-branch__children {
  margin: 0 0 0 16px;
  padding: 0;
  border-left: 1px solid #e5e7eb;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2 {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 9px 12px;
  box-sizing: border-box;
  background: #fff;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2 .filter-option__label {
  font-weight: 500;
  color: #6b7280;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2:not(.is-current):hover {
  background: #f5f6f8;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2:not(.is-current):hover > .filter-option__label {
  color: #6b7280;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2:not(.is-current):hover .filter-sidebar-count-pill,
.category-sidebar-nav .category-nav-branch__children .filter-option--level-2.is-current .filter-sidebar-count-pill {
  background: #1f2437;
  color: #fff;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2.is-current,
.category-sidebar-nav .category-nav-branch__children .filter-option--level-2.is-current:hover {
  background: #f3f4f6;
}

/* Child line — #1f2437 on active + hover */
.category-sidebar-nav .category-nav-branch__children .filter-option--level-2::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #1f2437;
  z-index: 1;
  opacity: 0;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2.is-current::before,
.category-sidebar-nav .category-nav-branch__children .filter-option--level-2:hover::before {
  opacity: 1;
}

.category-sidebar-nav .category-nav-branch__children .filter-option--level-2.is-current > .filter-option__label {
  font-weight: 600;
  color: #111827;
}

.category-sidebar-nav .filter-options--nested {
  display: none;
}

.filter-section__panel--brands {
  background: #fff;
}

.filter-brands-search {
  padding: 8px 10px 0;
}

.filter-brands-search__input {
  width: 100%;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 6px;
  background: #f9fafb;
  color: #1f2437;
  font: 400 13px/1 "Inter", sans-serif;
}

.filter-brands-search__input::placeholder {
  color: #9ca3af;
}

.filter-brands-search__input:focus {
  outline: none;
  border-color: #9ca3af;
  background: #fff;
}

.filter-options--brands {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 220px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 8px 8px;
  scrollbar-width: thin;
  scrollbar-color: #c5cad3 transparent;
}

.filter-option--brand[hidden] {
  display: none !important;
}

.filter-options--brands::-webkit-scrollbar {
  width: 6px;
}

.filter-options--brands::-webkit-scrollbar-thumb {
  background: #c5cad3;
  border-radius: 999px;
}

/* Sidebar filter checkboxes — rounded custom style (brand / condition / price) */
.filters-sidebar input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #374151;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  vertical-align: middle;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.filters-sidebar input[type="checkbox"]:checked {
  background-color: var(--modern-accent, #e66a24);
  border-color: var(--modern-accent, #e66a24);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 6l3 3 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.filters-sidebar input[type="checkbox"]:hover:not(:checked) {
  border-color: #1f2437;
}

.filters-sidebar input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 106, 36, 0.28);
}

.filter-option--brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 2px 10px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: 500 14px/1.25 "Inter", sans-serif;
  color: #1f2437;
  box-sizing: border-box;
}

.filters-sidebar label.filter-option--brand,
.filters-sidebar label.filter-option--condition {
  margin-bottom: 0;
}

.filter-option--brand:hover {
  background: #f9fafb;
}

.filter-option--brand:has(input[type="checkbox"]:checked) {
  background: #f9fafb;
}

.filter-option--brand:has(input[type="checkbox"]:checked) .filter-option__logo {
  border-color: var(--modern-accent, #e66a24);
}

.filter-option--brand:has(input[type="checkbox"]:checked) .filter-option__logo-fallback {
  color: var(--modern-accent, #e66a24);
  font-weight: 700;
}

.filter-section__panel--conditions {
  background: #fff;
}

.filter-options--conditions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px;
}

.filter-option--condition {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 2px 10px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font: 500 14px/1.25 "Inter", sans-serif;
  color: #1f2437;
  box-sizing: border-box;
}

.filter-option--condition:hover {
  background: #f9fafb;
  border-color: #eef0f3;
}

.filter-option--condition:has(input[type="checkbox"]:checked) {
  background: #f9fafb;
  border-color: var(--modern-accent, #e66a24);
}

.filter-option--condition:has(input[type="checkbox"]:checked) .filter-option__name {
  font-weight: 700;
  color: var(--modern-accent, #e66a24);
}

.filter-section__head--static {
  min-height: var(--filter-head-height, 44px);
  padding-right: 12px;
}

.filter-section__head--static .filter-section__title-text {
  flex: 1;
  min-width: 0;
  min-height: var(--filter-head-height, 44px);
}

.filter-section__panel--price {
  background: #fff;
}

.filter-price {
  padding: 10px 12px 12px;
}

.filter-price__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-price__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.filter-price__field-label {
  font: 600 12px/1.2 "Inter", sans-serif;
  color: #6b7280;
}

.filter-price__input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  font: 600 14px/1.2 "Inter", sans-serif;
  color: #1f2437;
}

.filter-price__input:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.12);
}

.filter-price__slider {
  position: relative;
  height: 28px;
  margin: 0 4px 16px;
}

.filter-price__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: #e5e7eb;
}

.filter-price__range {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: #1e3a8a;
}

.filter-price__range-input {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  height: 0;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.filter-price__range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #1e3a8a;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  pointer-events: auto;
}

.filter-price__range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #1e3a8a;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
  cursor: pointer;
  pointer-events: auto;
}

.filter-price__range-input--max {
  z-index: 3;
}

.filter-price__range-input--min {
  z-index: 4;
}

.filter-price__on-request {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  cursor: pointer;
}

.filter-price__on-request input[type="checkbox"] {
  margin: 2px 0 0;
}

.filter-price__on-request-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: 500 13px/1.35 "Inter", sans-serif;
  color: #6b7280;
}

.filter-price__on-request-text strong {
  font-weight: 700;
  font-size: 14px;
  color: #1f2437;
}

.filter-option__logo {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 32px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.filter-option__logo img {
  display: block;
  max-width: calc(100% - 8px);
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.filter-option__logo-fallback {
  display: block;
  width: 100%;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-option__name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
}

.catalog-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}

.catalog-active-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px 6px 12px;
  border: 1px solid rgba(230, 106, 36, 0.22);
  border-radius: 999px;
  background: rgba(230, 106, 36, 0.1);
  color: #374151;
  font: 500 14px/1.2 "Inter", sans-serif;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.catalog-active-filters__chip:hover,
.catalog-active-filters__chip:focus {
  background: rgba(230, 106, 36, 0.16);
  border-color: rgba(230, 106, 36, 0.32);
  color: #1f2437;
  text-decoration: none;
}

.catalog-active-filters__text {
  min-width: 0;
}

.catalog-active-filters__remove {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  color: #6b7280;
}

.catalog-active-filters__clear {
  flex-shrink: 0;
  padding: 4px 2px;
  color: var(--modern-accent, #e66a24);
  font: 600 14px/1.2 "Inter", sans-serif;
  text-decoration: none;
}

.catalog-active-filters__clear:hover,
.catalog-active-filters__clear:focus {
  color: #c95a1a;
  text-decoration: underline;
}

/* Subcategory quick links (3rd level) */
.catalog-subcats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
}

.catalog-subcats__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #1f2437;
  font: 500 14px/1.3 "Inter", sans-serif;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(31, 36, 55, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-subcats__link:hover,
.catalog-subcats__link:focus {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #1f2437;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31, 36, 55, 0.08);
}

.catalog-subcats__link.is-active {
  border-color: #e66a24;
  background: rgba(230, 106, 36, 0.08);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(230, 106, 36, 0.15);
}

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

.catalog-subcats__count {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #7a8599;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.catalog-subcats__link.is-active .catalog-subcats__count {
  background: #fff;
  color: #e66a24;
}

.catalog-subcats__link:focus:not(:focus-visible) {
  outline: none;
}

@media (max-width: 991px) {
  .d-flex.row.content:has(> .filters-sidebar) > .filters-sidebar.filters-sidebar--desktop:not(.filters-sidebar--info) {
    display: none !important;
  }

  .content--info-page > .custome-column-big {
    order: 1;
    padding-bottom: 0;
  }

  .content--info-page > .filters-sidebar.filters-sidebar--info {
    display: block !important;
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 28px 0 0;
  }

  .custome-container--info-page {
    padding-bottom: 40px;
  }

  .filters-sidebar--info .filter-options[data-filter-options] {
    display: block !important;
  }

  .filters-sidebar--info .filter-section__toggle {
    display: none !important;
  }

  .filters-sidebar--info .filter-section__title-link {
    padding-right: 16px;
  }

  .d-flex.row.content:has(> .filters-sidebar) > .custome-column-big {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .catalog-subcats {
    display: none !important;
  }

  .catalog-products--grid .product-card-modern__cta {
    display: none !important;
  }

  .catalog-toolbar__sort-btn {
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    padding: 0 10px;
    gap: 4px;
    font-size: 12px;
    line-height: 1;
    border-radius: 5px;
    box-sizing: border-box;
  }

  .catalog-toolbar__sort-btn strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
  }

  .catalog-toolbar__chevron {
    width: 9px;
    height: 9px;
  }

  .catalog-toolbar__controls {
    gap: 6px;
    padding-top: 0;
  }

  .catalog-toolbar__view.view-toggle {
    gap: 10px;
  }

  .catalog-toolbar__view.view-toggle button {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-radius: 5px;
  }

  .catalog-toolbar__view.view-toggle button svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* Category page — title & description (Montserrat / Inter) */
.products-list-filter-bar {
  margin-bottom: 16px;
}

.products-list-filter-bar--brand {
  margin-top: 0;
}

.products-list-filter-bar--brand .products-list-filter-bar__head {
  justify-content: stretch;
}

.products-list-filter-bar--brand .catalog-toolbar__controls {
  width: 100%;
  justify-content: flex-start;
}

.products-list-filter-bar--brand .catalog-toolbar__view {
  order: 2;
  margin-left: auto;
}

.products-list-filter-bar--brand .catalog-toolbar__sort {
  order: 1;
  margin-left: 0;
}

.products-list-filter-bar--brand .catalog-toolbar__sort .toolbar-dropdown__menu {
  left: 0;
  right: auto;
}

.catalog-brand-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.catalog-brand-header__head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-brand-header__logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  max-width: 160px;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.catalog-brand-header__logo {
  display: block;
  max-width: 140px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.catalog-brand-header__title {
  margin: 0;
  color: #1f2437;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.catalog-brand-header__description {
  margin-top: 14px;
  max-width: 920px;
  color: #4b5563;
  font-family: "Inter", "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.catalog-brand-header__description p {
  margin: 0 0 10px;
}

.catalog-brand-header__description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .catalog-brand-header__head {
    gap: 12px;
  }

  .catalog-brand-header__logo-wrap {
    min-width: 60px;
    max-width: 120px;
    padding: 6px 10px;
  }

  .catalog-brand-header__logo {
    max-width: 100px;
    max-height: 40px;
  }

  .catalog-brand-header__title {
    font-size: 20px;
  }

  .catalog-brand-header__description {
    font-size: 14px;
  }
}

.products-list-filter-bar__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.products-list-filter-bar__titles {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.products-list-filter-bar__titles .main-title,
.products-list-filter-bar__titles .view-second-title {
  text-align: left;
}

@media only screen and (max-width: 1024px) {
  .content {
    padding: 0;
  }

  .catalog-page .products-list-filter-bar .main-title,
  .products-list-filter-bar .main-title {
    display: block !important;
    text-align: left;
    font-size: 18px !important;
    line-height: 1.25;
  }

  .catalog-page .products-list-filter-bar__titles {
    text-align: left;
  }
}

.catalog-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 2px;
}

.catalog-toolbar__view {
  flex-shrink: 0;
  margin-left: auto;
}

.catalog-toolbar__sort {
  position: relative;
}

.catalog-toolbar__sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #1f2437;
  font: 600 14px/1 "Inter", sans-serif;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-toolbar__sort-btn:hover,
.catalog-toolbar__sort-btn[aria-expanded="true"] {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(31, 36, 55, 0.08);
}

.catalog-toolbar__sort-btn strong {
  font-weight: 600;
}

.catalog-toolbar__chevron {
  flex-shrink: 0;
  color: #7a8599;
  transition: transform 0.2s ease;
}

.catalog-toolbar__sort-btn[aria-expanded="true"] .catalog-toolbar__chevron {
  transform: rotate(180deg);
}

.toolbar-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 30;
  min-width: 200px;
  padding: 4px 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
}

.toolbar-dropdown__menu[hidden] {
  display: none !important;
}

.toolbar-dropdown__item {
  display: block;
  padding: 10px 16px;
  color: #2d3748;
  font: 400 14px/1.3 "Inter", sans-serif;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.toolbar-dropdown__item:hover,
.toolbar-dropdown__item:focus {
  background: rgba(0, 0, 0, 0.03);
  color: #1f2437;
  text-decoration: none;
}

.toolbar-dropdown__item.is-active {
  color: #e66a24;
  font-weight: 600;
  background: rgba(230, 106, 36, 0.06);
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #7a8599;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.view-toggle button:hover {
  border-color: #d1d5db;
  color: #1c1c1c;
}

.view-toggle button.is-active {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fff;
}

.catalog-toolbar__view.view-toggle button:hover {
  color: #1c1c1c;
}

.catalog-toolbar__view.view-toggle button.is-active {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fff;
}

.view-toggle button:focus:not(:focus-visible) {
  outline: none;
}

.catalog-products__items--grid:has(> .catalog-products__empty) {
  display: block;
}

.catalog-products__empty {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 0 24px;
  color: #5c6578;
  font: 500 15px/1.5 "Inter", sans-serif;
  text-align: left;
}

.d-flex.row.content.content--no-sidebar > .custome-column-big {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

.catalog-products--grid .catalog-products__items--list,
.catalog-products--list .catalog-products__items--grid {
  display: none !important;
}

.catalog-products--grid .catalog-products__items--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.catalog-products--list .catalog-products__items--list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* Catalog grid cards — Static-codex reference */
.catalog-products--grid .product-card-modern {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transform: none;
}

.catalog-products--grid .product-card-modern:hover {
  transform: none;
  border-color: #e5e7eb;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.catalog-products--grid .product-card-modern--sold {
  opacity: 1;
}

.catalog-products--grid .product-card-modern--sold .product-card-modern__media img {
  opacity: var(--product-sold-image-opacity);
}

.catalog-products--grid .product-card-modern__media {
  position: relative;
  margin: 10px 10px 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}

.catalog-products--grid .product-card-modern__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transform: none;
}

.catalog-products--grid .product-card-modern__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 30, 45, 0.2);
  pointer-events: none;
  z-index: 1;
}

.catalog-products--grid .product-card-modern__badges {
  top: 12px;
  left: 12px;
  right: 12px;
}

.catalog-products--grid .product-media-badges__end .badge-pill {
  max-width: 100%;
  text-align: right;
  white-space: nowrap;
}

.catalog-products--grid .badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 10px/1.2 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.catalog-products--grid .badge-pill--promo {
  background: #facc15;
  color: #1f2437;
}

.catalog-products--grid .badge-pill--new {
  background: #22a55a;
  color: #fff;
}

.catalog-products--grid .badge-pill--dark {
  background: #e66a24;
  color: #fff;
}

.catalog-products--grid .badge-pill--on-order {
  background: #1f2437;
  color: #fff;
}

.catalog-products--grid .badge-pill--sold {
  background: #000;
  color: #fff;
}

/* Body, title, meta, price, CTA — same as home „Нови продукти“ carousel */
.catalog-products--grid .product-card-modern__body {
  flex: 1 1 auto;
  gap: 8px;
  padding: 14px 14px 12px;
}

.catalog-products--grid .product-card-modern__title {
  margin: 0;
  min-height: 42px;
}

.catalog-products--grid .product-card-modern__title a {
  color: #1f2437;
  font: 700 16px/21px "Montserrat", "Inter", sans-serif;
  min-height: 42px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-products--grid .product-card-modern__meta--specs {
  margin: 0;
  padding: 0;
  gap: 8px;
}

.catalog-products--grid .product-card-modern__row--spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.35;
}

.catalog-products--grid .product-card-modern__row-leading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: #6b7280;
}

.catalog-products--grid .product-card-modern__row-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #6b7280;
}

.catalog-products--grid .product-card-modern__row-label {
  font: 500 13px/1.3 "Inter", sans-serif;
  color: #6b7280;
}

.catalog-products--grid .product-card-modern__row-value {
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
  font: 700 14px/1.3 "Inter", sans-serif;
  color: #1f2437;
  text-transform: none;
}

.product-card-brand-link {
  color: #1f2437;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-card-brand-link:hover {
  color: var(--modern-accent, #e66a24);
  text-decoration: underline;
}

.product-card-brand-link:active,
.product-card-brand-link:focus-visible {
  color: var(--modern-accent, #e66a24);
  text-decoration: underline;
}

.catalog-products--grid .product-card-modern__footer {
  margin-top: auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.catalog-products--grid .product-card-modern__price {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.catalog-products--grid .product-card-modern__price strong,
.catalog-products--grid .product-card-modern__price-value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 100%;
  color: #1f2437;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  gap: 0 2px;
}

.product-card-modern__price-line {
  white-space: nowrap;
}

.product-card-modern__price-block--promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.product-card-modern__price-old {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--modern-dark, #1f2437);
  text-decoration: line-through;
}

.product-card-modern__price-value--promo,
.catalog-products--grid .product-card-modern__price strong.product-card-modern__price-value--promo,
.catalog-products--grid .product-card-modern__price .product-card-modern__price-value--promo,
.catalog-products--list .product-card-list__price strong.product-card-modern__price-value--promo,
.catalog-products--list .product-card-list__price .product-card-modern__price-value--promo,
.new-products .product-card-modern__price strong.product-card-modern__price-value--promo,
.new-products .product-card-modern__price .product-card-modern__price-value--promo,
.recommended-products .product-card-modern__price strong.product-card-modern__price-value--promo,
.recommended-products .product-card-modern__price .product-card-modern__price-value--promo {
  color: var(--modern-accent, #e66a24);
}

.product-card-modern__price-value--sold {
  color: #7a8599;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card-list__price .product-card-modern__price-value {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  gap: 0 2px;
}

.catalog-products--grid .product-card-modern__cta {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #1f2437;
  padding: 0;
}

.catalog-products--grid .product-card-modern:hover .product-card-modern__cta,
.catalog-products--grid .product-card-modern__cta:hover {
  color: #fff;
  background: var(--modern-accent, #e66a24);
  transform: none;
}

.products-list-filter-bar .main-title {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Inter", sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  font-style: normal !important;
  line-height: 1.1;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: #1c1c1c;
}

.products-list-filter-bar .view-second-title {
  margin: 6px 0 0;
  padding: 0;
  font-family: "Inter", "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--view-second-title-color, #7a8599);
  text-transform: lowercase;
}

.products-list-filter-bar .view-second-title::first-letter {
  text-transform: uppercase;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .catalog-products--grid .product-card-modern__price strong {
    font-size: 16px;
    line-height: 1.35;
  }
}

@media (min-width: 1600px) {
  .catalog-products--grid .product-card-modern__price strong {
    font-size: 18px;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 991px) {
  .catalog-products--grid .catalog-products__items--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .products-list-filter-bar__head {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-toolbar__controls {
    flex: 1 1 auto;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .catalog-toolbar__sort .toolbar-dropdown__menu {
    left: 0;
    right: auto;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 32px));
  }

  .products-list-filter-bar .main-title {
    font-size: 18px !important;
    line-height: 1.25;
  }

  .products-list-filter-bar .view-second-title {
    margin-top: 6px;
    font-size: 12px;
  }

  .catalog-products--grid .catalog-products__items--grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .catalog-products--grid .product-card-modern {
    min-width: 0;
  }

  .catalog-products--grid .product-card-modern__media {
    margin: 8px 8px 0;
  }

  .catalog-products--grid .product-card-modern__body {
    gap: 6px;
    padding: 10px 8px 8px;
  }

  .catalog-products--grid .product-card-modern__title {
    min-height: 0;
  }

  .catalog-products--grid .product-card-modern__title a {
    font-size: 12px;
    line-height: 1.25;
    min-height: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .catalog-products--grid .product-card-modern__meta--specs {
    gap: 4px;
  }

  .catalog-products--grid .product-card-modern__row--spec {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 6px;
    align-items: center;
    min-width: 0;
  }

  .catalog-products--grid .product-card-modern__row-leading {
    gap: 3px;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    flex: none;
  }

  .catalog-products--grid .product-card-modern__row-icon {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
  }

  .catalog-products--grid .product-card-modern__row-label {
    font-size: 10px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-products--grid .product-card-modern__row-value {
    font-size: 10px;
    line-height: 1.2;
    margin-left: 0;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-products--grid .product-card-modern__footer {
    gap: 4px;
    padding-top: 8px;
  }

  .catalog-products--grid .product-card-modern__price {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .catalog-products--grid .product-card-modern__price strong,
  .catalog-products--grid .product-card-modern__price-value {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
  }

  .catalog-products--grid .product-card-modern__price-old,
  .catalog-products--grid .product-card-modern__price-old .product-card-modern__price-line {
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
  }

  .catalog-products--grid .product-card-modern__cta {
    display: none;
  }

  .catalog-products--grid .product-card-modern__badges {
    top: 6px;
    left: 6px;
    right: 6px;
  }

  .catalog-products--grid .badge-pill {
    padding: 3px 6px;
    font-size: 8px;
  }
}

@media (max-width: 639px) {
  .catalog-products--list .catalog-products__items--list {
    gap: 12px;
  }
}

/* List view cards */
.product-card-list {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 2px 12px -2px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.product-card-list:hover {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
}

.product-card-list--sold {
  opacity: 1;
}

.product-card-list--sold .product-card-list__media img {
  opacity: var(--product-sold-image-opacity);
}

.product-card-list__media {
  position: relative;
  display: block;
  align-self: start;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #fff;
  overflow: hidden;
  line-height: 0;
}

.product-card-list__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}

.product-card-list__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 30, 45, 0.16);
  pointer-events: none;
  z-index: 1;
}

.product-card-list__badges {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  right: 12px;
  pointer-events: none;
}

.product-card-list__badges .product-media-badges {
  width: 100%;
}

.catalog-products--list .badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 10px/1.2 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.catalog-products--list .badge-pill--promo {
  background: #facc15;
  color: #1f2437;
}

.catalog-products--list .badge-pill--new {
  background: #22a55a;
  color: #fff;
}

.catalog-products--list .badge-pill--dark {
  background: #e66a24;
  color: #fff;
}

.catalog-products--list .badge-pill--on-order {
  background: #1f2437;
  color: #fff;
}

.catalog-products--list .badge-pill--sold {
  background: #000;
  color: #fff;
}

.product-card-list__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px;
  gap: 12px;
}

.product-card-list__title {
  margin: 0;
}

.product-card-list__title a {
  color: #1f2437;
  font: 800 18px/1.25 "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.product-card-list__title a:hover {
  color: var(--modern-accent, #e66a24);
}

.product-card-list__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card-list__spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.product-card-list__spec-icon {
  flex-shrink: 0;
  color: #6b7280;
}

.product-card-list__spec-label {
  font: 500 13px/1.3 "Inter", sans-serif;
  color: #6b7280;
}

.product-card-list__spec-value {
  font: 700 13px/1.3 "Inter", sans-serif;
  color: #1f2437;
}

.product-card-list__desc {
  flex: 1 1 auto;
  margin: 0;
  min-height: 2.8em;
  font: 400 14px/1.5 "Inter", sans-serif;
  color: #5c6578;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-list__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.product-card-list__price strong {
  color: #1f2437;
  font: 800 22px/1.2 "Inter", sans-serif;
}

.product-card-list__price strong:not(.product-card-modern__price-value) {
  white-space: nowrap;
}

.product-card-list__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--modern-accent, #e66a24);
  color: #fff;
  font: 700 14px/1 "Inter", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.product-card-list__btn:hover {
  background: #cf5e1f;
  color: #fff;
  text-decoration: none;
}

.product-card-list__btn--sold {
  background: #9ca3af;
  cursor: default;
}

@media (max-width: 900px) {
  .product-card-list {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }

  .product-card-list__title a {
    font-size: 16px;
  }

  .product-card-list__specs {
    gap: 8px 16px;
  }
}

/* Mobile catalog — bottom bar + slide-up sheets */
.catalog-mobile-nav {
  display: none;
}

@media (max-width: 991px) {
  .catalog-mobile-nav {
    display: block;
  }
}

.catalog-mobile-bar {
  position: fixed;
  z-index: 900;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 56px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.catalog-mobile-bar:not(:has([data-catalog-sheet-open="brands"])) {
  grid-template-columns: 1fr 1fr;
}

.catalog-mobile-bar:not(:has([data-catalog-sheet-open="brands"])):not(:has([data-catalog-sheet-open="filters"])):not(:has([data-catalog-sheet-open="dates"])) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.catalog-mobile-bar--on-order {
  grid-template-columns: repeat(2, 1fr) !important;
  justify-items: stretch;
}

.catalog-mobile-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 4px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1f2437;
  font: 600 11px/1.2 "Inter", sans-serif;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.catalog-mobile-bar__btn:hover,
.catalog-mobile-bar__btn.is-active {
  background: #f9fafb;
  color: var(--modern-accent, #e66a24);
}

.catalog-mobile-bar__icon {
  flex-shrink: 0;
}

.catalog-mobile-bar__badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 28px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--modern-accent, #e66a24);
  color: #fff;
  font: 700 10px/16px "Inter", sans-serif;
  text-align: center;
}

.catalog-sheet {
  position: fixed;
  z-index: 950;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.25s ease;
}

.catalog-sheet:not([hidden]) {
  pointer-events: auto;
  visibility: visible;
}

.catalog-sheet.is-open {
  pointer-events: auto;
  visibility: visible;
}

.catalog-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.catalog-sheet.is-open .catalog-sheet__backdrop {
  opacity: 1;
}

.catalog-sheet__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: min(76vh, 600px);
  max-height: min(76vh, 600px);
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.18);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.catalog-sheet.is-open .catalog-sheet__dialog {
  transform: translateY(0);
}

.catalog-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.catalog-sheet__title {
  margin: 0;
  font: 700 17px/1.25 "Montserrat", "Inter", sans-serif;
  color: #1f2437;
}

.catalog-sheet__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  color: #1f2437;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.catalog-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.catalog-sheet__panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 12px 20px;
}

.catalog-sheet__panel[hidden] {
  display: none !important;
}

.catalog-sheet__panel:not([hidden]) > .filters-sidebar--sheet {
  display: block;
  width: 100%;
  overflow: visible;
}

.filters-sidebar--sheet {
  max-width: none;
  width: 100%;
  padding: 0;
}

.filters-sidebar--sheet .filters-shell--sections {
  gap: 1px;
  overflow: visible;
}

.filters-sidebar--sheet .filters-sidebar__blocks {
  gap: 1px;
}

.filters-sidebar--sheet .filters-shell--sections .filter-section {
  flex-shrink: 0;
  overflow: visible;
}

.filters-sidebar--sheet .filter-section {
  box-shadow: none;
}

.filters-sidebar--sheet .filter-options {
  overflow: visible;
}

/* Brands sheet — fill dialog height, scroll list inside */
.catalog-sheet__panel[data-catalog-sheet-panel="brands"]:not([hidden]) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.catalog-sheet__panel[data-catalog-sheet-panel="brands"]:not([hidden]) > .filters-sidebar--sheet {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.catalog-sheet__panel[data-catalog-sheet-panel="brands"]:not([hidden]) .filters-sidebar__blocks {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.catalog-sheet__panel[data-catalog-sheet-panel="brands"]:not([hidden]) .filters-sidebar__blocks > .filter-section {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.catalog-sheet__panel:not([hidden]) .filter-section__panel--brands {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.catalog-sheet__panel:not([hidden]) .filter-brands-search {
  flex-shrink: 0;
}

.catalog-sheet__panel:not([hidden]) .filter-options--brands {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Categories + filters sheets — scroll full panel content */
.catalog-sheet__panel[data-catalog-sheet-panel="categories"]:not([hidden]),
.catalog-sheet__panel[data-catalog-sheet-panel="filters"]:not([hidden]) {
  display: block;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.catalog-sheet-sort {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-sheet-sort__link {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: #1f2437;
  font: 500 15px/1.3 "Inter", sans-serif;
  text-decoration: none;
}

.catalog-sheet-sort__link:hover {
  background: #f9fafb;
  text-decoration: none;
  color: #1f2437;
}

.catalog-sheet-sort__link.is-active {
  background: #fff7ed;
  color: var(--modern-accent, #e66a24);
  font-weight: 700;
}

body.catalog-sheet-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .catalog-mobile-nav .catalog-sheet.is-open:has([data-catalog-sheet-panel="dates"]:not([hidden])) .catalog-sheet__dialog {
    height: auto;
    max-height: min(76vh, 600px);
  }

  .catalog-mobile-nav .catalog-sheet.is-open:has([data-catalog-sheet-panel="dates"]:not([hidden])) .catalog-sheet__body {
    flex: 0 0 auto;
    overflow: visible;
  }

  .catalog-mobile-nav .catalog-sheet__panel[data-catalog-sheet-panel="dates"]:not([hidden]) {
    flex: 0 0 auto;
    overflow: visible;
    padding-bottom: 12px;
  }

  .catalog-mobile-nav .filters-sidebar--sheet .filter-section--on-order-calendars .filter-section__head {
    display: none;
  }
}

@media (max-width: 720px) {
  .product-card-list {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-card-list__media {
    align-self: stretch;
    aspect-ratio: 4 / 3;
  }

  .product-card-list__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card-list__btn {
    width: 100%;
  }
}

/* Category footer — results left, rating right, pagination below */
.catalog-footer {
  clear: both;
  width: 100%;
  margin-top: 24px;
}

.catalog-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 16px;
}

.catalog-footer__results,
.catalog-footer__rating-inner > label,
.catalog-footer__rating-label {
  margin: 0;
  font-family: "Inter", "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--view-second-title-color, #7a8599) !important;
}

.catalog-footer__results {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.catalog-footer__rating {
  flex: 0 1 auto;
  margin-left: auto;
}

.catalog-footer__rating-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
}

/* Category footer rating stars — bright yellow, override .custome-column-big .active */
.catalog-footer__rating-inner .rating:not(.disabled-rating) .full {
  cursor: pointer;
}

.catalog-footer__rating .rating > .full {
  color: #e5e7eb;
}

.catalog-footer__rating .rating .fa-star,
.catalog-footer__rating .rating .fa-star::before {
  color: #e5e7eb;
}

.catalog-footer__rating .rating .fa-star.active,
.catalog-footer__rating .rating .fa-star.active::before {
  color: #fbbf24 !important;
}

.catalog-footer__rating .rating.is-rating-hover .fa-star,
.catalog-footer__rating .rating.is-rating-hover .fa-star::before {
  color: #e5e7eb !important;
}

.catalog-footer__rating .rating.is-rating-hover .fa-star.is-hover-preview,
.catalog-footer__rating .rating.is-rating-hover .fa-star.is-hover-preview::before {
  color: #fbbf24 !important;
}

.catalog-footer__rating .rating .fa-star.active {
  text-decoration: none !important;
  font-weight: 400 !important;
}

.catalog-footer__rating .rating .fa-star::before {
  font-size: 18px;
}

.catalog-footer__pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  float: none;
  margin: 0;
}

.catalog-footer__pagination .pagination {
  margin: 0;
}

.catalog-pagination .page-link {
  color: #374151;
  border-color: #e5e7eb;
}

.catalog-pagination .page-link:hover {
  color: #1f2437;
  background: #f3f4f6;
  border-color: #d1d5db;
}

.catalog-pagination .page-item.active .page-link {
  background-color: #1a1f2e;
  border-color: #1a1f2e;
  color: #fff;
}

.catalog-pagination .page-item.active .page-link:hover {
  background-color: #252b3d;
  border-color: #252b3d;
  color: #fff;
}

@media (max-width: 767px) {
  .catalog-footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-footer__rating {
    margin-left: 0;
    width: 100%;
  }

  .catalog-footer__rating-inner {
    justify-content: flex-start;
  }
}

/* Category pages — prevent horizontal scroll (100vw bleed, wide CMS embeds) */
.custome-container:has(> .d-flex.row.content > .filters-sidebar),
.custome-container:has(> .catalog-category-about) {
  overflow-x: clip;
}

/* Category description — separator + text block */
.custome-container > .catalog-category-about {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 32px;
  margin-bottom: 0;
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid #e5e7eb;
  clear: both;
  overflow-x: clip;
}

.catalog-category-about__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
  max-width: 100%;
}

.catalog-category-about__content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 15px;
  font-weight: var(--font-weight-body, 400);
  line-height: 1.65;
  color: var(--modern-text, #323232);
}

.catalog-category-about__content :is(img, video, iframe, table) {
  max-width: 100%;
  height: auto;
}

.catalog-category-about__content--solo {
  width: 100%;
}

.catalog-category-about__content p,
.catalog-category-about__content li,
.catalog-category-about__content td,
.catalog-category-about__content th,
.catalog-category-about__content div,
.catalog-category-about__content span,
.catalog-category-about__content font {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.catalog-category-about__content p {
  margin: 0 0 12px;
}

.catalog-category-about__content p:last-child {
  margin-bottom: 0;
}

.catalog-category-about__content ul,
.catalog-category-about__content ol {
  margin: 0 0 12px;
  padding-left: 1.25em;
}

.catalog-category-about__content li {
  margin-bottom: 6px;
}

.catalog-category-about__content li:last-child {
  margin-bottom: 0;
}

.catalog-category-about__content h1,
.catalog-category-about__content h2,
.catalog-category-about__content h3,
.catalog-category-about__content h4,
.catalog-category-about__content h5,
.catalog-category-about__content h6 {
  margin: 1.25em 0 0.5em;
  font-family: "Montserrat", "Inter", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1f2437 !important;
  letter-spacing: 0.01em;
}

.catalog-category-about__content h1:first-child,
.catalog-category-about__content h2:first-child,
.catalog-category-about__content h3:first-child,
.catalog-category-about__content h4:first-child,
.catalog-category-about__content > p:first-child {
  margin-top: 0;
}

.catalog-category-about__content h1 { font-size: 22px !important; }
.catalog-category-about__content h2 { font-size: 20px !important; }
.catalog-category-about__content h3 { font-size: 18px !important; }
.catalog-category-about__content h4 { font-size: 16px !important; }
.catalog-category-about__content h5 { font-size: 15px !important; }
.catalog-category-about__content h6 { font-size: 14px !important; }

.catalog-category-about__content > p:first-child,
.catalog-category-about__content > p:first-child strong {
  font-size: var(--font-size-body, 16px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--modern-text, #323232);
}

.catalog-category-about__content strong,
.catalog-category-about__content b {
  font-weight: 600;
  color: var(--modern-dark, #1f2437) !important;
}

/* Подчертан текст / линкове — тъмно синьо като заглавията на сайта (#1F2437) */
.catalog-category-about__content a,
.catalog-category-about__content u {
  color: var(--modern-dark, #1f2437) !important;
  font-weight: 500;
  text-decoration: underline !important;
  text-decoration-color: var(--modern-dark, #1f2437) !important;
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.catalog-category-about__content a:hover,
.catalog-category-about__content a:focus,
.catalog-category-about__content a:visited {
  color: var(--modern-dark, #1f2437) !important;
  text-decoration-color: var(--modern-dark, #1f2437) !important;
}

.catalog-category-about__content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 20px 0;
}

.catalog-category-about__content div[style*="text-align:center"] {
  text-align: left;
}

.catalog-category-about__media {
  flex: 0 0 auto;
  width: min(40%, 420px);
}

.catalog-category-about__media img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.catalog-category-about__featured-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .catalog-category-about__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .catalog-category-about__media {
    width: 100%;
    max-width: none;
    order: -1;
  }
}

@media (max-width: 767px) {
  .custome-container > .catalog-category-about {
    margin-top: 24px;
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .catalog-category-about__content {
    font-size: var(--font-size-body, 16px);
    line-height: 1.65;
  }

  .catalog-category-about__content > p:first-child,
  .catalog-category-about__content > p:first-child strong {
    font-size: var(--font-size-body, 16px);
  }

  .catalog-category-about__content h1 { font-size: 20px !important; }
  .catalog-category-about__content h2 { font-size: 18px !important; }
  .catalog-category-about__content h3 { font-size: 16px !important; }
  .catalog-category-about__content h4 { font-size: 15px !important; }
}

/* Services page sidebar */
.category-sidebar-nav--services {
  gap: 1px;
}

/* Info pages (За нас, Други) — text then image under title, not catalog footer block */
.content--info-page {
  align-items: flex-start;
}

.custome-container--info-page .filters-sidebar--info {
  position: sticky;
  top: var(--sticky-sidebar-top);
  z-index: 20;
}

@media (min-width: 992px) {
  .catalog-page:has(.category-sidebar-nav--services) .filters-sidebar.filters-sidebar--desktop {
    position: sticky;
    top: var(--sticky-sidebar-top);
    align-self: flex-start;
    z-index: 20;
  }
}

.catalog-info-page {
  width: 100%;
  margin-top: 8px;
}

.catalog-info-page__content {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-body, 400);
  line-height: 1.65;
  color: var(--modern-text, #323232);
}

.catalog-info-page__content p,
.catalog-info-page__content li,
.catalog-info-page__content td,
.catalog-info-page__content th,
.catalog-info-page__content div,
.catalog-info-page__content span,
.catalog-info-page__content font {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

.catalog-info-page__content p {
  margin: 0 0 12px;
}

.catalog-info-page__content p:last-child {
  margin-bottom: 0;
}

.catalog-info-page__content > p:first-child,
.catalog-info-page__content > p:first-child strong {
  font-size: var(--font-size-body, 16px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--modern-text-strong, #2d3748);
}

.catalog-info-page__content strong,
.catalog-info-page__content b {
  font-weight: 600;
  color: var(--modern-text-strong, #2d3748);
}

.catalog-info-page__content a {
  color: var(--modern-accent, #e66a24);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.catalog-info-page__content a:hover,
.catalog-info-page__content a:focus {
  color: var(--modern-accent-light, #f08b41);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.catalog-info-page__media {
  margin-top: 24px;
}

.catalog-info-page__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .content--info-page {
    display: flex;
    flex-direction: column;
  }

  .custome-container--info-page .filters-sidebar--info {
    position: static;
    width: 100%;
  }
}

/* =============================================================================
   PRODUCT — merged from redesign-product.css (load order preserved)
   ============================================================================= */
/* Product page — modern 2-column layout */

.product-page-modern {
  padding: 20px 0 40px;
  background: #fff;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "gallery aside";
  gap: 32px;
  align-items: start;
}

.product-page-aside {
  grid-area: aside;
  min-width: 0;
}

.product-page-title {
  margin: 0 0 8px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  text-transform: uppercase;
  color: #1c1c1c;
  padding-left: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  text-wrap: balance;
}

@supports (text-wrap: pretty) {
  .product-page-title {
    text-wrap: pretty;
  }
}

.product-gallery-shell {
  grid-area: gallery;
  padding: 0;
  position: sticky;
  top: 16px;
  align-self: start;
  min-width: 0;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 3;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  --gallery-inset: 10px;
  touch-action: pan-y;
}

.product-gallery-main--sold {
  opacity: 1;
}

.product-gallery-main.product-gallery-main--sold > a img,
.product-gallery-main--sold img {
  opacity: var(--product-sold-image-opacity) !important;
}

.product-gallery-shell:has(.product-gallery-main--sold) .product-thumbs img {
  opacity: var(--product-sold-image-opacity);
}

.product-gallery__badges {
  position: absolute;
  top: calc(var(--gallery-inset) + 8px);
  left: calc(var(--gallery-inset) + 8px);
  right: calc(var(--gallery-inset) + 8px);
  z-index: 3;
  pointer-events: none;
}

.product-gallery__badges .product-media-badges {
  width: 100%;
}

.product-gallery__discount--badge,
.product-gallery__badges .product-gallery__discount {
  position: static;
  bottom: auto;
  left: auto;
  box-shadow: none;
}

.product-gallery__discount--badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #facc15;
  color: #1f2437;
  font: 800 18px/1.1 "Inter", sans-serif;
  letter-spacing: -0.02em;
  box-sizing: border-box;
}

.product-gallery__discount {
  position: absolute;
  bottom: calc(var(--gallery-inset) + 8px);
  left: calc(var(--gallery-inset) + 8px);
  z-index: 3;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #facc15;
  color: #1f2437;
  font: 800 18px/1.1 "Inter", sans-serif;
  letter-spacing: -0.02em;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

@media (max-width: 767px) {
  .product-gallery__discount--badge {
    min-width: 50px;
    min-height: 46px;
    padding: 8px 10px;
    font-size: 16px;
  }
}

.product-gallery-main .badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 10px/1.2 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-gallery-main .badge-pill--promo {
  background: #facc15;
  color: #1f2437;
}

.product-gallery-main .badge-pill--new {
  background: #22a55a;
  color: #fff;
}

.product-gallery-main .badge-pill--dark {
  background: #e66a24;
  color: #fff;
}

.product-gallery-main .badge-pill--on-order {
  background: #1f2437;
  color: #fff;
}

.product-gallery-main .badge-pill--sold {
  background: #000;
  color: #fff;
}

.product-gallery-main > a {
  position: absolute;
  inset: var(--gallery-inset);
  display: block;
  overflow: hidden;
}

.product-gallery-main img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center;
}

.product-gallery-arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: calc(var(--gallery-inset) + 4px);
  right: calc(var(--gallery-inset) + 4px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.product-gallery-arrows .gallery-arrow {
  pointer-events: auto;
}

.gallery-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  color: var(--modern-dark, #1f2437);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.gallery-arrow:focus,
.gallery-arrow:active {
  outline: none;
}

.gallery-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.product-thumbs-viewport {
  margin-top: 12px;
  width: 100%;
  min-width: 0;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.product-thumbs button {
  width: auto;
  min-width: 0;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.product-thumbs button:focus,
.product-thumbs button:active {
  outline: none;
}

.product-thumbs button.is-active {
  border-color: #f3c117;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

.product-gallery-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.product-gallery-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(122, 133, 153, 0.3);
  padding: 0;
  cursor: pointer;
}

.product-gallery-dots button.is-active {
  width: 10px;
  height: 10px;
  background: #f3c117;
}

.product-gallery-video {
  margin-top: 16px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.product-gallery-video iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

/* Right column */
.product-info-shell {
  padding: 0;
}

.product-inline-attributes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin-bottom: 24px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7a8599;
}

.product-inline-attributes span:not(:last-child)::after {
  content: "·";
  margin: 0 16px;
  color: #7a8599;
}

.product-inline-attributes span {
  white-space: nowrap;
}

.product-inline-attributes strong {
  color: var(--modern-dark, #1f2437);
  font-weight: 700;
}

.product-inline-attributes__link {
  color: var(--modern-dark, #1f2437);
  font-weight: 700;
  text-decoration: underline;
}

.product-inline-attributes__link:hover {
  color: var(--modern-accent, #e66a24);
}

.product-inline-attributes__link:active {
  text-decoration: none;
}

.product-short-description {
  margin: 0 0 24px;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: var(--font-size-body, 16px);
  font-style: normal;
  font-weight: var(--font-weight-body, 400);
  line-height: var(--line-height-body, normal);
  color: var(--modern-text, #323232);
}

.product-description {
  font-family: var(--font-body, "Inter", sans-serif);
  color: var(--modern-text, #323232);
  line-height: 1.65;
  font-size: var(--font-size-body, 16px);
  font-weight: var(--font-weight-body, 400);
}

.product-description span,
.product-description font {
  font: inherit !important;
  color: inherit !important;
}

.product-description p {
  margin: 0 0 12px;
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-description a {
  color: var(--modern-accent, #e66a24);
  text-decoration: underline;
}

.product-description li {
  margin-bottom: 4px;
}

.product-description h3 {
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 19px;
  font-weight: 700;
  font-style: normal;
  line-height: 31px;
  color: var(--modern-dark, #1f2437);
  margin: 16px 0 8px;
}

.product-description h3:first-child {
  margin-top: 0;
}

.product-description strong {
  font-family: var(--font-body, "Inter", sans-serif);
  font-weight: 700;
  color: var(--modern-dark, #1f2437);
}

.product-description hr {
  border: 0;
  border-top: 1px solid var(--line, #e5e7eb);
  margin: 16px 0;
}

.product-description ul {
  margin: 4px 0;
  padding-left: 35px;
  list-style: unset;
}

.product-description ol {
  margin: 4px 0;
  padding-left: 35px;
  list-style: auto;
}

.product-description ins {
  text-decoration: revert;
}

.product-price {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
}

.product-price__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-price__values {
  flex: 1 1 auto;
  min-width: 0;
}

.product-price__discount {
  flex-shrink: 0;
  align-self: center;
}

.product-price__main {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
  color: var(--modern-dark, #1f2437);
  margin-bottom: 6px;
}

.product-price__main--negotiable {
  font-size: 20px;
  font-weight: 600;
}

.product-price__main--promo {
  color: var(--modern-accent, #e66a24);
}

.product-price__old {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--modern-dark, #1f2437);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.product-price__vat {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7a8599;
}

.product-promo-countdown {
  margin: 0 0 18px;
}

.product-promo-countdown .product-card-promo__countdown-unit {
  min-width: 52px;
  padding: 10px 12px;
}

.product-promo-countdown .product-card-promo__countdown-unit strong {
  font-size: 20px;
}

.product-price__promo-date {
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #7a8599;
}

.product-price__promo-date-value {
  font-weight: 700;
  color: #1f2437;
}

.product-price__sold-note {
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #7a8599;
}

.product-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 24px;
}

.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  line-height: 1;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-button--primary {
  width: 100%;
  background: var(--modern-accent, #e66a24);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 16px;
  font-weight: 800;
  border: 0;
  border-bottom: 3px solid var(--modern-dark, #1f2437);
}

.product-button--primary:hover {
  background: var(--modern-accent-light, #f08b41);
  color: #fff;
  text-decoration: none;
}

/* Override legacy .btn-primary gold bottom border (new_style.css) */
.product-button.product-button--primary.btn-primary,
.product-comments-section .product-comments-form__submit.btn-primary,
#enquiryModal .btn-primary,
#sendToFriendModel .btn-primary,
#offerAPriceModal .btn-primary,
#subscribeForPriceModal .btn-primary {
  border: 0;
  border-bottom: 3px solid var(--modern-dark, #1f2437);
  background: var(--modern-accent, #e66a24);
  color: #fff;
}

.product-button.product-button--primary.btn-primary:hover,
.product-comments-section .product-comments-form__submit.btn-primary:hover,
#enquiryModal .btn-primary:hover,
#sendToFriendModel .btn-primary:hover,
#offerAPriceModal .btn-primary:hover,
#subscribeForPriceModal .btn-primary:hover {
  border: 0;
  border-bottom: 3px solid var(--modern-dark, #1f2437);
  background: var(--modern-accent-light, #f08b41);
  color: #fff;
}

.product-button--secondary {
  background: #f3f4f6;
  border: 1px solid var(--line, #e5e7eb);
  color: var(--modern-dark, #1f2437);
  font-size: 12px;
  font-weight: 600;
}

.product-button--secondary svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.product-button--secondary:hover {
  background: var(--modern-accent, #e66a24);
  border: 0;
  border-bottom: 3px solid var(--modern-dark, #1f2437);
  color: #fff;
  text-decoration: none;
}

.product-inline-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.product-inline-actions .product-button {
  flex: 1;
  padding-left: 12px;
  padding-right: 12px;
}

.product-ref-and-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 32px;
  margin-bottom: 32px;
}

.product-ref-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 16px;
  font-family: "Inter", sans-serif;
}

.product-ref-card__label {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #7a8599;
}

.product-ref-card__code {
  display: block;
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2437;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
}

.product-status__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #16a34a;
}

.product-status__check svg {
  display: block;
  width: 36px;
  height: 36px;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.product-status--in-stock {
  color: #16a34a;
}

.product-status--out {
  color: #dc2626;
}

.product-status--sold {
  color: #7a8599;
}

.product-status--on-order {
  color: #1f2437;
}

.contact-box-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 12px;
  background: #f3f4f6;
  border-radius: 12px;
  height: 100%;
  font-family: "Inter", sans-serif;
}

.contact-box-modern__avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  overflow: hidden;
  background: hsl(45, 95%, 55%);
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-box-modern__avatar img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.contact-box-modern p {
  margin: 0 0 4px;
  font-size: 14px;
}

.contact-box-modern small {
  color: var(--modern-muted, #7a8599);
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.contact-box-modern a {
  display: block;
  margin-top: 6px;
  color: var(--modern-dark, #1f2437);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.contact-box-modern a:hover {
  color: var(--modern-accent, #e66a24);
}

.product-description-title-wrap {
  margin: 0 0 16px;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.product-description-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 10px;
  border: 0;
  font: 600 17px/1.25 "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--modern-dark, #1f2437);
}

.product-description-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 3px;
  background: var(--modern-accent, #e66a24);
  border-radius: 2px 2px 0 0;
}

.product-page-meta-dates {
  opacity: 0.5;
  font-size: 11px;
  margin-top: 16px;
}

/* Product tabs: similar (default) + comments */
.product-page-tabs {
  padding: 36px 0 48px;
  margin-top: 8px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.product-page-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0 36px;
  margin: 0 0 24px;
  padding: 0;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.product-page-tabs__tab {
  position: relative;
  margin: 0;
  padding: 0 0 10px;
  border: 0;
  background: none;
  font: 600 17px/1.25 "Montserrat", "Inter", sans-serif;
  color: var(--modern-muted, #7a8599);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease;
}

.product-page-tabs__tab:hover {
  color: var(--modern-dark, #1f2437);
}

.product-page-tabs__tab.is-active {
  color: var(--modern-dark, #1f2437);
}

.product-page-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 3px;
  background: var(--modern-accent, #e66a24);
  border-radius: 2px 2px 0 0;
}

.product-page-tabs__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(230, 106, 36, 0.12);
  color: var(--modern-accent, #e66a24);
  font: 600 12px/1 var(--font-body, "Inter", sans-serif);
  letter-spacing: 0;
  text-transform: none;
  vertical-align: middle;
}

.product-page-tabs__panel:not(.is-active) {
  display: none;
}

.product-page-tabs__empty {
  margin: 0;
  padding: 8px 0 24px;
  font: 400 15px/1.5 var(--font-body, "Inter", sans-serif);
  color: var(--modern-muted, #7a8599);
  text-align: left;
}

/* Comments */
.product-page-tabs .product-comments-section,
.product-comments-section {
  padding: 8px 0 16px;
  background: transparent;
}

.product-comments-section__inner {
  width: 100%;
  max-width: 640px;
  margin: 0;
}

.product-reviews-empty {
  margin: 0 0 20px;
  font: 400 14px/1.5 var(--font-body, "Inter", sans-serif);
  color: var(--modern-muted, #7a8599);
  text-align: left;
}

.product-reviews-list__items {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.product-review-card {
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

.product-review-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-review-card:first-child {
  padding-top: 0;
}

.product-review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-review-card__author {
  font: 600 14px/1.3 var(--font-body, "Inter", sans-serif);
  color: var(--modern-dark, #1f2437);
}

.product-review-card__date {
  font: 400 12px/1.3 var(--font-body, "Inter", sans-serif);
  color: var(--modern-muted, #7a8599);
}

.product-review-card__stars {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  line-height: 1;
}

.product-review-card__stars .fa-star {
  font-size: 14px;
  color: #e5e7eb;
}

.product-review-card__stars .fa-star.active {
  color: #fbbf24;
}

.product-review-card__text {
  margin: 0;
  font: 400 15px/1.55 var(--font-body, "Inter", sans-serif);
  color: var(--modern-text, #323232);
  white-space: pre-wrap;
  word-break: break-word;
}

.product-comments-form-wrap {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.product-comments-form__title {
  margin: 0 0 16px;
  font: 600 15px/1.3 var(--font-body, "Inter", sans-serif);
  color: var(--modern-dark, #1f2437);
  text-align: left;
}

.product-page-tabs .product-comments-section .add-comment,
.product-comments-section .add-comment {
  display: block;
}

.product-page-tabs .product-comments-section .add-comment form,
.product-page-tabs .product-comments-section .product-comments-form,
.product-comments-section .add-comment form,
.product-comments-section .product-comments-form {
  width: 100%;
  max-width: 520px;
  margin: 0;
}

.product-comments-section .reviews-view__form .form-group {
  margin-bottom: 12px;
}

.product-comments-section .reviews-view__form label {
  display: block;
  margin-bottom: 6px;
  font: 500 13px/1.3 var(--font-body, "Inter", sans-serif);
  color: var(--modern-dark, #1f2437);
}

.product-comments-section .reviews-view__form .form-control {
  font-size: 14px;
  border-radius: 8px;
  border-color: #d1d5db;
}

.product-comments-section .reviews-view__form .form-control:focus {
  border-color: var(--modern-accent, #e66a24);
  box-shadow: 0 0 0 2px rgba(230, 106, 36, 0.15);
}

.product-comments-section .reviews-view__form .rating {
  display: inline-flex;
  gap: 4px;
}

.product-comments-section .reviews-view__form .fa-star:before {
  font-size: 18px;
}

.product-comments-form__submit {
  width: auto;
  min-width: 160px;
  margin-top: 8px;
}

.product-comments-section .main-title.comment-title,
.product-comments-section .main-title.comment-title-add,
.product-comments-section .main-title.comment-title-add:before {
  display: none;
}

.product-page-tabs .similar-products-grid,
.similar-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 24px;
  padding: 0;
}

.product-page-tabs .similar-products-grid .slide,
.similar-products-grid .slide {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.product-page-tabs .similar-products-grid .product-card-modern,
.similar-products-grid .product-card-modern {
  width: 100%;
  height: auto;
}

.product-page-tabs .similar-products-grid .product-card-modern__media,
.similar-products-grid .product-card-modern__media {
  flex-shrink: 0;
  margin: 10px 10px 0;
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}

.product-page-tabs .similar-products-grid .product-card-modern__media img,
.similar-products-grid .product-card-modern__media img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transform: none;
}

.product-page-tabs .product-card-modern__body,
.similar-products-section .product-card-modern__body {
  flex: 1 1 auto;
}

.product-page-tabs .product-card-modern__price strong,
.similar-products-section .product-card-modern__price strong {
  font-size: 18px;
}

@media (max-width: 1024px) {
  .product-page-modern {
    padding: 0 0 20px;
  }

  .product-page-tabs {
    padding: 20px 0 48px;
  }

  .product-page-tabs .similar-products-grid,
  .similar-products-grid {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-page-tabs .similar-products-grid .product-card-modern,
  .similar-products-grid .product-card-modern {
    min-width: 0;
  }

  .product-page-tabs .product-card-modern__price strong,
  .similar-products-section .product-card-modern__price strong {
    font-size: 15px;
  }
}

/* Match catalog grid cards on narrow screens */
@media (max-width: 600px) {
  .product-page-tabs .similar-products-grid,
  .similar-products-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-page-tabs .similar-products-grid .product-card-modern:hover,
  .similar-products-grid .product-card-modern:hover {
    transform: none;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__media,
  .similar-products-grid .product-card-modern__media {
    margin: 8px 8px 0;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__body,
  .similar-products-grid .product-card-modern__body {
    gap: 6px;
    padding: 10px 8px 8px;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__title,
  .similar-products-grid .product-card-modern__title {
    min-height: 0;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__title a,
  .similar-products-grid .product-card-modern__title a {
    font-size: 12px;
    line-height: 1.25;
    min-height: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__meta,
  .similar-products-grid .product-card-modern__meta {
    gap: 4px;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__row,
  .similar-products-grid .product-card-modern__row {
    gap: 4px;
    min-width: 0;
    font-size: 10px;
    line-height: 1.2;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__row span,
  .similar-products-grid .product-card-modern__row span {
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__row strong,
  .similar-products-grid .product-card-modern__row strong {
    flex-shrink: 0;
    max-width: 52%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 700;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__footer,
  .similar-products-grid .product-card-modern__footer {
    gap: 4px;
    padding-top: 8px;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__price,
  .similar-products-grid .product-card-modern__price {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__price strong,
  .similar-products-section .product-card-modern__price strong,
  .similar-products-grid .product-card-modern__price strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__cta,
  .similar-products-grid .product-card-modern__cta {
    display: none;
  }
}

@media (max-width: 400px) {
  .product-page-tabs__nav {
    flex-wrap: nowrap;
    gap: 0 14px;
    margin-bottom: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-page-tabs__nav::-webkit-scrollbar {
    display: none;
  }

  .product-page-tabs__tab {
    flex-shrink: 0;
    padding-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .product-page-tabs__count {
    margin-left: 4px;
    padding: 1px 5px;
    font-size: 10px;
  }
}

/* Enquiry modal + product modals */
#enquiryModal,
#sendToFriendModel,
#offerAPriceModal,
#subscribeForPriceModal {
  z-index: 1310 !important;
}

body.modal-open .modal-backdrop {
  z-index: 1300 !important;
}

/* Product lightbox — fixed viewport controls (like Bautrax) */
body.product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1280px, 96vw);
  width: 100%;
}

#product-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1280px, 96vw);
  max-height: calc(100vh - 160px);
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.product-lightbox__counter {
  margin-top: 10px;
  font: 500 12px/1.4 "Inter", sans-serif;
  color: #6b7280;
}

.product-lightbox__thumbs {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-lightbox__thumbs button {
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid rgba(148, 163, 184, 0.7);
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.product-lightbox__thumbs button.is-active {
  border-color: #f3c117;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.product-lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1402;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--modern-dark, #1f2437);
  cursor: pointer;
  opacity: 1;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 12px rgba(31, 36, 55, 0.25);
  font-size: 0;
  line-height: 0;
}

.product-lightbox__close span {
  display: none;
}

.product-lightbox__close::before,
.product-lightbox__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 14px;
  margin: 0;
  border-radius: 1px;
  background: #fff;
  transform-origin: center center;
}

.product-lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.product-lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.product-lightbox__close:hover {
  background: #2d3348;
}

.product-lightbox__close:focus,
.product-lightbox__close:active {
  outline: none;
  box-shadow: 0 4px 12px rgba(31, 36, 55, 0.25);
}

.product-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1401;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 36, 55, 0.78);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease;
}

.product-lightbox__nav svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.product-lightbox__nav:hover {
  background: #e66a24;
}

.product-lightbox__nav--prev {
  left: 16px;
}

.product-lightbox__nav--next {
  right: 16px;
}

@media (min-width: 640px) {
  .product-lightbox {
    padding: 32px 88px;
  }

  .product-lightbox__nav--prev {
    left: 24px;
  }

  .product-lightbox__nav--next {
    right: 24px;
  }
}

@media (min-width: 992px) {
  .product-lightbox__close {
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-width: 3px;
    box-shadow: 0 6px 16px rgba(31, 36, 55, 0.28);
  }

  .product-lightbox__close::before,
  .product-lightbox__close::after {
    width: 2.5px;
    height: 18px;
  }

  .product-lightbox__close:focus,
  .product-lightbox__close:active {
    box-shadow: 0 6px 16px rgba(31, 36, 55, 0.28);
  }
}

@media (max-width: 639px) {
  .product-lightbox {
    padding: 56px 12px 20px;
  }

  .product-lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .product-lightbox__nav svg {
    width: 20px;
    height: 20px;
  }

  .product-lightbox__nav--prev {
    left: 8px;
  }

  .product-lightbox__nav--next {
    right: 8px;
  }
}

#enquiryModal .modal-dialog.modal-dialog-centered,
#sendToFriendModel .modal-dialog.modal-dialog-centered,
#offerAPriceModal .modal-dialog.modal-dialog-centered,
#subscribeForPriceModal .modal-dialog.modal-dialog-centered {
  max-width: 520px;
  width: min(520px, calc(100vw - 32px));
  margin-left: auto !important;
  margin-right: auto !important;
}

#enquiryModal .modal-content,
#sendToFriendModel .modal-content,
#offerAPriceModal .modal-content,
#subscribeForPriceModal .modal-content {
  top: auto !important;
  position: relative;
  overflow: visible;
  border-radius: 12px;
  border: 0;
  width: 100%;
}

#enquiryModal .modal-body,
#sendToFriendModel .modal-body,
#offerAPriceModal .modal-body,
#subscribeForPriceModal .modal-body {
  padding: 24px;
}

#enquiryModal .product-modal-close,
#sendToFriendModel .product-modal-close,
#offerAPriceModal .product-modal-close,
#subscribeForPriceModal .product-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  float: none;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--modern-dark, #1f2437);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(31, 36, 55, 0.25);
}

#enquiryModal .product-modal-close span,
#sendToFriendModel .product-modal-close span,
#offerAPriceModal .product-modal-close span,
#subscribeForPriceModal .product-modal-close span {
  display: none;
}

#enquiryModal .product-modal-close::before,
#enquiryModal .product-modal-close::after,
#sendToFriendModel .product-modal-close::before,
#sendToFriendModel .product-modal-close::after,
#offerAPriceModal .product-modal-close::before,
#offerAPriceModal .product-modal-close::after,
#subscribeForPriceModal .product-modal-close::before,
#subscribeForPriceModal .product-modal-close::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 12px;
  margin: 0;
  border-radius: 1px;
  background: #fff;
  transform-origin: center center;
}

#enquiryModal .product-modal-close::before,
#sendToFriendModel .product-modal-close::before,
#offerAPriceModal .product-modal-close::before,
#subscribeForPriceModal .product-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#enquiryModal .product-modal-close::after,
#sendToFriendModel .product-modal-close::after,
#offerAPriceModal .product-modal-close::after,
#subscribeForPriceModal .product-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#enquiryModal .product-modal-close:hover,
#sendToFriendModel .product-modal-close:hover,
#offerAPriceModal .product-modal-close:hover,
#subscribeForPriceModal .product-modal-close:hover {
  background: #2d3348;
  opacity: 1;
}

#enquiryModal h5,
#offerAPriceModal h5,
#subscribeForPriceModal h5 {
  margin: 0 0 20px;
  font: 700 20px / 1.2 "Montserrat", sans-serif;
  color: var(--modern-dark, #1f2437);
}

#offerAPriceModal .btn-primary,
#subscribeForPriceModal .btn-primary {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 1023px) {
  .product-page-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "gallery"
      "info";
    gap: 12px;
  }

  .product-page-aside {
    display: contents;
  }

  .product-page-title {
    grid-area: title;
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 0;
  }

  .product-info-shell {
    grid-area: info;
  }

  .product-gallery-shell {
    grid-area: gallery;
    position: static;
  }

  .product-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .product-thumbs-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .product-thumbs-viewport::-webkit-scrollbar {
    display: none;
  }

  .product-actions-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-ref-and-contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .product-page-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .product-inline-attributes {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .product-inline-attributes span:not(:last-child)::after {
    margin: 0 10px;
  }

  .product-price__main {
    font-size: 24px;
  }

  .product-page-tabs .similar-products-grid .product-card-modern__badges,
  .similar-products-grid .product-card-modern__badges {
    display: none;
  }
}

@media (max-width: 1024px) {
  #enquiryModal .modal-dialog.modal-dialog-centered,
  #sendToFriendModel .modal-dialog.modal-dialog-centered,
  #offerAPriceModal .modal-dialog.modal-dialog-centered,
  #subscribeForPriceModal .modal-dialog.modal-dialog-centered {
    width: min(520px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #enquiryModal .modal-content,
  #sendToFriendModel .modal-content,
  #offerAPriceModal .modal-content,
  #subscribeForPriceModal .modal-content {
    top: auto !important;
  }

  #enquiryModal .product-modal-close,
  #sendToFriendModel .product-modal-close,
  #offerAPriceModal .product-modal-close,
  #subscribeForPriceModal .product-modal-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 640px) {
  .product-price__main {
    font-size: 24px;
  }

  .product-inline-actions {
    flex-direction: row;
    gap: 8px;
  }

  .product-inline-actions .product-button {
    padding-left: 10px;
    padding-right: 10px;
    min-height: 44px;
  }
}

/* =============================================================================
   BLOG — merged from redesign-blog.css (load order preserved)
   ============================================================================= */
/* Blog / News */

.blog-page {
  padding-top: 28px;
  padding-bottom: 56px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.blog-header {
  margin-bottom: 18px;
}

.blog-header__title {
  margin: 0 0 8px;
  font-family: "Montserrat", "Inter", sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #1f2437;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.blog-header__desc {
  margin: 0;
  max-width: 640px;
  font: 400 15px/1.6 "Inter", sans-serif;
  color: #6b7280;
}

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

.blog-empty {
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  font: 500 15px/1.5 "Inter", sans-serif;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 12px;
}

/* Cards */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(31, 36, 55, 0.08);
  transform: translateY(-2px);
}

.blog-card--featured {
  flex-direction: row;
  margin-bottom: 28px;
}

.blog-card--featured .blog-card__media {
  flex: 0 0 48%;
  aspect-ratio: auto;
  min-height: 280px;
}

.blog-card--featured .blog-card__body {
  flex: 1;
  padding: 28px 32px;
  justify-content: center;
}

.blog-card--featured .blog-card__title {
  font-size: 1.5rem;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.03);
}

.blog-card__media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.blog-card__date {
  font: 600 11px/1 "Inter", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e66a24;
}

.blog-card__title {
  margin: 10px 0 0;
  font: 700 1.125rem/1.35 "Montserrat", "Inter", sans-serif;
  color: #1f2437;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: #e66a24;
}

.blog-card__excerpt {
  margin: 10px 0 0;
  flex: 1;
  font: 400 14px/1.65 "Inter", sans-serif;
  color: #6b7280;
}

.blog-card__read-more {
  margin-top: 16px;
  align-self: flex-start;
  font: 600 13px/1 "Inter", sans-serif;
  color: #1f2437;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.blog-card__read-more:hover {
  color: #e66a24;
  text-decoration: none;
  border-bottom-color: #e66a24;
}

/* Article */
.blog-article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.blog-article__header {
  padding: 28px 32px 0;
}

.blog-article__back {
  display: inline-block;
  margin-bottom: 16px;
  font: 500 13px/1 "Inter", sans-serif;
  color: #6b7280;
  text-decoration: none;
}

.blog-article__back:hover {
  color: #e66a24;
}

.blog-article__date {
  display: block;
  font: 600 11px/1 "Inter", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e66a24;
}

.blog-article__title {
  margin: 8px 0 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1f2437;
}

.blog-article__figure {
  margin: 24px 0 0;
}

.blog-article__figure img {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.blog-article__content {
  padding: 28px 32px 32px;
  font: 400 16px/1.75 "Inter", sans-serif;
  color: #374151;
}

.blog-article__content p {
  margin: 0 0 1em;
}

.blog-article__content p:last-child {
  margin-bottom: 0;
}

.blog-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-article__content a {
  color: #e66a24;
}

.blog-article__content h2,
.blog-article__content h3 {
  margin: 1.5em 0 0.75em;
  font-family: "Montserrat", "Inter", sans-serif;
  color: #1f2437;
}

.blog-article__footer {
  padding: 0 32px 32px;
}

.blog-article__back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: #1f2437;
  color: #fff !important;
  font: 600 14px/1 "Inter", sans-serif;
  text-decoration: none;
  transition: background 0.15s ease;
}

.blog-article__back-btn:hover {
  background: #e66a24;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: var(--sticky-sidebar-top);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-sidebar__block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
}

.blog-sidebar__title {
  margin: 0 0 14px;
  font: 800 12px/1.2 "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1f2437;
}

.blog-sidebar__recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-sidebar__recent-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.blog-sidebar__recent-link:hover {
  text-decoration: none;
}

.blog-sidebar__recent-link:hover .blog-sidebar__recent-title {
  color: #e66a24;
  text-decoration: none;
}

.blog-sidebar__recent-link:hover .blog-sidebar__recent-date {
  text-decoration: none;
}

.blog-sidebar__recent-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-sidebar__recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-sidebar__recent-main {
  flex: 1;
  min-width: 0;
}

.blog-sidebar__recent-title {
  display: block;
  font: 600 13px/1.35 "Inter", sans-serif;
  color: #1f2437;
  transition: color 0.15s ease;
}

.blog-sidebar__recent-date {
  display: block;
  margin-top: 4px;
  font: 400 11px/1 "Inter", sans-serif;
  color: #9ca3af;
  text-decoration: none;
}

.blog-sidebar__cta {
  background: linear-gradient(145deg, #1f2437 0%, #2d3348 100%);
  border-color: transparent;
  color: #fff;
}

.blog-sidebar__cta .blog-sidebar__title {
  color: #fff;
}

.blog-sidebar__cta-text {
  margin: 0 0 16px;
  font: 400 13px/1.55 "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.82);
}

.blog-sidebar__cta-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  background: #e66a24;
  color: #fff !important;
  font: 600 13px/1 "Inter", sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease;
}

.blog-sidebar__cta-btn:hover {
  background: #f08b41;
}

.blog-sidebar__cta-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  font: 500 12px/1 "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.blog-sidebar__cta-link:hover {
  color: #fff;
}

.blog-sidebar__empty {
  font: 400 13px/1.4 "Inter", sans-serif;
  color: #9ca3af;
}

/* Pagination */
.blog-pagination {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font: 600 14px/1 "Inter", sans-serif;
  color: #374151;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.blog-pagination__link:hover,
.blog-pagination__link.is-active {
  border-color: #e66a24;
  background: #fff7ed;
  color: #e66a24;
}

.blog-pagination__meta {
  margin: 12px 0 0;
  font: 400 13px/1.4 "Inter", sans-serif;
  color: #9ca3af;
}

@media (max-width: 1100px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .blog-sidebar__cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .site-breadcrumb--bar + .custome-container.blog-page {
    padding-top: 12px;
  }
}

@media (max-width: 768px) {
  .blog-page {
    padding-top: 12px;
    padding-bottom: 40px;
  }

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

  .blog-card--featured {
    flex-direction: column;
  }

  .blog-card--featured .blog-card__media {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .blog-card--featured .blog-card__body {
    padding: 20px 22px 22px;
  }

  .blog-article__header,
  .blog-article__content,
  .blog-article__footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-article__title {
    font-size: 20px;
    line-height: 1.3;
  }

  .blog-article__figure {
    margin-top: 12px;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }
}

/* --- По поръчка (/po-porachka) --- */
.on-order-page {
  padding-bottom: 48px;
}

.content--on-order {
  align-items: flex-start;
}

.filters-sidebar--on-order .filters-sidebar__blocks {
  gap: 12px;
}

.filters-sidebar--on-order .filter-section__title-link.is-current .filter-section__label-text {
  color: var(--modern-accent);
}

.on-order-page .products-list-filter-bar .view-second-title {
  text-transform: none;
}

.on-order-sidebar__empty {
  margin: 0;
  padding: 12px 14px;
  font: 500 14px/1.4 "Inter", sans-serif;
  color: #9ca3af;
}

.on-order-calendar {
  margin-bottom: 32px;
}

.on-order-calendar__title {
  margin: 0 0 12px;
  font: 700 11px/1.2 "Montserrat", "Inter", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.on-order-calendar__grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}

.on-order-date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  aspect-ratio: 1;
  padding: 8px 6px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--filter-sidebar-shadow);
  text-decoration: none !important;
  color: #1f2437;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.on-order-date-tile:hover,
.on-order-date-tile:focus,
.on-order-date-tile.is-current {
  border-color: var(--modern-accent);
  background: #fff7ed;
  color: var(--modern-accent);
  box-shadow: 0 0 0 1px rgba(230, 106, 36, 0.12);
}

.on-order-date-tile__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.on-order-date-tile__day {
  font: 700 22px/1 "Montserrat", "Inter", sans-serif;
}

.on-order-date-tile__month {
  font: 700 11px/1.1 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.on-order-date-tile__year {
  font: 500 10px/1 "Inter", sans-serif;
  color: #9ca3af;
}

.on-order-date-tile:hover .on-order-date-tile__year,
.on-order-date-tile:focus .on-order-date-tile__year,
.on-order-date-tile.is-current .on-order-date-tile__year {
  color: #c05621;
}

.on-order-date-tile__machines {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  font: 700 12px/1.25 "Inter", sans-serif;
  text-align: center;
  white-space: nowrap;
  color: #6b7280;
}

.on-order-date-tile:hover .on-order-date-tile__machines,
.on-order-date-tile:focus .on-order-date-tile__machines,
.on-order-date-tile.is-current .on-order-date-tile__machines {
  background: rgba(230, 106, 36, 0.15);
  color: var(--modern-accent);
}

.on-order-sidebar-cal {
  padding: 10px 12px 14px;
}

.on-order-sidebar-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.on-order-sidebar-cal__label {
  margin: 0;
  flex: 1 1 auto;
  font: 700 13px/1.2 "Montserrat", "Inter", sans-serif;
  text-align: center;
  color: #1f2437;
}

.on-order-sidebar-cal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.on-order-sidebar-cal__btn:hover:not(:disabled),
.on-order-sidebar-cal__btn:focus:not(:disabled) {
  border-color: var(--modern-accent);
  color: var(--modern-accent);
  background: #fff7ed;
}

.on-order-sidebar-cal__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.on-order-sidebar-cal .on-order-month-cal__title {
  display: none;
}

.filter-section--on-order-calendars .filter-section__head {
  border-bottom: 1px solid #f3f4f6;
}

.on-order-month-cal__title {
  margin: 0 0 8px;
  font: 700 13px/1.2 "Montserrat", "Inter", sans-serif;
  color: #1f2437;
}

.on-order-month-cal__weekdays,
.on-order-month-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.on-order-month-cal__weekdays {
  margin-bottom: 4px;
}

.on-order-month-cal__weekday {
  font: 600 10px/1.2 "Inter", sans-serif;
  text-align: center;
  text-transform: uppercase;
  color: #9ca3af;
}

.on-order-month-cal__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 4px;
  text-decoration: none !important;
}

.on-order-month-cal--main .on-order-month-cal__day {
  min-height: 44px;
}

.on-order-month-cal__day.is-blank {
  visibility: hidden;
}

.on-order-month-cal__day.is-muted {
  color: #d1d5db;
  background: #fafafa;
}

.on-order-month-cal__day.is-muted .on-order-month-cal__day-num {
  font: 500 13px/1 "Inter", sans-serif;
}

.on-order-month-cal__day.is-active {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1f2437;
  box-shadow: var(--filter-sidebar-shadow);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.on-order-month-cal__day.is-active:hover,
.on-order-month-cal__day.is-active:focus,
.on-order-month-cal__day.is-active.is-current {
  border-color: var(--modern-accent);
  background: #fff7ed;
  color: var(--modern-accent);
}

.on-order-month-cal__day-num {
  font: 700 14px/1 "Inter", sans-serif;
}

.on-order-month-cal--main .on-order-month-cal__day-num {
  font-size: 16px;
}

.on-order-month-cal__day-count {
  position: absolute;
  right: 3px;
  bottom: 3px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f3f4f6;
  font: 700 9px/1.5 "Inter", sans-serif;
  color: #6b7280;
}

.on-order-month-cal__day.is-active:hover .on-order-month-cal__day-count,
.on-order-month-cal__day.is-active:focus .on-order-month-cal__day-count,
.on-order-month-cal__day.is-active.is-current .on-order-month-cal__day-count {
  background: rgba(230, 106, 36, 0.15);
  color: var(--modern-accent);
}

.on-order-month-cal--mini .on-order-month-cal__day {
  min-height: 30px;
}

.on-order-month-cal--mini .on-order-month-cal__day-num {
  font-size: 12px;
}

.on-order-month-cal--mini .on-order-month-cal__day-count {
  font-size: 8px;
  min-width: 14px;
}

.on-order-active-filters {
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  .on-order-active-filters__chip--category {
    display: none;
  }
}

.on-order-archive__total {
  margin: 0 0 20px;
  font: 600 14px/1.4 "Inter", sans-serif;
  color: #7a8599;
}

.on-order-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.on-order-section {
  scroll-margin-top: calc(var(--sticky-sidebar-top) + 16px);
}

.on-order-section__head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f3f4f6;
}

.on-order-section__head::before {
  content: "";
  width: 4px;
  align-self: stretch;
  border-radius: 999px;
  background: var(--modern-accent);
  flex-shrink: 0;
}

.on-order-section__head-main {
  flex: 1 1 auto;
  min-width: 0;
}

.on-order-section__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.on-order-section__meta-row .on-order-section__meta {
  flex: 1 1 auto;
  min-width: 0;
}

.on-order-section__view-controls {
  flex: 0 0 auto;
  margin: 0;
}

.on-order-section__view-controls.catalog-toolbar__controls {
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .on-order-section__meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 10px;
  }

  .on-order-section__meta-row .on-order-section__meta {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .on-order-section__view-controls {
    width: auto;
  }

  .on-order-section__view-controls .view-toggle {
    gap: 6px;
  }

  .on-order-section__view-controls .view-toggle button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 5px;
  }

  .on-order-section__view-controls .view-toggle button svg {
    width: 13px !important;
    height: 13px !important;
  }
}

.on-order-section__title {
  margin: 0 0 4px;
  font: 700 22px/1.2 "Montserrat", "Inter", sans-serif;
  color: #1f2437;
}

.on-order-section__meta {
  margin: 0;
  font: 500 14px/1.4 "Inter", sans-serif;
  color: #7a8599;
}

.on-order-archive__empty {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  text-align: center;
  color: #6b7280;
  font: 500 16px/1.5 "Inter", sans-serif;
}

@media (max-width: 1199px) {
  .on-order-calendar__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .on-order-calendar__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .on-order-calendar__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .on-order-page .on-order-calendar--desktop-tiles {
    display: none;
  }
}
