/*
 * TopSell responsive safety layer.
 * Narrow, component-scoped fixes only; no visual redesign.
 */

/* Prevent grid/flex children from forcing page-width overflow. */
.neve-main,
.site-main,
.entry-content,
.woocommerce,
#custom-product-container,
#product-main-wrap,
#product-main-wrap > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Two equal product columns plus the existing gap must fit inside 100%. */
#product-main-wrap {
  width: 100%;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#zipper-and-thumb,
#zipper-image-container,
#main-image-container,
#product-details-column,
#product-gallery-thumbs {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

#product-main-image,
#product-main-video {
  max-width: 100%;
}

/* The mobile header's real content is taller than the former fixed 100px box. */
.mobile-top-wrapper {
  height: auto !important;
  min-height: 0;
}

#mobile-header-spacer {
  width: 100%;
  min-height: 0;
  pointer-events: none;
  transition: none !important;
}

/* Product pages use one stable column on tablets and compact screens. */
@media (max-width: 900px) {
  #product-main-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  #product-details-column {
    width: 100%;
    padding-right: 0;
  }
}

/* Keep a server-selected mobile header usable on wider tablets. */
@media (max-width: 1024px) {
  .mobile-top-wrapper .amazon-search-form {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .mobile-top-wrapper .amazon-search-container,
  .mobile-top-wrapper .amazon-search-input {
    min-width: 0 !important;
  }

  .mobile-top-wrapper .amazon-search-input {
    width: 0;
    flex: 1 1 auto;
  }

  .mobile-top-wrapper .custom-select-wrapper {
    max-width: 42%;
  }

  .mobile-top-wrapper .arb-buttons {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-top-wrapper .arb-buttons::-webkit-scrollbar {
    display: none;
  }

  .mobile-top-wrapper .arb-buttons > li {
    flex: 1 0 auto;
    min-width: 105px;
  }

  .cs-options {
    width: calc(100vw - 24px) !important;
    max-width: 340px !important;
  }
}

/* Desktop markup can still be returned to a resized browser: let it shrink safely. */
@media (min-width: 783px) and (max-width: 1100px) {
  .desktop-header-wrapper .header-inner {
    min-width: 0;
    gap: 10px;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .desktop-header-wrapper .header-logo {
    max-width: 130px;
  }

  .desktop-header-wrapper .amazon-search-form {
    min-width: 0;
    margin-left: 8px;
    margin-right: 8px;
  }

  .desktop-header-wrapper .header-right-group {
    min-width: 0;
    gap: 8px !important;
  }

  .desktop-header-wrapper .header-hotline {
    display: none !important;
  }

  .desktop-header-wrapper .wishlist-text,
  .desktop-header-wrapper .account-text {
    display: none !important;
  }

  .desktop-header-wrapper .header-category-buttons > div,
  .desktop-header-wrapper .header-categories {
    min-width: 0;
  }

  .desktop-header-wrapper .header-category-buttons > div {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .desktop-header-wrapper .header-categories {
    flex: 1 1 auto;
    overflow: hidden;
  }
}

/* Remove widths that exceed or unnecessarily restrict phone viewports. */
@media (max-width: 480px) {
  .fs-newsletter,
  .fs-news-form,
  .fs-input,
  .fs-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .fs-input,
  .fs-btn {
    font-size: 24px !important;
  }

  .woocommerce-additional-fields,
  .woocommerce-billing-fields__field-wrapper,
  .arb_invoice_inner {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }
}

@media (max-width: 360px) {
  .mobile-top-wrapper .mobile-logo img {
    max-width: 108px;
    margin-left: 0;
  }

  .mobile-top-wrapper .mobile-actions .btn-text {
    font-size: 9px;
  }

  .fs-input,
  .fs-btn {
    font-size: 20px !important;
  }
}

/* Mobile header base geometry for tablets where responsive.css is intentionally not loaded. */
@media (min-width: 783px) and (max-width: 1024px) {
  .mobile-top-wrapper .mobile-top-bar {
    display: grid;
    grid-template-columns: 44px minmax(90px, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 6px 12px;
  }

  .mobile-top-wrapper .burger-menu {
    justify-self: start;
    margin: 0 !important;
  }

  .mobile-top-wrapper .mobile-logo {
    position: static;
    justify-self: center;
    min-width: 0;
    line-height: 0;
  }

  .mobile-top-wrapper .mobile-logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 36px;
    max-width: 160px;
    margin: 0;
  }

  .mobile-top-wrapper .mobile-actions {
    justify-self: end;
    min-width: 0;
  }

  .mobile-top-wrapper .mobile-search-row {
    padding: 10px 0;
  }
}

/* ========================================================================== 
 * v10: original fixed-header behaviour, one measured offset, responsive shell
 * ========================================================================== */
html,
body,
.wrapper {
  max-width: 100%;
  overflow-x: clip;
}

/* One measured spacer replaces every page-specific header gap. */
#topsell-desktop-header-spacer {
  display: block;
  width: 100%;
  height: 120px;
  min-height: 120px;
  flex: 0 0 auto;
  pointer-events: none;
}

.shopfront-top-gap,
.shopfront-top-gap-page,
.shopfront-top-gap-single,
.my-block {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-account,
.singleproductpage {
  margin-top: 0 !important;
}

header.topsell-desktop-shell {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: translate3d(0, 0, 0);
  transition: transform .28s ease !important;
  will-change: transform;
}

body.admin-bar header.topsell-desktop-shell {
  top: 32px !important;
}

header.topsell-desktop-shell.topsell-header-hidden {
  transform: translate3d(0, calc(-100% - 34px), 0);
}

header.topsell-desktop-shell .desktop-header-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

/* Restore both original rows to normal flow so hiding cannot create a white band. */
header.topsell-desktop-shell .header-top-line,
header.topsell-desktop-shell .header-category-buttons {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

header.topsell-desktop-shell .header-top-line {
  flex: 0 0 70px;
}

header.topsell-desktop-shell .header-category-buttons {
  flex: 0 0 50px;
}

header.topsell-desktop-shell .header-inner,
header.topsell-desktop-shell .header-category-buttons > div {
  min-width: 0 !important;
  max-width: 1400px !important;
}

/* Preserve the original image-based account/cart styling. */
header.topsell-desktop-shell .profile-link,
header.topsell-desktop-shell .wishlist-link,
header.topsell-desktop-shell .header-cart a {
  min-width: 0;
  text-decoration: none;
}

header.topsell-desktop-shell .profile-icon,
header.topsell-desktop-shell .wishlist-icon,
header.topsell-desktop-shell .cart-icon {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

header.topsell-desktop-shell .header-profile,
header.topsell-desktop-shell .header-wishlist,
header.topsell-desktop-shell .header-cart {
  flex: 0 0 auto;
  min-width: 32px;
  max-width: 54px;
}

/* Archive/search titles must remain above the card grid and below the header. */
#search-page-main .archive-title,
#search-page-main h1.archive-title,
.woocommerce-products-header__title,
.page-title,
.entry-title {
  position: relative;
  z-index: 1;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Footer containment without changing the original look. */
.fs-footer,
.fs-footer .fs-top,
.fs-footer .fs-main,
.fs-footer .fs-top-wrap,
.fs-footer .fs-grid,
.fs-footer .fs-copy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.fs-footer .fs-newsletter,
.fs-footer .fs-news-form,
.fs-footer .checkbox-container {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Deterministic archive grid retained without touching header architecture. */
#search-page-main,
#search-page-main .custom-front-page,
#search-page-main .custom-front-page > .container,
#search-page-main .main-container,
#search-page-main .content,
#search-page-main #ajax-product-container,
#search-page-main #product-grid.product-grid {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#search-page-main.container {
  margin: 0 auto !important;
  padding: 24px 16px 48px !important;
}

#search-page-main .custom-front-page > .container {
  margin: 0 !important;
  padding: 0 !important;
}

#search-page-main .main-container {
  display: grid !important;
  grid-template-columns: minmax(220px, 240px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#search-page-main .content,
#search-page-main #ajax-product-container {
  width: 100% !important;
  min-width: 0 !important;
}

#search-page-main #product-grid.product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}

#search-page-main #product-grid.product-grid > article.product-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 390px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  contain: none !important;
  background: #fff !important;
}

#search-page-main #product-grid .product-image-wrapper {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #fff !important;
}

#search-page-main #product-grid .product-image-link,
#search-page-main #product-grid img.product-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

#search-page-main #product-grid img.product-image {
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 8px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  background: #fff !important;
}

#search-page-main #product-grid .product-info {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px !important;
}

#search-page-main #product-grid .product-title,
#search-page-main #product-grid .product-title a {
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 42px !important;
  height: auto !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}

#search-page-main #product-grid .price-row {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

#search-page-main #product-grid .rating {
  min-height: 24px !important;
  opacity: 1 !important;
}

#search-page-main #product-grid .product-actions {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  margin-top: auto !important;
  padding: 0 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

#search-page-main #product-grid .product-actions .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 8px 9px !important;
  border-radius: 0 !important;
  font-size: clamp(12px, 1.2vw, 16px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (min-width: 1360px) {
  #search-page-main #product-grid.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 783px) and (max-width: 1100px) {
  header.topsell-desktop-shell .header-inner {
    gap: 10px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  header.topsell-desktop-shell .header-logo {
    flex: 0 1 150px;
    max-width: 150px;
    min-width: 100px;
  }

  header.topsell-desktop-shell .header-logo img {
    max-width: 100% !important;
    height: auto !important;
  }

  header.topsell-desktop-shell .amazon-search-form {
    flex: 1 1 auto !important;
    min-width: 180px !important;
    margin-left: 4px !important;
    margin-right: 4px !important;
  }

  header.topsell-desktop-shell .header-right-group {
    flex: 0 0 auto;
    gap: 8px !important;
  }

  header.topsell-desktop-shell .header-hotline,
  header.topsell-desktop-shell .header-wishlist,
  header.topsell-desktop-shell .wishlist-text,
  header.topsell-desktop-shell .account-text {
    display: none !important;
  }

  header.topsell-desktop-shell .header-category-buttons > div {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  header.topsell-desktop-shell .header-categories {
    min-width: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 1024px) {
  #search-page-main .main-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #search-page-main .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1200 !important;
    display: block !important;
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    height: 100dvh !important;
    padding: 16px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    transform: translateX(-105%) !important;
    transition: transform .2s ease !important;
    background: #fff !important;
  }

  #search-page-main .sidebar.open {
    transform: translateX(0) !important;
  }

  #search-page-main #product-grid.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Desktop markup remains usable after live resize into a phone width. */
@media (max-width: 782px) {
  body.admin-bar header.topsell-desktop-shell {
    top: 46px !important;
  }

  header.topsell-desktop-shell .header-top-line {
    height: auto !important;
    min-height: 0 !important;
    flex-basis: auto !important;
  }

  header.topsell-desktop-shell .header-inner {
    display: grid !important;
    grid-template-columns: minmax(90px, 1fr) auto !important;
    gap: 6px 10px !important;
    width: 100% !important;
    padding: 7px 10px !important;
  }

  header.topsell-desktop-shell .header-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    max-width: 145px;
  }

  header.topsell-desktop-shell .header-logo img {
    display: block !important;
    width: auto !important;
    max-width: 145px !important;
    max-height: 38px !important;
    margin: 0 !important;
  }

  header.topsell-desktop-shell .header-right-group {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 6px !important;
    margin-left: 0 !important;
  }

  header.topsell-desktop-shell .header-hotline,
  header.topsell-desktop-shell .header-wishlist,
  header.topsell-desktop-shell .wishlist-text,
  header.topsell-desktop-shell .account-text {
    display: none !important;
  }

  header.topsell-desktop-shell .amazon-search-form {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  header.topsell-desktop-shell .amazon-search-container,
  header.topsell-desktop-shell .amazon-search-input {
    min-width: 0 !important;
  }

  header.topsell-desktop-shell .amazon-search-input {
    width: 0 !important;
    flex: 1 1 auto !important;
  }

  header.topsell-desktop-shell .custom-select-wrapper {
    max-width: 38% !important;
  }

  header.topsell-desktop-shell .header-category-buttons,
  header.topsell-desktop-shell .header-category-buttons > div {
    height: 46px !important;
    min-height: 46px !important;
  }

  header.topsell-desktop-shell .header-category-buttons > div {
    padding: 0 6px !important;
  }

  header.topsell-desktop-shell .neve-sidebar-wrapper {
    flex: 0 0 auto;
  }

  header.topsell-desktop-shell .neve-sidebar-wrapper .burger-menu {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    overflow: hidden;
    font-size: 0 !important;
  }

  header.topsell-desktop-shell .neve-sidebar-wrapper .burger-menu i {
    font-size: 18px !important;
  }

  header.topsell-desktop-shell .header-categories {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  header.topsell-desktop-shell .arb-buttons {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  header.topsell-desktop-shell .arb-buttons > li {
    flex: 0 0 auto !important;
  }

  header.topsell-desktop-shell .arb-btn {
    height: 42px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #search-page-main.container {
    padding: 20px 12px 40px !important;
  }

  #search-page-main #product-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  #search-page-main #product-grid.product-grid > article.product-card {
    min-height: 330px !important;
  }

  #search-page-main #product-grid .product-info {
    gap: 4px !important;
    padding: 8px !important;
  }

  #search-page-main #product-grid .product-title,
  #search-page-main #product-grid .product-title a {
    min-height: 39px !important;
    font-size: 13px !important;
  }

  #search-page-main #product-grid .product-actions .button {
    min-height: 42px !important;
    padding: 7px 6px !important;
    font-size: 12px !important;
  }

  .fs-footer .fs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px 16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 480px) {
  header.topsell-desktop-shell .header-logo,
  header.topsell-desktop-shell .header-logo img {
    max-width: 112px !important;
  }

  header.topsell-desktop-shell .custom-select-wrapper {
    max-width: 34% !important;
  }

  #search-page-main.container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #search-page-main #product-grid.product-grid {
    gap: 8px !important;
  }

  #search-page-main #product-grid.product-grid > article.product-card {
    min-height: 305px !important;
  }

  #search-page-main #product-grid img.product-image {
    padding: 5px !important;
  }

  .fs-footer .fs-news-form,
  .fs-footer .fs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fs-footer .fs-input,
  .fs-footer .fs-btn {
    width: 100% !important;
    font-size: 16px !important;
  }
}

/* ========================================================================== 
 * v11: exact original desktop scroll states, stabilized for every breakpoint
 * Top = both rows; down = fully hidden; up = main row; top again = both rows.
 * ========================================================================== */
header.topsell-desktop-shell {
  --topsell-category-row-height: 50px;
  background: #1f262d !important;
  transform: translate3d(0, 0, 0) !important;
  transition: none !important;
}

header.topsell-desktop-shell.topsell-scroll-ready {
  transition: transform .28s ease !important;
}

header.topsell-desktop-shell.topsell-scroll-expanded,
header.topsell-desktop-shell.topsell-scroll-compact {
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto !important;
}

/* Move the complete visible shell above the viewport; no row remains behind. */
header.topsell-desktop-shell.topsell-scroll-hidden {
  transform: translate3d(0, calc(-100% - 2px), 0) !important;
  pointer-events: none !important;
}

header.topsell-desktop-shell .header-top-line {
  position: relative !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

header.topsell-desktop-shell .header-category-buttons {
  position: relative !important;
  min-height: 0 !important;
  max-height: var(--topsell-category-row-height) !important;
  flex: 0 0 var(--topsell-category-row-height) !important;
  overflow: visible !important;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transition:
    height .24s ease,
    max-height .24s ease,
    flex-basis .24s ease,
    opacity .16s ease,
    transform .24s ease !important;
}

/* The original upward-scroll view keeps only the main/header row. */
header.topsell-desktop-shell.topsell-scroll-compact .header-category-buttons,
header.topsell-desktop-shell.topsell-scroll-hidden .header-category-buttons {
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  flex: 0 0 0 !important;
  overflow: hidden !important;
  transform: translate3d(0, -100%, 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

header.topsell-desktop-shell.topsell-scroll-expanded .header-category-buttons {
  height: var(--topsell-category-row-height) !important;
  max-height: var(--topsell-category-row-height) !important;
  flex-basis: var(--topsell-category-row-height) !important;
  overflow: visible !important;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Retire the v10 one-state class if a cached script leaves it on the element. */
header.topsell-desktop-shell.topsell-header-hidden:not(.topsell-scroll-hidden) {
  transform: translate3d(0, 0, 0) !important;
}

@media (max-width: 782px) {
  header.topsell-desktop-shell {
    --topsell-category-row-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  header.topsell-desktop-shell,
  header.topsell-desktop-shell .header-category-buttons {
    transition: none !important;
  }
}

/* ========================================================================== 
 * v12: restored three-state scroll behaviour on desktop and small screens
 * Expanded = main + navigation; compact = main only; hidden = all hidden.
 * ========================================================================== */
#topsell-desktop-header-spacer,
#mobile-header-spacer,
#site-header-spacer {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#topsell-header-spacer {
  display: block;
  width: 100%;
  height: var(--topsell-header-expanded-height, 120px);
  min-height: var(--topsell-header-expanded-height, 120px);
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

header.topsell-desktop-shell,
header.topsell-mobile-shell {
  --topsell-secondary-row-height: 50px;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 10000 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #1f262d !important;
  transform: translate3d(0, 0, 0) !important;
  transition: none !important;
  will-change: transform;
}

body.admin-bar header.topsell-desktop-shell,
body.admin-bar header.topsell-mobile-shell {
  top: 32px !important;
}

header.topsell-desktop-shell.topsell-scroll-ready,
header.topsell-mobile-shell.topsell-scroll-ready {
  transition: transform .26s ease !important;
}

header.topsell-desktop-shell.topsell-resizing,
header.topsell-mobile-shell.topsell-resizing,
header.topsell-desktop-shell.topsell-resizing *,
header.topsell-mobile-shell.topsell-resizing * {
  transition: none !important;
}

header.topsell-desktop-shell.topsell-scroll-expanded,
header.topsell-desktop-shell.topsell-scroll-compact,
header.topsell-mobile-shell.topsell-scroll-expanded,
header.topsell-mobile-shell.topsell-scroll-compact {
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto !important;
}

header.topsell-desktop-shell.topsell-scroll-hidden,
header.topsell-mobile-shell.topsell-scroll-hidden {
  transform: translate3d(0, calc(-100% - 2px), 0) !important;
  pointer-events: none !important;
}

header.topsell-desktop-shell .desktop-header-wrapper,
header.topsell-mobile-shell .mobile-top-wrapper {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

/* Primary section always keeps its natural height in expanded and compact modes. */
header.topsell-desktop-shell .header-top-line,
header.topsell-mobile-shell .mobile-top-bar,
header.topsell-mobile-shell .mobile-search-row {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: visible !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Desktop secondary row is a fixed-height horizontal strip, never a page-sized box. */
header.topsell-desktop-shell .header-category-buttons {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  flex: 0 0 var(--topsell-secondary-row-height) !important;
  width: 100% !important;
  max-width: 100% !important;
  height: var(--topsell-secondary-row-height) !important;
  min-height: 0 !important;
  max-height: var(--topsell-secondary-row-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: height .22s ease, max-height .22s ease, flex-basis .22s ease, opacity .14s ease,
    transform .22s ease !important;
}

header.topsell-desktop-shell .header-category-buttons > div {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 1400px !important;
  height: var(--topsell-secondary-row-height) !important;
  min-height: var(--topsell-secondary-row-height) !important;
  max-height: var(--topsell-secondary-row-height) !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

header.topsell-desktop-shell .header-categories,
header.topsell-desktop-shell .arb-quick-nav,
header.topsell-desktop-shell .arb-buttons {
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
}

header.topsell-desktop-shell .arb-buttons > li {
  flex: 0 0 auto !important;
  height: 100% !important;
  max-height: 100% !important;
}

header.topsell-desktop-shell .arb-btn,
header.topsell-desktop-shell .arb-btn.is-icon {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
}

/* Mobile quick navigation is the second section of the same three-state system. */
header.topsell-mobile-shell {
  --topsell-secondary-row-height: 42px;
}

header.topsell-mobile-shell .mobile-quick-nav {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  flex: 0 0 var(--topsell-secondary-row-height) !important;
  width: 100% !important;
  max-width: 100% !important;
  height: var(--topsell-secondary-row-height) !important;
  min-height: 0 !important;
  max-height: var(--topsell-secondary-row-height) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition: height .22s ease, max-height .22s ease, flex-basis .22s ease, opacity .14s ease,
    transform .22s ease !important;
}

header.topsell-mobile-shell .mobile-quick-nav .arb-buttons,
header.topsell-mobile-shell .mobile-quick-nav .arb-buttons > li,
header.topsell-mobile-shell .mobile-quick-nav .arb-btn {
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
}

/* Compact and hidden states collapse only the secondary row. */
header.topsell-desktop-shell.topsell-scroll-compact .header-category-buttons,
header.topsell-desktop-shell.topsell-scroll-hidden .header-category-buttons,
header.topsell-mobile-shell.topsell-scroll-compact .mobile-quick-nav,
header.topsell-mobile-shell.topsell-scroll-hidden .mobile-quick-nav {
  flex-basis: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transform: translate3d(0, -100%, 0) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

header.topsell-desktop-shell.topsell-scroll-expanded .header-category-buttons,
header.topsell-mobile-shell.topsell-scroll-expanded .mobile-quick-nav {
  flex-basis: var(--topsell-secondary-row-height) !important;
  height: var(--topsell-secondary-row-height) !important;
  max-height: var(--topsell-secondary-row-height) !important;
  overflow: hidden !important;
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Disable every obsolete state from older cached scripts. */
header.topsell-desktop-shell.topsell-header-hidden:not(.topsell-scroll-hidden),
header.topsell-mobile-shell.topsell-header-hidden:not(.topsell-scroll-hidden),
header.topsell-mobile-shell .mobile-top-wrapper.is-hidden {
  transform: none !important;
}

@media (max-width: 782px) {
  body.admin-bar header.topsell-desktop-shell,
  body.admin-bar header.topsell-mobile-shell {
    top: 46px !important;
  }

  header.topsell-desktop-shell {
    --topsell-secondary-row-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  header.topsell-desktop-shell,
  header.topsell-mobile-shell,
  header.topsell-desktop-shell .header-category-buttons,
  header.topsell-mobile-shell .mobile-quick-nav {
    transition: none !important;
  }
}

/* ========================================================================== 
 * v13: reliable account action styling without cached/recolored image assets
 * ========================================================================== */
header.topsell-desktop-shell .topsell-account-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 3px 4px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  color: #fff !important;
  background: transparent !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

header.topsell-desktop-shell .topsell-account-link .topsell-account-icon {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  flex: 0 0 28px !important;
  color: inherit !important;
  overflow: visible !important;
}

header.topsell-desktop-shell .topsell-account-link:hover,
header.topsell-desktop-shell .topsell-account-link:focus-visible {
  color: #e02020 !important;
  background: rgba(255, 255, 255, .07) !important;
  border-color: rgba(224, 32, 32, .65) !important;
  outline: none !important;
}

header.topsell-desktop-shell .topsell-account-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(224, 32, 32, .28) !important;
}

/* Compact desktop/tablet: use clean icon-only account and cart actions. */
@media (min-width: 783px) and (max-width: 1280px) {
  header.topsell-desktop-shell .header-right-group {
    gap: 8px !important;
  }

  header.topsell-desktop-shell .header-profile,
  header.topsell-desktop-shell .header-cart {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
  }

  header.topsell-desktop-shell .topsell-account-link,
  header.topsell-desktop-shell .header-cart .cart-link {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 7px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }

  header.topsell-desktop-shell .topsell-account-link {
    background: rgba(255, 255, 255, .06) !important;
    border-color: rgba(255, 255, 255, .13) !important;
  }

  header.topsell-desktop-shell .topsell-account-link .account-text,
  header.topsell-desktop-shell .header-cart .account-text,
  header.topsell-desktop-shell .header-cart .cart-text,
  header.topsell-desktop-shell .header-cart .btn-text,
  header.topsell-desktop-shell .header-cart .smc-label,
  header.topsell-desktop-shell .header-cart .cart-label {
    display: none !important;
  }

  /* Some minicart shortcodes output the label as a direct text node. */
  header.topsell-desktop-shell .header-cart .cart-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  header.topsell-desktop-shell .header-cart .cart-link:hover,
  header.topsell-desktop-shell .header-cart .cart-link:focus-visible {
    border-color: rgba(224, 32, 32, .65) !important;
    background: rgba(255, 255, 255, .07) !important;
    outline: none !important;
  }

  header.topsell-desktop-shell .header-cart .cart-link > img,
  header.topsell-desktop-shell .header-cart .cart-link > .cart-icon,
  header.topsell-desktop-shell .header-cart .cart-link > .cart-img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    margin: 0 !important;
  }

  header.topsell-desktop-shell .header-cart [class*="count"],
  header.topsell-desktop-shell .header-cart [class*="badge"],
  header.topsell-desktop-shell .header-cart .quantity {
    font-size: 11px !important;
    line-height: 18px !important;
  }
}

/* The true mobile template uses Font Awesome for the same account action. */
.mobile-top-wrapper .mobile-btn--account {
  color: #fff !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.mobile-top-wrapper .mobile-btn--account .nav-icon {
  color: inherit !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.mobile-top-wrapper .mobile-btn--account:hover,
.mobile-top-wrapper .mobile-btn--account:focus-visible {
  color: #e02020 !important;
  background: rgba(255, 255, 255, .07) !important;
  border-color: rgba(224, 32, 32, .65) !important;
  outline: none !important;
}

/* Match the mobile cart glyph to the 22px white account glyph while keeping
 * the cart's existing 40px tap target and badge placement. */
.mobile-top-wrapper .header-cart #smcz-root .smcz-trigger {
  color: #fff !important;
}

.mobile-top-wrapper .header-cart #smcz-root .smcz-toggle {
  color: inherit !important;
}

.mobile-top-wrapper .header-cart #smcz-root .smcz-toggle .smcz-icon-inline {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  color: #fff !important;
  stroke: #fff !important;
  fill: none !important;
}

.mobile-top-wrapper .header-cart #smcz-root .smcz-icon-inline * {
  stroke: #fff !important;
  fill: none !important;
}

.mobile-top-wrapper .header-cart #smcz-root .smcz-trigger:hover,
.mobile-top-wrapper .header-cart #smcz-root .smcz-trigger:focus-within {
  color: #e02020 !important;
}

/* ========================================================================== 
 * v14: stop account/cart labels colliding around 1199px desktop width
 * The minicart shortcode uses #smcz-root/.smcz-toggle, not .cart-link.
 * ========================================================================== */
@media (min-width: 1101px) and (max-width: 1280px) {
  header.topsell-desktop-shell .header-right-group {
    gap: 10px !important;
  }

  header.topsell-desktop-shell .header-profile,
  header.topsell-desktop-shell .header-cart {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    flex: 0 0 58px !important;
  }

  header.topsell-desktop-shell .topsell-account-link,
  header.topsell-desktop-shell .header-cart #smcz-root,
  header.topsell-desktop-shell .header-cart #smcz-root .smcz-toggle {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    box-sizing: border-box !important;
  }

  header.topsell-desktop-shell .topsell-account-link {
    height: 44px !important;
    min-height: 44px !important;
    padding: 3px 2px !important;
  }

  header.topsell-desktop-shell .topsell-account-link .account-text {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  header.topsell-desktop-shell .header-cart #smcz-root {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  header.topsell-desktop-shell .header-cart #smcz-root .smcz-toggle {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 2px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }

  header.topsell-desktop-shell .header-cart #smcz-root .smcz-toggle img,
  header.topsell-desktop-shell .header-cart #smcz-root .smcz-toggle svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    flex: 0 0 28px !important;
    margin: 0 !important;
  }

  header.topsell-desktop-shell .header-cart #smcz-root #smcz-count,
  header.topsell-desktop-shell .header-cart #smcz-root .smcz-badge {
    font-size: 11px !important;
    line-height: 18px !important;
  }
}

/* ========================================================================== 
 * v15: one header offset + one page-start rhythm
 *
 * The header spacer is measured by topsell-header.js. Every former body,
 * wrapper, template, breadcrumb, checkout and mobile dummy offset is retired.
 * ========================================================================== */
:root {
  --topsell-page-start-gap: clamp(20px, 1.5vw, 28px);
}

body,
.wrapper {
  padding-top: 0 !important;
}

/* Stable first paint: PHP renders this node; JS only updates its measured height. */
#topsell-header-spacer {
  display: block !important;
  width: 100% !important;
  height: var(--topsell-header-expanded-height, 120px);
  min-height: var(--topsell-header-expanded-height, 120px);
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  pointer-events: none !important;
}

/* Mobile shell is taller than the 70px + 50px desktop shell on first paint.
 * JS replaces this fallback with the measured value before scroll behavior starts. */
header.topsell-mobile-shell + #topsell-header-spacer {
  height: var(--topsell-header-expanded-height, 158px);
  min-height: var(--topsell-header-expanded-height, 158px);
}

/* One small visual breathing space after the complete fixed header. */
main#content.neve-main {
  padding-top: var(--topsell-page-start-gap) !important;
}

/* Remove every known duplicate page-level offset. */
.shopfront-top-gap,
.shopfront-top-gap-page,
.shopfront-top-gap-single,
.singleproductpage,
.sez-mobile-top-gap,
.my-block {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

main#main.site-main[role="main"],
main#main.site-main,
body.woocommerce-checkout form.checkout,
.cartsezmob-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#custom-breadcrumbs-wrap,
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .arb-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* The category/search renderer already has side/bottom padding; top rhythm is global. */
#search-page-main.container {
  padding-top: 0 !important;
}

/* Account pages keep their own card padding and do not need a second global gap. */
body.woocommerce-account main#content.neve-main {
  padding-top: 0 !important;
}

html {
  scroll-padding-top: calc(var(--topsell-header-primary-height, 70px) + var(--topsell-page-start-gap));
}

@media (max-width: 782px) {
  :root {
    --topsell-page-start-gap: 14px;
  }

  body,
  .wrapper,
  main#content.neve-main {
    margin-top: 0 !important;
  }

  /*
   * Keep one identical mobile page-start gap. Legacy responsive.css adds
   * 20px padding-top to generic .container wrappers; the header shell already
   * supplies --topsell-page-start-gap, so page-level containers must not add
   * a second top offset. Horizontal/bottom container padding is untouched.
   * The homepage selector intentionally allows intermediary wrappers such as
   * .nv-index-posts, which made the previous direct-child selector miss live DOM.
   */
  body.home main#content.neve-main .custom-front-page .container {
    padding-top: 0;
  }

  main#content.neve-main > .container,
  main#content.neve-main > #search-page-main.container,
  main#content.neve-main > .custom-front-page > .container,
  main#content.neve-main > .custom-single-post > .container,
  main#content.neve-main > #primary > .container,
  main#content.neve-main > .custom-front-page > .container > #primary.site-main > .container {
    padding-top: 0 !important;
  }
}

/* ========================================================================== 
 * v17: archive shell alignment + original product-card actions
 * ========================================================================== */
:root {
  --topsell-archive-shell-max: 1400px;
  --topsell-archive-shell-gutter: 30px;
}

/* Search/shop/category pages use the same 1400px shell and 30px gutters. */
body.search.search-results #search-page-main.container,
body.search.search-no-results #search-page-main.container,
#search-page-main.container {
  width: 100% !important;
  max-width: var(--topsell-archive-shell-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 var(--topsell-archive-shell-gutter) 48px !important;
  box-sizing: border-box !important;
}

/* Remove the nested archive padding that was making the grid narrower. */
#search-page-main > .custom-front-page,
#search-page-main .custom-front-page > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Restore the original overlay action: hidden until hover/focus/active. */
#search-page-main #product-grid .product-actions {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 4 !important;
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity .15s ease, transform .15s ease !important;
  background: linear-gradient(to top, rgba(255,255,255,.96), rgba(255,255,255,.55) 60%, transparent) !important;
}

#search-page-main #product-grid article.product-card:hover .product-actions,
#search-page-main #product-grid article.product-card:focus-within .product-actions,
#search-page-main #product-grid article.product-card:active .product-actions {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#search-page-main #product-grid article.product-card:hover .rating,
#search-page-main #product-grid article.product-card:focus-within .rating,
#search-page-main #product-grid article.product-card:active .rating {
  opacity: .05 !important;
}

@media (max-width: 782px) {
  :root {
    --topsell-archive-shell-gutter: 12px;
  }

  body.search.search-results #search-page-main.container,
  body.search.search-no-results #search-page-main.container,
  #search-page-main.container {
    padding-bottom: 40px !important;
  }
}

/* ========================================================================== 
 * v19: mobile archive filter viewport + deterministic five-star strips
 * ========================================================================== */
:root {
  --topsell-admin-bar-offset: 0px;
  --topsell-header-visible-height: var(--topsell-header-expanded-height, 120px);
}

body.admin-bar {
  --topsell-admin-bar-offset: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --topsell-admin-bar-offset: 46px;
  }
}

@media (max-width: 1024px) {
  /* Keep the filter trigger and drawer below the part of the fixed header that is visible. */
  #mobile-filter-toggle {
    top: calc(var(--topsell-admin-bar-offset) + var(--topsell-header-visible-height, 0px) + 12px) !important;
    z-index: 10022 !important;
  }

  #search-page-main .sidebar {
    top: calc(var(--topsell-admin-bar-offset) + var(--topsell-header-visible-height, 0px)) !important;
    bottom: auto !important;
    height: calc(100dvh - var(--topsell-admin-bar-offset) - var(--topsell-header-visible-height, 0px)) !important;
    max-height: calc(100dvh - var(--topsell-admin-bar-offset) - var(--topsell-header-visible-height, 0px)) !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 10021 !important;
    overscroll-behavior: contain !important;
  }

  #filter-backdrop.filter-backdrop {
    top: calc(var(--topsell-admin-bar-offset) + var(--topsell-header-visible-height, 0px)) !important;
    bottom: 0 !important;
    height: auto !important;
    z-index: 10020 !important;
  }

  /* The same button becomes the close control while the drawer is open. */
  body.drawer-open #mobile-filter-toggle {
    top: calc(var(--topsell-admin-bar-offset) + var(--topsell-header-visible-height, 0px) + 10px) !important;
    left: min(calc(86vw - 54px), 306px) !important;
    right: auto !important;
    z-index: 10022 !important;
  }

  body.drawer-open #search-page-main .sidebar {
    padding-top: 62px !important;
  }

  /* Dedicated mobile card: exactly five stable SVG stars, no font-glyph drift. */
  #search-page-main #product-grid .sezmobile-rating {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 18px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  #search-page-main #product-grid .sezmobile-rating__stars {
    position: relative !important;
    display: block !important;
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 16px !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23e5e7eb' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
  }

  #search-page-main #product-grid .sezmobile-rating__stars::before,
  #search-page-main #product-grid .sezmobile-rating__stars > span::before {
    content: none !important;
    display: none !important;
  }

  #search-page-main #product-grid .sezmobile-rating__stars > span {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    display: block !important;
    height: 16px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23f59e0b' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
  }

  #search-page-main #product-grid .sezmobile-rating__summary {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    white-space: nowrap !important;
  }

  /* Cached desktop-card markup can still reach a phone; normalize that path too. */
  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .rating {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    min-height: 18px !important;
    margin: 0 !important;
  }

  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating {
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 16px !important;
    overflow: hidden !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
  }

  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating > span {
    height: 16px !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
  }

  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .rating-summary {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    white-space: nowrap !important;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 1024px) {
    #search-page-main .sidebar {
      height: calc(100vh - var(--topsell-admin-bar-offset) - var(--topsell-header-visible-height, 0px)) !important;
      max-height: calc(100vh - var(--topsell-admin-bar-offset) - var(--topsell-header-visible-height, 0px)) !important;
    }
  }
}



/* ========================================================================== 
 * v20: mobile archive card layout + star stability + centered filter handle
 * ========================================================================== */
@media (max-width: 1024px) {
  /* Keep the trigger centered on the left edge of the viewport.
     The drawer itself still opens below the visible fixed header. */
  #mobile-filter-toggle,
  #mobile-filter-toggle.filter-toggle-btn {
    top: 50dvh !important;
    left: 0 !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    border-radius: 0 10px 10px 0 !important;
    z-index: 10022 !important;
  }

  body.drawer-open #mobile-filter-toggle,
  body.drawer-open #mobile-filter-toggle.filter-toggle-btn {
    top: 50dvh !important;
    left: min(calc(min(86vw, 360px) - 44px), 316px) !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    z-index: 10022 !important;
  }
}

@media (max-width: 782px) {
  /* Rebuild mobile archive cards with a deterministic vertical flow. */
  #search-page-main #product-grid.product-grid > article.sezmobile-card {
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-media {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-media__link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-media__img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 6px !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 8px 10px !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-title {
    order: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    font-size: clamp(13px, 3.2vw, 15px) !important;
    line-height: 1.35 !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-title a {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    min-height: calc(2 * 1.35em) !important;
    max-height: calc(2 * 1.35em) !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-pricebar {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    align-items: start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-pricebar__left {
    min-width: 0 !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-pricebar__cta {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    align-self: start !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-pricebar__cta .sezmobile-iconbtn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezprice__main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 5px !important;
    min-width: 0 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezprice__now {
    flex: 0 0 auto !important;
    font-weight: 300 !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezprice__old {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    color: #6b7280 !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating {
    order: 3 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 16px !important;
    margin: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars {
    position: relative !important;
    display: block !important;
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 16px !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23e5e7eb' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars::before,
  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars > span::before {
    content: none !important;
    display: none !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars > span {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    display: block !important;
    height: 16px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23f59e0b' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__summary {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    white-space: nowrap !important;
    color: #63636a !important;
  }
}


/* ========================================================================== 
 * v21: align open filter handle + remove duplicate mobile star renderers
 * ========================================================================== */
@media (max-width: 1024px) {
  /* Closed state remains vertically centered on the viewport's left edge. */
  #mobile-filter-toggle,
  #mobile-filter-toggle.filter-toggle-btn {
    top: 50dvh !important;
    left: 0 !important;
    right: auto !important;
    transform: translateY(-50%) !important;
  }

  /* Open state: attach the close handle to the drawer's outside edge and
     center it in the drawer's visible area below the fixed header. */
  body.drawer-open #mobile-filter-toggle,
  body.drawer-open #mobile-filter-toggle.filter-toggle-btn {
    top: var(--topsell-filter-handle-open-top, 50dvh) !important;
    left: min(86vw, 360px) !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    border-radius: 0 10px 10px 0 !important;
  }
}

@media (max-width: 782px) {
  /* Desktop card markup can be served from page/cache on a phone. It had two
     star engines active at once: style.css masks and responsive.css images.
     Disable both legacy mask/pseudo layers and keep one SVG strip only. */
  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating {
    --star-size: 16px !important;
    position: relative !important;
    display: block !important;
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23e5e7eb' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating::before {
    content: none !important;
    display: none !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating > span,
  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating .custom-star-fill {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    display: block !important;
    height: 16px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23f59e0b' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating > span::before,
  #search-page-main #product-grid article.product-card:not(.sezmobile-card) .custom-star-rating .custom-star-fill::before {
    content: none !important;
    display: none !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  /* Dedicated mobile card: explicitly remove every inherited glyph/mask layer
     so only the v20 background strips remain. */
  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars,
  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars > span {
    -webkit-mask: none !important;
    mask: none !important;
    text-shadow: none !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars::before,
  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars::after,
  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars > span::before,
  #search-page-main #product-grid article.sezmobile-card .sezmobile-rating__stars > span::after {
    content: none !important;
    display: none !important;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 1024px) {
    #mobile-filter-toggle,
    #mobile-filter-toggle.filter-toggle-btn {
      top: 50vh !important;
    }

    body.drawer-open #mobile-filter-toggle,
    body.drawer-open #mobile-filter-toggle.filter-toggle-btn {
      top: var(--topsell-filter-handle-open-top, 50vh) !important;
    }
  }
}


/* ========================================================================== 
 * v22: real mobile card rendering + cached desktop-card fallback
 * The supplied browser source contains one title and one rating node. The
 * visual duplicates came from mobile CSS absolute offsets and two star engines.
 * ========================================================================== */
@media (max-width: 782px) {
  /* Desktop markup may remain visible briefly while a cached page is replaced.
     Keep every content block in normal document flow during that interval. */
  #search-page-main #product-grid article.product-card--desktop {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: stretch !important;
  }

  #search-page-main #product-grid article.product-card--desktop .product-info {
    position: relative !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 8px 8px 10px !important;
    overflow: visible !important;
  }

  #search-page-main #product-grid article.product-card--desktop .product-title,
  #search-page-main #product-grid article.product-card--desktop .product-title a {
    position: static !important;
    display: -webkit-box !important;
    margin: 0 !important;
    height: auto !important;
    min-height: calc(2 * 1.35em) !important;
    max-height: calc(2 * 1.35em) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-overflow: ellipsis !important;
  }

  #search-page-main #product-grid article.product-card--desktop .price {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    gap: 3px !important;
    width: 100% !important;
    margin: 0 !important;
    line-height: normal !important;
    white-space: normal !important;
    transform: none !important;
  }

  #search-page-main #product-grid article.product-card--desktop .price-row {
    position: static !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
    gap: 2px 6px !important;
    min-height: 18px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  #search-page-main #product-grid article.product-card--desktop .price-current .sale-price {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  #search-page-main #product-grid article.product-card--desktop .price-regular .regular-price {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  #search-page-main #product-grid article.product-card--desktop .rating {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: 100% !important;
    min-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #search-page-main #product-grid article.product-card--desktop .rating::before,
  #search-page-main #product-grid article.product-card--desktop .rating::after {
    content: none !important;
    display: none !important;
  }

  /* One renderer only: gray strip in ::before, gold strip in the inline-width
     span. Disable inherited masks, container backgrounds and font glyphs. */
  #search-page-main #product-grid article.product-card--desktop .custom-star-rating {
    --star-size: 16px !important;
    position: relative !important;
    display: block !important;
    flex: 0 0 80px !important;
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    height: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    color: transparent !important;
    background: none !important;
    background-image: none !important;
    -webkit-mask: none !important;
    mask: none !important;
    text-shadow: none !important;
  }

  #search-page-main #product-grid article.product-card--desktop .custom-star-rating::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23e5e7eb' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  #search-page-main #product-grid article.product-card--desktop .custom-star-rating > span,
  #search-page-main #product-grid article.product-card--desktop .custom-star-rating .custom-star-fill {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    display: block !important;
    height: 16px !important;
    overflow: hidden !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23f59e0b' points='12,1.6 15.09,8.26 22.18,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 1.82,9.27 8.91,8.26'/></svg>") !important;
    background-repeat: repeat-x !important;
    background-position: left center !important;
    background-size: 16px 16px !important;
    -webkit-mask: none !important;
    mask: none !important;
  }

  #search-page-main #product-grid article.product-card--desktop .custom-star-rating > span::before,
  #search-page-main #product-grid article.product-card--desktop .custom-star-rating > span::after,
  #search-page-main #product-grid article.product-card--desktop .custom-star-rating .custom-star-fill::before,
  #search-page-main #product-grid article.product-card--desktop .custom-star-rating .custom-star-fill::after {
    content: none !important;
    display: none !important;
  }

  #search-page-main #product-grid article.product-card--desktop .rating-summary {
    min-width: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    white-space: nowrap !important;
  }
}

/* ========================================================================
   EUR price readability normalization
   Current/sale and regular/old monetary amounts use the same readable size
   inside each active component. Discount percentages and supporting labels
   intentionally remain smaller.
   ======================================================================== */

/* Shared desktop product cards. */
.product-card .price-current .sale-price,
.product-card .price-regular .regular-price {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

/* Search/category desktop grid uses tighter cards. */
#search-page-main #product-grid article.product-card--desktop .price-current .sale-price,
#search-page-main #product-grid article.product-card--desktop .price-regular .regular-price {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

/* Homepage/PDP/404 compact lists. */
.compact-product-item .dual-price.eur-only-price .sale-price,
.compact-product-item .dual-price.eur-only-price .regular-price {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

/* Standard WooCommerce product-loop amounts, including non-sale products. */
.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce-page ul.products li.product .price .woocommerce-Price-amount {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

/* Wishlist EUR amounts. */
.sezar-wl-price .woocommerce-Price-amount {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

/* PDP checked/sub-product prices and variation-card amounts. */
.single-product .nc-price,
.single-product .arb-variation-item .price del,
.single-product .arb-variation-item .price ins,
.single-product .arb-variation-item .price > .woocommerce-Price-amount {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

/* Single-product old/current EUR amounts on desktop and mobile. */
.single-product .emag-old-price {
  color: #808080 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

.single-product .emag-old-price del {
  color: inherit !important;
}

.single-product .emag-price-eur-primary {
  font-size: 32px !important;
  line-height: 1.15 !important;
}

/* Add-to-cart popup pairs. */
#product-popup .td-price-cell del,
#product-popup .td-price-cell ins {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

#product-popup-mobile .old-price,
#product-popup-mobile .new-price {
  font-size: 17px !important;
  line-height: 1.2 !important;
}

/* Cart/checkout compact monetary values. */
.price-box .now-line .cartsezmob-current-price,
.price-box .disc-line .was,
.sezcrtdxt-current-price,
.sezcrtdxt-was,
.sc-price {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

@media (max-width: 768px) {
  .single-product #product-details-column > #product-rating-reviews > .product-title {
    font-size: clamp(20px, 5.5vw, 22px) !important;
    line-height: 1.25 !important;
  }

  .single-product .pdp-price-delivery-row {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  /* Product cards used by category, recommendations, sliders and cart/PDP. */
  .product-card .price-current .sale-price,
  .product-card .price-regular .regular-price {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .product-card .price-current .sale-price {
    font-weight: 300 !important;
  }

  /* Search/category mobile renderer. */
  #search-page-main #product-grid article.sezmobile-card .sezprice__main,
  #search-page-main #product-grid article.sezmobile-card .sezprice__now,
  #search-page-main #product-grid article.sezmobile-card .sezprice__old {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  #search-page-main #product-grid article.sezmobile-card .sezprice__old {
    font-size: inherit !important;
  }

  /* Compact homepage/PDP/404 lists. */
  .compact-product-item .dual-price.eur-only-price,
  .compact-product-item .dual-price.eur-only-price .sale-price,
  .compact-product-item .dual-price.eur-only-price .regular-price {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* Standard WooCommerce loops: sale, old and single regular amounts. */
  .woocommerce ul.products li.product .price .woocommerce-Price-amount,
  .woocommerce-page ul.products li.product .price .woocommerce-Price-amount,
  .woocommerce-account .nv-card-content-wrapper .price .woocommerce-Price-amount,
  .sezar-wl-price .woocommerce-Price-amount {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* Cart mobile current/old line totals. */
  .cartsezmob .price-box .now-line .cartsezmob-current-price,
  .cartsezmob .price-box .disc-line .was {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* Checkout mobile current/old line totals, both checkout renderers. */
  .woocommerce-checkout .price-box .now-line .current-price,
  .woocommerce-checkout .price-box .disc-line .was,
  .woocommerce-checkout .sezcrtdxt-current-price,
  .woocommerce-checkout .sezcrtdxt-was {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* Other compact cart/checkout monetary amounts. */
  .sc-price,
  .woocommerce-checkout .seztable .sez-value .woocommerce-Price-amount,
  .woocommerce-checkout .seztable .sez-value .amount {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* Mobile add-to-cart popup and 601-768 desktop-style popup. */
  #product-popup-mobile .old-price,
  #product-popup-mobile .new-price,
  #product-popup .td-price-cell del,
  #product-popup .td-price-cell ins {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* PDP checked/variation amounts. */
  .single-product .nc-price,
  .single-product .arb-variation-item .price,
  .single-product .arb-variation-item .price del,
  .single-product .arb-variation-item .price ins,
  .single-product .arb-variation-item .price > .woocommerce-Price-amount {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  /* Match the desktop price information on mobile, sized for a narrow column. */
  .single-product .emag-style-price {
    display: flex !important;
    padding-top: 0 !important;
  }

  .single-product .emag-old-price {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  .single-product .emag-current-price.eur-only-price {
    align-items: baseline !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 4px 0 !important;
  }

  .single-product .emag-price-eur-primary {
    font-size: clamp(27px, 7.2vw, 34px) !important;
    line-height: 1.15 !important;
  }

  .single-product .emag-price-save {
    margin-top: 0 !important;
    padding-left: 0 !important;
    font-size: 13px !important;
  }

  /* Keep the same rating summary as desktop; move the product code onto row two. */
  .single-product .rating-left {
    flex-wrap: wrap !important;
  }

  .single-product .rating-left > #write-review-button + .divider {
    display: none !important;
  }

  .single-product .rating-left > .arb-code-line {
    flex: 1 0 100% !important;
    margin: 3px 0 0 !important;
  }

  /* Thank-you/order item current and old prices. */
  .woocommerce-order-received .arb-card .price-now,
  .woocommerce-order-received .arb-card .price-was,
  .woocommerce-order-received .arb-card .price-now .woocommerce-Price-amount,
  .woocommerce-order-received .arb-card .price-was .woocommerce-Price-amount {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }
}

/* Preserve clean PDP spacing after matching the desktop old/current amount size. */
.single-product .emag-old-price {
  margin-bottom: 0 !important;
}

/* ========================================================================
   v14: Homepage carousel tablet layout + touch cart (641px–782px)
   JS expects 2 visible cards below 768px and 3 visible cards from 768px.
   Match those counts in CSS so cards no longer overflow/crop at iPad width.
   Phone cards (<=640px) and desktop cards (>=783px) remain unchanged.
   ======================================================================== */
@media (min-width: 641px) and (max-width: 782px) {
  .custom-front-page .carousel-container {
    max-height: none !important;
    overflow: hidden !important;
  }

  .custom-front-page .carousel-track {
    gap: 0 !important;
    min-height: 360px !important;
    align-items: stretch !important;
  }

  /* A small per-card margin creates the visual gap while keeping each
     card's OUTER width exactly aligned with the JS carousel step. */
  .custom-front-page .carousel-track > article.product-card {
    position: relative !important;
    box-sizing: border-box !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: 360px !important;
    margin: 0 5px !important;
    padding: 0 !important;
    overflow: hidden !important;
    align-items: stretch !important;
  }

  .custom-front-page .carousel-track > article.product-card .product-image-wrapper {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 25 / 24;
    flex: 0 0 auto !important;
  }

  .custom-front-page .carousel-track > article.product-card .product-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 5px !important;
    gap: 1px !important;
  }

  .custom-front-page .carousel-track > article.product-card .promo-badge {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    z-index: 5 !important;
    display: block !important;
    padding: 3px 6px !important;
    background: #d32f2f !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .custom-front-page .carousel-track > article.product-card .product-title,
  .custom-front-page .carousel-track > article.product-card .product-title a {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    color: #313b44 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .custom-front-page .carousel-track > article.product-card .product-title a {
    height: 35px !important;
  }

  /* Cancel legacy mobile absolute positioning at tablet widths. */
  .custom-front-page .carousel-track > article.product-card .price,
  .custom-front-page .carousel-track > article.product-card .rating {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }

  .custom-front-page .carousel-track > article.product-card .price {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 2px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .custom-front-page .carousel-track > article.product-card .price-row {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .custom-front-page .carousel-track > article.product-card .price-current .sale-price {
    color: #d32f2f !important;
    font-size: 17px !important;
    font-weight: 300 !important;
  }

  .custom-front-page .carousel-track > article.product-card .price-regular .regular-price {
    color: #6c757d !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
  }

  .custom-front-page .carousel-track > article.product-card .rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    width: 100% !important;
    min-height: 38px !important;
    margin-top: auto !important;
    padding-right: 44px !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .custom-front-page .carousel-track > article.product-card .custom-star-rating {
    --star-size: 16px !important;
    width: 80px !important;
    height: 16px !important;
    flex: 0 0 80px !important;
  }

  .custom-front-page .carousel-track > article.product-card .rating-summary {
    font-size: 12px !important;
    min-width: 0 !important;
  }

  /* iPad/touch has no dependable hover. Keep the existing action visible as
     the compact cart control, fully inside the card. */
  .custom-front-page .carousel-track > article.product-card .product-actions {
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 5px !important;
    bottom: 5px !important;
    z-index: 6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    transform: none !important;
    transition: none !important;
  }

  .custom-front-page .carousel-track > article.product-card .product-actions > .button {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background-color: #e60023 !important;
    background-image: url("../assets/cart-light.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 23px 23px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .15s ease !important;
  }

  .custom-front-page .carousel-track > article.product-card .product-actions > .button:hover,
  .custom-front-page .carousel-track > article.product-card .product-actions > .button:focus-visible,
  .custom-front-page .carousel-track > article.product-card .product-actions > .button:active {
    background-color: #cc001f !important;
    transform: none !important;
  }

  .custom-front-page .carousel-track > article.product-card:hover .rating,
  .custom-front-page .carousel-track > article.product-card:focus-within .rating,
  .custom-front-page .carousel-track > article.product-card:active .rating {
    opacity: 1 !important;
  }
}

/* 641–767px: carousel JS uses 2 visible cards. */
@media (min-width: 641px) and (max-width: 767px) {
  .custom-front-page .carousel-track > article.product-card {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
  }
}

/* 768–782px: carousel JS uses 3 visible cards; all 3 must fit completely. */
@media (min-width: 768px) and (max-width: 782px) {
  .custom-front-page .carousel-track > article.product-card {
    flex: 0 0 calc(33.333333% - 10px) !important;
    width: calc(33.333333% - 10px) !important;
    min-width: calc(33.333333% - 10px) !important;
    max-width: calc(33.333333% - 10px) !important;
  }
}

/* ========================================================================
   v14: Homepage iPad mobile-card renderer repair (641px–782px)
   The homepage can receive the mobile card template (.sezmobile-card) in the
   tablet viewport, while its component CSS is intentionally phone-only
   (<=640px). Style that exact tablet/template combination here so the existing
   in-flow pricebar CTA, rating, title and badge render correctly. Phone and
   desktop remain untouched.
   ======================================================================== */
@media (min-width: 641px) and (max-width: 782px) {
  .custom-front-page .carousel-track > article.sezmobile-card {
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px !important;
    color: #212529 !important;
    font-family: Roboto, Arial, sans-serif !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card,
  .custom-front-page .carousel-track > article.sezmobile-card * {
    box-sizing: border-box !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-badge {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    z-index: 5 !important;
    display: block !important;
    margin: 0 !important;
    padding: 3px 6px !important;
    border-radius: 6px !important;
    background: #d32f2f !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-media,
  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-media__link {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-media {
    position: relative !important;
    flex: 0 0 auto !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-media__img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    object-fit: contain !important;
    background: #fff !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-info {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    gap: 0 !important;
    padding: 4px 5px 5px !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-title {
    display: block !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-title a {
    display: -webkit-box !important;
    height: 38px !important;
    margin: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #313b44 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 20px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__stars {
    position: relative !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: max-content !important;
    height: 16px !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 16px !important;
    line-height: 16px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__stars::before,
  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__stars > span::before {
    content: "★★★★★" !important;
    display: block !important;
    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    white-space: nowrap !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__stars::before {
    color: #e5e7eb !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__stars > span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    height: 16px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__stars > span::before {
    color: #f59e0b !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-rating__summary {
    display: block !important;
    margin: 0 !important;
    color: #63636a !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 16px !important;
    white-space: nowrap !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sez-placeholder {
    visibility: hidden !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 40px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
    gap: 6px !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar__left {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezprice__main {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    gap: 5px !important;
    overflow: hidden !important;
    color: #d32f2f !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezprice__now {
    flex: 0 0 auto !important;
    color: #d32f2f !important;
    font-size: 17px !important;
    font-weight: 300 !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezprice__old {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    color: #6c757d !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    text-overflow: ellipsis !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar__cta {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar__cta .sezmobile-iconbtn {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #e60023 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transform: none !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar__cta .sezmobile-iconbtn:hover,
  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar__cta .sezmobile-iconbtn:focus-visible,
  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-pricebar__cta .sezmobile-iconbtn:active {
    background: #cc001f !important;
    transform: none !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-icon {
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 25px !important;
    color: #fff !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-icon *,
  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-icon [stroke] {
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-icon rect {
    display: none !important;
  }

  .custom-front-page .carousel-track > article.sezmobile-card .sezmobile-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

/* ========================================================================
   v16: Homepage price emphasis
   - Compact lists (Best rated / On sale / Top deal): current EUR price red.
   - Homepage slider current price: weight 500 on desktop/mobile/tablet.
   ======================================================================== */
#custom-product-section .compact-product-item .sale-price {
  color: #e02020 !important;
}

.custom-front-page .carousel-track > article.product-card--desktop .price-current .sale-price {
  color: #d32f2f !important;
  font-weight: 500 !important;
}

@media (max-width: 782px) {
  .custom-front-page .carousel-track > article.sezmobile-card .sezprice__now {
    color: #d32f2f !important;
    font-weight: 500 !important;
  }
}

/* Quick Order: prevent mobile/touch browser focus zoom on typing. */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  body.single-product #arb_fast_order #fast_name,
  body.single-product #arb_fast_order #fast_phone {
    font-size: 16px !important;
  }
}

/* PDP breadcrumb visual gap without changing product-page document flow. */
body.single-product #custom-breadcrumbs-wrap {
  margin-bottom: 0 !important;
  transform: translateY(-8px);
}

@media (max-width: 768px) {
  body.single-product #custom-breadcrumbs-wrap {
    transform: translateY(-4px);
  }
}

/* Final page-start spacing contract. The measured header spacer reserves the
 * fixed header's height; this is only the breathing room below it. Cart and
 * checkout use a compact desktop gap; account pages have no desktop gap.
 * Mobile spacing is unified below for every page type. */
main#content.neve-main {
  padding-top: var(--topsell-page-start-gap, 20px) !important;
}

body.woocommerce-account main#content.neve-main {
  padding-top: 0 !important;
}

/* Keep the skip link off-screen until keyboard focus reaches it. */
.show-on-focus:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.show-on-focus:focus {
  position: fixed !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 2147483647 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  clip: auto !important;
  clip-path: none !important;
  background: #fff !important;
  color: #111 !important;
  white-space: normal !important;
}

/* Keep the text-entry part of both header search bars white on desktop and
 * mobile. The category selector and submit button retain their own colors. */
header.topsell-desktop-shell .amazon-search-input,
.mobile-top-wrapper .amazon-search-input {
  background-color: #fff !important;
  color: #222 !important;
  -webkit-text-fill-color: #222 !important;
  caret-color: #222 !important;
}

header.topsell-desktop-shell .amazon-search-input::placeholder,
.mobile-top-wrapper .amazon-search-input::placeholder {
  color: #777 !important;
  opacity: 1 !important;
}

header.topsell-desktop-shell .amazon-search-input:focus,
.mobile-top-wrapper .amazon-search-input:focus {
  background-color: #fff !important;
  color: #222 !important;
  -webkit-text-fill-color: #222 !important;
}

/* Additional breathing room below the measured sliding header on every
 * mobile page, including cart, checkout, and account. */
@media (max-width: 782px) {
  body main#content.neve-main,
  body.woocommerce-account main#content.neve-main,
  body.woocommerce-cart main#content.neve-main,
  body.woocommerce-checkout main#content.neve-main {
    padding-top: 24px !important;
  }
}

/* Keep desktop account/cart icons and labels on identical rows. */
.desktop-header-wrapper .header-profile .profile-link,
.desktop-header-wrapper .header-cart #smcz-root .smcz-trigger {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
}

.desktop-header-wrapper .header-profile .profile-icon,
.desktop-header-wrapper .header-cart #smcz-root .smcz-icon-inline {
  display: block !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
}

.desktop-header-wrapper .header-profile .account-text,
.desktop-header-wrapper .header-cart #smcz-root .smcz-label {
  display: block !important;
  margin: 0 !important;
  font-family: Roboto, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 12px !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.desktop-header-wrapper .header-cart #smcz-root .smcz-toggle {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (min-width: 1101px) and (max-width: 1280px) {
  header.topsell-desktop-shell .header-cart #smcz-root .smcz-toggle {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
  }
}

/* Mobile account and cart share the same 22px icon row and 11px label row. */
@media (max-width: 782px) {
  .mobile-top-wrapper .mobile-actions {
    align-items: flex-end !important;
  }

  .mobile-top-wrapper .mobile-actions .mobile-btn--account,
  .mobile-top-wrapper .mobile-actions .header-cart #smcz-root {
    width: 44px !important;
    min-width: 44px !important;
    flex: 0 0 44px !important;
    align-items: center !important;
  }

  .mobile-top-wrapper .mobile-actions .mobile-btn--account {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
  }

  .mobile-top-wrapper .mobile-btn--account .nav-icon,
  .mobile-top-wrapper .header-cart #smcz-root .smcz-icon-inline {
    display: block !important;
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
  }

  .mobile-top-wrapper .mobile-btn--account .btn-text,
  .mobile-top-wrapper .header-cart #smcz-root .smcz-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 12px !important;
    text-align: center !important;
    text-transform: none !important;
    white-space: nowrap !important;
    color: #fff !important;
    transform: none !important;
  }

  .mobile-top-wrapper .header-cart #smcz-root .smcz-trigger {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    height: 34px !important;
  }

  .mobile-top-wrapper .header-cart #smcz-root .smcz-toggle {
    width: 44px !important;
    min-width: 44px !important;
    height: 22px !important;
    min-height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Confirmation popup recommendations use compact slider-style product cards. */
body.single-product .arb_pop_box .arb-promotion-table .fill {
  overflow: hidden !important;
  padding: 10px 12px 12px !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: stretch !important;
  gap: 12px !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 10px !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product {
  position: relative !important;
  display: flex !important;
  flex: 0 0 210px !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 210px !important;
  min-width: 0 !important;
  min-height: 306px !important;
  height: 306px !important;
  margin: 0 !important;
  padding: 8px !important;
  overflow: hidden !important;
  border: 1px solid #e9ecef !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(18, 38, 63, .06) !important;
  scroll-snap-align: start;
  text-align: left !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.woocommerce-LoopProduct-link,
body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .imgBox {
  display: contents !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .title {
  display: none !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.woocommerce-LoopProduct-link img {
  display: block !important;
  flex: 0 0 150px !important;
  width: 100% !important;
  height: 150px !important;
  max-height: 150px !important;
  margin: 0 0 8px !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
  object-fit: contain !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  min-height: 2.8em !important;
  max-height: 2.8em !important;
  margin: 0 0 5px !important;
  overflow: hidden !important;
  color: #313b44 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > .price {
  display: block !important;
  flex: 0 0 auto !important;
  min-height: 1.5em !important;
  margin: 0 0 8px !important;
  color: #c62828 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.button,
body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.add_to_cart_button,
body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .arb-btn {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: auto 0 0 !important;
}

body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .arb-btn a.button,
body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .arb-btn a.loop_simple_add_to_cart,
body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.button,
body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.add_to_cart_button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
}

@media (max-width: 600px) {
  body.single-product .arb_pop_box .arb-promotion-table .fill ul.products {
    gap: 9px !important;
  }

  body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product {
    flex-basis: 158px !important;
    width: 158px !important;
    min-height: 278px !important;
    height: 278px !important;
    padding: 7px !important;
  }

  body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product > a.woocommerce-LoopProduct-link img {
    flex-basis: 122px !important;
    height: 122px !important;
    max-height: 122px !important;
  }

  body.single-product .arb_pop_box .arb-promotion-table .fill ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
  }
}

/* Keep slider navigation controls circular instead of allowing theme button
 * rules to stretch them; product imagery keeps its natural proportions. */
.swiper-button-prev, .swiper-button-next,
.slick-prev, .slick-next,
.owl-prev, .owl-next,
.flickity-prev-next-button,
.sezmobile-slider .nav-arrow,
button[data-role="slider-prev"], button[data-role="slider-next"],
button.slideshow-prev, button.slideshow-next,
button.carousel-prev, button.carousel-next,
button.slider-arrow, button.nav-button,
button.slider-arrow.blog-left, button.slider-arrow.blog-right,
button.slider-arrow.vertical-left, button.slider-arrow.vertical-right,
button.video-left, button.video-right,
button#prev-main-image, button#next-main-image,
button#prev-thumbnails, button#next-thumbnails {
  box-sizing: border-box !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  border-radius: 50% !important;
}

.product-card .product-image {
  object-fit: contain !important;
  object-position: center center !important;
}

/* Fullscreen gallery arrows are fixed-size overlays, independent of theme
 * button widths and the image's flex sizing. */
#image-modal .image-modal-content > .modal-nav-button {
  position: absolute !important;
  top: 50% !important;
  z-index: 10001 !important;
  display: flex !important;
  flex: 0 0 44px !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
}

#image-modal #modal-prev-image {
  left: 12px !important;
  right: auto !important;
}

#image-modal #modal-next-image {
  right: 12px !important;
  left: auto !important;
}

#image-modal .image-modal-content > .modal-nav-button:hover {
  transform: translateY(-50%) scale(1.08) !important;
}

#image-modal .image-modal-content > .modal-nav-button:active {
  transform: translateY(-50%) scale(.96) !important;
}

/* Product meta: keep the code beside rating/reviews on phones. */
@media (max-width: 768px) {
  body.single-product #product-rating-reviews .rating-left {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0;
    white-space: nowrap;
  }

  body.single-product #product-rating-reviews .rating-summary-box,
  body.single-product #product-rating-reviews #write-review-button,
  body.single-product #product-rating-reviews .arb-code-line {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }

  body.single-product #product-rating-reviews .arb-code-line {
    flex: 0 1 auto !important;
    min-width: 0;
    margin: 0 0 0 auto !important;
  }
}

/* Price and delivery benefits stay side by side on mobile at desktop price size. */
@media (max-width: 768px) {
  body.single-product .pdp-price-delivery-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.single-product .pdp-price-column,
  body.single-product .pdp-delivery-column {
    min-width: 0;
  }

  body.single-product .emag-style-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  body.single-product .emag-current-price.eur-only-price {
    display: block !important;
    margin: 0 !important;
  }

  body.single-product .emag-price-eur-primary {
    font-size: 32px !important;
    line-height: 1.15 !important;
    white-space: nowrap;
  }

  body.single-product .emag-old-price {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    white-space: normal;
  }

  body.single-product .emag-price-save {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: inherit !important;
  }

  body.single-product .pdp-price-info-row .proof-points-container {
    padding: 8px !important;
  }

  body.single-product .pdp-price-info-row .proof-points-list {
    gap: 6px !important;
  }

  body.single-product .pdp-price-info-row .proof-points-list li {
    gap: 5px;
    align-items: center;
  }

  body.single-product .pdp-price-info-row .proof-points-list .pp-content,
  body.single-product .pdp-price-info-row .proof-points-list li:first-child .pp-content {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 360px) {
  body.single-product .pdp-price-delivery-row { gap: 5px !important; }
  body.single-product .emag-old-price { font-size: 14px !important; }
  body.single-product .pdp-price-info-row .proof-points-list .pp-content,
  body.single-product .pdp-price-info-row .proof-points-list li:first-child .pp-content {
    font-size: 11px !important;
  }
}

@media (min-width: 769px) {
  body.single-product .emag-old-price {
    font-size: 18px !important;
  }

  body.single-product .emag-price-save {
    color: #333 !important;
    font-size: 14px !important;
  }
}

/* Promo price options: retain the neutral card background and highlight only amounts. */
body.single-product .addtocart-wrap .arb_promo_vars_wrapper.arb-promo-price-grid {
  box-sizing: border-box !important;
  margin: 18px 0 16px !important;
  padding: 0 !important;
  gap: 0 !important;
  border: 1px solid #d9dee8 !important;
  border-radius: 8px !important;
  background: #f5f6f8 !important;
  box-shadow: none !important;
}

body.single-product .addtocart-wrap .arb-promo-price-option {
  min-height: 46px;
  gap: 10px !important;
  padding: 9px 8px !important;
  color: #252a33 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

body.single-product .addtocart-wrap .arb-promo-price-single {
  border-right: 1px solid #d9dee8 !important;
}

body.single-product .addtocart-wrap .arb-promo-price-option .price.arb_var_price,
body.single-product .addtocart-wrap .arb-promo-price-option .price.arb_var_price * {
  color: #d7192d !important;
  font-size: inherit !important;
  font-weight: 750 !important;
}

@media (max-width: 600px) {
  body.single-product .addtocart-wrap .arb-promo-price-option {
    gap: 8px !important;
    padding: 8px 5px !important;
    font-size: 14px !important;
  }
}

/* Slightly larger Add to Cart label without changing its established geometry. */
body.single-product .addtocart-wrap .single_add_to_cart_button,
body.single-product .addtocart-wrap button.arb_var.single_page,
body.single-product .addtocart-wrap button.alt[name="add-to-cart"] {
  box-sizing: border-box;
  font-size: 16px !important;
  line-height: 20px !important;
}

@media (min-width: 769px) {
  body.single-product .addtocart-wrap .single_add_to_cart_button,
  body.single-product .addtocart-wrap button.arb_var.single_page,
  body.single-product .addtocart-wrap button.alt[name="add-to-cart"] {
    font-size: 18px !important;
    line-height: 22px !important;
  }
}

@media (max-width: 768px) {
  body.single-product .addtocart-wrap form.cart,
  body.single-product .addtocart-wrap .arb_input_form,
  body.single-product .addtocart-wrap .variations_button {
    flex-wrap: nowrap !important;
    gap: 7px !important;
    min-width: 0;
  }

  body.single-product .addtocart-wrap form.cart .quantity,
  body.single-product .addtocart-wrap .arb_input_form .quantity {
    flex: 0 0 auto !important;
    min-width: 0;
    margin: 0 !important;
  }

  body.single-product .addtocart-wrap form.cart .single_add_to_cart_button,
  body.single-product .addtocart-wrap .arb_input_form .single_add_to_cart_button,
  body.single-product .addtocart-wrap button.arb_var.single_page {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    white-space: nowrap;
  }
}

/* Quick Order copy uses one line when the desktop card has enough width. */
@media (min-width: 769px) {
  body.single-product #arb_fast_order .fast-order-copy {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5px;
    row-gap: 1px;
  }

  body.single-product #arb_fast_order .fast-order-line-main {
    display: inline !important;
    width: auto !important;
  }

  body.single-product #arb_fast_order .fast-order-line-contact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin: 0 !important;
    gap: 8px;
  }

  body.single-product #arb_fast_order .fast-order-phone {
    margin: 0 !important;
  }
}

/* Keep the image viewer red close control and contain touch overscroll. */
#image-modal .image-modal-close {
  color: #e02020 !important;
  opacity: 1 !important;
}

#image-modal .image-modal-close:hover,
#image-modal .image-modal-close:focus-visible {
  color: #b00000 !important;
}

#image-modal {
  overscroll-behavior: contain;
}

html:has(body.image-modal-open),
body.image-modal-open {
  overflow: hidden !important;
}

/* Reduce the desktop gap above Quick Order without changing mobile spacing. */
@media (min-width: 769px) {
  body.single-product #product-details-column .two-column-wrapper {
    padding-top: 4px !important;
  }

  body.single-product #product-details-column #arb_fast_order {
    margin-top: 0 !important;
  }

}

/* Keep the Quick Order sentence left and use the remaining header width to
   place the phone number at the right edge, including on narrow screens. */
body.single-product #arb_fast_order .fast-order-copy {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.single-product #arb_fast_order .fast-order-line-main {
  flex: 0 1 auto !important;
}

body.single-product #arb_fast_order .fast-order-line-contact {
  display: flex !important;
  flex: 1 1 220px !important;
  min-width: 220px !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: auto !important;
  text-align: left !important;
}

body.single-product #arb_fast_order .fast-order-phone {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

/* Separate the original price from its discount label for clear scanning. */
body.single-product .emag-old-price {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
}

/* ArbAjaxAdd confirmation: lower the dialog below the fixed desktop header. */
body.single-product .arb_pop_box {
  box-sizing: border-box;
  overflow: hidden !important;
  overscroll-behavior: contain;
  padding: 0 12px 16px;
}

body.single-product .arb_pop_box .arb-lg {
  box-sizing: border-box;
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
  margin: clamp(84px, 11vh, 126px) auto 16px;
  overflow-y: auto;
}

body.single-product .arb_pop_box .modal-content {
  margin-bottom: 0;
}

body.single-product .arb_pop_box .arb_pop_content.gray {
  padding-top: 10px;
  padding-bottom: 10px;
}

body.single-product .arb_pop_box .arb_pop_content.gray .arb-promotion-table {
  max-height: min(55vh, 500px);
}

body.single-product .arb_pop_box a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  white-space: nowrap !important;
}

body.single-product.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (max-width: 768px) {
  body.single-product .arb_pop_box .arb-lg {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: 10px auto 14px;
    padding: 0 8px;
  }
}

/* Keep the product video modal controls square and the play mark centered. */
body.single-product .video-modal-close {
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: 1 / 1 !important;
  line-height: 1 !important;
  font-size: 28px !important;
  z-index: 2;
}

body.single-product .video-thumb .play-button {
  box-sizing: border-box;
  width: 58px;
  height: 42px;
  border-radius: 12px;
  background: #e62117;
  color: #fff;
  font-size: 0;
}

body.single-product .video-thumb .play-button span {
  display: none;
}

body.single-product .video-thumb .play-button::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}

body.single-product .video-thumb .play-button:hover {
  background: #c91d15;
}
/* Focused fixes for the requested mobile header and product layouts. */
@media (max-width: 782px) {
  body.tax-product_cat main#content.neve-main,
  body.post-type-archive-product main#content.neve-main,
  body.woocommerce-shop main#content.neve-main,
  body.search.search-results main#content.neve-main {
    padding-top: 0 !important;
  }

  body.single-product .custom-front-page,
  body.single-product .custom-front-page > .container,
  body.single-product .topsell-product-top-row,
  body.single-product #product-details-column,
  body.single-product .pdp-price-delivery-row,
  body.single-product .addtocart-wrap,
  body.single-product .addtocart-wrap form.cart {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-product .topsell-product-top-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 6px !important;
  }

  /* Show the related promo before the breadcrumb on mobile. */
  body.single-product .topsell-product-top-row .arb-right-checkbox-box,
  body.single-product .topsell-product-top-row .sing_prod_col_right {
    display: block !important;
    visibility: visible !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 4px !important;
  }

  body.single-product .topsell-product-top-row #custom-breadcrumbs-wrap {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.single-product #product-details-column .rating-left {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    min-width: 0 !important;
  }

  body.single-product #product-details-column .rating-left > .arb-code-line {
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
  }

  body.single-product .pdp-price-delivery-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) !important;
    align-items: center !important;
    gap: 6px !important;
  }

  body.single-product .pdp-price-column,
  body.single-product .pdp-delivery-column {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-product .pdp-price-info-row .proof-points-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.single-product .pdp-price-info-row .proof-points-list {
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .addtocart-wrap form.cart,
  body.single-product .addtocart-wrap .arb_input_form,
  body.single-product .addtocart-wrap .variations_button {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product .addtocart-wrap form.cart > *,
  body.single-product .addtocart-wrap .arb_input_form > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-product .quick-order-block .fast_qty_box {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: auto !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    clear: both;
  }

  body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
    flex: 0 0 112px !important;
    width: 112px !important;
    height: 44px !important;
    border: 1px solid #e02020 !important;
    border-radius: 6px !important;
    background: #fff !important;
  }

  body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added span {
    color: #e02020 !important;
  }

  body.single-product .quick-order-block .fast_qty_box button#fast_submit {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    border: 1px solid #e02020 !important;
    border-radius: 6px !important;
    background: #e02020 !important;
    color: #fff !important;
    white-space: nowrap !important;
  }
}

/* Keep desktop Quick Order action controls spaced from the product details. */
@media (min-width: 769px) {
  body.single-product #product-details-column .two-column-wrapper {
    padding-top: 20px !important;
  }
}

/* Keep Quick Order actions visually separate from the contact fields on all screens. */
body.single-product #arb_fast_order .fast-order-form-body {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .quick-order-block .fast_qty_box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: auto !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  clear: both;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  flex: 0 0 112px !important;
  width: 112px !important;
  height: 44px !important;
  border: 1px solid #111 !important;
  border-radius: 3px !important;
  background: #fff !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added span {
  color: #111 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease {
  border-right-color: #111 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  border-left-color: #111 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span i {
  color: #111 !important;
}

body.single-product .quick-order-block .fast_qty_box button#fast_submit {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  border: 1px solid #e02020 !important;
  border-radius: 3px !important;
  background: #e02020 !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.single-product #arb_fast_order {
  border-radius: 3px !important;
}

body.single-product #arb_fast_order .fast_order {
  border-radius: 3px 3px 0 0 !important;
}

@media (min-width: 769px) {
  body.single-product .quick-order-block .fast_qty_box button#fast_submit {
    font-size: 18px !important;
    line-height: 22px !important;
  }
}

/* Requested final responsive corrections. */
header.topsell-desktop-shell .header-hotline img[alt="Hotline"] {
  filter: brightness(0) saturate(100%) invert(53%) sepia(47%) saturate(563%) hue-rotate(91deg) brightness(93%) contrast(88%) !important;
}

.mobile-top-wrapper .mobile-btn--call .nav-icon {
  color: #25a55b !important;
}

@media (max-width: 782px) {
  body.single-product #product-details-column #product-rating-reviews .rating-left {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  body.single-product #product-details-column #product-rating-reviews .rating-left > .arb-code-line {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 0 0 auto !important;
  }
}

/* Avoid scroll anchoring shifts while the fixed mobile nav row collapses. */
header.topsell-mobile-shell,
header.topsell-mobile-shell + #topsell-header-spacer {
  overflow-anchor: none !important;
}

header.topsell-mobile-shell.topsell-scroll-compact .mobile-quick-nav,
header.topsell-mobile-shell.topsell-scroll-hidden .mobile-quick-nav {
  transform: none !important;
  transition: height .16s ease, max-height .16s ease, flex-basis .16s ease, opacity .1s ease !important;
}

/* Vertically center the Quick Order +/- glyphs inside the selector cells. */
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: 1fr !important;
  align-items: stretch !important;
  gap: 0 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease,
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  display: flex !important;
  position: static !important;
  inset: auto !important;
  top: auto !important;
  transform: none !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease i,
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase i {
  display: block !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added input#fast_qty {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: stretch !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 !important;
  text-align: center !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

/* Center each detached quick-order quantity control within its own cell. */
body.single-product .quick-order-block .fast_qty_box {
  align-items: center !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: 1fr !important;
  align-items: stretch !important;
  justify-items: stretch !important;
  gap: 0 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease,
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  display: grid !important;
  place-items: center !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  height: 48px !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span i {
  display: block !important;
  height: auto !important;
  line-height: 1 !important;
  margin: 0 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added input#fast_qty {
  display: block !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  width: 100% !important;
  height: 48px !important;
  line-height: 48px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* Keep the detached Quick Order controls in three equal, predictable cells. */
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: 1fr !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 0 !important;
  overflow: hidden !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added input#fast_qty {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

body.single-product .quick-order-block .fast_qty_box button#fast_submit {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* The quantity group is now outside #arb_fast_order, so define its three
   controls explicitly instead of inheriting the old absolute-position layout. */
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 34px !important;
  align-items: center !important;
  justify-content: stretch !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 42px !important;
  min-width: 0 !important;
  padding: 0 !important;
  transform: none !important;
  background: #fff !important;
  cursor: pointer;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease {
  border-right: 1px solid #e02020 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  border-left: 1px solid #e02020 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added input#fast_qty {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  text-align: center !important;
  position: static !important;
}


/* Final PDP overrides: remove the proof-points card and keep the call icon green. */
body.single-product .pdp-price-info-row .proof-points-container,
body.single-product .pdp-price-info-row .proof-points-list,
body.single-product .pdp-price-info-row .proof-points-list > li {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.single-product .pdp-price-info-row .proof-points-container {
  background: transparent !important;
  border-radius: 0 !important;
}

body.single-product #arb_fast_order .fast-order-phone i {
  color: #25a55b !important;
}

/* Quantity and submit controls sit outside the customer details panel. */
body.single-product .quick-order-block {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 20px !important;
}

/* Leave a single panel edge at the bottom; the last field must not draw a
   second underline directly against the outer panel border. */
body.single-product #arb_fast_order #fast_phone {
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.single-product .quick-order-block .fast_qty_box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: auto !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  flex: 0 0 112px !important;
  width: 112px !important;
  height: 44px !important;
  border: 1px solid #e02020 !important;
  border-radius: 6px !important;
  background: #fff !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added span {
  color: #e02020 !important;
}

body.single-product .quick-order-block .fast_qty_box button#fast_submit {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  border: 1px solid #e02020 !important;
  border-radius: 6px !important;
  background: #e02020 !important;
  color: #fff !important;
  white-space: nowrap !important;
}

/* Final control dimensions and colors: mirror Add to Cart sizing while keeping
   the Quick Order submit button red and the quantity selector black. */
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added {
  flex: 0 0 150px !important;
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  border: 1px solid #111 !important;
  border-radius: 3px !important;
  background: #fff !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span,
body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span i {
  color: #111 !important;
  height: 48px !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.decrease {
  border-right: 1px solid #111 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added > span.increase {
  border-left: 1px solid #111 !important;
}

body.single-product .quick-order-block .fast_qty_box .quantity.buttons_added input#fast_qty {
  height: 48px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

body.single-product .quick-order-block .fast_qty_box button#fast_submit {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  padding: 12px 20px !important;
  border-radius: 3px !important;
  font-size: 16px !important;
  line-height: 20px !important;
}

@media (min-width: 769px) {
  body.single-product .quick-order-block .fast_qty_box button#fast_submit {
    font-size: 18px !important;
    line-height: 22px !important;
  }
}

/* Product page layout refinements: keep delivery details beside the price and
   reserve a separate desktop column for breadcrumbs and the promo product. */
@media (min-width: 769px) {
  body.single-product .topsell-product-top-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(235px, 320px) !important;
    align-items: start !important;
    column-gap: clamp(16px, 3vw, 32px) !important;
    row-gap: 8px !important;
    position: relative !important;
  }

  body.single-product .topsell-product-top-row #custom-breadcrumbs-wrap {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: visible !important;
  }

  body.single-product #custom-breadcrumbs-list {
    display: flex !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.single-product .topsell-product-top-row .sing_prod_col_right,
  body.single-product .topsell-product-top-row .arb-right-checkbox-box {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: stretch !important;
    align-self: start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body.single-product .topsell-product-top-row .sing_prod_col_right ul.products li.product > a.woocommerce-LoopProduct-link img {
    position: relative !important;
    z-index: 0 !important;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    object-fit: contain !important;
  }

  body.single-product .topsell-product-top-row .sing_prod_col_right ul.products li.product .price {
    box-sizing: border-box !important;
    width: calc(100% - 74px) !important;
    margin: 4px 0 6px 74px !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body.single-product .topsell-product-top-row .arb-right-checkbox-box .nc-price {
    justify-self: start !important;
    margin: 0 !important;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  body.single-product .pdp-price-delivery-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.single-product .pdp-price-column,
  body.single-product .pdp-delivery-column,
  body.single-product .pdp-price-info-row,
  body.single-product .pdp-price-info-row .proof-points-container {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .pdp-delivery-column {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  body.single-product .pdp-price-column {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.single-product .pdp-price-info-row .proof-points-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .pdp-price-info-row .proof-points-list > li {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-width: 0 !important;
    width: 100% !important;
    gap: 5px !important;
  }

  body.single-product .pdp-price-info-row .proof-points-list .pp-content,
  body.single-product .pdp-price-info-row .proof-points-list li:first-child .pp-content {
    min-width: 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.single-product .emag-price-eur-primary {
    font-size: clamp(25px, 8.2vw, 32px) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 360px) {
  body.single-product .pdp-price-delivery-row { gap: 5px !important; }
  body.single-product .pdp-price-info-row .proof-points-list .pp-content,
  body.single-product .pdp-price-info-row .proof-points-list li:first-child .pp-content {
    font-size: 10px !important;
  }
}

/* Put the related promo product first in the desktop page flow, with the
   breadcrumb below it instead of beside/behind its image. */
@media (min-width: 769px) {
  body.single-product .topsell-product-top-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    row-gap: 8px !important;
  }

  body.single-product .topsell-product-top-row .sing_prod_col_right,
  body.single-product .topsell-product-top-row .arb-right-checkbox-box {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 !important;
  }

  body.single-product .topsell-product-top-row #custom-breadcrumbs-wrap {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Restore the clickable review link's separators and visual design on phones;
   keep the product code close to the review link on the same line. */
@media (max-width: 782px) {
  body.single-product #product-details-column #product-rating-reviews .rating-left {
    gap: 3px !important;
  }

  body.single-product #product-details-column #product-rating-reviews .rating-left .divider {
    display: inline !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  body.single-product #product-details-column #product-rating-reviews #write-review-button {
    display: inline !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1676d2 !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-weight: 400 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
  }

  body.single-product #product-details-column #product-rating-reviews .rating-left > .arb-code-line {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }
}

/* Use the desktop hotline SVG on mobile, tinted green and sized to match
   the visible account and cart icons. */
.mobile-top-wrapper .mobile-btn--call .nav-icon {
  display: block !important;
  box-sizing: border-box !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
  filter: brightness(0) saturate(100%) invert(53%) sepia(47%) saturate(563%) hue-rotate(91deg) brightness(93%) contrast(88%) !important;
}

/* Keep the review link visibly clickable on desktop as it is on mobile. */
@media (min-width: 783px) {
  body.single-product #product-details-column #product-rating-reviews #write-review-button {
    color: #1676d2 !important;
    font-family: Roboto, Arial, sans-serif !important;
    text-decoration: underline !important;
    cursor: pointer !important;
  }
}

/* Mobile blog slider: use a compact thumbnail frame and fill it with the
   image so the cards do not have blank bands above or below the photo. */
@media (max-width: 768px) {
  body .latest-blog-posts .blog-slider-wrapper {
    align-items: flex-start !important;
    margin-block: 0 !important;
    padding-block: 0 !important;
  }

  body .latest-blog-posts .blog-grid {
    align-items: flex-start !important;
    margin-block: 0 !important;
    padding-block: 0 !important;
  }

  body .latest-blog-posts .blog-card {
    align-self: flex-start !important;
  }

  body .latest-blog-posts .blog-thumbnail {
    display: block !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
  }

  body .latest-blog-posts .blog-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* The vertical banner photo fills the slider frame, including the area
     previously lost to slide padding and the image's contain sizing. */
  #custom-product-section .vertical-banner-slider .slide {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #custom-product-section .vertical-banner-slider .slide > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  #custom-product-section .vertical-banner-slider .slide img.banner-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
  }
}

/* Keep the mobile page start below the WordPress admin bar plus the full
   fixed header; the scroll controller updates the reserved height at runtime. */
@media (max-width: 782px) {
  /* The mobile PDP header joins page flow at scrollY=0, then becomes fixed
     as soon as the visitor scrolls. Its spacer is zero only in flow mode. */
  body.single-product header.topsell-mobile-shell[data-topsell-document-top="true"] {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
  }

  body.admin-bar header.topsell-mobile-shell + #topsell-header-spacer {
    height: var(--topsell-header-reserved-height, var(--topsell-header-expanded-height, 158px)) !important;
    min-height: var(--topsell-header-reserved-height, var(--topsell-header-expanded-height, 158px)) !important;
  }

  body.single-product header.topsell-mobile-shell[data-topsell-document-top="true"] + #topsell-header-spacer {
    height: 0 !important;
    min-height: 0 !important;
  }

}

/* Archive pages start immediately after the measured header. The header
   spacer already reserves its true document-flow height, including the WP
   admin bar where needed; these roots must not add another mobile top gap. */
@media (max-width: 782px) {
  body.tax-product_cat main#content.neve-main,
  body.post-type-archive-product main#content.neve-main,
  body.woocommerce-shop main#content.neve-main,
  body.search main#content.neve-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.tax-product_cat main#content.neve-main > .container,
  body.post-type-archive-product main#content.neve-main > .container,
  body.woocommerce-shop main#content.neve-main > .container,
  body.search main#content.neve-main > .container,
  body.tax-product_cat main#content.neve-main > #primary,
  body.post-type-archive-product main#content.neve-main > #primary,
  body.woocommerce-shop main#content.neve-main > #primary,
  body.search main#content.neve-main > #primary,
  body.tax-product_cat .woocommerce-products-header,
  body.post-type-archive-product .woocommerce-products-header,
  body.woocommerce-shop .woocommerce-products-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.search #search-page-main.container {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Keep the category/search navigation visible while trimming its height
     slightly to reduce the remaining page-start whitespace. */
  body.tax-product_cat header.topsell-mobile-shell,
  body.post-type-archive-product header.topsell-mobile-shell,
  body.woocommerce-shop header.topsell-mobile-shell,
  body.search header.topsell-mobile-shell {
    --topsell-secondary-row-height: 36px;
  }

  body.search .no-results-section {
    padding-top: 20px !important;
  }
}

/* Desktop PDP: bring the promo card closer to the top of the page while
   keeping a distinct gap before its category breadcrumb/map row. */
@media (min-width: 783px) {
  body.single-product main#content.neve-main {
    padding-top: 8px !important;
  }

  body.single-product .topsell-product-top-row {
    row-gap: 18px !important;
  }
}

/* Match the Add to Cart and Quick Order action rows without changing their
   colors, labels, or cart artwork. Keep the current quantity controls intact. */
body.single-product .addtocart-wrap form.cart:not(.grouped_form):not(.variations_form),
body.single-product .addtocart-wrap form.cart .variations_button,
body.single-product .addtocart-wrap .arb_input_form,
body.single-product .quick-order-block .fast_qty_box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.single-product .addtocart-wrap form.cart:not(.grouped_form):not(.variations_form) > .quantity,
body.single-product .addtocart-wrap form.cart .variations_button > .quantity,
body.single-product .addtocart-wrap .arb_input_form > .quantity,
body.single-product .quick-order-block .fast_qty_box > .quantity {
  margin: 0 !important;
}

body.single-product .addtocart-wrap .single_add_to_cart_button,
body.single-product .addtocart-wrap button.arb_var.single_page,
body.single-product .addtocart-wrap button[name="add-to-cart"],
body.single-product .addtocart-wrap .add-to-cart-with-extras,
body.single-product .addtocart-wrap .add-to-cart-simple,
body.single-product .addtocart-wrap .add-to-cart-grouped,
body.single-product .addtocart-wrap .custom-add-to-cart,
body.single-product .addtocart-wrap a.external-product-btn,
body.single-product .quick-order-block .fast_qty_box button#fast_submit {
  display: inline-flex !important;
  flex: 1 1 0 !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  margin: 0 !important;
  border-radius: 4px !important;
}

/* Give the red Quick Order button a little more separation and reduce its
   width while preserving the row's right edge. */
body.single-product .quick-order-block .fast_qty_box button#fast_submit {
  flex: 0 0 calc(100% - 170px) !important;
  width: calc(100% - 170px) !important;
  max-width: calc(100% - 170px) !important;
}

/* Keep both action buttons equal in width with the requested shared gap
   from their quantity selectors. */
body.single-product .addtocart-wrap form.cart:not(.grouped_form):not(.variations_form),
body.single-product .addtocart-wrap form.cart .variations_button,
body.single-product .addtocart-wrap .arb_input_form,
body.single-product .quick-order-block .fast_qty_box {
  gap: 10px !important;
}

body.single-product .quick-order-block .fast_qty_box {
  gap: 20px !important;
}
