/* ============================================================
   DFC.ro — Custom Theme Enhancements
   AngarTheme 2.7.1 · PrestaShop 9.x
   ============================================================ */

/* ── 1. Foundation & Extended Variables ───────────────────── */
:root {
  --at-primary: #1674bd;
  --at-primary-rgb: 22, 116, 189;
  --at-primary-dark: #1268ad;
  --at-accent: #e31d27;
  --at-accent-rgb: 227, 29, 39;
  --at-success: #198754;
  --at-danger: #dc3545;
  --at-text: #1b1a1b;
  --at-muted: #68717a;
  --at-border: #dfe4e8;
  --at-surface: #ffffff;
  --at-surface-soft: #f4f7fa;
  --at-radius: 8px;
  --at-radius-sm: 6px;
  --at-radius-lg: 14px;
  --at-radius-xl: 20px;
  --at-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --at-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --at-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --at-transition-fast: 0.14s ease;
}

/* ── 2. One Page Checkout: Forms, Shipping & Payment ──────── */
body#checkout {
  overflow-x: hidden;
}

#checkout #wrapper .columns-container,
#checkout #wrapper .center-column,
#checkout #wrapper .checkout-grid {
  max-width: 100%;
}

#checkout .checkout-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: auto;
  margin: 18px -10px 32px;
}

#checkout #ps_opc,
#checkout .checkout-grid__aside {
  box-sizing: border-box;
  padding-right: 10px;
  padding-left: 10px;
}

#checkout #ps_opc {
  width: 66.666%;
}

#checkout .checkout-grid__aside {
  width: 33.333%;
}

#checkout #ps_opc > .card.card-block.tab-content {
  padding: 14px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0 4px 18px rgba(16, 24, 40, .055);
}

#checkout .one-page-checkout {
  max-width: 100%;
  padding-right: 0;
}

#checkout .one-page-checkout__section,
#checkout .one-page-checkout__footer {
  box-sizing: border-box;
  margin: 0 0 14px;
  padding: 18px !important;
  border: 1px solid #e3e8ee !important;
  border-color: var(--at-border) !important;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .035);
}

#checkout .one-page-checkout__footer {
  margin-bottom: 0;
}

#checkout .one-page-checkout__title,
#checkout .one-page-checkout__consent-title {
  margin: 0 0 16px;
  padding: 1px 0 1px 11px;
  border-left: 3px solid #e31d27;
  color: #202733;
  color: var(--at-text);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

#checkout .one-page-checkout__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: -3px 0 16px;
}

#checkout .one-page-checkout__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #dfe5eb;
  border-radius: 7px;
  color: #344054;
  background: #f8fafc;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
}

#checkout .one-page-checkout__link:hover {
  border-color: #b9d7ee;
  color: #1268ad;
  background: #f1f8fd;
}

#checkout #opc-form .form-group.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 0 0 13px;
}

#checkout #opc-form .form-group.row > label.form-control-label {
  flex: 0 0 28%;
  width: 28%;
  margin: 0;
  padding: 0 13px 0 0;
  color: #475467;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

#checkout #opc-form .form-group.row > label.required::after,
#checkout #opc-form .form-control-label.required::after {
  color: #d51d27;
}

#checkout #opc-form .form-group.row > .js-input-column {
  flex: 1 1 54%;
  width: 54%;
  max-width: none;
  padding: 0;
}

#checkout #opc-form .form-group.row > input.form-control,
#checkout #opc-form .form-group.row > select.form-control {
  flex: 1 1 72%;
  width: 72%;
  max-width: none;
}

#checkout #opc-form .form-group.row > .form-control-comment {
  flex: 0 0 18%;
  width: 18%;
  padding: 0 0 0 10px;
  color: #98a2b3;
  font-size: .7rem;
  line-height: 1.3;
}

#checkout #opc-form .form-control,
#checkout #opc-form .form-control-select,
#checkout #opc-form input[type="text"],
#checkout #opc-form input[type="email"],
#checkout #opc-form input[type="tel"],
#checkout #opc-form textarea,
#checkout #opc-form select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5dce4;
  border-radius: 7px;
  color: #202733;
  background: #fff;
  font-size: .82rem;
  box-shadow: none;
}

#checkout #opc-form textarea {
  min-height: 92px;
  resize: vertical;
}

#checkout #opc-form .form-control:focus,
#checkout #opc-form textarea:focus,
#checkout #opc-form select:focus {
  border-color: #1b82d6;
  box-shadow: 0 0 0 3px rgba(27, 130, 214, .12);
  outline: 0;
}

#checkout .opc-form-fields-row {
  display: flex;
  display: grid;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 -6px;
}

#checkout .opc-form-fields-row--2 > .form-group {
  width: calc(50% - 12px) !important;
  margin-right: 6px !important;
  margin-left: 6px !important;
}

#checkout .opc-form-fields-row--3 > .form-group {
  width: calc(33.333% - 12px) !important;
  margin-right: 6px !important;
  margin-left: 6px !important;
}

#checkout .opc-form-fields-row > .form-group.row > label.form-control-label,
#checkout .opc-form-fields-row > .form-group.row > .js-input-column,
#checkout .opc-form-fields-row > .form-group.row > .form-control-comment {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

#checkout .opc-form-fields-row > .form-group.row > label.form-control-label {
  margin-bottom: 6px;
  padding: 0;
  text-align: left;
}

#checkout .opc-form-fields-row > .form-group.row > .form-control-comment {
  padding: 5px 0 0;
}

#checkout #opc-use-same-address,
#checkout #opc-form input[type="checkbox"],
#checkout #opc-form input[type="radio"] {
  accent-color: #e31d27;
}

#checkout .form-check-label,
#checkout .one-page-checkout__consent-field label,
#checkout .one-page-checkout__optional-field label {
  color: #344054;
  font-size: .79rem;
  line-height: 1.45;
}

#checkout .delivery-options__list,
#checkout #opc-payment-methods {
  display: block;
}

#checkout .delivery-option__item,
#checkout .payment-option {
  overflow: hidden;
  margin: 0 0 10px;
  border: 1px solid #dfe5eb;
  border-radius: 9px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

#checkout .delivery-option__item:hover,
#checkout .payment-option:hover {
  border-color: #b9d7ee;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .055);
}

#checkout .delivery-option__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 10px 12px;
  cursor: pointer;
}

#checkout .delivery-option__left {
  display: flex;
  align-items: center;
  flex: 0 0 42%;
  width: 42%;
}

#checkout .delivery-option__carrier {
  display: flex;
  align-items: center;
  gap: 9px;
}

#checkout .delivery-option__carrier-logo {
  width: auto;
  max-width: 54px;
  max-height: 42px;
}

#checkout .delivery-option__carrier-name {
  color: #202733;
  font-size: .82rem;
  font-weight: 750;
}

#checkout .delivery-option__content {
  flex: 1 1 33%;
  width: 33%;
  padding: 0 10px;
  color: #667085;
  font-size: .76rem;
  line-height: 1.35;
}

#checkout .delivery-option__price {
  flex: 0 0 25%;
  width: 25%;
  color: #146c43;
  font-size: .82rem;
  font-weight: 800;
  text-align: right;
}

#checkout .payment-option__form-check {
  display: flex;
  align-items: center;
  min-height: 54px;
  margin: 0;
  padding: 10px 13px;
}

#checkout .payment-option__input.form-check-input {
  position: static !important;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0 !important;
}

#checkout .payment-option__label {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 0 0 9px;
  color: #202733;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

#checkout .payment-option__label img {
  width: auto;
  max-width: 70px;
  max-height: 28px;
  margin-right: 9px;
}

#checkout .payment-option__additional-information {
  padding: 0 14px 13px 40px;
  color: #667085;
  font-size: .78rem;
}

#checkout .one-page-checkout__submit,
#checkout #opc-pay-button,
#checkout #opc-form .btn-primary {
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid #e31d27 !important;
  border-color: var(--at-accent) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #e31d27 !important;
  background: var(--at-accent) !important;
  font-size: .84rem;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(227, 29, 39, .18);
}

#checkout .one-page-checkout__submit:disabled,
#checkout #opc-pay-button:disabled {
  border-color: #cdd4dd !important;
  color: #667085 !important;
  background: #e9edf2 !important;
  box-shadow: none;
  opacity: 1;
}

#checkout .checkout-grid__aside-wrapper {
  position: sticky;
  top: 18px;
}

#checkout #js-checkout-summary,
#checkout .checkout-grid__aside .blockreassurance_product {
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(16, 24, 40, .05);
}

#checkout #js-checkout-summary > .card-block,
#checkout #js-checkout-summary .cart-summary-totals {
  padding: 16px;
}

#checkout #js-checkout-summary h4.show_cart {
  margin: 0 0 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #e8edf2;
  font-size: .92rem;
  text-transform: none;
}

#checkout #js-checkout-summary h4.show_cart a {
  color: #202733;
  font-weight: 800;
}

#checkout #js-checkout-summary .cart-summary-products p {
  margin-bottom: 8px;
  color: #667085;
  font-size: .78rem;
}

#checkout #js-checkout-summary .cart-summary-products .btn {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dfe5eb !important;
  border-radius: 7px !important;
  color: #344054 !important;
  background: #f8fafc !important;
  font-size: .72rem;
  font-weight: 750;
  box-shadow: none;
}

#checkout #js-checkout-summary .cart-summary-line {
  min-height: 36px;
  padding: 3px 0;
  color: #475467;
  font-size: .82rem;
  line-height: 30px;
}

#checkout #js-checkout-summary .cart-summary-line .label {
  color: #475467;
  font-weight: 600;
}

#checkout #js-checkout-summary .cart-summary-line .value {
  color: #202733;
  font-weight: 750;
}

#checkout #js-checkout-summary .cart-total {
  min-height: 48px;
  padding-top: 10px;
  border-top: 1px solid #e8edf2;
  font-size: .94rem;
}

#checkout #js-checkout-summary .cart-total .label,
#checkout #js-checkout-summary .cart-total .value {
  color: #202733;
  font-weight: 800;
}

#checkout #js-checkout-summary .cart-total .value {
  color: #d51d27;
  color: var(--at-accent);
}

#checkout .checkout-grid__aside .blockreassurance_product {
  margin-top: 14px;
}

#checkout .checkout-grid__aside .blockreassurance_product > div {
  padding: 11px 13px;
  border-bottom: 1px solid #e8edf2;
}

#checkout .checkout-grid__aside .blockreassurance_product > div:last-child {
  border-bottom: 0;
}

@supports (display: grid) {
  @media (min-width: 768px) {
    #checkout .opc-form-fields-row {
      margin: 0;
    }

    #checkout .opc-form-fields-row--2 > .form-group,
    #checkout .opc-form-fields-row--3 > .form-group {
      width: auto !important;
      margin-right: 0 !important;
      margin-left: 0 !important;
    }
  }
}

@media (max-width: 991px) {
  #checkout #ps_opc,
  #checkout .checkout-grid__aside {
    width: 100%;
  }

  #checkout #ps_opc {
    order: 1;
  }

  #checkout .checkout-grid__aside {
    order: 2;
    margin-top: 16px;
  }

  #checkout .checkout-grid__aside-wrapper {
    position: static;
  }
}

@media (max-width: 767px) {
  #checkout #wrapper > .container,
  #checkout #wrapper .columns-container.container {
    width: 100%;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  #checkout .checkout-grid {
    width: 100%;
    margin: 10px 0 24px;
  }

  #checkout #ps_opc,
  #checkout .checkout-grid__aside {
    padding: 0;
  }

  #checkout #ps_opc > .card.card-block.tab-content {
    padding: 9px;
    border-radius: 10px;
  }

  #checkout .one-page-checkout__section,
  #checkout .one-page-checkout__footer {
    margin-bottom: 10px;
    padding: 14px !important;
    border-radius: 9px;
  }

  #checkout .one-page-checkout__title,
  #checkout .one-page-checkout__consent-title {
    margin-bottom: 14px;
    font-size: 1rem;
  }

  #checkout .one-page-checkout__links {
    display: block;
  }

  #checkout .one-page-checkout__link {
    width: 100%;
    margin-bottom: 7px;
  }

  #checkout .opc-form-fields-row {
    display: block;
    margin: 0;
  }

  #checkout .opc-form-fields-row--2 > .form-group,
  #checkout .opc-form-fields-row--3 > .form-group,
  #checkout #opc-form .form-group.row {
    display: block;
    width: 100% !important;
    margin: 0 0 13px !important;
  }

  #checkout #opc-form .form-group.row > label.form-control-label,
  #checkout #opc-form .form-group.row > .js-input-column,
  #checkout #opc-form .form-group.row > input.form-control,
  #checkout #opc-form .form-group.row > select.form-control,
  #checkout #opc-form .form-group.row > .form-control-comment {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  #checkout #opc-form .form-group.row > label.form-control-label {
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
  }

  #checkout #opc-form .form-group.row > .form-control-comment {
    padding: 5px 0 0;
  }

  #checkout .delivery-option__label {
    display: block;
    padding: 11px;
  }

  #checkout .delivery-option__left,
  #checkout .delivery-option__content,
  #checkout .delivery-option__price {
    display: flex;
    width: 100%;
    padding: 0;
  }

  #checkout .delivery-option__left {
    margin-bottom: 8px;
  }

  #checkout .delivery-option__content {
    margin-bottom: 7px;
  }

  #checkout .delivery-option__price {
    justify-content: flex-start;
    text-align: left;
  }

  #checkout .payment-option__form-check {
    min-height: 52px;
    padding: 9px 11px;
  }

  #checkout .payment-option__additional-information {
    padding: 0 11px 11px 35px;
  }

  #checkout #js-checkout-summary,
  #checkout .checkout-grid__aside .blockreassurance_product {
    border-radius: 10px;
  }
}

/* ── 3. Smooth Page Load ──────────────────────────────────── */
body {
  animation: fadeInUp 0.35s ease both;
}

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

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

/* ── 4. Header ────────────────────────────────────────────── */
.header-top {
  background: linear-gradient(135deg, #1b1a1b 0%, #2a2a2e 100%) !important;
  padding: 10px 0;
  transition: background var(--at-transition);
}

.header-top:hover {
  background: linear-gradient(135deg, #222226 0%, #303035 100%) !important;
}

.header-top .logo {
  transition: transform var(--at-transition), filter var(--at-transition);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

@media (hover: hover) {
  .header-top .logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 16px rgba(var(--at-primary-rgb), 0.3));
  }
}

/* Subtle white card around the logo so it doesn't float bare on the header-top
   band, with a fine border and rounded corners; sizing stays with the .logo
   rules per breakpoint, this only frames it. */
#header .header-top #_desktop_logo .logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--at-surface, #fff);
  border: 1px solid var(--at-border, #e4e7ec);
  border-radius: var(--at-radius-sm, 6px);
  padding: 6px 14px;
  transition: box-shadow var(--at-transition-fast, .14s ease), border-color var(--at-transition-fast, .14s ease);
}

@media (hover: hover) {
  #header .header-top #_desktop_logo .logo-frame:hover {
    border-color: var(--at-primary, #1b82d6);
    box-shadow: var(--at-shadow-sm, 0 1px 2px rgba(16,24,40,.05), 0 4px 14px rgba(16,24,40,.05));
  }
}

/* ── 5. Header Nav ────────────────────────────────────────── */
nav.header-nav {
  background: #000 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}

nav.header-nav a {
  color: rgba(255,255,255,0.82);
  transition: color var(--at-transition-fast);
}

nav.header-nav a:hover,
nav.header-nav a:focus {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  #_desktop_top_menu {
    height: auto;
    min-height: 52px;
  }

  #_desktop_top_menu #top-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 4px 12px;
  }

  #_desktop_top_menu #top-menu > li {
    flex: 0 1 auto;
    white-space: nowrap;
  }

  #_desktop_top_menu #top-menu > li > a {
    padding: 10px 12px;
    font-size: 0.72rem;
    line-height: 18px;
  }
}

/* ── 6. Search Widget ─────────────────────────────────────── */
#search_widget form input[type="text"] {
  border: 2px solid transparent;
  background: rgba(255,255,255,0.95);
  border-radius: var(--at-radius) !important;
  padding: 10px 16px 10px 42px;
  box-shadow: var(--at-shadow-sm);
  transition: border-color var(--at-transition), box-shadow var(--at-transition);
}

#search_widget form input[type="text"]:focus {
  border-color: var(--at-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--at-primary-rgb), 0.15), var(--at-shadow-sm) !important;
}

#search_widget form button[type="submit"] {
  border-radius: var(--at-radius-sm) !important;
  transition: transform var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

#search_widget form button[type="submit"]:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(var(--at-accent-rgb), 0.35);
}

/* ── 7. Cart Widget ───────────────────────────────────────── */
header#header nav.header-nav #_desktop_cart .blockcart .header a.cart_link {
  color: #fff;
  transition: transform var(--at-transition-fast);
}

header#header nav.header-nav #_desktop_cart .blockcart .header a.cart_link > i {
  transition: transform var(--at-transition-fast);
}

header#header nav.header-nav #_desktop_cart:hover .blockcart .header a.cart_link > i {
  transform: scale(1.12);
}

#subcart {
  border-radius: var(--at-radius) !important;
  border: 1px solid var(--at-border) !important;
  box-shadow: var(--at-shadow) !important;
}

/* ── 8. Main Content Area ─────────────────────────────────── */
#content-wrapper {
  padding-top: 28px;
}

#content {
  margin-top: 0;
}

/* ── 9. Vehicle and Code Search ───────────────────────────── */
#header .row.p-1 > .col-md-6.p-1 {
  background: var(--at-surface);
  border: 1px solid var(--at-border) !important;
  border-top: 3px solid var(--at-primary) !important;
  border-radius: var(--at-radius) !important;
  box-shadow: var(--at-shadow-sm) !important;
  padding: 16px !important;
}

#header .row.p-1 > .col-md-6.p-1.hidden-sm-down,
#header .row.p-1 > .col-md-6.p-1.hidden-md-up {
  border-top: 3px solid var(--at-primary) !important;
  border-radius: var(--at-radius) !important;
}

#header .row.p-1 > .col-md-6.p-1 h3,
#header .row.p-1 > .col-md-6.p-1 h4 {
  color: var(--at-text);
  font-weight: 700;
}

#header .row.p-1 > .col-md-6.p-1 .form-control {
  min-height: 42px;
  background: var(--at-surface);
  cursor: pointer;
  border-color: var(--at-border) !important;
  transition: border-color var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

#header .row.p-1 > .col-md-6.p-1 select.form-control:focus,
#header .row.p-1 > .col-md-6.p-1 input.form-control:focus {
  border-color: var(--at-primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--at-primary-rgb), 0.12);
  outline: 0;
}

#header .row.p-1 > .col-md-6.p-1 .facet-label {
  margin: 0 0 8px;
  color: var(--at-text);
  font-size: 0.95rem;
  font-weight: 700;
}

#header .row.p-1 > .col-md-6.p-1 .facet-label span {
  color: var(--at-text) !important;
}

#header .row.p-1 > .col-md-6.p-1 .align-center.mb-1 {
  margin-bottom: 10px !important;
  color: var(--at-muted);
  font-size: 0.82rem;
}

#header .row.p-1 > .col-md-6.p-1 .input-group button {
  background: var(--at-accent);
  border: 1px solid var(--at-accent);
  color: #fff;
  font-weight: 600;
}

@media (min-width: 768px) {
  #header .row.p-1 > .col-md-6.p-1 {
    min-height: 203px !important;
  }

  #header .row.p-1 > .col-md-6.p-1 .form-control {
    min-height: 36px;
  }
}

/* ── 10. Homepage Tabs ────────────────────────────────────── */
#index #home-page-tabs > li > a {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--at-muted);
  border: 1px solid transparent;
  border-radius: var(--at-radius-sm);
  padding: 10px 18px;
  transition: color var(--at-transition-fast), border-color var(--at-transition-fast), background var(--at-transition-fast);
}

#index .tabs,
#index #home-page-tabs,
#index #tab-content {
  width: 100%;
}

#index #tab-content {
  padding: 20px;
  background: var(--at-surface-soft);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
}

#index #home-page-tabs {
  justify-content: center;
  margin: 0 0 20px;
}

#index #home-page-tabs > li.active > a,
#index #home-page-tabs > li > a:hover {
  color: var(--at-primary);
  border-color: rgba(var(--at-primary-rgb), 0.2);
  background: rgba(var(--at-primary-rgb), 0.06);
  text-decoration: none;
}

#index #home-page-tabs > li.active > a {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--at-primary);
}

.index_title,
.products-section-title {
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--at-text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--at-border);
  text-transform: none !important;
}

/* ── 11. Category Block (Homepage) ────────────────────────── */
#block-categories .block_categories .category-sub-menu li a {
  border-radius: var(--at-radius-sm);
  padding: 10px 16px;
  transition: background var(--at-transition-fast), color var(--at-transition-fast);
}

#block-categories .block_categories .category-sub-menu li a:hover {
  background: var(--at-surface-soft);
  color: var(--at-primary);
}

#block-categories.block {
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  box-shadow: var(--at-shadow-sm);
  padding: 16px;
  background: var(--at-surface);
}

/* ── 12. Product Cards ────────────────────────────────────── */
.products .product-miniature .thumbnail-container {
  transition: border-color var(--at-transition),
              box-shadow var(--at-transition),
              transform var(--at-transition) !important;
}

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

#index .products .product-miniature {
  float: none;
  width: auto;
  margin: 0;
  min-width: 0;
}

#index .products .product-miniature .thumbnail-container {
  height: 100%;
}

#index .products .product-miniature .product-title {
  min-height: 3.9em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

#index .products .product-miniature .product-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#index .products .product-miniature .product-bottom {
  margin-top: auto;
}

@media (hover: hover) and (min-width: 768px) {
  .products .product-miniature .thumbnail-container:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 32px rgba(var(--at-primary-rgb), 0.12),
                0 4px 12px rgba(0,0,0,0.06) !important;
    border-color: rgba(var(--at-primary-rgb), 0.25) !important;
  }
}

.products .product-miniature .product-image-container {
  transition: background var(--at-transition);
  background: #fafbfc;
}

@media (hover: hover) {
  .products .product-miniature:hover .product-image-container {
    background: #f0f4f8;
  }
}

.products .product-miniature .product-title,
.products .product-miniature .product-title a {
  transition: color var(--at-transition-fast);
}

@media (hover: hover) {
  .products .product-miniature .product-title a:hover {
    color: var(--at-primary) !important;
  }
}

.products .product-miniature .product-price-and-shipping {
  font-size: 1.05rem;
}

/* Product flags / badges */
.products .product-miniature .product-flag {
  font-size: 0.72rem;
  padding: 3px 8px;
  letter-spacing: 0.02em;
}

/* "Vezi detalii" / Quick view button */
.products .product-miniature .quick-view {
  border-radius: var(--at-radius-sm) !important;
  background: rgba(27, 130, 214, 0.92) !important;
  color: #fff !important;
  transition: background var(--at-transition-fast), transform var(--at-transition-fast);
}

.products .product-miniature .quick-view:hover {
  background: var(--at-primary-dark) !important;
  transform: scale(1.04);
}

/* ── 13. Product Description & Price on Cards ─────────────── */
.product-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--at-muted);
}

.product-price-and-shipping .price,
.product-price-and-shipping .current-price {
  color: var(--at-accent) !important;
  font-weight: 700;
}

.regular-price {
  text-decoration: line-through;
  color: var(--at-muted) !important;
  font-size: 0.88rem;
}

/* ── 14. Buttons ──────────────────────────────────────────── */
.btn-primary,
.btn.add-to-cart {
  border-radius: var(--at-radius-sm) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(var(--at-primary-rgb), 0.18);
  transition: transform var(--at-transition-fast),
              box-shadow var(--at-transition-fast),
              background var(--at-transition-fast);
}

/* The theme configurator's inline colors give listing-card "Adauga in cos"
   a black idle state that only turns red on hover, while the product page's
   add-to-cart is red at rest. Match the idle state so it's one CTA color
   everywhere instead of two. */
.button-container .add-to-cart,
.button-container .add-to-cart:disabled,
#subcart .cart-buttons .viewcart,
body#view ul li.wishlist-products-item .wishlist-product-bottom .btn-primary {
  background: var(--at-accent) !important;
  border-color: var(--at-accent) !important;
}

/* Keep primary actions readable over the active theme configurator colors,
   and match the accent red used for "Adauga in cos" and the site's CTAs
   instead of the unrelated blue this previously carried. */
body .btn-primary,
body .btn-primary.disabled,
body .btn-primary:disabled,
body .btn-primary.disabled:hover {
  color: #fff;
  border-color: var(--at-accent);
  background: var(--at-accent);
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active,
body .btn-primary.active {
  color: #fff;
  border-color: #c11921;
  background: #c11921;
}

@media (hover: hover) {
  .btn-primary:hover,
  .btn.add-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--at-primary-rgb), 0.25);
  }
}

.btn:not(:disabled):active {
  transform: translateY(1px) !important;
}

/* Newsletter button */
.block_newsletter .btn-newsletter {
  border-radius: var(--at-radius-sm) !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--at-accent-rgb), 0.2);
  transition: transform var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

@media (hover: hover) {
  .block_newsletter .btn-newsletter:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(var(--at-accent-rgb), 0.3);
  }
}

/* ── 15. Product Page ─────────────────────────────────────── */
#product .current-price .price {
  color: var(--at-accent) !important;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

#product .add-to-cart {
  border-radius: var(--at-radius-sm) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(var(--at-primary-rgb), 0.2);
  transition: transform var(--at-transition-fast),
              box-shadow var(--at-transition-fast);
}

#product .add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--at-primary-rgb), 0.3);
}

#product .product-quantity #quantity_wanted {
  border-radius: var(--at-radius-sm);
  font-weight: 600;
  text-align: center;
}

/* The label + 132px touchspin + add-to-cart button don't all fit on one row
   at every content width; .qty was free to shrink below the touchspin's
   fixed width, so the +/- buttons spilled out and overlapped "Adauga in cos".
   Keep the stepper at its intended size and let the button wrap instead. */
#product .product-quantity {
  flex-wrap: wrap;
}

#product .product-quantity .qty {
  width: 132px;
  flex: 0 0 auto;
}

#product .product-add-to-cart {
  margin-top: 16px;
  padding: 16px;
  background: var(--at-surface-soft);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
}

#product .product-add-to-cart .control-label {
  color: var(--at-text);
  font-weight: 700;
}

#product .product-add-to-cart .add-to-cart {
  background: var(--at-accent);
  border-color: var(--at-accent);
  box-shadow: 0 4px 14px rgba(var(--at-accent-rgb), 0.2);
}

#product #product-availability {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: #146c43;
  font-weight: 700;
}

#product #product-availability .product-available {
  color: #146c43;
}

#product .product-cover {
  border-radius: var(--at-radius-lg) !important;
  border: 1px solid var(--at-border);
  box-shadow: var(--at-shadow-sm);
  background: var(--at-surface-soft);
  object-fit: contain;
}

#product .product-cover img {
  object-fit: contain;
  background: var(--at-surface-soft);
}

#product .product_name {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.25;
}

#product .product-images > li.thumb-container .thumb {
  border-radius: var(--at-radius-sm) !important;
  border: 2px solid transparent;
  transition: border-color var(--at-transition-fast);
}

#product .product-images > li.thumb-container .thumb:hover,
#product .product-images > li.thumb-container .thumb.active {
  border-color: var(--at-primary);
}

/* Product tabs */
#product .product-tabs .nav-link,
.product-tabs .nav-link {
  border-radius: var(--at-radius-sm) var(--at-radius-sm) 0 0 !important;
  font-weight: 600;
  color: var(--at-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--at-transition-fast), border-color var(--at-transition-fast);
}

#product .product-tabs .nav-link.active,
.product-tabs .nav-link.active {
  color: var(--at-primary);
  border-bottom-color: var(--at-primary);
}

/* ── 16. Footer ───────────────────────────────────────────── */
.footer-container {
  background: #fff !important;
  color: #475467;
  padding: 28px 0 0;
  margin-top: 48px;
  border-top: 1px solid #e4e7ec;
  box-shadow: 0 -10px 30px rgba(16, 24, 40, 0.035);
}

.footer-container h4,
.footer-container .block_title,
.footer-container .h3,
.footer-container .links .title,
.footer-container .links .title .h3,
.footer-container .links .title a.h3 {
  color: #202733;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-color: #e4e7ec;
  text-transform: uppercase;
}

.footer-container .h3 span,
.footer-container .h3 a,
.footer-container .links .title span.h3,
.footer-container .links .title a.h3 {
  color: #202733;
  border-color: var(--at-primary);
}

.footer-container ul li a {
  color: #667085;
  transition: color var(--at-transition-fast), padding-left var(--at-transition-fast);
  display: inline-block;
}

@media (hover: hover) {
  .footer-container ul li a:hover {
    color: var(--at-primary);
    padding-left: 4px;
  }
}

.footer-container a {
  color: #667085;
}

.footer-container a:hover {
  color: var(--at-primary);
}

.footer-container .social_footer a {
  color: #667085;
  font-size: 1.1rem;
  transition: color var(--at-transition-fast), transform var(--at-transition-fast);
}

.footer-container .social_footer {
  border-color: #e4e7ec;
}

@media (hover: hover) {
  .footer-container .social_footer a:hover {
    color: var(--at-primary);
    transform: scale(1.15);
  }
}

/* Newsletter in footer */
.block_newsletter {
  border-radius: var(--at-radius);
  padding: 16px;
  background: #fff;
  border: 1px solid #e4e7ec;
}

.block_newsletter .form-control {
  border-radius: var(--at-radius-sm);
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #202733;
  min-height: 44px;
}

.block_newsletter .input-wrapper input[name="email"] {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d0d5dd;
  border-radius: var(--at-radius-sm);
  background: #fff;
  color: #202733;
}

.block_newsletter .input-wrapper input[name="email"]:focus {
  border-color: var(--at-primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(var(--at-primary-rgb), 0.2);
}

.block_newsletter .news_info {
  margin: 6px 0 0;
  color: #667085;
  font-size: 0.78rem;
  line-height: 1.4;
}

.block_newsletter .form-control::placeholder,
.block_newsletter .input-wrapper input[name="email"]::placeholder {
  color: #98a2b3;
}

.block_newsletter .form-control:focus {
  border-color: var(--at-primary);
  box-shadow: 0 0 0 3px rgba(var(--at-primary-rgb), 0.2);
  background: #fff;
}

/* Bottom footer */
.footer-container .bottom-footer {
  background: #fff !important;
  border-top: 1px solid #e4e7ec;
  padding: 16px 0;
  font-size: 0.85rem;
  color: #667085;
  text-align: center;
  margin-top: 24px;
}

/* ── 17. Breadcrumb ───────────────────────────────────────── */
.breadcrumb {
  background: var(--at-surface-soft);
  border-radius: var(--at-radius-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--at-border);
}

.breadcrumb-item a {
  color: var(--at-muted);
  transition: color var(--at-transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--at-primary);
}

/* ── 18. Page Headers ─────────────────────────────────────── */
.page-header h1,
.cat_name,
.product_name,
#content .h1 {
  font-weight: 700;
  color: var(--at-text);
  letter-spacing: -0.025em;
}

/* ── 19. Pagination ───────────────────────────────────────── */
.pagination .page-list li a,
.pagination .page-list li.current a {
  border-radius: var(--at-radius-sm) !important;
  border: 1px solid var(--at-border);
  color: var(--at-text);
  font-weight: 500;
  transition: all var(--at-transition-fast);
}

@media (hover: hover) {
  .pagination .page-list li a:hover {
    border-color: var(--at-primary);
    color: var(--at-primary);
    background: rgba(var(--at-primary-rgb), 0.04);
  }
}

.pagination .page-list li.current a {
  background: var(--at-primary);
  color: #fff;
  border-color: var(--at-primary);
  font-weight: 700;
}

/* ── 20. Alerts / Notifications ───────────────────────────── */
.alert {
  border-radius: var(--at-radius-sm);
  border-left: 4px solid;
}

.alert-success {
  border-left-color: var(--at-success);
}

.alert-danger {
  border-left-color: var(--at-danger);
}

.alert-warning {
  border-left-color: #f59e0b;
}

.alert-info {
  border-left-color: var(--at-primary);
}

/* ── 21. Forms ────────────────────────────────────────────── */
.form-control,
textarea,
select.form-control-select {
  border-radius: var(--at-radius-sm);
  border: 1.5px solid #d0d7e2;
  transition: border-color var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

.form-control:focus,
textarea:focus,
select.form-control-select:focus {
  border-color: var(--at-primary);
  box-shadow: 0 0 0 3px rgba(var(--at-primary-rgb), 0.12);
}

label {
  font-weight: 600;
  color: var(--at-text);
  font-size: 0.9rem;
}

/* ── 22. Block Cards ──────────────────────────────────────── */
.card,
.block {
  border-color: var(--at-border);
  border-radius: var(--at-radius);
  box-shadow: var(--at-shadow-sm);
}

/* ── 23. Category Page ────────────────────────────────────── */
#subcategories .subcategory-container {
  border-radius: var(--at-radius) !important;
  border: 1px solid var(--at-border);
  transition: border-color var(--at-transition), box-shadow var(--at-transition);
  background: var(--at-surface);
}

@media (hover: hover) {
  #subcategories .subcategory-container:hover {
    border-color: rgba(var(--at-primary-rgb), 0.25);
    box-shadow: var(--at-shadow);
  }
}

/* ── 24. Sort Orders / Facets ─────────────────────────────── */
.products-sort-order .select-title,
#search_filters .facet .facet-title {
  font-weight: 600;
}

.facet-label a {
  transition: color var(--at-transition-fast);
}

.facet-label a:hover {
  color: var(--at-primary) !important;
}

/* ── 25. Scroll-to-Top Button ─────────────────────────────── */
.back-to-top,
#back-to-top {
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--at-primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(var(--at-primary-rgb), 0.3);
  border: none;
  transition: transform var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

.back-to-top:hover,
#back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(var(--at-primary-rgb), 0.35);
  background: var(--at-primary-dark) !important;
}

/* ── 26. Manufacturers Block ──────────────────────────────── */
.home_man {
  background: var(--at-surface-soft);
  border-radius: var(--at-radius);
  padding: 20px;
  border: 1px solid var(--at-border);
}

.home_man .man_title {
  font-weight: 700;
  color: var(--at-text);
}

.home_man img {
  filter: grayscale(30%);
  transition: filter var(--at-transition-fast), transform var(--at-transition-fast);
}

@media (hover: hover) {
  .home_man img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
  }
}

/* ── 27. Homepage Slider ──────────────────────────────────── */
#homepage-slider {
  border-radius: var(--at-radius-lg) !important;
  box-shadow: var(--at-shadow);
  overflow: hidden;
  margin-bottom: 24px !important;
}

/* ── 28. Homepage Category Shortcuts ──────────────────────── */
#index #slider_row {
  display: flex;
  flex-direction: column;
}

#index #slider_row #home_categories {
  order: 2;
}

#index #slider_row #top_column {
  order: 1;
}

#index #home_categories {
  margin: 0 0 24px;
}

#index #homepage-categories-heading {
  order: 2;
  margin: 0 0 12px;
  color: var(--at-text);
  font-size: 1.1rem;
  font-weight: 700;
}

#index #home_categories + #top_column {
  margin-top: 0;
}

#index #home_categories .homecat_title {
  color: var(--at-text);
  font-size: 1.2rem;
  margin-bottom: 14px;
  text-transform: none;
}

#index #home_categories ul.row {
  gap: 16px;
  margin: 0;
}

#index #home_categories ul li.cat_block {
  flex: 1 1 0;
  width: auto;
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  margin: 0;
  padding: 10px;
  background: var(--at-surface);
  box-shadow: var(--at-shadow-sm);
  transition: border-color var(--at-transition), box-shadow var(--at-transition), transform var(--at-transition);
}

#index #home_categories ul li.cat_block:hover {
  border-color: rgba(var(--at-primary-rgb), 0.35);
  box-shadow: var(--at-shadow);
  transform: translateY(-2px);
}

#index #home_categories ul li .catimg_container {
  float: none;
  width: auto;
  margin: 0 0 10px;
}

#index #home_categories ul li img {
  width: 100%;
  max-width: 92px;
  aspect-ratio: 1;
  object-fit: contain;
}

#index #home_categories .catlinks_container {
  float: none;
  width: auto;
}

#index #home_categories ul li .homecat_name a {
  color: var(--at-text);
  font-size: 0.95rem;
  line-height: 1.3;
  text-transform: none;
}

#index #home_categories ul li .homecat_name span {
  background: var(--at-accent);
  margin-top: 8px;
}

#index #home_categories ul li a.view_more {
  background: var(--at-accent);
  border-color: var(--at-accent);
  border-radius: var(--at-radius-sm);
  padding: 8px 12px;
}

@media (min-width: 768px) {
  #index #home_categories ul li .catimg_container {
    margin-bottom: 6px;
  }

  #index #home_categories ul li .homecat_name {
    margin-bottom: 4px;
  }

  #index #home_categories ul li a.view_more {
    padding: 6px 10px;
  }
}

@media (max-width: 767px) {
  body#index.feat_cat_phones0 #home_categories {
    display: block;
  }

  #index #home_categories ul.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #index #home_categories ul li.cat_block {
    min-width: 0;
    padding: 10px;
  }

  #index #home_categories ul li img {
    max-width: 92px;
  }

  #index .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #index #tab-content {
    padding: 10px;
  }
}

/* ── 29. Shopping Cart: Product Rows & Order Summary ──────── */
#cart .cart-grid {
  margin-top: 18px;
  margin-bottom: 28px;
}

#cart .cart-container,
#cart .cart-summary {
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 24, 40, .055);
}

#cart .cart-grid-body .cart-container > .card-block {
  padding: 18px 20px 15px;
}

#cart .cart-grid-body .card-block h1 {
  color: #202733;
  color: var(--at-text);
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.3;
  text-transform: none;
}

#cart .cart-container > .separator {
  margin: 0;
  border-color: #e8edf2;
}

#cart .cart-grid-body .cart-overview {
  padding: 8px 20px 13px;
}

#cart ul.cart-items li.cart-item {
  padding: 15px 0;
  border-bottom: 1px solid #e8edf2;
  border-bottom-color: var(--at-border);
}

#cart .product-line-grid {
  display: flex;
  align-items: center;
  width: 100%;
}

#cart .product-line-grid-left img {
  display: block;
  width: 100%;
  max-width: 125px;
  height: auto;
  border: 1px solid #e8edf2;
  border-radius: 9px;
  background: #fff;
}

#cart .product-line-grid-body > .product-line-info > .label_name {
  margin-top: 0;
  color: #202733;
  color: var(--at-text);
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.35;
  text-transform: none;
}

#cart .cart-grid .product-line-info.product-price.h5 {
  margin: 9px 0 0;
}

#cart .cart-grid .current-price span {
  color: #d51d27;
  color: var(--at-accent);
  font-size: .92rem;
  font-weight: 750;
}

#cart .product-line-grid-right .bootstrap-touchspin {
  width: 92px !important;
  max-width: 92px;
}

#cart .product-line-grid-right > .row,
#cart .product-line-grid-right > .row > .col-md-10 > .row {
  display: flex;
  align-items: center;
  margin: 0;
}

#cart .product-line-grid-right > .row > .hidden-md-up {
  display: none !important;
}

#cart .product-line-grid-right > .row > .col-md-10 {
  flex: 1 1 auto;
  width: calc(100% - 46px);
  padding: 0;
}

#cart .product-line-grid-right > .row > .col-md-2 {
  flex: 0 0 46px;
  width: 46px;
  padding: 0;
}

#cart .product-line-grid-right .qty {
  flex: 0 0 104px;
  width: 104px;
  padding: 0;
}

#cart .product-line-grid-right .price {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0 10px;
  text-align: right;
}

#cart .product-line-grid-right .js-cart-line-product-quantity {
  width: 92px !important;
  max-width: 92px;
  height: 42px;
  border: 1px solid #d5dce4;
  border-radius: 7px 0 0 7px;
  font-weight: 700;
  text-align: center;
}

#cart .product-line-grid-right .cart-line-product-actions,
#cart .product-line-grid-right .product-price {
  line-height: 42px;
}

#cart .product-line-grid-right .product-price strong {
  color: #202733;
  color: var(--at-text);
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
}

#cart .product-line-grid-right .cart-line-product-actions .remove-from-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 2px 0 0;
  border-radius: 7px;
  color: #667085;
  background: #f2f4f7;
}

#cart .product-line-grid-right .cart-line-product-actions .remove-from-cart:hover {
  color: #c11921;
  background: #fff0f1;
}

#cart .cart-grid-body > a.label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 13px;
  padding: 8px 13px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-size: .82rem;
  font-weight: 700;
}

#cart .cart-grid-body > a.label i {
  margin-right: 3px;
  font-size: 19px;
}

#cart .cart-summary .cart-detailed-totals > .card-block {
  padding: 17px 18px;
}

#cart .cart-summary-line {
  min-height: 38px;
  padding: 4px 0;
  color: #475467;
  font-size: .86rem;
  line-height: 30px;
}

#cart .cart-summary-line .label {
  color: #475467;
  font-weight: 600;
}

#cart .cart-summary-line .value {
  color: #202733;
  color: var(--at-text);
  font-weight: 750;
}

#cart .cart-summary-line.cart-total {
  min-height: 49px;
  margin-top: 4px;
  padding-top: 11px;
  border-top: 1px solid #e8edf2;
  font-size: 1rem;
}

#cart .cart-summary-line.cart-total .label,
#cart .cart-summary-line.cart-total .value {
  color: #202733;
  color: var(--at-text);
  font-weight: 800;
}

#cart .cart-summary-line.cart-total .value {
  color: #d51d27;
  color: var(--at-accent);
}

#cart .cart-summary .separator {
  margin: 0;
  border-color: #e8edf2;
}

#cart .checkout.cart-detailed-actions.card-block {
  padding: 4px 18px 18px;
}

#cart .checkout.cart-detailed-actions .btn.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #e31d27 !important;
  border-color: var(--at-accent) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #e31d27 !important;
  background: var(--at-accent) !important;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(227, 29, 39, .2);
}

#cart .cart-grid-right #block-reassurance,
#cart .cart-grid-right .blockreassurance_product {
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 24, 40, .04);
}

#cart .cart-grid-right #block-reassurance li .block-reassurance-item,
#cart .cart-grid-right .blockreassurance_product > div {
  padding: 12px 14px;
  border-bottom-color: #e8edf2;
}

@media (min-width: 992px) {
  #cart .cart-grid-right {
    padding-left: 10px;
  }

  #cart .cart-grid-body {
    padding-right: 10px;
  }

  #cart .cart-summary {
    position: sticky;
    top: 18px;
  }
}

@media (max-width: 991px) {
  #cart .cart-grid-right {
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  #cart .cart-grid {
    margin-top: 10px;
  }

  #cart .cart-grid-body,
  #cart .cart-grid-right {
    padding: 0;
  }

  #cart .cart-grid-body .cart-container > .card-block {
    padding: 15px 14px 13px;
  }

  #cart .cart-grid-body .cart-overview {
    padding: 4px 13px 10px;
  }

  #cart .product-line-grid {
    display: block;
  }

  #cart .product-line-grid-left {
    width: 34%;
    padding: 0 9px 0 0 !important;
  }

  #cart .product-line-grid-body {
    width: 66%;
    margin-bottom: 0;
    padding: 0 0 0 8px;
  }

  #cart .product-line-grid-body > .product-line-info > .label_name {
    font-size: .8rem;
    line-height: 1.3;
  }

  #cart .product-line-grid-right {
    clear: both;
    width: 100%;
    margin-top: 12px;
    padding: 11px 0 0;
    border-top: 1px solid #e8edf2;
  }

  #cart .cart-grid-body > a.label {
    margin-top: 10px;
  }

  #cart .cart-grid-right {
    margin-top: 18px;
  }

  #cart .cart-summary .cart-detailed-totals > .card-block {
    padding: 14px 15px;
  }

  #cart .checkout.cart-detailed-actions.card-block {
    padding: 3px 15px 15px;
  }
}

/* ── 30. BOVSOFT vehicle search results ───────────────────── */
.page-search #content-wrapper,
.page-search #main,
.page-search #products,
.page-search #js-product-list {
  min-width: 0;
  max-width: 100%;
}

body.bovsoft-search-results-page #left-column {
  display: none;
}

body.bovsoft-search-results-page #content-wrapper.left-column {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

body.bovsoft-search-results-page #main #products .page-content.page-not-found {
  width: 100%;
  max-width: none !important;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.bovsoft-search-results-page #content > .search-widget {
  display: none !important;
}

.bovsoft-vehicle-results {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  background: var(--at-surface);
  box-shadow: var(--at-shadow-sm);
}

.bovsoft-results-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--at-primary), var(--at-primary-dark));
}

.bovsoft-results-icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 24px;
}

.bovsoft-results-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.bovsoft-results-copy h4 {
  margin: 0 0 3px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.bovsoft-results-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  line-height: 1.4;
}

.bovsoft-results-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}

.bovsoft-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--at-primary) var(--at-surface-soft);
  scrollbar-width: thin;
}

.bovsoft-table-scroll:focus-visible {
  outline: 3px solid rgba(var(--at-primary-rgb), .28);
  outline-offset: -3px;
}

.bovsoft-vehicle-table.table {
  width: 100%;
  min-width: 1080px;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--at-text);
  font-size: .76rem;
  line-height: 1.38;
}

.bovsoft-vehicle-table thead th {
  padding: 11px 12px;
  border: 0;
  border-bottom: 2px solid var(--at-primary);
  background: #25272a;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bovsoft-vehicle-table tbody td {
  padding: 12px;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid #e9edf0;
  background: #fff;
}

.bovsoft-vehicle-table tbody tr:nth-child(even) td {
  background: var(--at-surface-soft);
}

.bovsoft-vehicle-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (hover: hover) {
  .bovsoft-vehicle-table tbody tr:hover td {
    background: rgba(var(--at-primary-rgb), .07);
  }
}

.bovsoft-engine-cell a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: var(--at-radius-sm);
  background: rgba(var(--at-primary-rgb), .1);
  color: var(--at-primary-dark) !important;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  transition: color var(--at-transition-fast), background var(--at-transition-fast), transform var(--at-transition-fast);
}

.bovsoft-engine-cell a:hover,
.bovsoft-engine-cell a:focus-visible {
  background: var(--at-primary);
  color: #fff !important;
  transform: translateY(-1px);
}

.bovsoft-engine-code {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--at-border);
  border-radius: 4px;
  background: #fff;
  color: #343a40;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .72rem;
  font-weight: 700;
}

.bovsoft-nowrap {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .bovsoft-vehicle-results {
    border-radius: var(--at-radius);
  }

  .bovsoft-results-summary {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
  }

  .bovsoft-results-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .bovsoft-results-copy h4 {
    font-size: .96rem;
  }

  .bovsoft-results-count {
    margin-left: 46px;
  }

  .bovsoft-table-scroll {
    padding: 10px;
    overflow: visible;
  }

  .bovsoft-vehicle-table.table,
  .bovsoft-vehicle-table tbody,
  .bovsoft-vehicle-table tr,
  .bovsoft-vehicle-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .bovsoft-vehicle-table thead,
  .bovsoft-vehicle-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .bovsoft-vehicle-table tbody tr {
    margin: 0 0 10px;
    overflow: hidden;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius);
    background: #fff;
    box-shadow: 0 2px 7px rgba(27, 39, 51, .06);
  }

  .bovsoft-vehicle-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .bovsoft-vehicle-table tbody td,
  .bovsoft-vehicle-table tbody tr:nth-child(even) td {
    display: flex;
    display: grid;
    grid-template-columns: minmax(94px, 34%) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 11px;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    white-space: normal;
  }

  .bovsoft-vehicle-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 34%;
    padding-right: 10px;
    color: var(--at-muted);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  .bovsoft-vehicle-table tbody td:last-child {
    border-bottom: 0;
  }

  .bovsoft-engine-cell a {
    justify-content: space-between;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #index .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── 31. Homepage Trust Strip ─────────────────────────────── */
#index #angarinfo_block {
  margin: 0 0 28px;
  padding: 16px 0;
  background: var(--at-surface-soft);
  border-top: 1px solid var(--at-border);
  border-bottom: 1px solid var(--at-border);
}

#index #angarinfo_block .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#index #angarinfo_block .container > div {
  width: auto;
  padding: 4px 16px;
  border-right: 1px solid var(--at-border);
  text-align: center;
}

#index #angarinfo_block .container > div:last-child {
  border-right: 0;
}

#index #angarinfo_block .icon_cms {
  color: var(--at-accent);
  font-size: 1.35rem;
  margin: 0 0 6px;
}

#index #angarinfo_block h3 {
  margin: 0 0 4px;
  color: var(--at-text);
  font-size: 0.95rem;
}

#index #angarinfo_block .container > div > p:last-child {
  margin: 0;
  color: var(--at-muted);
  font-size: 0.82rem;
}

/* ── 32. Homepage Editorial Description ───────────────────── */
#index #angarinfo_desc {
  margin: 0 auto 32px;
  max-width: 920px;
  padding: 28px 32px;
  background: var(--at-surface);
  border: 1px solid var(--at-border);
  border-top: 3px solid var(--at-primary);
  border-radius: var(--at-radius);
  box-shadow: var(--at-shadow-sm);
}

#index #angarinfo_desc .desc_block {
  color: var(--at-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

#index #angarinfo_desc .desc_block p {
  margin: 0 0 14px;
}

#index #angarinfo_desc .desc_block p:last-child {
  margin-bottom: 0;
}

#index #angarinfo_desc strong {
  color: var(--at-text);
}

/* ── 33. Homepage Parallax Banner ─────────────────────────── */
#index #parallax_baner {
  height: 300px;
  min-height: 0;
  margin: 0 0 32px;
  padding: 24px;
  color: #fff;
  background-color: transparent;
  background-position: center;
  background-size: cover;
  background-blend-mode: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--at-radius);
}

#index #parallax_baner .parallax_desc {
  max-width: 760px;
}

#index #parallax_baner .parallax_desc h1,
#index #parallax_baner .parallax_desc h2,
#index #parallax_baner .parallax_desc h3,
#index #parallax_baner .parallax_desc p {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

#index #parallax_baner .parallax_button {
  padding: 10px 16px;
  border-radius: var(--at-radius-sm);
  color: #1b1a1b;
  background: #fff;
}

.block_newsletter .psgdpr_consent_message,
.block_newsletter .psgdpr_consent_message span:last-child {
  color: #667085;
}

/* ── 34. Cart Preview Modal (Popup) ───────────────────────── */
#blockcart-modal .modal-content {
  border-radius: var(--at-radius-lg);
  border: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
}

#blockcart-modal .modal-header {
  border-radius: var(--at-radius-lg) var(--at-radius-lg) 0 0;
}

#blockcart-modal .btn-secondary {
  border-radius: var(--at-radius-sm);
  background: var(--at-primary);
  border-color: var(--at-primary);
}

#blockcart-modal .btn-secondary:hover {
  background: var(--at-primary-dark);
}

/* ── 35. Contact Page ─────────────────────────────────────── */
#contact .form-group {
  margin-bottom: 16px;
}

#contact textarea.form-control {
  min-height: 160px;
  resize: vertical;
}

/* ── 36. Maintenance Page ─────────────────────────────────── */
#maintenance {
  text-align: center;
}

/* ── 37. Accessible Focus Ring Enhancement ────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(var(--at-primary-rgb), 0.55) !important;
  outline-offset: 3px;
}

/* ── 38. Responsive Refinements ───────────────────────────── */
/* .header-top / logo sizing here is superseded by the #header-prefixed rules
   in the "Clean white header" section below (higher specificity) - only the
   still-effective #content-wrapper rule is kept. */
@media (max-width: 991px) {
  #content-wrapper {
    padding-top: 16px;
  }
}

@media (max-width: 767px) {
  #product .tabs > .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  #product .tabs > .nav-tabs > .nav-item {
    flex: 0 0 auto;
  }

  #product .tabs > .nav-tabs .nav-link {
    min-height: 44px;
    padding: 12px 14px;
    white-space: nowrap;
  }

  .index_title,
  .products-section-title {
    font-size: 1.05rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .products .product-miniature .thumbnail-container {
    border-radius: var(--at-radius-sm);
  }

  .footer-container {
    padding: 28px 0 0;
    margin-top: 32px;
  }

  .block_newsletter {
    padding: 16px;
  }

  #product .product-cover {
    border-radius: var(--at-radius) !important;
  }

  .breadcrumb {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  #index #angarinfo_block .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #index #angarinfo_block .container > div {
    border-right: 0;
    border-bottom: 1px solid var(--at-border);
    padding: 10px 8px;
  }

  #index #angarinfo_block .container > div:last-child {
    border-bottom: 0;
  }

  #index #angarinfo_desc {
    margin-bottom: 24px;
    padding: 20px 16px;
  }

  #index #angarinfo_desc .desc_block {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  #index #parallax_baner {
    height: 220px;
    margin-bottom: 24px;
    padding: 16px;
  }

  #header .row.p-1 > .col-md-6.hidden-md-up .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-sm);
    background: var(--at-surface-soft);
    text-align: left !important;
    cursor: pointer;
  }

  #header .row.p-1 > .col-md-6.hidden-md-up .title b u {
    color: var(--at-text);
    text-decoration: none;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  #search_widget form input[type="text"] {
    font-size: 0.9rem;
    padding: 9px 12px 9px 36px;
  }

  .products .product-miniature .product-title,
  .products .product-miniature .product-title a {
    font-size: 0.85rem;
  }

  .product-price-and-shipping {
    font-size: 0.95rem;
  }
}

#index #content.page-home {
  padding-top: 0;
  background: #fff;
}

#index {
  background: #fff !important;
  background-image: none !important;
}

#index main {
  max-width: 1240px;
  background: #fff;
  box-shadow: none;
}

#index #header .header-top {
  padding: 7px 0;
}

/* homepage-title is sr-only (kept for SEO's sake, off-screen visually), so
   the logo no longer needs to share the row with it or a shrunk max-height -
   it now matches the same size used on every other page. */

#index #slider_row {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 22px;
  background: #fff;
}

#index #top_column {
  order: 1;
  width: 100%;
}

#index #homepage-categories-heading {
  order: 2;
  margin: 0;
  padding-left: 0;
  color: var(--at-text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

#index #home_categories {
  order: 3;
  padding: 0;
  background: transparent;
}

#index #home_categories .homecat_title {
  display: none;
}

#index #home_categories > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

#index #home_categories > ul > .cat_block {
  width: auto;
  padding: 0;
}

#index #home_categories .cat-container {
  height: 100%;
  padding: 12px;
  border: 1px solid #f1f3f5;
  border-radius: var(--at-radius);
  background: #fff;
  box-shadow: 0 2px 10px rgba(27, 39, 51, .05);
  transition: transform var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

#index #home_categories .catimg_container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  border-radius: var(--at-radius-sm);
  background: #f4f7fa;
}

#index #home_categories .catimg_container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#index #top_column #homepage-slider {
  width: 100%;
  overflow: hidden;
  border-radius: var(--at-radius);
  box-shadow: 0 2px 12px rgba(27, 39, 51, .08);
}

#index #top_column #homepage-slider img {
  width: 100%;
  height: auto;
  aspect-ratio: 35 / 13;
  object-fit: contain;
  display: block;
}

#index .page-home > .tabs {
  margin-top: 28px;
}

#index .homepage-products-cta {
  margin: 18px 0 0;
  text-align: center;
}

#index .homepage-products-cta .btn {
  min-width: 210px;
}

@media (min-width: 768px) {
  #index #slider_row {
    padding: 24px 24px 28px;
    border: 1px solid #f0f2f4;
    border-radius: var(--at-radius);
    box-shadow: 0 3px 16px rgba(27, 39, 51, .06);
  }

  #index #homepage-categories-heading {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f4;
  }
}

@media (max-width: 767px) {
  #wrapper > .container > .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  #wrapper > .container > .row > #content-wrapper {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  #wrapper > .container > .row > #left-column,
  #wrapper > .container > .row > #right-column {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  #index #slider_row {
    gap: 14px;
    padding-top: 14px;
  }

  #index #header .row.p-1 > div {
    width: calc(100% - 20px);
    margin: 0 10px 8px;
    padding: 14px !important;
    border-top-width: 3px !important;
    box-shadow: var(--at-shadow-sm) !important;
  }

  #index #header .row.p-1 > div .form-control {
    min-height: 40px;
    font-size: .8rem;
  }

  #index #home_categories > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #index #home_categories .cat-container {
    padding: 8px;
  }

  #index #home_categories .catimg_container {
    height: 100px;
  }

  #index #home_categories .cat_name {
    min-height: 34px;
    margin-top: 7px;
    font-size: .76rem;
  }

  #index #top_column #homepage-slider img {
    /* Pastram acelasi aspect-ratio si object-fit:contain ca pe desktop.
       Cu object-fit:cover si o inaltime fixa (190px), pe ecrane inguste
       imaginea era scalata dupa inaltime si marginile stanga/dreapta
       (unde e text/CTA in bannere) erau decupate din vizualizare. */
    height: auto;
    aspect-ratio: 35 / 13;
    object-fit: contain;
  }

  #index .tab-content .products .product-miniature:nth-child(n + 5) {
    display: none;
  }

  #index .homepage-products-cta {
    margin-top: 14px;
  }
}

/* ── 39. White Canvas Refresh ─────────────────────────────── */
:root {
  --at-border: #e8edf2;
  --at-surface-soft: #f8fafc;
  --at-shadow-sm: 0 1px 2px rgba(16, 24, 40, .035),
                  0 4px 14px rgba(16, 24, 40, .045);
  --at-shadow: 0 10px 28px rgba(16, 24, 40, .075);
}

html,
body,
body.texture13,
body.custom_pattern,
body.custom_texture {
  background-color: #fff !important;
  background-image: none !important;
}

body main {
  width: 100%;
  max-width: none !important;
  margin-right: auto;
  margin-left: auto;
  background: #fff;
  box-shadow: none !important;
}

body #wrapper,
body #content-wrapper,
body #content {
  background-color: #fff;
}

nav.header-nav {
  background: #fff !important;
  border-top: 0;
  border-bottom: 1px solid var(--at-border);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .025);
}

nav.header-nav,
nav.header-nav .user-info,
nav.header-nav a,
nav.header-nav .shop-phone,
nav.header-nav .shop-phone a {
  color: var(--at-text);
}

nav.header-nav a:hover,
nav.header-nav a:focus,
nav.header-nav .user-info a.account {
  color: var(--at-primary);
}

.products .product-miniature .thumbnail-container,
.products .product-miniature .product-image-container,
.products .product-miniature:hover .product-image-container,
#search_filters,
#search_filters_brands,
#search_filters_suppliers,
.page-content.card,
.card.card-block {
  background-color: #fff;
}

.products .product-miniature .thumbnail-container {
  border-color: var(--at-border) !important;
  box-shadow: var(--at-shadow-sm) !important;
}

.breadcrumb {
  background: #fff;
  border-color: var(--at-border);
  box-shadow: none;
}

@media (max-width: 767px) {
  nav.header-nav {
    min-height: 34px;
  }

  body #wrapper {
    padding-top: 10px;
  }
}

/* ── 40. Vehicle Search Cards & Catalog Navigation ────────── */
#_desktop_top_menu {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  border-bottom: 1px solid var(--at-border);
  box-shadow: 0 3px 12px rgba(16, 24, 40, .035);
}

@media (min-width: 768px) {
  #_desktop_top_menu #top-menu > li > a {
    min-height: 44px;
    padding: 12px 13px;
    border-radius: var(--at-radius-sm);
    color: var(--at-text);
    font-size: .75rem;
    font-weight: 650;
    line-height: 20px;
    transition: color var(--at-transition-fast),
                background-color var(--at-transition-fast);
  }

  #_desktop_top_menu #top-menu > li > a:hover,
  #_desktop_top_menu #top-menu > li > a:focus {
    color: var(--at-primary);
    background: var(--at-surface-soft);
  }
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 {
  float: none;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px !important;
  padding: 24px 15px 4px !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0 !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1 {
  flex: 0 0 49%;
  width: 49%;
  min-height: 0 !important;
  padding: 22px !important;
  border: 1px solid #e8edf2 !important;
  border: 1px solid var(--at-border) !important;
  border-top: 4px solid #1b82d6 !important;
  border-top: 4px solid var(--at-primary) !important;
  border-radius: var(--at-radius-lg) !important;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .035),
              0 4px 14px rgba(16, 24, 40, .045) !important;
  box-shadow: var(--at-shadow-sm) !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1:first-child {
  margin-right: 1%;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-sm-down {
  margin-left: 1%;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-sm-down,
#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-md-up {
  border-top-color: #e31d27 !important;
  border-top-color: var(--at-accent) !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .facet-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 0 0 7px;
  color: var(--at-text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left !important;
  letter-spacing: -.01em;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .facet-label::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1b82d6;
  background: var(--at-primary);
  box-shadow: 0 0 0 4px rgba(var(--at-primary-rgb), .1);
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .hidden-sm-down .facet-label::before,
#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .hidden-md-up .facet-label::before {
  background: #e31d27;
  background: var(--at-accent);
  box-shadow: 0 0 0 4px rgba(var(--at-accent-rgb), .1);
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .align-center.mb-1 {
  min-height: 36px;
  margin: 0 0 14px !important;
  color: var(--at-muted);
  font-size: .82rem;
  line-height: 1.5;
  text-align: left !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .align-center.mb-1 a {
  color: var(--at-primary);
  font-weight: 600;
  text-decoration: none;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .align-center.mb-1 a:hover {
  text-decoration: underline;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 select.form-control {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 0 9px !important;
  padding: 0 42px 0 13px !important;
  border: 1px solid #d5dce4 !important;
  border-radius: var(--at-radius-sm) !important;
  color: var(--at-text);
  font-size: .84rem !important;
  background-color: #fff;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 select.form-control:last-child {
  margin-bottom: 0 !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .block_content {
  margin-bottom: 10px !important;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group {
  display: flex;
  width: 100%;
  gap: 9px;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group input[type="text"] {
  flex: 1 1 auto;
  width: auto !important;
  height: 44px !important;
  min-height: 44px;
  padding: 0 13px !important;
  border: 1px solid #d5dce4 !important;
  border-radius: var(--at-radius-sm) !important;
  color: var(--at-text);
  background: #fff;
  font-size: .84rem;
  box-shadow: none;
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group input[type="text"]:focus,
#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 select.form-control:focus {
  border-color: var(--at-primary) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(var(--at-primary-rgb), .12);
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"] {
  display: inline-flex;
  flex: 0 0 112px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 112px !important;
  height: 44px !important;
  padding: 0 15px;
  border: 1px solid #e31d27 !important;
  border: 1px solid var(--at-accent) !important;
  border-radius: var(--at-radius-sm) !important;
  color: #fff !important;
  background: #e31d27 !important;
  background: var(--at-accent) !important;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--at-transition-fast),
              border-color var(--at-transition-fast),
              transform var(--at-transition-fast);
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"]:hover,
#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"]:focus {
  border-color: #c11921 !important;
  background: #c11921 !important;
  transform: translateY(-1px);
}

#header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button .material-icons {
  font-size: 19px;
}

/* Product cards share a consistent footer and action treatment. */
.products .product-miniature .thumbnail-container {
  border-radius: var(--at-radius-lg) !important;
}

.products .product-miniature .button-container .add-to-cart,
.products .product-miniature .button-container .btn {
  border-radius: var(--at-radius-sm) !important;
  font-weight: 650;
}

@media (max-width: 767px) {
  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 {
    margin-bottom: 12px !important;
    padding: 14px 12px 0 !important;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 {
    display: block;
    flex-wrap: wrap;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1 {
    width: 100%;
    margin: 0 0 12px;
    padding: 17px !important;
    border-radius: var(--at-radius) !important;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1:first-child,
  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-sm-down {
    margin-right: 0;
    margin-left: 0;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .align-center.mb-1 {
    min-height: 0;
    margin-bottom: 12px !important;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .title {
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #e8edf2;
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius-sm);
    background: #f8fafc;
    background: var(--at-surface-soft);
    text-align: left !important;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 #panel_with_search_fields {
    margin: 12px 0 0;
    padding: 0;
  }

  #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"] {
    flex-basis: 48px;
    width: 48px !important;
    padding: 0;
  }
}

/* ── 41. Catalog Polish: Categories, Toolbar & Consent ────── */
#subcategories {
  margin: 22px 0 18px;
  padding: 0;
  border-top: 0;
}

#subcategories p.subcategory-heading {
  margin: 0 0 13px;
  color: var(--at-text);
  font-size: .9rem;
  font-weight: 700;
}

#subcategories ul {
  display: block;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

#subcategories ul li,
#subcategories ul li:nth-child(n) {
  float: left;
  clear: none;
  width: 18%;
  margin: 1%;
  padding: 0;
}

#subcategories .subcategory-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e8edf2;
  border: 1px solid var(--at-border);
  border-radius: 10px !important;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .035),
              0 4px 12px rgba(16, 24, 40, .04);
}

#subcategories .subcategory-image {
  padding: 10px !important;
  border-bottom: 1px solid #edf1f4;
  background: #f8fafc;
}

#subcategories .subcategory-image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 118px;
}

#subcategories .subcategory-image img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
}

#subcategories .subcategory-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  color: #1b82d6;
  color: var(--at-primary);
  background: #eaf4fc;
}

#subcategories .subcategory-placeholder .material-icons {
  font-size: 34px;
}

#subcategories .subcategory-desc {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 11px 9px 13px;
}

#subcategories ul li h5 {
  margin: 0;
}

#subcategories ul li h5 .subcategory-name {
  color: var(--at-text);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

@media (hover: hover) {
  #subcategories .subcategory-container:hover {
    border-color: #b9d7ee;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
    transform: translateY(-2px);
  }

  #subcategories .subcategory-container:hover .subcategory-name {
    color: #1268ad;
    color: var(--at-primary-dark);
  }
}

/* Compact sidebar cards make navigation and brands easier to scan. */
#left-column > .block,
#right-column > .block {
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid #e8edf2;
  border: 1px solid var(--at-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03),
              0 4px 12px rgba(16, 24, 40, .035);
}

#left-column > .block > .facet-label,
#left-column > .block > section > .facet-label,
#right-column > .block > .facet-label {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e8edf2;
  border-bottom-color: var(--at-border);
  font-size: .86rem;
  font-weight: 750;
}

#left-column .block_content li > a,
#right-column .block_content li > a {
  display: block;
  padding: 8px 7px;
  border-radius: 6px;
  line-height: 1.35;
}

#left-column .block_content li > a:hover,
#right-column .block_content li > a:hover {
  color: #1268ad;
  color: var(--at-primary-dark);
  background: #f8fafc;
}

/* Product count, sorting and display switcher become one toolbar. */
#js-product-list-top.products-selection {
  min-height: 64px;
  margin: 20px 0 18px;
  padding: 10px 13px;
  border: 1px solid #e8edf2;
  border: 1px solid var(--at-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .025);
}

#js-product-list-top .total-products {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--at-muted);
  font-weight: 600;
}

#js-product-list-top .products-sort-order .select-title {
  min-height: 42px;
  padding: 10px 38px 10px 12px;
  border: 1px solid #d5dce4;
  border-radius: 7px;
  background: #fff;
}

#products .products .product-miniature .product-title {
  height: 58px;
  min-height: 58px;
  line-height: 19px;
}

#products .products .product-miniature .product-title a {
  line-height: 19px;
  text-transform: none;
}

/* A smaller consent card no longer masks filters, products or vehicle search. */
#cookie-banner:not(.position_popup) {
  right: auto !important;
  bottom: 16px !important;
  left: 16px !important;
  width: calc(100vw - 32px) !important;
  max-width: 370px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #dfe5eb;
  border-radius: 14px !important;
  color: #202733 !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .18) !important;
}

#cookie-banner:not(.position_popup) .cookie-container {
  padding: 16px 17px 15px;
}

#cookie-banner:not(.position_popup) *,
#cookie-banner:not(.position_popup) .cookie-text p,
#cookie-banner:not(.position_popup) .cookie-text a {
  color: #202733 !important;
}

#cookie-banner:not(.position_popup) header {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

#cookie-banner:not(.position_popup) header svg {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  vertical-align: middle;
}

#cookie-banner:not(.position_popup) svg g {
  fill: #1b82d6 !important;
}

#cookie-banner:not(.position_popup) .cookie-text p {
  margin: 0 0 6px;
  font-size: .78rem;
  line-height: 1.45;
}

#cookie-banner:not(.position_popup) .cookie-buttons {
  display: flex;
  gap: 9px;
  margin: 12px 0 0;
}

#cookie-banner:not(.position_popup) .cookie-buttons .button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d6dde5 !important;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

#cookie-banner:not(.position_popup) #cookie-exit {
  color: #344054 !important;
  background: #fff !important;
}

#cookie-banner:not(.position_popup) #cookie-accept {
  border-color: #e31d27 !important;
  color: #fff !important;
  background: #e31d27 !important;
}

#cookie-banner:not(.position_popup) #cookie-accept:hover {
  border-color: #c11921 !important;
  background: #c11921 !important;
}

@media (max-width: 991px) {
  #subcategories ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #subcategories ul li,
  #subcategories ul li:nth-child(n) {
    width: 31.333%;
  }
}

@media (max-width: 767px) {
  #subcategories ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
  }

  #subcategories ul li,
  #subcategories ul li:nth-child(n) {
    width: 48%;
    margin: 1%;
  }

  #subcategories .subcategory-image > a {
    height: 105px;
  }

  #subcategories .subcategory-desc {
    min-height: 66px;
    padding: 9px 7px 11px;
  }

  #js-product-list-top.products-selection {
    min-height: 0;
    padding: 10px;
  }

  #cookie-banner:not(.position_popup) {
    right: 12px !important;
    bottom: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
  }

  #cookie-banner:not(.position_popup) .cookie-container {
    padding: 14px;
  }
}

/* Grid-capable browsers use the exact gap without legacy column margins. */
@supports (display: grid) {
  #subcategories ul {
    margin: 0;
  }

  #subcategories ul li,
  #subcategories ul li:nth-child(n) {
    width: auto;
    margin: 0;
  }
}

/* ── 42. Product Page: Gallery, Purchase Card & Details ───── */
#product .product_container {
  margin-top: 18px;
  margin-bottom: 24px !important;
}

#product .product_left .product-cover {
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px !important;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 24, 40, .06);
}

#product .product_left .product-cover picture,
#product .product_left .product-cover picture img {
  display: block;
  width: 100%;
}

#product .product_left .product-cover img {
  background: #fff;
}

#product .product_left .product-flags .product-flag {
  top: 12px;
  left: 12px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .14);
}

#product .product_right {
  padding: 23px 24px 21px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 24, 40, .055);
}

#product .product_right .product_name {
  margin: 0 0 17px;
  padding: 0 0 17px;
  border-bottom: 1px solid #e8edf2;
  border-bottom-color: var(--at-border);
  color: #151a22;
  color: var(--at-text);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.015em;
}

#product .product-discounts.product-reference,
#product #product_manufacturer {
  float: left;
  width: 50%;
  min-height: 58px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid #e8edf2;
  border-color: var(--at-border);
  background: #f8fafc;
}

#product .product-discounts.product-reference {
  border-radius: 8px 0 0 8px;
}

#product #product_manufacturer {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

#product .product-discounts.product-reference .label,
#product #product_manufacturer .label {
  display: block;
  margin: 0 0 3px;
  color: #667085;
  color: var(--at-muted);
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .035em;
}

#product .product-discounts.product-reference > span,
#product #product_manufacturer a {
  color: #202733;
  color: var(--at-text);
  font-size: .82rem;
  font-weight: 650;
}

#product .product-information {
  clear: both;
}

#product .product-prices {
  clear: both;
  margin: 0 0 13px;
  padding: 15px 16px 13px;
  border: 1px solid #f2d8da;
  border-radius: 10px;
  background: #fff8f8;
}

#product .product-prices .product-price {
  margin-right: 3px;
}

#product .product-prices .current-price span.price,
#product .current-price .price {
  color: #d51d27 !important;
  color: var(--at-accent) !important;
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  font-weight: 800;
}

#product .product-prices .tax-shipping-delivery-label {
  color: #475467;
  line-height: 34px;
}

#product .product-prices .delivery-information {
  display: block;
  clear: both;
  margin-top: 8px;
  color: #475467;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
}

#product .product-add-to-cart {
  margin-top: 0;
  padding: 14px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 10px;
  background: #f8fafc;
  background: var(--at-surface-soft);
}

#product .product-add-to-cart .product-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#product .product-add-to-cart .product-quantity > .control-label {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

#product .product-add-to-cart .product-quantity .qty {
  flex: 0 0 104px;
  width: 104px;
  margin: 0;
}

#product .product-add-to-cart .bootstrap-touchspin {
  width: 104px;
}

#product .product-add-to-cart .product-quantity .add {
  flex: 1 1 175px;
  margin: 0;
}

#product .product-add-to-cart button.btn.add-to-cart,
#product .product-add-to-cart button.btn.add-to-cart:disabled {
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 11px 16px 11px 43px;
  border: 1px solid #e31d27;
  border-color: var(--at-accent);
  border-radius: 8px !important;
  color: #fff;
  background: #e31d27;
  background: var(--at-accent);
  font-size: .92rem;
  font-weight: 750;
  line-height: 20px;
  box-shadow: 0 5px 14px rgba(227, 29, 39, .19);
}

#product .product-add-to-cart button.btn.add-to-cart i {
  top: 12px;
}

#product #product-availability {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 11px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: #146c43;
  background: #eaf7ef;
  font-size: .78rem;
  font-weight: 750;
}

#product .product-additional-info {
  margin-top: 10px;
}

#product .product-additional-info a.whatsapp_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 4px 12px rgba(37, 211, 102, .16);
}

#product .product-additional-info a.whatsapp_button i {
  margin-right: 8px;
  font-size: 20px;
}

#product .blockreassurance_product,
#product #block-reassurance {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 9px;
  background: #fff;
}

#product .tabs {
  clear: both;
  margin: 26px 0 24px;
  padding: 19px 21px 22px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(16, 24, 40, .045);
}

#product .tabs ul.nav-tabs {
  margin-bottom: 18px;
  border-bottom-color: #e3e8ee;
}

#product .tabs ul.nav-tabs li.nav-item a {
  min-height: 38px;
  padding: 4px 2px 8px;
  color: #667085;
  font-size: .88rem;
  line-height: 24px;
  text-transform: none;
}

#product .tabs ul.nav-tabs li.nav-item a.active,
#product .tabs ul.nav-tabs li.nav-item a:hover {
  border-color: #e31d27;
  color: #202733;
}

#product #tab-content,
#product #tab-content .product-description {
  color: #344054;
  font-size: .88rem;
  line-height: 1.65;
}

#product #tab-content .index_title {
  margin-bottom: 14px;
  font-size: .96rem;
}

@media (max-width: 767px) {
  #product .product_container {
    margin: 10px 0 18px;
  }

  #product .product_left,
  #product .product_right {
    width: 100%;
  }

  #product .product_left {
    padding: 0;
  }

  #product .product_left .product-cover {
    margin-bottom: 12px;
    border-radius: 10px !important;
  }

  #product .product_right {
    padding: 17px 15px 16px;
    border-radius: 10px;
  }

  #product .product_right .product_name {
    margin-bottom: 14px;
    padding-bottom: 14px;
    font-size: 1.42rem;
    line-height: 1.25;
  }

  #product .product-discounts.product-reference,
  #product #product_manufacturer {
    min-height: 56px;
    padding: 9px 10px;
  }

  #product .product-discounts.product-reference > span,
  #product #product_manufacturer a {
    font-size: .76rem;
  }

  #product .product-prices {
    padding: 13px 14px 12px;
  }

  #product .product-add-to-cart .product-quantity > .control-label {
    flex: 0 0 100%;
  }

  #product .product-add-to-cart .product-quantity .add {
    min-width: 0;
  }

  #product .tabs {
    margin-top: 18px;
    padding: 14px 13px 17px;
    border-radius: 10px;
  }
}

/* ── 43. Customer Account: Login, Register & Recovery ─────── */
#authentication #main,
#password #main {
  width: 100%;
  max-width: 680px;
  margin: 20px auto 34px;
}

#registration #main {
  width: 100%;
  max-width: 760px;
  margin: 20px auto 34px;
}

#authentication #main .page-header,
#registration #main .page-header,
#password #main .page-header,
.page-customer-account #main .page-header {
  margin: 0 0 13px;
}

#authentication #main .page-header h1,
#registration #main .page-header h1,
#password #main .page-header h1,
.page-customer-account #main .page-header h1 {
  margin: 0;
  padding: 2px 0 2px 12px;
  border-left: 3px solid #e31d27;
  color: #202733;
  color: var(--at-text);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

#authentication #content.page-content,
#registration #content.page-content,
#password #content.page-content {
  padding: 24px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(16, 24, 40, .06);
}

#authentication form#login-form,
#registration section.register-form,
#password .forgotten-password {
  width: 100%;
  max-width: none;
  margin: 0;
}

#authentication #login-form .form-group.row,
#registration #customer-form .form-group.row,
#identity #customer-form .form-group.row,
#password .forgotten-password .form-group {
  display: block;
  width: 100%;
  margin: 0 0 15px;
}

#authentication #login-form .form-control-label,
#registration #customer-form .form-control-label,
#identity #customer-form .form-control-label,
#password .forgotten-password .form-control-label {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  margin: 0 0 7px;
  padding: 0;
  color: #344054;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

#authentication #login-form .form-group.row > .col-md-6,
#registration #customer-form .form-group.row > .js-input-column,
#identity #customer-form .form-group.row > .js-input-column,
#password .forgotten-password .form-group > .email {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  padding: 0;
}

#authentication #login-form .form-control,
#registration #customer-form .form-control,
#identity #customer-form .form-control,
#password .forgotten-password .form-control,
#registration #customer-form .form-control-select,
#identity #customer-form .form-control-select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d5dce4;
  border-radius: 8px;
  color: #202733;
  background: #fff;
  font-size: .86rem;
  box-shadow: none;
}

#authentication #login-form .form-control:focus,
#registration #customer-form .form-control:focus,
#identity #customer-form .form-control:focus,
#password .forgotten-password .form-control:focus {
  border-color: #1b82d6;
  box-shadow: 0 0 0 3px rgba(27, 130, 214, .12);
  outline: 0;
}

#authentication #login-form .input-group,
#registration #customer-form .input-group,
#identity #customer-form .input-group {
  display: flex;
  width: 100%;
}

#authentication #login-form .input-group .form-control,
#registration #customer-form .input-group .form-control,
#identity #customer-form .input-group .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 8px 0 0 8px;
}

#authentication #login-form [data-action="show-password"],
#registration #customer-form [data-action="show-password"],
#identity #customer-form [data-action="show-password"] {
  min-width: 92px;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid #d5dce4;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  color: #344054;
  background: #f2f4f7;
  font-size: .69rem;
  font-weight: 750;
}

#authentication #login-form .forgot-password {
  margin: 2px 0 15px;
  text-align: right;
}

#authentication #login-form .forgot-password a {
  color: #475467;
  font-size: .78rem;
  font-weight: 650;
  text-decoration: underline;
}

#authentication #login-form .form-footer,
#registration #customer-form .form-footer,
#identity #customer-form .form-footer {
  margin-top: 17px;
  padding: 0;
}

#authentication #submit-login,
#registration #customer-form .form-control-submit,
#identity #customer-form .form-control-submit,
#password .forgotten-password .form-control-submit {
  display: flex;
  float: none !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #e31d27 !important;
  border-color: var(--at-accent) !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #e31d27 !important;
  background: var(--at-accent) !important;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(227, 29, 39, .19);
}

#authentication #content > hr {
  margin: 19px 0;
  border-color: #e8edf2;
}

#authentication #content .no-account {
  padding: 14px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #f8fafc;
  font-size: .82rem;
  font-weight: 650;
  text-align: center;
}

#authentication #content .no-account a,
#registration .register-form > p a {
  color: #1268ad;
  font-weight: 750;
  text-decoration: underline;
}

#registration .register-form > p {
  margin: 0 0 19px;
  padding: 11px 13px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  color: #475467;
  background: #f8fafc;
  font-size: .8rem;
  text-align: center;
}

#registration #customer-form .form-control-comment,
#identity #customer-form .form-control-comment {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  padding: 5px 0 0;
  color: #98a2b3;
  font-size: .7rem;
  line-height: 1.4;
}

#registration #customer-form .form-control-valign,
#identity #customer-form .form-control-valign {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  padding: 4px 0 0;
}

#registration #customer-form .radio-inline,
#identity #customer-form .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #344054;
  font-size: .8rem;
  font-weight: 700;
}

#authentication .custom-checkbox,
#registration .custom-checkbox,
#identity .custom-checkbox {
  display: block;
  margin: 0 0 12px;
}

#registration .custom-checkbox label,
#identity .custom-checkbox label {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  color: #344054;
  font-size: .78rem;
  line-height: 1.45;
}

#registration .custom-checkbox > label > span:first-of-type,
#identity .custom-checkbox > label > span:first-of-type {
  flex: 0 0 18px;
  margin: 2px 9px 0 0;
}

#registration .custom-checkbox span.checkbox-content,
#identity .custom-checkbox span.checkbox-content {
  float: none;
  width: auto;
  margin: 0;
}

#registration .custom-checkbox span.checkbox-content em,
#identity .custom-checkbox span.checkbox-content em {
  display: block;
  padding-top: 4px;
  color: #667085;
  font-size: .74rem;
  line-height: 1.45;
}

#registration .field-password-policy .password-strength-feedback,
#identity .field-password-policy .password-strength-feedback {
  margin-top: 7px;
  font-size: .72rem;
}

#password .forgotten-password header {
  margin-bottom: 17px;
  padding: 13px 14px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  color: #475467;
  background: #f8fafc;
}

#password .forgotten-password .send-renew-password-link {
  margin: 0;
  font-size: .82rem;
  line-height: 1.55;
}

#password .forgotten-password .center-email-fields {
  margin-top: 0;
}

#password #main .page-footer .account-link,
.page-customer-account #main .page-footer .account-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  color: #344054;
  background: #fff;
  font-size: .78rem;
  font-weight: 700;
}

/* Authenticated customer area uses the same compact card language. */
.page-customer-account #content {
  padding: 18px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 24, 40, .05);
}

.page-my-account #content .links {
  display: flex;
  flex-wrap: wrap;
}

.page-my-account #content .links > a {
  padding: 7px;
}

.page-my-account #content .links a span.link-item {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid #e3e8ee;
  border-radius: 9px;
  background: #f8fafc;
  box-shadow: none;
  font-weight: 700;
}

.page-my-account #content .links a span.link-item i {
  margin-right: 11px;
  color: #1b82d6;
  font-size: 30px;
}

.page-addresses .address {
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 24, 40, .04);
}

.page-addresses .addresses-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #e31d27;
  border-radius: 8px;
  color: #fff;
  background: #e31d27;
  font-weight: 750;
}

@media (max-width: 767px) {
  #authentication #main,
  #registration #main,
  #password #main {
    margin-top: 10px;
    margin-bottom: 24px;
  }

  #authentication #main .page-header h1,
  #registration #main .page-header h1,
  #password #main .page-header h1,
  .page-customer-account #main .page-header h1 {
    font-size: 1.08rem;
  }

  #authentication #content.page-content,
  #registration #content.page-content,
  #password #content.page-content,
  .page-customer-account #content {
    padding: 16px 14px;
    border-radius: 10px;
  }

  #authentication #login-form [data-action="show-password"],
  #registration #customer-form [data-action="show-password"],
  #identity #customer-form [data-action="show-password"] {
    min-width: 82px;
  }

  .page-my-account #content .links > a {
    width: 100%;
    padding: 5px 0;
  }

  .page-my-account #content .links a span.link-item {
    min-height: 72px;
  }
}

/* ── 44. Contact & Informational Pages ────────────────────── */
#contact #main .page-header,
#cms #main .page-header {
  margin: 0 0 13px;
}

#contact #main .page-header h1,
#cms #main .page-header h1 {
  margin: 0;
  padding: 2px 0 2px 12px;
  border-left: 3px solid #e31d27;
  border-left-color: var(--at-accent);
  color: #202733;
  color: var(--at-text);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

/* Contact: two clean, balanced cards. */
#contact #left-column,
#contact #content-wrapper {
  margin-bottom: 34px;
}

#contact #left-column .contact-rich,
#contact #content.page-content {
  height: 100%;
  padding: 24px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(16, 24, 40, .06);
}

#contact #left-column .contact-rich h4 {
  margin: 0 0 18px;
  color: #202733;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

#contact #left-column .contact-rich .block {
  display: flex;
  align-items: flex-start;
  min-height: 52px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid #edf0f3;
}

#contact #left-column .contact-rich .block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

#contact #left-column .contact-rich hr {
  display: none;
}

#contact #left-column .contact-rich .icon {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 12px 0 0;
  border-radius: 50%;
  color: #e31d27;
  color: var(--at-accent);
  background: #fff1f2;
}

#contact #left-column .contact-rich .icon i {
  margin: 0;
  color: inherit;
  font-size: 20px;
  line-height: 1;
}

#contact #left-column .contact-rich .data {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  color: #475467;
  font-size: .82rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#contact #left-column .contact-rich .data a {
  color: #202733;
  font-weight: 750;
}

#contact #content.page-content {
  margin: 0;
}

#contact .contact-form,
#contact .contact-form form {
  width: 100%;
  margin: 0;
}

#contact .contact-form .form-fields > .form-group:first-child {
  display: none;
}

#contact .contact-form .form-group.row {
  display: block;
  width: 100%;
  margin: 0 0 15px;
}

#contact .contact-form .form-control-label,
#contact .contact-form .form-group.row > [class*="col-md-"] {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#contact .contact-form .form-control-label {
  margin-bottom: 7px;
  color: #344054;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

#contact .contact-form .form-control,
#contact .contact-form select.form-control,
#contact .contact-form textarea.form-control {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d5dce4;
  border-radius: 8px;
  color: #202733;
  background-color: #fff;
  font-size: .86rem;
  box-shadow: none;
}

#contact .contact-form textarea.form-control {
  min-height: 170px;
  line-height: 1.55;
  resize: vertical;
}

#contact .contact-form .form-control:focus {
  border-color: #1b82d6;
  box-shadow: 0 0 0 3px rgba(27, 130, 214, .12);
  outline: 0;
}

#contact .contact-form input[type="file"] {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px dashed #cfd7e1;
  border-radius: 8px;
  color: #667085;
  background: #f8fafc;
  font-size: .76rem;
}

#contact .contact-form .form-control-comment {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 0;
  color: #98a2b3;
  font-size: .7rem;
  text-align: left;
}

#contact .contact-form .form-footer {
  margin-top: 18px;
  padding: 0;
}

#contact .contact-form [name="submitMessage"] {
  display: flex;
  float: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #e31d27;
  border-color: var(--at-accent);
  border-radius: 8px;
  color: #fff;
  background: #e31d27;
  background: var(--at-accent);
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(227, 29, 39, .19);
}

/* CMS: a comfortable reading surface for delivery, terms and guides. */
#cms #main {
  width: 100%;
  max-width: 1040px;
  margin: 20px auto 36px;
}

#cms #content.page-cms {
  width: 100%;
  padding: 30px 34px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  color: #344054;
  background: #fff;
  box-shadow: 0 5px 20px rgba(16, 24, 40, .055);
  font-size: .88rem;
  line-height: 1.68;
}

#cms #content.page-cms > :first-child {
  margin-top: 0;
}

#cms #content.page-cms h1,
#cms #content.page-cms h2,
#cms #content.page-cms h3,
#cms #content.page-cms h4,
#cms #content.page-cms h5,
#cms #content.page-cms h6 {
  max-width: 100%;
  margin: 1.25em 0 .55em;
  color: #202733;
  font-weight: 800;
  line-height: 1.28;
  text-align: left;
  text-transform: none;
  overflow-wrap: anywhere;
}

#cms #content.page-cms h1 {
  font-size: 1.55rem;
}

#cms #content.page-cms h2 {
  font-size: 1.2rem;
}

#cms #content.page-cms h3 {
  font-size: 1.05rem;
}

#cms #content.page-cms p {
  margin: 0 0 .9em;
  color: #475467;
  line-height: 1.68;
  text-align: left !important;
}

#cms #content.page-cms ul,
#cms #content.page-cms ol {
  margin: 0 0 1.05em;
  padding-left: 1.35rem;
}

#cms #content.page-cms li {
  margin-bottom: .28em;
  color: #475467;
  line-height: 1.58;
  text-align: left !important;
}

#cms #content.page-cms strong {
  color: #202733;
  font-weight: 800;
}

#cms #content.page-cms a {
  color: #1268ad;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#cms #content.page-cms img,
#cms #content.page-cms iframe,
#cms #content.page-cms video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

#cms #content.page-cms table {
  width: 100%;
  max-width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
}

#cms #content.page-cms th,
#cms #content.page-cms td {
  padding: 10px;
  border: 1px solid #e3e8ee;
  text-align: left;
}

#cms #content.page-cms blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid #e31d27;
  border-radius: 0 8px 8px 0;
  color: #475467;
  background: #f8fafc;
}

@media (max-width: 767px) {
  #contact #main .page-header h1,
  #cms #main .page-header h1 {
    font-size: 1.08rem;
  }

  #contact #main .page-header {
    margin-right: 15px;
    margin-left: 15px;
  }

  #contact #left-column,
  #contact #content-wrapper {
    float: none;
    width: 100%;
    margin-bottom: 18px;
    padding-right: 0;
    padding-left: 0;
  }

  #contact #left-column .contact-rich,
  #contact #content.page-content {
    padding: 17px 15px;
    border-radius: 10px;
  }

  #contact #left-column .contact-rich h4 {
    font-size: .98rem;
  }

  #contact .contact-form textarea.form-control {
    min-height: 150px;
  }

  #cms #main {
    margin-top: 10px;
    margin-bottom: 24px;
  }

  #cms #content.page-cms {
    padding: 19px 15px;
    border-radius: 10px;
    font-size: .84rem;
    line-height: 1.62;
    overflow: hidden;
  }

  #cms #content.page-cms h1 {
    font-size: 1.28rem;
  }

  #cms #content.page-cms h2 {
    font-size: 1.08rem;
  }

  #cms #content.page-cms h3 {
    font-size: .98rem;
  }

  #cms #content.page-cms p,
  #cms #content.page-cms li {
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  #cms #content.page-cms table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── 45. Search Results, Empty States & 404 ───────────────── */
body.page-search #left-column {
  display: none !important;
}

body.page-search #content-wrapper.left-column {
  float: none;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

body.page-search #js-product-list-header,
#pagenotfound #main .page-header h1 {
  margin: 0 0 15px;
  padding: 2px 0 2px 12px;
  border-left: 3px solid #e31d27;
  border-left-color: var(--at-accent);
  color: #202733;
  color: var(--at-text);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

body.page-search #products {
  width: 100%;
  min-width: 0;
}

body.page-search #products > div:first-child {
  margin-bottom: 12px;
}

body.page-search #products .products-selection {
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(16, 24, 40, .045);
}

#pagenotfound #main {
  width: 100%;
  max-width: 760px;
  margin: 24px auto 42px;
}

#pagenotfound #main .page-header {
  margin: 0;
}

body.page-search #products .page-not-found,
#pagenotfound #content.page-not-found {
  width: 100%;
  max-width: 720px;
  margin: 10px auto 38px !important;
  padding: 38px 34px !important;
  border: 1px solid #e3e8ee !important;
  border-color: var(--at-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 6px 24px rgba(16, 24, 40, .065) !important;
  text-align: center;
}

.page-not-found .not-found-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 17px;
  border-radius: 50%;
  color: #e31d27;
  color: var(--at-accent);
  background: #fff1f2;
}

.page-not-found .not-found-icon i {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.page-not-found .not-found-copy {
  max-width: 560px;
  margin: 0 auto;
}

.page-not-found .not-found-copy h4 {
  margin: 0 0 8px;
  color: #202733;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.page-not-found .not-found-copy p {
  margin: 0 0 20px;
  color: #667085;
  font-size: .86rem;
  line-height: 1.55;
}

#not-found-search-widget {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

#not-found-search-widget form {
  display: block !important;
  width: 100%;
  margin: 0;
}

#not-found-search-widget input[type="search"] {
  position: static !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 13px;
  border: 1px solid #d5dce4;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: #202733;
  background: #fff;
  font-size: .86rem;
  box-shadow: none;
}

#not-found-search-widget input[type="search"]:focus {
  border-color: #1b82d6;
  box-shadow: 0 0 0 3px rgba(27, 130, 214, .12);
  outline: 0;
}

#not-found-search-widget button[type="submit"] {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  float: none !important;
  flex: none !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 0;
  border: 1px solid #e31d27;
  border-color: var(--at-accent);
  border-radius: 0 0 8px 8px;
  color: #fff;
  background: #e31d27;
  background: var(--at-accent);
}

#not-found-search-widget button[type="submit"] i {
  margin: 0;
  color: inherit;
  font-size: 21px;
}

/* displaySearch also injects the header search widget here; keep one field. */
.page-not-found #_desktop_search_widget,
.page-not-found #_mobile_search_widget,
.page-not-found > .search-widget:not(#not-found-search-widget) {
  display: none !important;
}

.page-not-found .not-found-home {
  position: static !important;
  display: flex !important;
  float: none !important;
  clear: both;
  align-items: center;
  justify-content: center;
  width: 240px !important;
  max-width: 100%;
  min-height: 42px;
  margin: 16px auto 0 !important;
  padding: 9px 14px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  color: #344054;
  background: #f8fafc;
  font-size: .78rem;
  font-weight: 750;
  white-space: nowrap;
}

.page-not-found .not-found-home i {
  margin: 0 6px 0 0;
  font-size: 18px;
}

.page-not-found .not-found-home span {
  position: static !important;
  display: inline !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body.page-search #js-product-list-header,
  #pagenotfound #main .page-header h1 {
    margin-bottom: 12px;
    font-size: 1.08rem;
  }

  body.page-search #products .page-not-found,
  #pagenotfound #content.page-not-found {
    margin-top: 6px !important;
    margin-bottom: 24px !important;
    padding: 26px 16px !important;
    border-radius: 10px !important;
  }

  .page-not-found .not-found-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
  }

  .page-not-found .not-found-icon i {
    font-size: 27px;
  }

  .page-not-found .not-found-copy h4 {
    font-size: 1.05rem;
  }

  #not-found-search-widget input[type="search"] {
    font-size: .82rem;
  }

  #pagenotfound #main {
    margin-top: 10px;
    margin-bottom: 24px;
  }
}

/* ── 46. Brands, Suppliers & Sitemap ──────────────────────── */
#manufacturer #left-column,
#supplier #left-column {
  display: none !important;
}

#manufacturer #content-wrapper.left-column,
#supplier #content-wrapper.left-column {
  float: none;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

#manufacturer #main,
#supplier #main,
#sitemap #main {
  width: 100%;
  margin: 20px auto 38px;
}

#manufacturer #main > h1.h2,
#supplier #main > h1.h2,
#sitemap #main .page-header h1 {
  margin: 0 0 16px;
  padding: 2px 0 2px 12px;
  border-left: 3px solid #e31d27;
  border-left-color: var(--at-accent);
  color: #202733;
  color: var(--at-text);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

#manufacturer ul.manufacturer_list,
#supplier ul.manufacturer_list {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: -9px auto;
  padding: 0;
  list-style: none;
}

#supplier ul.manufacturer_list {
  max-width: 380px;
}

#manufacturer ul.manufacturer_list::after,
#supplier ul.manufacturer_list::after,
#sitemap #main .sitemap::after {
  display: table;
  clear: both;
  content: "";
}

#manufacturer ul.manufacturer_list > li.brand,
#supplier ul.manufacturer_list > li.brand {
  display: block;
  float: left !important;
  clear: none !important;
  width: 50% !important;
  max-width: none;
  margin: 0 !important;
  padding: 9px !important;
}

#supplier ul.manufacturer_list > li.brand {
  width: 100% !important;
}

#manufacturer .manufacturer_list .brand-block,
#supplier .manufacturer_list .brand-block {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(16, 24, 40, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#manufacturer .manufacturer_list .brand-block:hover,
#supplier .manufacturer_list .brand-block:hover {
  border-color: #cfd7e1;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .09);
  transform: translateY(-2px);
}

#manufacturer .manufacturer_list .brand-img,
#supplier .manufacturer_list .brand-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 190px;
  margin: 16px 16px 0;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 9px;
  color: #98a2b3;
  background: #f8fafc;
}

#manufacturer .manufacturer_list .brand-img::before,
#supplier .manufacturer_list .brand-img::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 32px);
  color: #667085;
  content: attr(data-brand-name);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transform: translate(-50%, -50%);
}

#manufacturer .manufacturer_list .brand-img.has-brand-image::before {
  display: none;
}

#manufacturer .manufacturer_list .brand-img .man_img_spacer,
#supplier .manufacturer_list .brand-img .man_img_spacer {
  display: none;
}

#manufacturer .manufacturer_list .brand-img picture,
#supplier .manufacturer_list .brand-img picture {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f8fafc;
}

#manufacturer .manufacturer_list .brand-img img,
#supplier .manufacturer_list .brand-img img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 82%;
  height: auto;
  max-height: 145px;
  margin: auto;
  object-fit: contain;
}

#manufacturer .manufacturer_list .brand-infos,
#supplier .manufacturer_list .brand-infos {
  flex: 1 1 auto;
  width: 100%;
  padding: 17px 18px 10px;
  text-align: center;
}

#manufacturer .manufacturer_list .brand-infos h3,
#supplier .manufacturer_list .brand-infos h3 {
  margin: 0 0 5px;
  color: #202733;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

#manufacturer .manufacturer_list .brand-infos h3 a,
#supplier .manufacturer_list .brand-infos h3 a {
  color: inherit;
}

#manufacturer .manufacturer_list .brand-infos > a,
#supplier .manufacturer_list .brand-infos > a {
  color: #667085;
  font-size: .79rem;
  font-weight: 650;
}

#manufacturer .manufacturer_list .brand-products,
#supplier .manufacturer_list .brand-products {
  width: 100%;
  padding: 0 18px 18px;
  text-align: center;
}

#manufacturer .manufacturer_list .brand-products .btn,
#supplier .manufacturer_list .brand-products .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 45px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #e31d27;
  border-color: var(--at-accent);
  border-radius: 8px;
  color: #fff;
  background: #e31d27;
  background: var(--at-accent);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(227, 29, 39, .16);
}

/* Sitemap uses four independent navigation cards. */
#sitemap #main {
  max-width: 1180px;
}

#sitemap #main .page-header {
  margin: 0;
}

#sitemap #main .container-fluid2 {
  width: 100%;
}

#sitemap #main .sitemap {
  display: block;
  margin: -8px;
}

#sitemap #main .sitemap > [class*="col-"] {
  display: block;
  float: left !important;
  width: 25%;
  padding: 8px;
}

#sitemap .sitemap-card {
  flex: 1 1 auto;
  width: 100%;
  padding: 20px;
  border: 1px solid #e3e8ee;
  border-color: var(--at-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 24, 40, .05);
}

#sitemap .sitemap-card h2 {
  height: auto;
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 2px solid #e31d27;
  border-bottom-color: var(--at-accent);
  color: #202733;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

#sitemap .sitemap-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sitemap .sitemap-card ul.nested {
  margin: 2px 0 4px 8px;
  padding-left: 11px;
  border-left: 2px solid #edf0f3;
}

#sitemap .sitemap-card li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #edf0f3;
}

#sitemap .sitemap-card li:last-child {
  border-bottom: 0;
}

#sitemap .sitemap-card a {
  position: relative;
  display: block;
  padding: 8px 5px 8px 14px;
  color: #475467;
  font-size: .79rem;
  font-weight: 650;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

#sitemap .sitemap-card a::before {
  position: absolute;
  top: .83em;
  left: 1px;
  color: #e31d27;
  color: var(--at-accent);
  content: "›";
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

#sitemap .sitemap-card a:hover {
  color: #1268ad;
  background: #f8fafc;
}

@media (max-width: 991px) {
  #sitemap #main .sitemap > [class*="col-"] {
    width: 50%;
  }
}

@media (max-width: 767px) {
  #manufacturer #main,
  #supplier #main,
  #sitemap #main {
    margin-top: 10px;
    margin-bottom: 24px;
  }

  #manufacturer #main > h1.h2,
  #supplier #main > h1.h2,
  #sitemap #main .page-header h1 {
    margin-bottom: 12px;
    font-size: 1.08rem;
  }

  #manufacturer ul.manufacturer_list,
  #supplier ul.manufacturer_list {
    margin: -7px auto;
  }

  #manufacturer ul.manufacturer_list > li.brand,
  #supplier ul.manufacturer_list > li.brand {
    width: 100% !important;
    max-width: 100%;
    padding: 7px !important;
  }

  #manufacturer .manufacturer_list .brand-block,
  #supplier .manufacturer_list .brand-block {
    min-height: 0;
    border-radius: 10px;
  }

  #manufacturer .manufacturer_list .brand-img,
  #supplier .manufacturer_list .brand-img {
    height: 165px;
    margin: 13px 13px 0;
  }

  #sitemap #main .sitemap {
    margin: -6px;
  }

  #sitemap #main .sitemap > [class*="col-"] {
    width: 100%;
    padding: 6px;
  }

  #sitemap .sitemap-card {
    padding: 17px 15px;
    border-radius: 10px;
  }
}

/* ── 47. Checkout country field alignment ─────────────────── */
#checkout #opc-form .form-group.row > .opc-country-field {
  flex: 1 1 54%;
  width: 54%;
  max-width: none;
  padding: 0;
}

#checkout #opc-form .opc-country-field select.form-control-select {
  display: block;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 10px 38px 10px 12px;
  border: 1px solid #d5dce4 !important;
  border-radius: 7px !important;
  color: #202733;
  background-color: #fff !important;
  box-shadow: none;
  line-height: 1.4;
  transition: border-color var(--at-transition-fast), box-shadow var(--at-transition-fast);
}

#checkout #opc-form .opc-country-field select.form-control-select:hover {
  border-color: #b7c2cf !important;
}

#checkout #opc-form .opc-country-field select.form-control-select:focus {
  border-color: #1b82d6 !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(27, 130, 214, .12);
}

@media (max-width: 767px) {
  #checkout #opc-form .form-group.row > .opc-country-field {
    display: block;
    width: 100%;
    max-width: 100%;
  }
}

/* ── 48. White footer with readable dark text ─────────────── */
#footer .footer-container,
#footer .footer-container .h3,
#footer .footer-container .h3 span,
#footer .footer-container .h3 a,
#footer .footer-container h4,
#footer .footer-container .block_title,
#footer .footer-container .links .title,
#footer .footer-container .links .title .h3,
#footer .footer-container .links .title span.h3,
#footer .footer-container p,
#footer .footer-container li,
#footer .footer-container address,
#footer .footer-container .block-contact,
#footer .footer-container .block-contact span,
#footer .footer-container .block_newsletter,
#footer .footer-container .block_newsletter label,
#footer .footer-container .block_newsletter .news_info,
#footer .footer-container .block_newsletter .psgdpr_consent_message,
#footer .footer-container .block_newsletter .psgdpr_consent_message span:last-child,
#footer .footer-container .bottom-footer {
  color: #344054 !important;
}

#footer .footer-container a,
#footer .footer-container li a,
#footer .footer-container .links ul > li a,
#footer .footer-container .block-contact a,
#footer .footer-container .bottom-footer a {
  color: #475467 !important;
}

#footer .footer-container a:hover,
#footer .footer-container li a:hover,
#footer .footer-container .links ul > li a:hover,
#footer .footer-container .block-contact a:hover,
#footer .footer-container .bottom-footer a:hover {
  color: var(--at-primary) !important;
}

#footer .footer-container .btn-newsletter,
#footer .footer-container .btn-newsletter:hover,
#footer .footer-container .btn-newsletter:focus,
#footer .footer-container .block-social a,
#footer .footer-container .block-social a:hover {
  color: #fff !important;
}

@media (max-width: 767px) {
  #footer .footer-container .links ul {
    background: #fff !important;
  }
}

/* ── 49. Clean white header ───────────────────────────────── */
#header nav.header-nav {
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid #e4e7ec;
  background: #fff !important;
  box-shadow: none;
  color: #475467;
  font-size: .73rem;
  line-height: 37px;
}

#header nav.header-nav > .container > .row > .col-md-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header nav.header-nav #contact-link,
#header nav.header-nav #contact-link a,
#header nav.header-nav .user-info,
#header nav.header-nav .user-info span,
#header nav.header-nav .user-info a {
  color: #475467 !important;
}

#header nav.header-nav #contact-link span.shop-phone,
#header nav.header-nav #_desktop_user_info {
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  border-color: #e4e7ec !important;
}

#header nav.header-nav #contact-link span.shop-phone strong a,
#header nav.header-nav #contact-link span.shop-phone i,
#header nav.header-nav .user-info a.account {
  color: #e31d27 !important;
}

#header nav.header-nav a:hover,
#header nav.header-nav a:focus {
  color: #b81720 !important;
}

#header .header-top,
#header .header-top:hover {
  padding: 8px 0;
  border-bottom: 1px solid #e4e7ec;
  background: #fff !important;
}

@media (min-width: 768px) {
  #header .header-top > .container:first-child > .row {
    display: flex;
    align-items: center;
    min-height: 108px;
    margin-right: -15px;
    margin-left: -15px;
  }

  #header .header-top #_desktop_logo {
    order: 1;
    flex: 0 0 22%;
    width: 22%;
    margin: 0;
    padding: 0 15px;
    text-align: left;
  }

  #header .header-top #_desktop_logo > a {
    display: inline-flex;
    align-items: center;
  }

  #header .header-top #_desktop_logo .logo,
  #header .header-top #_desktop_logo .logo:hover {
    width: 190px;
    max-width: 100%;
    height: auto;
    max-height: 100px;
    transform: none;
    filter: none !important;
  }

  #header .header-top #_desktop_search_widget {
    order: 2;
    float: none;
    flex: 1 1 auto;
    width: auto;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 18px;
  }

  #header .header-top #search_widget form input[type="text"] {
    height: 46px;
    padding: 10px 58px 10px 16px;
    border: 1px solid #d0d5dd !important;
    border-radius: 10px !important;
    background: #f8fafc;
    color: #202733;
    box-shadow: none;
    font-size: .84rem;
  }

  #header .header-top #search_widget form input[type="text"]:focus {
    border-color: #e31d27 !important;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(227, 29, 39, .1) !important;
  }

  #header .header-top #search_widget form button[type="submit"] {
    top: 3px;
    right: 3px;
    width: 46px;
    height: 40px;
    border-radius: 8px !important;
    background: #e31d27 !important;
    color: #fff !important;
    line-height: 40px;
  }

  #header .header-top #search_widget form button[type="submit"]:hover,
  #header .header-top #search_widget form button[type="submit"]:focus {
    transform: none;
    background: #c91922 !important;
    box-shadow: 0 4px 12px rgba(227, 29, 39, .2);
  }

  #header .header-top #search_widget form button i.search {
    line-height: 40px;
    font-size: 20px;
  }

  #header .header-top #_desktop_cart {
    order: 3;
    float: none;
    flex: 0 0 25%;
    width: 25%;
    margin: 0;
    padding: 0 15px;
  }

  #header .header-top #_desktop_cart .blockcart .header {
    float: right;
    overflow: visible;
    border: 1px solid #e31d27;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(16, 24, 40, .05);
  }

  #header .header-top #_desktop_cart .blockcart .header a.cart_link {
    min-height: 44px;
    padding: 12px 14px 12px 43px;
    border-radius: 9px;
    background: #fff !important;
    color: #344054 !important;
    line-height: 20px;
  }

  #header .header-top #_desktop_cart .blockcart .header a.cart_link > i {
    top: 11px;
    left: 13px;
    color: #e31d27 !important;
    font-size: 20px;
  }

  #header .header-top #_desktop_cart .cart_title,
  #header .header-top #_desktop_cart .cart_text,
  #header .header-top #_desktop_cart .cart_qty {
    color: #344054;
  }

  #header .header-top #_desktop_cart .cart_total {
    color: #e31d27;
  }

  #header .header-top #_desktop_cart .blockcart .header:hover {
    border-color: #c91922;
    box-shadow: 0 5px 16px rgba(227, 29, 39, .1);
  }

  #header .header-top #subcart {
    top: 54px;
    right: 15px;
  }

  #header #_desktop_top_menu {
    min-height: 48px;
    border-top: 0;
    border-bottom: 1px solid #e4e7ec;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .04);
  }

  #header #_desktop_top_menu #top-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 10px;
  }

  #header #_desktop_top_menu #top-menu > li {
    float: none;
    flex: 0 1 auto;
    white-space: nowrap;
  }

  #header #_desktop_top_menu #top-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 9px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    color: #344054;
    background: transparent;
    font-size: .66rem;
    font-weight: 700;
    line-height: 16px;
    transition: color var(--at-transition-fast), border-color var(--at-transition-fast);
  }

  #header #_desktop_top_menu #top-menu > li > a:hover,
  #header #_desktop_top_menu #top-menu > li > a:focus {
    border-bottom-color: #e31d27;
    color: #e31d27;
    background: transparent;
  }
}

/* ── 50. Homepage conversion pass ────────────────────────── */
#index .home-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -6px 0 2px;
  overflow: hidden;
  border: 1px solid #e8edf2;
  border-radius: var(--at-radius);
  background: #e8edf2;
}

#index .home-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 13px 18px;
  background: #fff;
  color: var(--at-text);
}

#index .home-trust-marker {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--at-success);
  font-size: .82rem;
  font-weight: 800;
}

#index .home-trust-item strong,
#index .home-trust-item small {
  display: block;
}

#index .home-trust-item strong {
  margin-bottom: 2px;
  font-size: .84rem;
  line-height: 1.3;
}

#index .home-trust-item small {
  color: var(--at-muted);
  font-size: .74rem;
  line-height: 1.3;
}

#index .home-products-intro {
  max-width: 1200px;
  margin: 30px auto 8px;
  padding: 0 18px;
  text-align: center;
}

#index .home-products-intro h2 {
  margin: 0 0 5px;
  color: var(--at-text);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

#index .home-products-intro p {
  margin: 0;
  color: var(--at-muted);
  font-size: .9rem;
}

#index #home_categories .cat-container {
  display: flex;
  flex-direction: column;
}

#index #home_categories .catlinks_container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

#index #home_categories ul li .homecat_name {
  min-height: 50px;
}

#index #home_categories ul li a.view_more {
  margin-top: auto;
  font-weight: 700;
}

#index #angarinfo_desc {
  max-width: 860px;
  padding: 0;
  overflow: hidden;
  border-top: 0;
}

#index .home-company-summary {
  padding: 27px 30px 21px;
  background: linear-gradient(135deg, #f8fafc, #fff);
}

#index .home-company-summary h2 {
  margin: 0 0 13px;
  color: var(--at-text);
  font-size: 1.15rem;
  font-weight: 800;
}

#index .home-company-summary ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#index .home-company-summary li {
  position: relative;
  padding-left: 17px;
  color: #475467;
  font-size: .82rem;
  line-height: 1.45;
}

#index .home-company-summary li::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--at-accent);
  content: "";
}

#index .home-company-details {
  border-top: 1px solid var(--at-border);
}

#index .home-company-details summary {
  padding: 15px 30px;
  color: var(--at-primary);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}

#index .home-company-details[open] summary {
  border-bottom: 1px solid var(--at-border);
}

#index .home-company-details .desc_block {
  padding: 20px 30px 6px;
}

#footer .footer-quick-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 8px;
  padding: 18px 20px;
  border: 1px solid #dbe4ed;
  border-radius: var(--at-radius);
  background: #f8fafc;
}

#footer .footer-quick-contact strong,
#footer .footer-quick-contact span {
  display: block;
}

#footer .footer-quick-contact strong {
  margin-bottom: 3px;
  color: var(--at-text);
  font-size: .95rem;
}

#footer .footer-quick-contact span {
  color: var(--at-muted);
  font-size: .8rem;
}

#footer .footer-quick-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#footer .footer-quick-contact__actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #d5dce4;
  border-radius: 7px;
  color: #344054 !important;
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

#footer .footer-quick-contact__actions a:hover {
  border-color: var(--at-primary);
  color: var(--at-primary) !important;
}

#footer .footer-quick-contact__actions .material-icons {
  font-size: 18px;
}

@media (min-width: 768px) {
  #header #_desktop_top_menu #top-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3px;
    padding: 0 10px;
  }

  #header #_desktop_top_menu #top-menu > li {
    float: none;
  }

  #header #_desktop_top_menu #top-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 9px 11px;
    font-size: .69rem;
    letter-spacing: 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  #index .home-trust-bar {
    grid-template-columns: 1fr;
    margin-top: -2px;
  }

  #index .home-trust-item {
    min-height: 0;
    padding: 11px 14px;
  }

  #index .home-products-intro {
    margin-top: 24px;
    padding: 0 14px;
  }

  #index .home-products-intro p {
    font-size: .82rem;
    line-height: 1.45;
  }

  #index #home_categories ul li .homecat_name {
    min-height: 42px;
  }

  #index .home-company-summary {
    padding: 21px 18px 16px;
  }

  #index .home-company-summary ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #index .home-company-details summary,
  #index .home-company-details .desc_block {
    padding-right: 18px;
    padding-left: 18px;
  }

  #header div#rwd_menu .container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  #header div#rwd_menu .rwd_menu_item,
  #header div#rwd_menu .rwd_menu_item:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 50px;
  }

  #header #mobile-phone-link {
    color: var(--at-accent) !important;
  }

  #footer .footer-quick-contact {
    display: block;
    margin: 18px 0 0;
    padding: 17px;
  }

  #footer .footer-quick-contact__actions {
    margin-top: 13px;
  }
}

/* ── 51. Footer information architecture ─────────────────── */
#footer .footer-container {
  padding-top: 38px;
}

#footer .footer-container > .container > .row:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 -8px;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper {
  display: flex;
  flex: 0 0 calc(33.333% - 16px);
  flex-direction: column;
  width: calc(33.333% - 16px);
  min-height: 220px;
  margin: 0 8px 16px;
  padding: 20px 20px 17px;
  border: 1px solid #e7ecf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(16, 24, 40, .035);
}

#footer .footer-container > .container > .row:first-child > .links.wrapper .h3 {
  display: flex;
  align-items: flex-start;
  min-height: 48px;
  margin: 0 0 13px;
  padding: 0 0 11px;
  border-bottom: 2px solid #edf1f5;
  color: var(--at-text) !important;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper .h3 a,
#footer .footer-container > .container > .row:first-child > .links.wrapper .h3 span {
  color: inherit !important;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper ul {
  margin: 0;
  padding: 0;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper ul > li {
  margin: 0 0 8px;
  color: #667085;
  font-size: .8rem;
  line-height: 1.4;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper ul > li:last-child {
  margin-bottom: 0;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper ul > li > a {
  display: -webkit-box;
  overflow: hidden;
  color: #475467 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper ul > li > a:hover {
  padding-left: 0;
  color: var(--at-primary) !important;
}

#footer .footer-container > .container > .row:first-child > .block-contact ul > li {
  padding-left: 0;
}

#footer .footer-container > .container > .row:first-child > .block-contact ul > li strong,
#footer .footer-container > .container > .row:first-child > .block-contact ul > li a {
  color: var(--at-text) !important;
  font-weight: 700;
}

#footer .footer-container > .container > .row:first-child > .wishlist-add-to {
  flex: 0 0 100%;
}

@media (max-width: 991px) and (min-width: 768px) {
  #footer .footer-container > .container > .row:first-child > .links.wrapper {
    flex-basis: calc(50% - 16px);
    width: calc(50% - 16px);
  }
}

@media (max-width: 767px) {
  #footer .footer-container {
    padding-top: 20px;
  }

  #footer .footer-container > .container > .row:first-child {
    display: block;
    margin: 0;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0 0 8px;
    padding: 0;
    border: 1px solid #e7ecf1;
    border-radius: 8px;
    box-shadow: none;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper .title {
    min-height: 52px;
    margin: 0;
    padding: 15px 14px;
    border: 0;
    color: var(--at-text) !important;
    background: #fff;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: none;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper ul.collapse,
  #footer .footer-container > .container > .row:first-child > .links.wrapper ul.collapse.show {
    margin: 0;
    padding: 0 14px 14px;
    border-top: 1px solid #edf1f5;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper ul > li {
    margin: 9px 0 0;
  }
}

/* ── 52. Quiet footer layout ─────────────────────────────── */
#footer .footer-container {
  background: #f8fafc !important;
  box-shadow: none;
}

#footer .footer-container > .container > .row:first-child {
  margin: 0;
  padding: 0 0 26px;
  border-bottom: 1px solid #e1e8ef;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper {
  flex: 0 0 25%;
  width: 25%;
  min-height: 0;
  margin: 0;
  padding: 0 24px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper:nth-of-type(4) {
  padding-right: 0;
}

#footer .footer-container > .container > .row:first-child > .block-contact {
  display: none;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper .h3 {
  min-height: 42px;
  margin-bottom: 11px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--at-accent);
  font-size: .84rem;
}

#footer .footer-container > .container > .row:first-child > .links.wrapper ul > li {
  margin-bottom: 7px;
  font-size: .78rem;
}

#footer .footer-quick-contact {
  margin: 22px 0 0;
  border: 0;
  border-left: 3px solid var(--at-accent);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .035);
}

#footer .footer-container .bottom-footer {
  background: #f8fafc !important;
}

@media (max-width: 991px) and (min-width: 768px) {
  #footer .footer-container > .container > .row:first-child > .links.wrapper {
    flex-basis: 50%;
    width: 50%;
    margin-bottom: 24px;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper:nth-of-type(even) {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  #footer .footer-container > .container > .row:first-child {
    padding-bottom: 12px;
    border-bottom: 0;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper {
    width: 100%;
    margin-bottom: 8px;
    padding: 0;
    border: 1px solid #e7ecf1;
    background: #fff;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper .title {
    border-left: 3px solid var(--at-accent);
  }

  #footer .footer-quick-contact {
    margin-top: 8px;
  }
}

/* ── 53. Footer grid alignment ───────────────────────────── */
#footer .footer-container > .container {
  max-width: 1200px;
}

@media (min-width: 992px) {
  #footer .footer-container > .container > .row:first-child {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 30px;
    align-items: start;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper {
    display: block;
    width: auto;
    padding: 0;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper:nth-of-type(4) {
    padding-right: 0;
  }

  #footer .footer-container > .container > .row:first-child > .wishlist-add-to {
    grid-column: 1 / -1;
  }

  #footer .footer-quick-contact {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto;
    align-items: center;
    column-gap: 26px;
    min-height: 78px;
    padding: 16px 20px;
  }
}

@media (max-width: 991px) {
  #footer .footer-container > .container {
    max-width: 720px;
  }
}

@media (max-width: 767px) {
  #footer .footer-container > .container {
    max-width: none;
  }
}

/* Footer columns share the same visual frame as the main content. */
@media (min-width: 992px) {
  #footer .footer-container > .container > .row:first-child,
  #footer .footer-quick-contact {
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
  }

  #footer .footer-container > .container > .row:first-child {
    padding-top: 4px;
  }
}

/* ── 54. Footer: contact replaces products ───────────────── */
#footer .footer-container > .container > .row:first-child > .links.wrapper:first-child {
  display: none;
}

#footer .footer-container > .container > .row:first-child > .block-contact {
  display: block;
  order: -1;
}

@media (min-width: 992px) {
  #footer .footer-container > .container > .row:first-child > .block-contact {
    grid-column: 1;
  }

  #footer .footer-container > .container > .row:first-child > #block_myaccount_infos {
    grid-column: 4;
  }
}

/* ── 55. Mobile footer accordion ─────────────────────────── */
@media (max-width: 767px) {
  #footer .footer-container > .container > .row:first-child > .links.wrapper .title {
    cursor: pointer;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper ul.collapse:not(.show):not(.in) {
    display: none !important;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper ul.collapse.show,
  #footer .footer-container > .container > .row:first-child > .links.wrapper ul.collapse.in {
    display: block !important;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper .title[aria-expanded="true"] {
    border-bottom: 1px solid #edf1f5;
    background: #f8fafc;
  }
}

/* ── 56. Desktop footer accordion ────────────────────────── */
@media (min-width: 768px) {
  #footer .footer-container > .container > .row:first-child > .links.wrapper.footer-desktop-accordion > ul.collapse {
    display: none !important;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper.footer-desktop-accordion.is-open > ul.collapse {
    display: block !important;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper.footer-desktop-accordion .h3.hidden-sm-down {
    position: relative;
    padding-right: 24px;
    cursor: pointer;
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper.footer-desktop-accordion .h3.hidden-sm-down::after {
    position: absolute;
    top: 2px;
    right: 0;
    color: var(--at-accent);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1;
    content: "+";
  }

  #footer .footer-container > .container > .row:first-child > .links.wrapper.footer-desktop-accordion.is-open .h3.hidden-sm-down::after {
    content: "−";
  }
}

/* ── 57. Header navigation and homepage category polish ──── */
@media (min-width: 992px) {
  #header .header-top #_desktop_logo .logo,
  #header .header-top #_desktop_logo .logo:hover {
    width: 215px;
    max-height: 108px;
  }

  #header #_desktop_top_menu #top-menu {
    display: grid;
    grid-template-columns: 82px repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 1200px;
    padding: 0;
  }

  #header #_desktop_top_menu #top-menu > li {
    display: block;
    float: none;
    min-width: 0;
  }

  #header #_desktop_top_menu #top-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 8px 10px;
    border-right: 1px solid #e8edf2;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  #header #_desktop_top_menu #top-menu > li.home_icon > a {
    gap: 6px;
    color: var(--at-primary);
    font-size: .74rem;
  }

  #header #_desktop_top_menu #top-menu > li.home_icon .sr-only {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }
}

#index #home_categories ul li .homecat_name a {
  display: block;
  color: #202733;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.25;
}

#index #home_categories ul li .homecat_name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  text-align: center;
}

/* ── 44. Homepage Finder: vehicle first, code second ─────── */
/* The selector markup comes from a module, so these rules deliberately use
   its stable ids/classes rather than changing the search workflow itself. */
#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 {
  max-width: 1240px;
  margin-bottom: 26px !important;
  padding-top: 28px !important;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 {
  gap: 16px;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1 {
  flex-basis: calc(50% - 8px);
  width: calc(50% - 8px);
  margin: 0 !important;
  padding: 24px !important;
  border-top-width: 4px !important;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-sm-down,
#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-md-up {
  background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .facet-label {
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -.015em;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .facet-label::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  box-shadow: none;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1:first-child .facet-label::before {
  content: "1";
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-sm-down .facet-label::before,
#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.hidden-md-up .facet-label::before {
  content: "2";
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .align-center.mb-1 {
  min-height: 40px;
  margin-bottom: 16px !important;
  font-size: .84rem;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 select.form-control,
#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group input[type="text"],
#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"] {
  height: 48px !important;
  min-height: 48px !important;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 select.form-control {
  margin-bottom: 10px !important;
  background-color: #fff;
}

#index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"] {
  flex-basis: 118px;
  width: 118px !important;
}

@media (max-width: 767px) {
  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 {
    margin-bottom: 16px !important;
    padding: 16px 12px 0 !important;
  }

  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 > .row.p-1 > .col-md-6.p-1 {
    width: 100%;
    padding: 18px !important;
    border-radius: 12px !important;
  }

  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .align-center.mb-1 {
    min-height: 0;
    margin-bottom: 14px !important;
  }

  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .title[data-target="#panel_with_search_fields"] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 14px !important;
    border: 1px solid #e31d27;
    border-color: var(--at-accent);
    border-radius: 8px;
    color: #fff !important;
    background: #e31d27;
    background: var(--at-accent);
    font-size: .86rem;
    font-weight: 700;
  }

  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .title[data-target="#panel_with_search_fields"] .text-muted,
  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .title[data-target="#panel_with_search_fields"] b u {
    color: #fff !important;
  }

  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 #panel_with_search_fields {
    padding: 14px 0 0;
  }

  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"] {
    flex-basis: 52px;
    width: 52px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #index #header > .col-md-12.col-xs-12.mb-1.text-dark.p-1 .input-group button[type="submit"] {
    transition: none;
  }
}

@media (max-width: 767px) {
  #header nav.header-nav {
    min-height: 34px;
    line-height: 33px;
  }

  #header nav.header-nav > .container > .row > .col-md-12 {
    display: block;
  }

  #header .header-top,
  #header .header-top:hover {
    padding: 6px 0 0;
  }

  #header .header-top #_desktop_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 94px;
    margin: 0;
    padding: 0;
  }

  #header .header-top #_desktop_logo .logo,
  #header .header-top #_desktop_logo .logo:hover {
    width: 175px;
    max-width: 70vw;
    height: auto;
    max-height: 88px;
    transform: none;
    filter: none !important;
  }

  #header div#rwd_menu {
    border-top: 1px solid #e4e7ec;
    border-bottom: 1px solid #e4e7ec;
    background: #fff;
    color: #344054;
    line-height: 44px;
  }

  #header div#rwd_menu .rwd_menu_item,
  #header div#rwd_menu .rwd_menu_item:first-child {
    min-height: 44px;
    border-color: #e4e7ec;
    background: #fff;
    color: #344054;
  }

  #header div#rwd_menu .rwd_menu_item > i,
  #header div#rwd_menu .rwd_menu_item a,
  #header div#rwd_menu .rwd_menu_item a.cart_link > i {
    color: #344054 !important;
  }

  #header div#rwd_menu .rwd_menu_item:hover,
  #header div#rwd_menu .rwd_menu_item:focus,
  #header div#rwd_menu .rwd_menu_item a:hover,
  #header div#rwd_menu .rwd_menu_item a:focus {
    background: #f8fafc;
    color: #e31d27 !important;
  }

  #header div#rwd_menu div#_mobile_cart.rwd_menu_item span.cart-products-count {
    top: 5px;
    color: #fff;
    background: #e31d27;
  }

  #header .rwd_menu_open {
    border-color: #e4e7ec;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(16, 24, 40, .12);
  }

  #header #mobile_top_menu_wrapper2 .top-menu li a {
    border-color: #e4e7ec;
    color: #344054;
  }

  #header #mobile_top_menu_wrapper2 .top-menu li a:hover {
    background: #f8fafc;
    color: #e31d27;
  }
}

/* Header fallback layout for engines without modern flex support. */
#header nav.header-nav .user-info .welcome,
#header nav.header-nav .user-info .or {
  display: none;
}

@media (min-width: 768px) {
  #header .header-top > .container:first-child > .row {
    display: block;
    min-height: 86px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  #header .header-top #_desktop_logo {
    float: left;
    width: 22%;
    padding-top: 0;
    padding-bottom: 0;
  }

  #header .header-top #_desktop_search_widget {
    float: left;
    width: 53%;
    max-width: none;
    margin: 20px 0;
    padding-right: 24px;
    padding-left: 24px;
  }

  #header .header-top #_desktop_cart {
    float: right;
    width: 25%;
    margin: 20px 0;
  }

  #header #_desktop_top_menu #top-menu {
    display: block;
    min-height: 48px;
    padding: 0 6px;
  }

  #header #_desktop_top_menu #top-menu::after {
    display: table;
    clear: both;
    content: "";
  }

  #header #_desktop_top_menu #top-menu > li {
    float: left;
    white-space: nowrap;
  }

  #header #_desktop_top_menu #top-menu > li > a {
    min-height: 48px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: .625rem;
    letter-spacing: -.01em;
  }
}

/* Footer accordion — force expand on desktop */
@media (min-width: 992px) {
  .footer-container .links .collapse,
  .footer-container .links ul[id^="footer_sub_menu_"] {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  .footer-container .links .hidden-md-up {
    display: none !important;
  }
}

/* Footer accordion — fix Contul meu + Contact also */
@media (min-width: 992px) {
  #block_myaccount_infos .collapse,
  #block_myaccount_infos ul[id^="footer_account"],
  .block-contact .collapse,
  .block-contact ul[id^="footer_contact"] {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}
