/* advrider_accesibility_compliance — widget + global effects */

:root {
  --a11y-font-scale: 1;
  --a11y-btn-color: transparent;
  --a11y-btn-icon-color: #222222;
  --a11y-btn-size: 48px;
  --a11y-btn-z: 9990;
  --a11y-panel-z: 10050;
  --a11y-accent: #0066eb;
  --a11y-panel-bg: #222225;
  --a11y-panel-text: #ffffff;
  --a11y-panel-width: 500px;
  --a11y-card-bg: #ffffff;
  --a11y-card-text: #111111;
  --a11y-shell-border: rgba(255, 255, 255, 0.08);
}

/* eMAG parity: scale html font-size (rem); px !important hotspots scaled via calc; widget isolated */
html.a11y-font-scale {
  /* font-size set inline from JS, e.g. 28px */
}

/* Widget — never counter-zoom; stays fixed size (sibling of #main-page-content) */
.advrider-a11y-root {
  font-size: 16px;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.advrider-a11y-pos-right-bottom,
.advrider-a11y-pos-left-bottom {
  transform-origin: bottom center;
}

.advrider-a11y-pos-right-top,
.advrider-a11y-pos-left-top {
  transform-origin: top center;
}

/* warehousechild custom CSS uses px !important — scale inside main only */
html.a11y-font-scale .product-title a,
html.a11y-font-scale .product-miniature .product-title a {
  font-size: calc(13px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale .cbp-hrmenu .price.product-price {
  font-size: calc(14px * var(--a11y-page-scale, 1)) !important;
  line-height: calc(14px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale .cbp-hrmenu .old-price.product-price {
  font-size: calc(13px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-inner .cbp-tabs-names li.innertab-18 a,
html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-inner .cbp-tabs-names li.innertab-17 a {
  font-size: calc(16px * var(--a11y-page-scale, 1)) !important;
  line-height: 1.25 !important;
  padding: calc(10px * var(--a11y-page-scale, 1)) calc(12px * var(--a11y-page-scale, 1)) !important;
  min-height: calc(44px * var(--a11y-page-scale, 1));
  white-space: normal;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

html.a11y-font-scale #iqitmegamenu-horizontal .cbp-hrmenu .cbp-hrsub-tabs-names li a {
  padding: calc(10px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-inner .cbp-tabs-names li.innertab-18 i,
html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-inner .cbp-tabs-names li.innertab-17 i {
  height: calc(25px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-inner .cbp-links li a,
html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-inner a.cbp-category-title {
  line-height: 1.4 !important;
}

/* Header lang/currency — theme uses fixed 50px boxes; language full name overflows at zoom */
html.a11y-font-scale .language-selector.dropdown.js-dropdown,
html.a11y-font-scale .currency-selector.dropdown.js-dropdown,
html.a11y-font-scale .mob-menu-selectors .language-selector.dropdown.js-dropdown,
html.a11y-font-scale .mob-menu-selectors .currency-selector.dropdown.js-dropdown {
  width: calc(50px * var(--a11y-page-scale, 1)) !important;
  min-width: calc(50px * var(--a11y-page-scale, 1)) !important;
  max-width: calc(50px * var(--a11y-page-scale, 1)) !important;
  padding: calc(5px * var(--a11y-page-scale, 1)) !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
}

html.a11y-font-scale .language-selector.dropdown.js-dropdown > a.expand-more,
html.a11y-font-scale .currency-selector.dropdown.js-dropdown > a.expand-more {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: calc(12px * var(--a11y-page-scale, 1)) !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

html.a11y-font-scale #language_selector .expand-more .lang-name,
html.a11y-font-scale #language_selector .expand-more .lang-flag {
  display: none !important;
}

html.a11y-font-scale #language_selector .expand-more::before {
  content: attr(data-iso-code);
  font-size: calc(12px * var(--a11y-page-scale, 1));
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

html.a11y-font-scale #language_selector .expand-more .fa,
html.a11y-font-scale #currency_selector .expand-more .fa {
  font-size: calc(12px * var(--a11y-page-scale, 1)) !important;
  line-height: 1 !important;
}

html.a11y-font-scale #language_selector div.dropdown-menu.show,
html.a11y-font-scale #currency_selector div.dropdown-menu.show {
  width: calc(50px * var(--a11y-page-scale, 1)) !important;
  min-width: calc(50px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale #language_selector div.dropdown-menu.show a.dropdown-item,
html.a11y-font-scale #currency_selector div.dropdown-menu.show a.dropdown-item {
  padding: calc(5px * var(--a11y-page-scale, 1)) !important;
  font-size: calc(12px * var(--a11y-page-scale, 1)) !important;
  line-height: 1.2 !important;
}

html.a11y-font-scale .mob-menu-selectors div {
  font-size: calc(12px * var(--a11y-page-scale, 1)) !important;
}

html.a11y-font-scale .cbp-hrmenu .cbp-hrsub-tabs-names li a {
  line-height: 1.35 !important;
  padding: calc(10px * var(--a11y-page-scale, 1)) calc(12px * var(--a11y-page-scale, 1)) !important;
  min-height: calc(40px * var(--a11y-page-scale, 1));
  white-space: normal;
  display: flex !important;
  align-items: center;
}

/* Mega menu top-level tabs — restore font-size killed by .cbp-horizontal > ul { font-size:0 } */
html.a11y-font-scale #iqitmegamenu-horizontal.cbp-horizontal > ul,
html.a11y-font-scale #cbp-hrmenu.cbp-horizontal > ul {
  font-size: calc(14px * var(--a11y-page-scale, 1));
}

html.a11y-font-scale .cbp-hrmenu.cbp-horizontal > ul > li > a,
html.a11y-font-scale .cbp-hrmenu.cbp-horizontal > ul > li > span.cbp-main-link {
  font-size: calc(14px * var(--a11y-page-scale, 1)) !important;
  line-height: 1.25 !important;
  padding: calc(10px * var(--a11y-page-scale, 1)) calc(12px * var(--a11y-page-scale, 1)) !important;
  min-height: calc(44px * var(--a11y-page-scale, 1));
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  overflow: visible;
  z-index: 2;
}

html.a11y-font-scale .cbp-hrmenu-tab.cbp-hropen > a,
html.a11y-font-scale .cbp-hrmenu-tab.cbp-hropen > span.cbp-main-link,
html.a11y-font-scale .cbp-hrmenu-tab:hover > a,
html.a11y-font-scale .cbp-hrmenu-tab:hover > span.cbp-main-link,
html.a11y-font-scale .cbp-hrmenu-tab:focus-within > a,
html.a11y-font-scale .cbp-hrmenu-tab:focus-within > span.cbp-main-link {
  z-index: 4;
  outline-offset: 2px;
}

/* Mega menu bar — wrap tabs instead of clipping at 200% zoom */
html.a11y-font-scale #iqitmegamenu-wrapper {
  height: auto;
  min-height: 0;
  overflow: visible;
}

html.a11y-font-scale #iqitmegamenu-wrapper .container-iqitmegamenu {
  overflow: visible;
}

html.a11y-font-scale .cbp-hrmenu.cbp-horizontal > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  row-gap: 0.15rem;
}

html.a11y-font-scale .cbp-hrmenu > ul > li {
  float: none !important;
  flex: 0 1 auto;
  max-width: 100%;
}

html.a11y-font-scale .cbp-hrmenu-tab {
  max-width: 100%;
}

/* Header cart badge — keep anchored to icon at zoom */
html.a11y-font-scale #blockcart,
html.a11y-font-scale .ps-shoppingcart {
  position: relative;
  overflow: visible;
}

html.a11y-font-scale .header-cart-btn,
html.a11y-font-scale .cart-toogle,
html.a11y-font-scale #cart-toogle {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  overflow: visible;
  gap: 0.35rem;
}

html.a11y-font-scale .header-cart-btn .lni-cart,
html.a11y-font-scale .cart-toogle .lni-cart,
html.a11y-font-scale .mobile-bag-icon {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

html.a11y-font-scale .header-cart-btn .lni-cart .cart-products-count-btn,
html.a11y-font-scale .cart-toogle .lni-cart .cart-products-count-btn,
html.a11y-font-scale #mobile-cart-products-count.cart-products-count-btn {
  position: absolute !important;
  top: -4px !important;
  right: -6px !important;
  left: auto !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  font-size: 11px !important;
  padding: 0 4px !important;
  z-index: 3;
}

/* Wishlist header — fără contor (doar iconiță inimă) */
#header-user-favourite .cart-products-count-btn,
#header-user-favourite #iqitwishlist-nb,
#mobile-header .col-mobile-btn-favourite .cart-products-count-btn,
#mobile-header .js-iqitwishlist-nb {
  display: none !important;
  visibility: hidden !important;
}

html.a11y-font-scale #header-user-favourite #iqitwishlist a.header-btn > i.lni-heart,
html.a11y-font-scale #mobile-header .col-mobile-btn-favourite .lni-heart {
  position: relative !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 3.125rem;
  overflow: visible;
}

/* ETS one-page checkout — voucher row aligned at zoom */
html.a11y-font-scale .block-onepagecheckout .block-promo .promo-code form {
  align-items: center;
  flex-wrap: nowrap;
  gap: calc(6px * var(--a11y-page-scale, 1));
}

html.a11y-font-scale .block-onepagecheckout .block-promo .ets-opc-promo-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}

html.a11y-font-scale .block-onepagecheckout .block-promo .promo-input {
  height: calc(35px * var(--a11y-page-scale, 1)) !important;
  min-height: calc(35px * var(--a11y-page-scale, 1)) !important;
  font-size: calc(14px * var(--a11y-page-scale, 1)) !important;
  line-height: 1.2 !important;
  padding: 0 calc(10px * var(--a11y-page-scale, 1)) !important;
  box-sizing: border-box;
}

html.a11y-font-scale .block-onepagecheckout .block-promo .promo-code .btn-primary,
html.a11y-font-scale #form_ets_onepagecheckout .promo-code .btn-primary {
  height: calc(35px * var(--a11y-page-scale, 1)) !important;
  min-height: calc(35px * var(--a11y-page-scale, 1)) !important;
  max-height: calc(35px * var(--a11y-page-scale, 1)) !important;
  font-size: calc(12px * var(--a11y-page-scale, 1)) !important;
  line-height: 1.2 !important;
  padding: 0 calc(14px * var(--a11y-page-scale, 1)) !important;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

html.a11y-font-scale .block-onepagecheckout .block-promo .promo-code .btn-primary span {
  font-size: inherit !important;
  line-height: inherit !important;
}

html.a11y-font-scale .block-onepagecheckout .block-promo span.ets_icon_scices.ets_icon_svg svg {
  width: calc(30px * var(--a11y-page-scale, 1));
  height: calc(30px * var(--a11y-page-scale, 1));
  top: 50%;
  transform: translateY(-50%);
}

html.a11y-font-scale .header-cart-btn .info-wrapper {
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
}

/* Mega menu: viewport-capped scroll when font scale (eMAG parity) */
html.a11y-font-scale {
  --a11y-megamenu-max-h: calc(100dvh - var(--a11y-megamenu-offset, 140px));
}

html.a11y-font-scale .cbp-hrmenu .cbp-tab-pane.active {
  height: auto !important;
  min-height: 0;
}

html.a11y-font-scale #iqitmegamenu-horizontal .cbp-hrsub-inner:not(:has(.cbp-tabs-container)) {
  max-height: var(--a11y-megamenu-max-h);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.a11y-font-scale #iqitmegamenu-horizontal .cbp-hrsub-inner:has(.cbp-tabs-container) {
  overflow: visible;
}

html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tabs-links,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tab-content {
  max-height: var(--a11y-megamenu-max-h);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level2,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level3,
html.a11y-font-scale .cbp-hrsub-haslevel3 > .cbp-category-link-w > ul {
  max-height: var(--a11y-megamenu-max-h);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  white-space: normal;
  -webkit-overflow-scrolling: touch;
}

html.a11y-font-scale .cbp-hrsub-inner,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tabs-links,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tab-content,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level2,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level3,
html.a11y-font-scale .cbp-hrsub-haslevel3 > .cbp-category-link-w > ul {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
}

html.a11y-font-scale .cbp-hrsub-inner::-webkit-scrollbar,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tabs-links::-webkit-scrollbar,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tab-content::-webkit-scrollbar,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level2::-webkit-scrollbar,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level3::-webkit-scrollbar,
html.a11y-font-scale .cbp-hrsub-haslevel3 > .cbp-category-link-w > ul::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px !important;
  height: 6px !important;
  background: transparent !important;
}

html.a11y-font-scale .cbp-hrsub-inner::-webkit-scrollbar-thumb,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tabs-links::-webkit-scrollbar-thumb,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tab-content::-webkit-scrollbar-thumb,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level2::-webkit-scrollbar-thumb,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level3::-webkit-scrollbar-thumb,
html.a11y-font-scale .cbp-hrsub-haslevel3 > .cbp-category-link-w > ul::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.16) !important;
  border-radius: 999px;
}

html.a11y-font-scale .cbp-hrsub-inner:hover::-webkit-scrollbar-thumb,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tabs-links:hover::-webkit-scrollbar-thumb,
html.a11y-font-scale #iqitmegamenu-horizontal .cbp-tabs-container .tab-content:hover::-webkit-scrollbar-thumb,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level2:hover::-webkit-scrollbar-thumb,
html.a11y-font-scale .cbp-hrmenu ul.cbp-hrsub-level3:hover::-webkit-scrollbar-thumb,
html.a11y-font-scale .cbp-hrsub-haslevel3 > .cbp-category-link-w > ul:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.28) !important;
}

/* Mega menu: keyboard flyouts mirror hover (additive — hover unchanged) */
html.a11y-font-scale .cbp-hrsub-haslevel2:focus-within > div > ul.cbp-hrsub-level2,
html.a11y-font-scale .cbp-hrsub-haslevel3:focus-within > .cbp-category-link-w > ul,
html.a11y-font-scale .cbp-hrsub-haslevel3:focus-within .cbp-hrsub-level2 {
  visibility: visible;
  opacity: 1;
}

/* Cart / add-to-cart at font scale */
html.a11y-font-scale {
  --a11y-cart-footer-h: 140px;
}

/* Flex column: scroll products, keep totals/buttons visible */
html.a11y-font-scale #blockcart-content.blockcart-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

html.a11y-font-scale #blockcart-content .cart-title,
html.a11y-font-scale #blockcart-content .cart-subtotals,
html.a11y-font-scale #blockcart-content .cart-totals,
html.a11y-font-scale #blockcart-content .cart-buttons,
html.a11y-font-scale #blockcart-content .iqitfreedeliverycount,
html.a11y-font-scale #blockcart-content > :not(.cart-products) {
  flex-shrink: 0;
}

html.a11y-font-scale #blockcart-content .cart-products {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Side cart (default on gifts — slides from right) */
html.a11y-font-scale .ps-shoppingcart.side-cart #blockcart-content {
  height: 100dvh;
  max-height: 100dvh;
  width: min(calc(340px * var(--a11y-page-scale, 1)), calc(100vw - 16px));
  padding-bottom: max(
    calc(120px * var(--a11y-page-scale, 1)),
    var(--a11y-cart-footer-h, 140px)
  );
}

html.a11y-font-scale .ps-shoppingcart.side-cart #blockcart-content .cart-products {
  max-height: none !important;
}

html.a11y-font-scale #mobile-header .ps-shoppingcart.side-cart #blockcart-content {
  padding-bottom: max(
    calc(120px * var(--a11y-page-scale, 1)),
    var(--a11y-cart-footer-h, 140px)
  );
}

/* Floating dropdown cart — replace scale(1,0) hide (breaks flex layout at zoom) */
html.a11y-font-scale .ps-shoppingcart.dropdown #blockcart-content {
  width: min(calc(100vw - 16px), 26rem);
  max-height: calc(100dvh - var(--a11y-cart-offset, 80px));
  transform: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.a11y-font-scale #_desktop_blockcart-content.show #blockcart-content,
html.a11y-font-scale #_mobile_blockcart-content.show #blockcart-content,
html.a11y-font-scale .ps-shoppingcart.dropdown.show #blockcart-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none !important;
  height: auto;
  max-height: calc(100dvh - var(--a11y-cart-offset, 80px));
}

/* Side-cart only: full viewport panel */
html.a11y-font-scale .ps-shoppingcart.side-cart #_desktop_blockcart-content.show #blockcart-content,
html.a11y-font-scale .ps-shoppingcart.side-cart #_mobile_blockcart-content.show #blockcart-content,
html.a11y-font-scale .ps-shoppingcart.side-cart.show #blockcart-content {
  height: calc(100dvh - var(--a11y-cart-offset, 80px));
  max-height: calc(100dvh - var(--a11y-cart-offset, 80px));
}

html.a11y-font-scale #blockcart-content .cart-subtotals .cart-summary-line,
html.a11y-font-scale #blockcart-content .cart-totals .clearfix {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

html.a11y-font-scale #blockcart-content .cart-subtotals .label,
html.a11y-font-scale #blockcart-content .cart-totals .label {
  flex: 1 1 auto;
  min-width: 0;
}

html.a11y-font-scale #blockcart-content .cart-subtotals .value,
html.a11y-font-scale #blockcart-content .cart-totals .value {
  flex: 0 0 auto;
  float: none !important;
  white-space: nowrap;
}

html.a11y-font-scale #blockcart-content .iqitfreedeliverycount,
html.a11y-font-scale #blockcart-content .cart-subtotals {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

html.a11y-font-scale #blockcart-content .cart-totals {
  font-size: 16px !important;
}

html.a11y-font-scale #blockcart-content .cart-buttons {
  position: sticky;
  bottom: 0;
  background: #fff;
  z-index: 2;
  padding-top: 0.35rem;
  box-shadow: 0 -8px 16px rgba(255, 255, 255, 0.95);
}

html.a11y-font-scale #blockcart-content .cart-buttons .btn-lg {
  font-size: 14px !important;
  padding: 10px 14px !important;
  line-height: 1.25 !important;
}

html.a11y-font-scale #blockcart-content .cart-buttons .btn {
  min-height: 44px;
  max-height: none;
  height: auto;
  white-space: normal;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

html.a11y-font-scale #blockcart-content .cart-buttons .btn + .btn {
  margin-top: 0.35rem;
}

html.a11y-font-scale .ps-shoppingcart.dropdown #_desktop_blockcart-content.show #blockcart-content .cart-products,
html.a11y-font-scale .ps-shoppingcart.dropdown #_mobile_blockcart-content.show #blockcart-content .cart-products {
  flex: 0 1 auto;
  max-height: min(380px, calc(100dvh - var(--a11y-cart-offset, 80px) - var(--a11y-cart-footer-h, 200px)));
}

html.a11y-font-scale .ps-shoppingcart.side-cart #_desktop_blockcart-content.show #blockcart-content .cart-products,
html.a11y-font-scale .ps-shoppingcart.side-cart #_mobile_blockcart-content.show #blockcart-content .cart-products {
  flex: 1 1 0;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
}

html.a11y-font-scale #_desktop_blockcart-content.show #blockcart-content .cart-products,
html.a11y-font-scale #_mobile_blockcart-content.show #blockcart-content .cart-products {
  overflow-y: auto !important;
}

/* Product lines — card grid at zoom (thumb | name + qty/price/delete) */
html.a11y-font-scale #blockcart-content .cart-products > li {
  overflow: visible;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

html.a11y-font-scale #blockcart-content .cart-products > li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

html.a11y-font-scale #blockcart-content .cart-products > li > .row.no-gutters {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 0.5rem;
  row-gap: 0.35rem;
  align-items: start;
  margin: 0;
}

html.a11y-font-scale #blockcart-content .cart-products .col-info {
  display: contents;
}

html.a11y-font-scale #blockcart-content .cart-products .col-info > [id^="updated-add-cart-btn"] {
  display: none !important;
}

html.a11y-font-scale #blockcart-content .cart-products .col-info > .pb-1 {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  min-width: 0;
}

html.a11y-font-scale #blockcart-content .cart-products .col-info > .product-attributes {
  grid-column: 1 / -1;
  grid-row: 2;
}

html.a11y-font-scale #blockcart-content .cart-products .col-3 {
  grid-column: 1;
  grid-row: 3;
  flex: none;
  max-width: none;
  width: 100%;
  padding: 0;
  align-self: start;
}

html.a11y-font-scale #blockcart-content .cart-products .col-info > .row.align-items-center.mt-2 {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
}

html.a11y-font-scale #blockcart-content .cart-products .col-3 .product-image,
html.a11y-font-scale #blockcart-content .cart-products .col-3 a {
  display: block;
}

html.a11y-font-scale #blockcart-content .cart-products .col-3 img {
  width: 100%;
  max-width: 3.25rem;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #fafafa;
}

html.a11y-font-scale #blockcart-content .cart-products .col-info > .pb-1 a {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
  word-break: break-word;
}

html.a11y-font-scale #blockcart-content .cart-products .product-attributes {
  font-size: 12px;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

/* Two rows: [− qty +] full width, then price | delete */
html.a11y-font-scale #blockcart-content .cart-products .row.align-items-center.mt-2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center !important;
  width: 100%;
  margin: 0 !important;
  gap: 0.35rem 0.5rem;
  overflow: visible;
}

html.a11y-font-scale #blockcart-content .cart-products .row.align-items-center.mt-2 > .col:first-child {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

html.a11y-font-scale #blockcart-content .cart-products .row.align-items-center.mt-2 > .col:last-child {
  display: contents;
}

html.a11y-font-scale #blockcart-content .cart-products .row.align-items-center.mt-2 .cart-line-price,
html.a11y-font-scale #blockcart-content .cart-products .row.align-items-center.mt-2 > .col:last-child > span {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  line-height: 1.2;
  color: #111;
  padding: 0;
  min-width: 0;
  overflow: visible;
}

html.a11y-font-scale #blockcart-content .cart-products .row.align-items-center.mt-2 .remove-from-cart {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.3rem;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
}

html.a11y-font-scale #blockcart-content .cart-products .remove-from-cart:hover,
html.a11y-font-scale #blockcart-content .cart-products .remove-from-cart:focus-visible {
  background: #f0f0f0;
  color: #c00;
}

html.a11y-font-scale #blockcart-content .cart-products .remove-from-cart .fa {
  font-size: 1.1rem;
}

/* Horizontal touchspin: [−] [qty] [+] */
html.a11y-font-scale #blockcart-content .cart-products .bootstrap-touchspin {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .input-group-btn-vertical {
  display: contents;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .bootstrap-touchspin-down {
  order: 1;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .block-cart-product-quantity,
html.a11y-font-scale #blockcart-content .bootstrap-touchspin input.form-control {
  order: 2;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 2rem !important;
  max-width: none !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-left: 1px solid #d0d0d0 !important;
  border-right: 1px solid #d0d0d0 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 2.25rem !important;
  text-align: center;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .bootstrap-touchspin-up {
  order: 3;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .btn-touchspin {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #f5f5f5 !important;
  color: #333 !important;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .btn-touchspin:hover,
html.a11y-font-scale #blockcart-content .bootstrap-touchspin .btn-touchspin:focus-visible {
  background: #e8e8e8 !important;
}

html.a11y-font-scale #blockcart-content .bootstrap-touchspin .btn-touchspin i {
  font-size: 14px !important;
  position: static !important;
  line-height: 1;
}

/* Product page touchspin — horizontal [−] [qty] [+] at zoom */
html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: auto !important;
  min-width: 9rem !important;
  max-width: 11rem !important;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .input-group-btn-vertical {
  display: contents !important;
  width: auto !important;
  position: static !important;
  vertical-align: top !important;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-down {
  order: 1;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin input,
html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin input.form-control,
html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin #quantity_wanted {
  order: 2;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 2.5rem !important;
  max-width: none !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-left: 1px solid #d0d0d0 !important;
  border-right: 1px solid #d0d0d0 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 2.75rem !important;
  text-align: center;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .bootstrap-touchspin-up {
  order: 3;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .btn-touchspin {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  flex: 0 0 2.75rem !important;
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 2.75rem !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  max-height: 2.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #f5f5f5 !important;
  color: #333 !important;
  position: relative !important;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .btn-touchspin:hover,
html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .btn-touchspin:focus-visible {
  background: #e8e8e8 !important;
}

html.a11y-font-scale .product-add-to-cart .bootstrap-touchspin .btn-touchspin i {
  font-size: 14px !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  line-height: 1;
}

html.a11y-font-scale .product-add-to-cart .col-add-qty .qty {
  width: auto;
  display: flex;
  align-items: center;
}

/* Cart page touchspin — same horizontal layout */
html.a11y-font-scale .cart-item .bootstrap-touchspin {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: auto !important;
  min-width: 9rem !important;
  max-width: 11rem !important;
  margin: 0 auto;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

html.a11y-font-scale .cart-item .bootstrap-touchspin .input-group-btn-vertical {
  display: contents !important;
}

html.a11y-font-scale .cart-item .bootstrap-touchspin .bootstrap-touchspin-down {
  order: 1;
}

html.a11y-font-scale .cart-item .bootstrap-touchspin input,
html.a11y-font-scale .cart-item .bootstrap-touchspin input.form-control {
  order: 2;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 2.5rem !important;
  max-width: none !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-left: 1px solid #d0d0d0 !important;
  border-right: 1px solid #d0d0d0 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  text-align: center;
  box-shadow: none !important;
}

html.a11y-font-scale .cart-item .bootstrap-touchspin .bootstrap-touchspin-up {
  order: 3;
}

html.a11y-font-scale .cart-item .bootstrap-touchspin .btn-touchspin {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  flex: 0 0 2.75rem !important;
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: #f5f5f5 !important;
}

html.a11y-font-scale .cart-item .bootstrap-touchspin .btn-touchspin i {
  position: static !important;
  font-size: 14px !important;
  line-height: 1;
}

html.a11y-font-scale .product-add-to-cart .product-quantity {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 0.5rem;
  align-items: center;
  justify-content: start;
  margin: 0;
}

html.a11y-font-scale .product-add-to-cart .product-quantity > .col {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

html.a11y-font-scale .product-add-to-cart .col-add-qty {
  grid-column: 1;
  grid-row: 1;
}

html.a11y-font-scale .product-add-to-cart .col-add-wishlist {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

html.a11y-font-scale .product-add-to-cart .col-add-btn {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100% !important;
}

html.a11y-font-scale .product-add-to-cart .col-add-btn .add {
  width: 100%;
}

html.a11y-font-scale .product-add-to-cart .qty {
  width: auto;
  height: auto;
}

html.a11y-font-scale .product-add-to-cart {
  display: block;
}

html.a11y-font-scale .product-add-to-cart .add-to-cart {
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  white-space: normal;
}

html.a11y-font-scale .product-add-to-cart .btn-iconic,
html.a11y-font-scale .product-add-to-cart .btn-iqitwishlist-add {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html.a11y-font-scale .product-add-to-cart .btn-iconic i,
html.a11y-font-scale .product-add-to-cart .btn-iqitwishlist-add i {
  margin: 0 !important;
}

/* Add-to-cart modal */
html.a11y-font-scale #blockcart-modal .modal-dialog {
  max-height: calc(100dvh - 1rem);
  margin: 0.5rem auto;
  display: flex;
  align-items: stretch;
}

html.a11y-font-scale #blockcart-modal .modal-content {
  max-height: calc(100dvh - 1rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

html.a11y-font-scale #blockcart-modal .modal-header {
  flex-shrink: 0;
}

html.a11y-font-scale #blockcart-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.a11y-font-scale #blockcart-modal .cart-content-btn {
  position: sticky;
  bottom: 0;
  flex-shrink: 0;
  background: #fff;
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
  margin-top: 0.5rem;
  z-index: 2;
  box-shadow: 0 -10px 20px rgba(255, 255, 255, 0.95);
}

/* cart page touchspin centering kept separate */
html.a11y-font-scale .cart-item .product-line-grid-body .row {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

html.a11y-font-scale .cart-item .col-md-2,
html.a11y-font-scale .cart-item .col-md-4,
html.a11y-font-scale .cart-item .col-md-6 {
  min-width: 0;
}

html.a11y-font-scale .cart-grid .checkout.cart-detailed-actions .btn {
  min-height: calc(2.75rem * var(--a11y-page-scale, 1));
}

html.a11y-font-scale #blockcart-content .cart-products,
html.a11y-font-scale #blockcart-modal .modal-body {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 0, 0, 0.35) rgba(0, 0, 0, 0.06) !important;
}

html.a11y-font-scale #blockcart-content .cart-products::-webkit-scrollbar,
html.a11y-font-scale #blockcart-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

html.a11y-font-scale #blockcart-content .cart-products::-webkit-scrollbar-thumb,
html.a11y-font-scale #blockcart-modal .modal-body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.28);
  border-radius: 4px;
}

html.a11y-font-scale #blockcart-content .cart-products:hover::-webkit-scrollbar-thumb,
html.a11y-font-scale #blockcart-modal .modal-body:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.45);
}

html.a11y-underline-links a:not(.advrider-a11y-root a) {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

html.a11y-underline-headings h1:not(.advrider-a11y-root h1),
html.a11y-underline-headings h2:not(.advrider-a11y-root h2),
html.a11y-underline-headings h3:not(.advrider-a11y-root h3),
html.a11y-underline-headings h4:not(.advrider-a11y-root h4),
html.a11y-underline-headings h5:not(.advrider-a11y-root h5),
html.a11y-underline-headings h6:not(.advrider-a11y-root h6) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

html.a11y-no-animations *,
html.a11y-no-animations *::before,
html.a11y-no-animations *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* AdvRider modification — do not filter body/html.
   filter on an ancestor makes position:fixed stick to the document
   (Safari checkout: Contact + accessibility buttons freeze on scroll).
   Filter page siblings only. Re-apply the same filter on the buttons
   themselves so they still go gray / contrast / invert. */
html.a11y-grayscale body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-grayscale .advrider-a11y-trigger,
html.a11y-grayscale #arcontactus {
  filter: grayscale(1);
}

html.a11y-high-contrast body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-high-contrast .advrider-a11y-trigger,
html.a11y-high-contrast #arcontactus {
  filter: contrast(1.35);
}

html.a11y-invert body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-invert .advrider-a11y-trigger,
html.a11y-invert #arcontactus {
  filter: invert(1) hue-rotate(180deg);
}

html.a11y-grayscale.a11y-high-contrast body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-grayscale.a11y-high-contrast .advrider-a11y-trigger,
html.a11y-grayscale.a11y-high-contrast #arcontactus {
  filter: grayscale(1) contrast(1.35);
}

html.a11y-grayscale.a11y-invert body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-grayscale.a11y-invert .advrider-a11y-trigger,
html.a11y-grayscale.a11y-invert #arcontactus {
  filter: grayscale(1) invert(1) hue-rotate(180deg);
}

html.a11y-high-contrast.a11y-invert body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-high-contrast.a11y-invert .advrider-a11y-trigger,
html.a11y-high-contrast.a11y-invert #arcontactus {
  filter: contrast(1.35) invert(1) hue-rotate(180deg);
}

html.a11y-grayscale.a11y-high-contrast.a11y-invert body > :not(#advrider-a11y-root):not(#arcontactus),
html.a11y-grayscale.a11y-high-contrast.a11y-invert .advrider-a11y-trigger,
html.a11y-grayscale.a11y-high-contrast.a11y-invert #arcontactus {
  filter: grayscale(1) contrast(1.35) invert(1) hue-rotate(180deg);
}

/* Large cursors — URLs injected via JS (#advrider-a11y-cursor-style) */

/* Skip link */
.advrider-a11y-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10060;
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.advrider-a11y-skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
}

html.a11y-enhanced.a11y-focus-visible :focus-visible {
  outline: 3px solid var(--a11y-accent) !important;
  outline-offset: 2px !important;
}

/* Căutare — niciodată inel albastru a11y (mod normal sau accesibilitate) */
#wk_es_search_widget input.ui-autocomplete-input:focus,
#wk_es_search_widget input.ui-autocomplete-input:focus-visible,
.leo-combined-search-input:focus,
.leo-combined-search-input:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  border-color: #d8d8d8;
}

.ui-autocomplete.wk-es-autocomplete-list .autocomplete-link:focus,
.ui-autocomplete.wk-es-autocomplete-list .autocomplete-link:focus-visible,
.ui-autocomplete.wk-adv-autocomplete-menu a:focus,
.ui-autocomplete.wk-adv-autocomplete-menu a:focus-visible,
.ui-autocomplete.wk-adv-autocomplete-menu .wk-adv-link-item:focus,
.ui-autocomplete.wk-adv-autocomplete-menu .wk-adv-link-item:focus-visible,
.ui-autocomplete.wk-adv-autocomplete-menu .wk-adv-product-row:focus,
.ui-autocomplete.wk-adv-autocomplete-menu .wk-adv-product-row:focus-visible,
.ui-autocomplete.wk-adv-autocomplete-menu .wk-adv-tab-btn:focus,
.ui-autocomplete.wk-adv-autocomplete-menu .wk-adv-tab-btn:focus-visible,
.ui-autocomplete.wk-adv-autocomplete-menu button:focus,
.ui-autocomplete.wk-adv-autocomplete-menu button:focus-visible {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

/* Widget root — fixed px; outside #main-page-content (eMAG parity) */
.advrider-a11y-root {
  font-size: 16px;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

.advrider-a11y-root *,
.advrider-a11y-root *::before,
.advrider-a11y-root *::after {
  box-sizing: border-box;
}

.advrider-a11y-trigger {
  position: fixed;
  z-index: var(--a11y-btn-z);
  width: var(--a11y-btn-size);
  height: var(--a11y-btn-size);
  border: 0;
  border-radius: 50%;
  background: var(--a11y-btn-color, #1a1a1a);
  color: var(--a11y-btn-icon-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s ease;
}

.advrider-a11y-trigger:hover,
.advrider-a11y-trigger:focus-visible {
  opacity: 1;
}

.advrider-a11y-trigger:focus-visible {
  outline: 2px solid var(--a11y-accent);
  outline-offset: 2px;
}

.advrider-a11y-trigger svg {
  width: 100%;
  height: 100%;
  display: block;
}

.advrider-a11y-pos-right-bottom {
  right: var(--a11y-offset-x, 16px);
  bottom: var(--a11y-offset-y, 16px);
}

.advrider-a11y-pos-left-bottom {
  left: var(--a11y-offset-x, 16px);
  bottom: var(--a11y-offset-y, 16px);
}

.advrider-a11y-pos-right-top {
  right: var(--a11y-offset-x, 16px);
  top: var(--a11y-offset-y, 16px);
}

.advrider-a11y-pos-left-top {
  left: var(--a11y-offset-x, 16px);
  top: var(--a11y-offset-y, 16px);
}

.advrider-a11y-root.is-panel-open .advrider-a11y-trigger {
  visibility: hidden;
  pointer-events: none;
}

.advrider-a11y-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: calc(var(--a11y-panel-z) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.advrider-a11y-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.advrider-a11y-panel {
  position: fixed;
  z-index: var(--a11y-panel-z);
  width: min(var(--a11y-panel-width), calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--a11y-panel-bg);
  color: var(--a11y-panel-text);
  border-radius: 16px;
  border: 1px solid var(--a11y-shell-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(110%);
  transition: transform 0.25s ease, opacity 0.2s ease;
  padding: 22px 20px 20px;
  -webkit-overflow-scrolling: touch;
  color-scheme: dark;
  scrollbar-width: thin !important;
  scrollbar-color: transparent transparent !important;
}

/* Override warehousechild global red scrollbar (::-webkit-scrollbar-thumb #ff0303) */
.advrider-a11y-root .advrider-a11y-panel::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 5px !important;
  height: 5px !important;
  background: transparent !important;
}

.advrider-a11y-root .advrider-a11y-panel::-webkit-scrollbar-track {
  background: transparent !important;
}

.advrider-a11y-root .advrider-a11y-panel::-webkit-scrollbar-thumb {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 999px;
}

.advrider-a11y-root .advrider-a11y-panel:hover,
.advrider-a11y-root .advrider-a11y-panel:focus-within,
.advrider-a11y-root .advrider-a11y-panel.is-scrolling {
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent !important;
}

.advrider-a11y-root .advrider-a11y-panel:hover::-webkit-scrollbar-thumb,
.advrider-a11y-root .advrider-a11y-panel:focus-within::-webkit-scrollbar-thumb,
.advrider-a11y-root .advrider-a11y-panel.is-scrolling::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24) !important;
  background-color: rgba(255, 255, 255, 0.24) !important;
}

.advrider-a11y-root .advrider-a11y-panel:hover::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38) !important;
  background-color: rgba(255, 255, 255, 0.38) !important;
}

.advrider-a11y-panel.is-open {
  transform: translateY(0);
}

/* eMAG: panel bottom aligns with trigger — overlaps FAB; X stays in header */
.advrider-a11y-panel.advrider-a11y-panel-desktop {
  bottom: var(--a11y-offset-y, 16px);
  right: var(--a11y-offset-x, 16px);
  width: min(var(--a11y-panel-width), calc(100vw - 32px));
  max-height: min(680px, calc(100vh - 48px));
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
}

.advrider-a11y-panel.advrider-a11y-panel-desktop.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.advrider-a11y-panel.advrider-a11y-panel-left {
  right: auto;
  left: var(--a11y-offset-x, 16px);
}

.advrider-a11y-panel.advrider-a11y-panel-left.advrider-a11y-panel-mobile {
  right: auto;
  left: var(--a11y-offset-x, 12px);
}

/* Mobile: rounded sheet overlapping trigger (eMAG-style, not full-bleed edge) */
.advrider-a11y-panel.advrider-a11y-panel-mobile {
  left: auto;
  right: var(--a11y-offset-x, 12px);
  bottom: var(--a11y-offset-y, 12px);
  width: min(var(--a11y-panel-width), calc(100vw - 24px));
  max-height: min(82vh, 640px);
  border-radius: 16px;
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
}

.advrider-a11y-panel.advrider-a11y-panel-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.advrider-a11y-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.advrider-a11y-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.advrider-a11y-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  margin: -4px -6px -4px 0;
  flex-shrink: 0;
}

.advrider-a11y-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.advrider-a11y-btn {
  border: 0;
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  text-align: center;
}

.advrider-a11y-btn-reset {
  background: #ffffff;
  color: #111111;
  border: 1px solid #ffffff;
}

.advrider-a11y-btn-hide {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.advrider-a11y-section {
  background: var(--a11y-card-bg);
  color: var(--a11y-card-text);
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.advrider-a11y-section h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

.advrider-a11y-section.advrider-a11y-font-section {
  background: #f3f4f6;
  padding: 14px 16px;
}

.advrider-a11y-section.advrider-a11y-font-section h3 {
  color: #111111;
  font-size: 14px;
  margin-bottom: 10px;
}

.advrider-a11y-font-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.advrider-a11y-font-label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}

.advrider-a11y-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.advrider-a11y-stepper button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--a11y-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.advrider-a11y-stepper span {
  min-width: 56px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #111111;
}

.advrider-a11y-toggle-grid {
  display: grid;
  gap: 0;
}

.advrider-a11y-toggle {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e8ebf2;
  border-radius: 0;
  background: #fff;
  color: #111;
  padding: 14px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.advrider-a11y-toggle:last-child {
  border-bottom: 0;
}

.advrider-a11y-toggle-label {
  flex: 1;
}

.advrider-a11y-shortcut {
  font-size: 12px;
  font-weight: 600;
  color: #6a7282;
  white-space: nowrap;
}

.advrider-a11y-toggle.is-active {
  background: #edf3ff;
  color: #111;
}

.advrider-a11y-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
}

.advrider-a11y-statement-link {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--a11y-shell-border);
  color: #b8c7ff;
  font-size: 13px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.advrider-a11y-statement-link:hover,
.advrider-a11y-statement-link:focus {
  color: #fff;
}

.a11y-statement-page {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  :root {
    --a11y-panel-width: calc(100vw - 24px);
  }

  .advrider-a11y-actions {
    grid-template-columns: 1fr;
  }

  .advrider-a11y-shortcut {
    display: inline;
    font-size: 11px;
  }

  .advrider-a11y-panel.advrider-a11y-panel-mobile {
    padding: 20px 16px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .advrider-a11y-trigger,
  .advrider-a11y-overlay,
  .advrider-a11y-panel {
    transition: none;
  }
}

/* Keyboard navigation highlight — doar când widget accesibilitate e activat */
html.a11y-enhanced .a11y-search-active,
html.a11y-enhanced .ui-menu-item.ui-state-active .autocomplete-link {
  outline: none !important;
  box-shadow: none !important;
  background-color: #f5f5f5 !important;
}

html.a11y-enhanced .wk-adv-link-item.a11y-search-active {
  background: #f9f9f9 !important;
  border-color: #999 !important;
  outline: none !important;
  box-shadow: none !important;
}

html.a11y-enhanced .wk-adv-product-row.a11y-search-active,
html.a11y-enhanced .wk-adv-top-sale-card.a11y-search-active,
html.a11y-enhanced .wk-adv-fitment-table-row.a11y-search-active {
  background-color: #f5f5f5 !important;
  outline: none !important;
  box-shadow: none !important;
}

html.a11y-enhanced .leo-cs-suggestion.a11y-search-active {
  background: #e8f0fe !important;
  outline: none !important;
  box-shadow: inset 0 0 0 2px #111 !important;
}

/* OEM diagram widgets (advrider.ro embed) — widget CSS uses px !important; zoom scales subtree */
html.a11y-font-scale #khg-catalog,
html.a11y-font-scale #yamaha-catalog,
html.a11y-font-scale #honda-catalog,
html.a11y-font-scale #cfmoto-catalog {
  zoom: var(--a11y-page-scale, 1);
}

/* Portaled UI (select2, smart search, diagram lightbox) renders outside catalog containers */
html.a11y-font-scale .select2-dropdown,
html.a11y-font-scale .khg-select2-dropdown,
html.a11y-font-scale [class$="-smart-search-dropdown--portal"],
html.a11y-font-scale .catalog-lightbox-overlay {
  zoom: var(--a11y-page-scale, 1);
}

/* AdvRider modification — closed All-in-one chat stacks above the a11y button.
   Side follows the widget (right-bottom / left-bottom). Top positions are left
   alone. Shops without #arcontactus are unaffected. */
body:has(.advrider-a11y-pos-right-bottom) #arcontactus.arcontactus-widget.arcontactus-message:not(.open):not(.opened):not(.popup-opened),
body:has(.advrider-a11y-pos-left-bottom) #arcontactus.arcontactus-widget.arcontactus-message:not(.open):not(.opened):not(.popup-opened) {
  position: fixed !important;
  top: auto !important;
  bottom: 76px !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  transform: none !important;
  z-index: 1000020 !important;
}

body:has(.advrider-a11y-pos-right-bottom) #arcontactus.arcontactus-widget.arcontactus-message:not(.open):not(.opened):not(.popup-opened) {
  right: 20px !important;
  left: auto !important;
}

body:has(.advrider-a11y-pos-left-bottom) #arcontactus.arcontactus-widget.arcontactus-message:not(.open):not(.opened):not(.popup-opened) {
  left: 20px !important;
  right: auto !important;
}

#arcontactus.arcontactus-widget .arcontactus-message-button,
#arcontactus.arcontactus-widget .arcontactus-message-button .static {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
}

#arcontactus.arcontactus-widget .pulsation,
#arcontactus.arcontactus-widget .icons,
#arcontactus.arcontactus-widget .callback-state,
#arcontactus.arcontactus-widget .icons-line {
  display: none !important;
  animation: none !important;
}

#arcontactus.arcontactus-widget .static {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

body:has(#advrider-a11y-root.is-panel-open) #arcontactus {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* AdvRider modification — city/country Select2 (z-index 99999 from geo,
   100000 when open) paints above the dim overlay. Keep it under the panel
   while the menu is open so the fields dim with the rest of checkout. */
body:has(#advrider-a11y-root.is-panel-open) .select2-container,
body:has(#advrider-a11y-root.is-panel-open) .pac-container,
body:has(#advrider-a11y-root.is-panel-open) .citydropdown-places {
  z-index: 1 !important;
}
