:root {
  /* Color styles */
  --color--bg-subtle: #f8f7f4;
  --color--fg-base: #18181b;
  --color--fg-subtle: #52525b;
  --color--fg-muted: #a1a1aa;
  --color--border-base: #e4e4e7;
  --color--button-inverted: #27272a;
  --color--link: #2F793F;
  --color--link-hover: #0066CF;
  --color--accent-blue: #0066CF;
  /* Shadows */
  --card-rest: 0 0 0 1px #c6b8a114, 0 1px 2px -1px #c6b8a114,
    0 2px 4px #c6b8a10a;
  --borders--base: 0px 1px 2px rgba(0, 0, 0, 0.12),
    0px 0px 0px 1px rgba(0, 0, 0, 0.08);
  --buttons--inverted: inset 0px 0.75px 0px rgba(255, 255, 255, 0.2),
    0px 1px 2px rgba(0, 0, 0, 0.4), 0px 0px 0px 1px rgba(24, 24, 27, 1);
}
@font-face {
  font-family: "iCiel Pacifico";
  src: url("/themes/paudiet/assets/fonts/iciel-pacifico.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
.font-iciel {
  font-family: "iCiel Pacifico", sans-serif !important;
}

body,
html,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
a,
p,
button {
  font-family: Inter, sans-serif !important;
}

/* Links: verde por defecto, azul en hover */
a {
  color: var(--color--link);
}
a:hover {
  color: var(--color--link-hover);
}

/* Títulos de producto: azul */
.s_title_block a,
.product_name a,
h3.product-title a,
.pro_second_box .s_title_block a,
article.ajax_block_product .s_title_block a,
.product-miniature .s_title_block a,
h1.product_name,
h1.product_name a,
a.product-name,
div.product-name,
.product-name-row a.product-name,
.product-line-info a.label {
  color: var(--color--accent-blue) !important;
}
.s_title_block a:hover,
article.ajax_block_product .s_title_block a:hover,
.product-miniature .s_title_block a:hover,
h1.product_name a:hover,
a.product-name:hover,
.product-line-info a.label:hover {
  color: var(--color--link-hover) !important;
}

/* General Styles */
.Row {
  width: 100%;
  height: 146px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.title-atencion {
  align-self: stretch;
  color: var(--color--fg-base);
  font-size: 24px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  line-height: 32px;
  word-wrap: break-word;
}

.row-blocks-atencion {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.ValuePropositionCard {
  height: 84px;
  padding: 24px;
  background: var(--color--bg-subtle);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 0, 0, 0);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-width: 219px;
}

.HeroiconsOutlinePhone,
.HeroiconsOutlineEnvelope,
.HeroiconsOutlineChatBubbleOvalLeftEllipsis {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.HeroiconsOutlinePhone .Vector,
.HeroiconsOutlineEnvelope .Vector,
.HeroiconsOutlineChatBubbleOvalLeftEllipsis .Vector {
  border: 2px solid var(--color--fg-base);
}

.info-atencion-block {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.Featuredescription {
  color: var(--color--fg-base);
  font-size: 15px;
  font-family: Inter, sans-serif;
  word-wrap: break-word;
}

.Featuredescription--bold {
  font-weight: bold;
}

.Featuredescription--regular {
  font-weight: 400;
  color: var(--color--fg-subtle);
}

.cathome {
  width: 249.6px;
  height: 241px;
  border: 1.5px rgba(101, 133, 101, 0) solid;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.block-cathome {
  background: var(--color--bg-subtle);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 250px;
  overflow: hidden;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
}

.block-cathome img {
  width: 100%;
  align-self: stretch;
}

.body-cathome {
  align-self: stretch;
  text-align: center;
  color: var(--color--fg-base);
  font-size: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 21px;
  word-wrap: break-word;
}
#easycontent_7 .topbar-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
#easycontent_7 .topbar-buttons .btn-dropdown-wrap {
  position: relative;
}
#easycontent_7 .topbar-buttons .btn-dropdown-wrap .btn-novedades {
  cursor: pointer;
  user-select: none;
}
#easycontent_7 .topbar-buttons .btn-dropdown-wrap .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 160px;
  padding: 6px 0;
  margin: 4px 0 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  list-style: none;
}
#easycontent_7 .topbar-buttons .btn-dropdown-wrap.open .dropdown-menu {
  display: block;
}
#easycontent_7 .topbar-buttons .btn-dropdown-wrap .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
#easycontent_7 .topbar-buttons .btn-dropdown-wrap .dropdown-menu li a:hover {
  background: #f0f4ff;
  color: #0066cc;
}
#easycontent_7 p,
#easycontent_8 a {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
}

#easycontent_8 .easy_brother_block > div {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

#easycontent_8 .easy_brother_block > div > a {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

#header_left .search_widget_form_inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 8px;
  gap: 8px;

  width: 180px;
  height: 32px;
  background: #f8f7f4;

  border-radius: 999px;
  border: none;
  overflow: hidden;
  & .form-control {
    background: #f8f7f4;
    & input:placeholder {
      color: #c6b8a1;
    }
  }
}
#header_left .search_widget_form_inner .btn-search {
  width: 15px;
  height: 15px;
}
#header_left .search_widget_form_inner .btn-search i {
  color: var(--color--fg-muted);
}
#st_header .search_widget_block {
  width: auto !important;
}
#header_left .st_mega_menu a {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
  text-transform: none;
  padding: 0;
  margin: 0;
  height: auto;
}
#header_left #st_mega_menu_wrap {
  border: none;
}

#header_left .header_box,
#header_left .st_mega_menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
#st_header .shop_logo {
  display: flex;
  justify-content: center;
  width: 80px;
}

.sidebar-submenu-left {
  position: fixed;
  top: 0;
  left: -500px; /* Oculto inicialmente */
  width: 500px;
  height: 100%;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 9999;
  opacity: 0;
}

.sidebar-submenu-left #st_menu_multi_level_2,
.sidebar-submenu-left #st_menu_multi_level_7 {
  list-style: none;
  padding: 20px;
}
#sidebar-submenu-left-compra-rapida ul li .custom-link-item {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sidebar-submenu-left ul li {
  margin: 10px 0;
}

.sidebar-submenu-left ul li a {
  color: var(--color--fg-base);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
}
.sidebar-submenu-left ul li a i {
  display: none;
}
.sidebar-submenu-left i.fto-angle-down,
.sidebar-submenu-left i.fto-angle-up {
  font-size: 26px;
}
.sidebar-submenu-left.open {
  left: 0; /* Aparece al activarse */
  opacity: 1;
}
#sidebarMenu {
  right: -500px;
  opacity: 0;
  padding: 0;
  z-index: 9999;
}
#sidebarMenu ul {
  padding: 20px;
}
#sidebarMenu.open {
  right: 0;
  opacity: 1;
}
.ajax_block_product .pro_outer_box {
  padding: 0px;
  background: #ffffff;
  box-shadow: var(--card-rest);
  border-radius: 12px;
  overflow: hidden;
}
.btn-default {
  height: 40px;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  gap: 6px;
  min-height: 27px;
  /* background: var(--color--button-inverted); */
  /*  box-shadow: inset 0px 0.75px 0px rgba(255, 255, 255, 0.2),
    0px 1px 2px rgba(0, 0, 0, 0.4), 0px 0px 0px 1px rgba(24, 24, 27, 0.5);*/
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: bold !important;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.88);
  border: none;
  text-transform: none;
}
.btn-default:hover {
  /* background: #3f3f46; */
  color: rgba(255, 255, 255, 0.88);
}
.btn-default:focus {
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4), 0px 0px 0px 1px #18181b,
    0px 0px 0px 2px #ffffff, 0px 0px 0px 4px rgba(59, 130, 246, 0.6),
    inset 0px 0.75px 0px rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
.btn-default:disabled {
  background: #f4f4f5;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  color: #d4d4d8;
}

.btn-default i,
.btn-default svg {
  color: rgba(255, 255, 255, 0.56);
}
.ajax_block_product .s_title_block.flex_child {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
}

.ajax_block_product .price {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.ajax_block_product .tax_label {
  display: none;
}

.pro_first_box {
  padding: 0px;
  mix-blend-mode: normal;
  box-shadow: var(--card-rest);
}
.s_quantity_wanted .pro_quantity.form-control,
.s_quantity_wanted .input-group-btn .btn-touchspin,
.bootstrap-touchspin #quantity_wanted,
.qty_wrap.qty_wrap_big .btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px !important;
  border: none;
}
.product_list .list .s_quantity_wanted .pro_quantity.form-control {
  max-width: 78px;
}
.qty_wrap.qty_wrap_big {
  width: auto;
  min-width: auto;
}
.input-group.bootstrap-touchspin {
  gap: 6px;
  height: 40px;
}

.s_quantity_wanted .input-group {
  gap: 6px;
}

.act_box_cart.display_normal {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.pro_second_box {
  padding: 12px !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Grid cards: propagate height down so act_box_cart can pin to bottom */
.product_list.grid .product_list_item,
.product_list.row .product_list_item {
  display: flex;
  align-items: stretch;
}
.product_list.grid .view-grid,
.product_list.row .view-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.product_list.grid .view-grid article,
.product_list.row .view-grid article {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}
.product_list.grid .view-grid .pro_outer_box,
.product_list.row .view-grid .pro_outer_box {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}
.product_list.grid .view-grid .pro_second_box,
.product_list.row .view-grid .pro_second_box {
  flex: 1;
}
.product_list.grid .view-grid .act_box_cart,
.product_list.row .view-grid .act_box_cart {
  margin-top: auto;
}
.title_style_0 .title_block_inner {
  border: none;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--color--fg-base);
}

.title_style_0,
.brands_slider_item {
  border: none;
}

.swiper-button-next::after {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 1px 0px 48px;
  gap: 8px;

  position: absolute;
  width: 85px;
  right: -1px;
  top: -0.1px;
  bottom: 0.1px;

  background: linear-gradient(
    270deg,
    var(--color--bg-subtle) 0%,
    rgba(250, 250, 250, 0) 100%
  );
}

#search_filters_wrapper,
#pack_ofertas_wrapper,
#search_filters_suppliers,
#search_filters_brands {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
  gap: 12px;
  isolation: isolate;
  background: #ffffff;
  box-shadow: var(--card-rest);
  border-radius: 12px;
  margin-bottom: 16px;
}

#search_filters_wrapper .facet-title,
#pack_ofertas_wrapper .facet-title,
#search_filters_suppliers .facet-title,
#search_filters_brands .facet-title {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #1b281b;
  margin-bottom: 16px;
}

.facet_filter_item_li .search-link {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: var(--color--fg-base);
}

#search_filters_wrapper .title_block,
#pack_ofertas_wrapper .title_block,
#search_filters_suppliers .title_block,
#search_filters_brands .title_block {
  display: none;
}
#search_filters_wrapper .block_content,
#pack_ofertas_wrapper .block_content,
#search_filters_suppliers .block_content,
#search_filters_brands .block_content {
  padding: 0;
  width: 100%;
}

#search_filters_wrapper .facet,
#pack_ofertas_wrapper .facet,
#search_filters_suppliers .facet,
#search_filters_brands .facet {
  border-bottom: 1px solid var(--color--border-base);
  padding: 12px 0;
}

.breadcrumb_nav li span,
.breadcrumb_nav li {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #1b1b1c;
}
.breadcrumb_wrapper {
  border-color: var(--color--border-base);
}
#search_filters_wrapper .facet:last-child,
#pack_ofertas_wrapper .facet:last-child,
#search_filters_suppliers .facet:last-child,
#search_filters_brands .facet:last-child {
  border: none;
}

.list_grid_switcher .selected {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  padding: 5px;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: 1px solid var(--color--button-inverted);
  border-radius: 6px;
  & i {
    color: var(--color--button-inverted) !important;
  }
}

.list_grid_switcher > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: var(--color--bg-subtle);

  border-radius: 6px;
}
.list_grid_switcher > div:hover {
  background-color: var(--color--button-inverted) !important;
}
.list_grid_switcher > div.selected:hover {
  background-color: var(--color--button-inverted) !important;
  & i {
    color: white !important;
  }
}
.list_grid_switcher {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.products-sort-order .dropdown_tri {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  padding: 8px;
  width: 280px;
  height: 32px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px;
}

.featured_categories_item .product_img_link {
  background: var(--color--bg-subtle);
  box-shadow: var(--card-rest);
  border-radius: 250px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  max-width: 150px;
}
.featured_categories_item .product_img_link img {
  object-fit: cover;
  width: 100%;
  height: 100% !important;
}
.featured_categories_item .s_title_block {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--color--fg-base);
  overflow: visible;
}
.title_style_0 .title_block_inner,
.title-atencion {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  color: var(--color--fg-base);
  text-align: left;
  text-transform: none;
}
.brands_slider_container .swiper-wrapper {
  align-items: center;
}
.products_sldier_swiper .pro_outer_box:hover .pro_second_box {
  background-color: transparent;
}
.sidebar-submenu-left {
  background-color: white;
  opacity: 1;
}
@media (max-width: 767px) {
  .row-blocks-atencion {
    overflow-x: scroll;
  }
  .Row {
    padding: 0;
  }
  .ValuePropositionCard {
    padding: 12px;
    gap: 12px;
  }
}

/*Product*/

.product_left_content .pro_gallery_top_inner .swiper-container,
.product_left_content .pro_gallery_thumb_box {
  background: #ffffff;
  mix-blend-mode: normal;

  overflow: hidden;
}
.product_name_wrap .product_name {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: -0.005em;
  color: var(--color--fg-base);
  margin-bottom: 0;
  text-transform: none;
}

.product_middle_column_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 24px;
  background: #ffffff;

  border-radius: 12px;
}

.product-description-short {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
  margin-bottom: 0 !important;
}
.product_info_tabs .tab-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0px;
  gap: 0px;
}
.accordion_more_info .mobile_tab .tab-pane {
  padding: 12px;

  background: #ffffff;
  border-color: #f9f8f5;

  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;

  color: var(--color--fg-base);
}

.mobile_tab .mobile_tab_title {
  padding: 0;
}

.sidebar-submenu-left {
  background: rgb(255 255 255 / 74%);
  box-shadow: var(--borders--base);
}
#sidebarMenu {
  background: rgb(255 255 255 / 74%);
  box-shadow: var(--borders--base);
  width: 500px;
}
.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toggle-children {
  padding: 0.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: transform 0.2s ease;
}

.toggle-children:hover {
  transform: scale(1.1);
}

.toggle-children:active {
  transform: scale(0.95);
}

/* Icon rotation animation */
.toggle-children i {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-children.is-open i {
  transform: rotate(180deg);
}

.hidden {
  display: none;
}

/* Animated subcategories dropdown */
.subcategories {
  margin-left: 1rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease,
    transform 0.25s ease;
}

.subcategories.is-visible {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.subcategories.hidden {
  display: block !important;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.subcategories li {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.subcategories.is-visible li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation for list items */
.subcategories.is-visible li:nth-child(1) {
  transition-delay: 0.05s;
}
.subcategories.is-visible li:nth-child(2) {
  transition-delay: 0.1s;
}
.subcategories.is-visible li:nth-child(3) {
  transition-delay: 0.15s;
}
.subcategories.is-visible li:nth-child(4) {
  transition-delay: 0.2s;
}
.subcategories.is-visible li:nth-child(5) {
  transition-delay: 0.25s;
}
.subcategories.is-visible li:nth-child(6) {
  transition-delay: 0.3s;
}
.subcategories.is-visible li:nth-child(7) {
  transition-delay: 0.35s;
}
.subcategories.is-visible li:nth-child(8) {
  transition-delay: 0.4s;
}

.subcategories li a {
  font-weight: 500 !important;
  transition: padding-left 0.2s ease, color 0.2s ease;
}

.subcategories li a:hover {
  padding-left: 0.5rem;
}

.ml_level_2 {
  padding: 0.25rem 0;
}

.sidebar-submenu-left {
  transition: transform 0.3s ease-in-out;
}

.sidebar-submenu-left.hidden {
  transform: translateX(-100%);
}

/* ========================================
   DESKTOP FLYOUT SUBCATEGORIES
   On desktop (≥992px), subcategories appear as an integrated
   right column within the sidebar. The sidebar expands when
   a category is opened.
   ======================================== */
@media (min-width: 992px) {
  /* Sidebar clips expanded content during width transition */
  #sidebar-submenu-left {
    overflow: hidden;
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
  }

  /* Expand sidebar when subcategories are visible */
  #sidebar-submenu-left:has(.subcategories.is-visible) {
    width: 800px;
  }

  /* Keep categories list constrained to left column */
  #sidebar-submenu-left #st_menu_multi_level_2 {
    max-width: 500px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
  }

  /* Subcategories as integrated right column within the sidebar */
  #sidebar-submenu-left .subcategories {
    position: absolute;
    left: 500px;
    top: 71px;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid var(--color--border-base);
    background: transparent;
    box-sizing: border-box;
    /* Override accordion styles */
    transform: none;
    max-height: none;
  }

  /* Hidden: truly hidden */
  #sidebar-submenu-left .subcategories.hidden {
    display: none !important;
    max-height: none;
    opacity: 0;
    transform: none;
  }

  /* Visible: instant show */
  #sidebar-submenu-left .subcategories.is-visible {
    display: block !important;
    opacity: 1;
    max-height: none;
    transform: none;
  }

  /* No staggered animation — show items instantly */
  #sidebar-submenu-left .subcategories li,
  #sidebar-submenu-left .subcategories.is-visible li {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  /* Chevron points right (→) to hint flyout direction */
  #sidebar-submenu-left .toggle-children i {
    transform: rotate(-90deg);
  }
  /* When open, chevron points left (←) */
  #sidebar-submenu-left .toggle-children.is-open i {
    transform: rotate(90deg);
  }

  /* Active category highlight */
  #sidebar-submenu-left li.is-active > .category-item {
    background: var(--color--bg-subtle);
    border-radius: 6px;
    padding-left: 0.5rem;
    padding-right: 0.25rem;
  }
}
.head-sidebar {
  background: var(--color--bg-subtle);
  color: var(--color--fg-base);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color--border-base);
  padding: 12px 14px;
}
.head-sidebar span {
  cursor: pointer;
  padding: 8px;
  font-size: 20px;
  font-weight: bold;
}
.close-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-sidebar span svg {
  width: 30px;
  height: 30px;
}

.head-sidebar span:hover {
  opacity: 0.8;
}

.drop-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  gap: 8px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 8px;
}
.drop-select .dropdown-toggle {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  width: 100%;
}

.dropdown-content.hidden,
.dropdown:hover .dropdown-content.hidden {
  display: none !important;
}
.dropdown-content.open,
.dropdown:hover .dropdown-content.open {
  display: block !important;
}

#create_account_block,
#login_form_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12px;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-radius: 6px;
}

.btn-primary {
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  gap: 6px;
  min-height: 27px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: var(--color--fg-base);
  border: none;
  width: auto;
  text-transform: none;
}
.btn-primary:hover {
  background: #f4f4f5;
  color: var(--color--fg-base);
  box-shadow: var(--borders--base);
}
.btn-primary:focus {
  background: #ffffff;
  color: var(--color--fg-base);
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.12),
    0px 0px 0px 1px rgba(0, 0, 0, 0.08), 0px 0px 0px 2px #ffffff,
    0px 0px 0px 4px rgba(59, 130, 246, 0.6);
}
.btn-primary:disabled {
  background: #f4f4f5;
  box-shadow: var(--borders--base);

  color: #d4d4d8;
}

#create_account_block .page_heading,
#login_form_block .page_heading {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}

.js-input-column input,
.table-amb2bfastbuy .search-widget input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 8px;
  gap: 4px;
  background-color: var(--color--bg-subtle);
  /*box-shadow: var(--borders--base);*/
  border-radius: 6px;
  border: none;
}
.contact-form textarea {
  padding: 8px;
}
.contact-form .input-group-btn:not(:first-child) > .btn {
  margin: 0;
}
.btn.show_password {
  background: var(--color--bg-subtle);
  /*  box-shadow: var(--borders--base);*/
  border-radius: 0 6px 6px 0;
  margin-left: 0 !important;
  opacity: 1;
}
.js-input-column input,
.js-input-column .input-group-with-border,
.js-input-column input:focus,
.js-input-column .input-group-with-border:focus,
.table-amb2bfastbuy .search-widget input,
.table-amb2bfastbuy .search-widget input:focus {
  border: none !important;
}

#side_products_cart,
#side_amwishlist,
#side_wishlist {
  background: #ffffff;
  box-shadow: var(--borders--base);
  border: none;
}

.st-menu-header {
  background: var(--color--bg-subtle);
  color: var(--color--fg-base);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color--border-base);
  padding: 12px 14px;
}
.st-menu-header .st-menu-title {
  text-transform: none;
  font-size: 14px;
}
.myacount_dashbord_list .list-group-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 24px;
  background: #ffffff;
  box-shadow: none;
  border-radius: 0 !important;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: var(--color--fg-base);
  overflow: hidden;
  border: none;
  border-bottom: 1px solid var(--color--border-base);
}
.my_account_left_column .list-group {
  background: #ffffff;
  border-radius: 0;
  border: none;
  overflow: hidden;
  box-shadow: none;
}
.my_account_left_column .list-group .list-group-item {
  border-bottom: 1px solid var(--color--border-base);
  border-top: none;
  border-left: 5px solid transparent;
  border-right: none;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-subtle);
  transition: border-color 0.2s, color 0.2s;
}
.my_account_left_column .list-group .list-group-item.active {
  border-left-color: var(--color--link);
  color: var(--color--fg-base);
  font-weight: 700;
  background-color: #ffffff;
  border-color: var(--color--link);
  border-bottom-color: var(--color--border-base);
  border-top: none;
  border-right: none;
}
.my_account_left_column .list-group .list-group-item.active a {
  color: var(--color--fg-base);
}
.my_account_left_column .list-group .list-group-item:last-child {
  border-bottom: none;
}
.my_account_left_column .list-group .list-group-item i,
.myacount_dashbord_list .list-group-item i {
  display: none;
}

#identity .form_content {
  padding: 24px;
  gap: 24px;
  background: #ffffff;
  box-shadow: none;
  border-radius: 0;
}
.psgdprinfo17 {
  padding: 24px;
  gap: 8px;
  background: #ffffff;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.address.card.card_trans {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12px;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-bottom: 1px solid var(--color--border-base);
  border-radius: 0;
}

.address.card.card_trans .address-body {
  padding: 0;
}
.address.card.card_trans .address-footer {
  padding: 0;
  border: none;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  gap: 12px;
}
.address.card.card_trans .address-footer a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 6px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: var(--color--fg-base);
}
.address.card.card_trans .address-footer a i {
  color: var(--color--fg-subtle);
}
a[data-link-action="add-address"] {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 6px;
  background: var(--color--button-inverted);
  box-shadow: var(--buttons--inverted);
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.88);
}

#customer-form .form-footer {
  margin-top: 24px;
}
.action_line div {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.action_line button {
  cursor: pointer;
}

/* Panel de cuenta del cliente: fondo blanco, sin cajas */
#my-account #wrapper,
#identity #wrapper,
#addresses #wrapper,
#address #wrapper,
#order-detail #wrapper,
#history #wrapper,
#order-slip #wrapper,
#discount #wrapper,
#order-follow #wrapper,
#module-psgdpr-gdpr #wrapper,
#module-amcatalogmanagement-account #wrapper,
#module-ps_emailalerts-account #wrapper,
#module-amdevtools-viewClientDocs #wrapper {
  background: #ffffff;
}
#my-account #content-wrapper,
#identity #content-wrapper,
#addresses #content-wrapper,
#address #content-wrapper,
#order-detail #content-wrapper,
#history #content-wrapper,
#order-slip #content-wrapper,
#discount #content-wrapper,
#order-follow #content-wrapper,
#module-psgdpr-gdpr #content-wrapper,
#module-amcatalogmanagement-account #content-wrapper,
#module-ps_emailalerts-account #content-wrapper,
#module-amdevtools-viewClientDocs #content-wrapper {
  background: #ffffff;
}
#my-account .breadcrumb_spacing,
#identity .breadcrumb_spacing,
#addresses .breadcrumb_spacing,
#address .breadcrumb_spacing,
#order-detail .breadcrumb_spacing,
#history .breadcrumb_spacing,
#order-slip .breadcrumb_spacing,
#discount .breadcrumb_spacing,
#order-follow .breadcrumb_spacing,
#module-psgdpr-gdpr .breadcrumb_spacing,
#module-amcatalogmanagement-account .breadcrumb_spacing,
#module-ps_emailalerts-account .breadcrumb_spacing,
#module-amdevtools-viewClientDocs .breadcrumb_spacing {
  background: #ffffff;
}

.table-amb2bfastbuy {
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--color--border-base);
}

.products_sldier_swiper .swiper-wrapper {
  padding: 10px 0;
}
.pro_second_box .ajax_add_to_cart_button {
  width: 100%;
  height: 40px;
}
.pro_second_box .ajax_add_to_cart_button span {
  display: none;
}
.qty_wrap {
  width: 100%;
  min-width: auto;
}
.pro_cart_block .add-to-cart.btn {
  width: 100%;
  height: 40px;
}
.pro_cart_block .product-quantity {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 6px;
}
.pro_cart_block .product-quantity .add {
  width: 100%;
}

.category-cover img {
  background: var(--color--bg-subtle);
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  max-height: 200px;
  overflow: hidden;
  object-fit: cover;
}

#subcategories .inline_list li a.img {
  width: 100px;
  height: 100px;
  background: var(--color--bg-subtle);
  box-shadow: var(--card-rest);
  border-radius: 250px;
  overflow: hidden;
}
#subcategories .inline_list li a.img img {
  object-fit: cover;
  height: 100%;
}
#subcategories .subcate_grid_view {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: safe center;
  gap: 16px 24px;
  overflow-x: auto;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 8px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--color--border-base) transparent;
}
#subcategories .subcate_grid_view::-webkit-scrollbar {
  height: 6px;
}
#subcategories .subcate_grid_view::-webkit-scrollbar-track {
  background: transparent;
}
#subcategories .subcate_grid_view::-webkit-scrollbar-thumb {
  background: var(--color--border-base);
  border-radius: 3px;
}
#subcategories .subcate_grid_view li {
  max-width: 120px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}
#subcategories .subcate_grid_view li:not(:has(a.img))::before {
  display: none;
}
#subcategories .subcate_grid_view li:not(:has(a.img)) h3.s_title_block {
  overflow: visible;
}
#subcategories .subcate_grid_view li:not(:has(a.img)) a.subcategory-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
#subcategories .subcate_grid_view li:not(:has(a.img)) a.subcategory-name::before {
  content: "";
  width: 100px;
  height: 100px;
  background: var(--color--bg-subtle);
  border: 1px solid var(--color--border-base);
  border-radius: 250px;
  display: block;
}
@media (max-width: 768px) {
  #subcategories .inline_list li a.img {
    width: 80px;
    height: 80px;
  }
  #subcategories .subcate_grid_view li:not(:has(a.img)) a.subcategory-name::before {
    width: 80px;
    height: 80px;
  }
  #js-product-list-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Reset márgenes y padding - solo gap funciona */
  #js-product-list-top > * {
    margin: 0 !important;
  }
  /* Ocultar elementos innecesarios en móvil */
  #js-product-list-top .flex_child,
  #js-product-list-top .paginaton_sample {
    display: none !important;
  }
  /* Fila 1: Filtrar (grande) + iconos grid (auto) = 100% */
  #js-product-list-top .filter-button {
    flex: 1 0 70% !important;
    order: 1 !important;
    padding: 0 !important;
  }
  #js-product-list-top .filter-button a {
    width: 100% !important;
    display: block !important;
    text-align: center;
  }
  #js-product-list-top .list_grid_switcher {
    flex: 0 0 auto !important;
    order: 1 !important;
  }
  /* Fila 2: Relevancia + selector marcas */
  #js-product-list-top .products-sort-order {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    order: 2 !important;
  }
  #js-product-list-top .products-sort-order .dropdown_tri {
    width: 100%;
  }
  #js-product-list-top .facet {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    order: 2 !important;
  }
  #js-product-list-top .facet-dropdown {
    width: 100%;
    max-width: 100%;
  }
  /* Fila 3: Buscador */
  #js-product-list-top > .minimal-search-container,
  #js-product-list-top > .minimal-search-container.mx-3 {
    order: 3;
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
  }
  #js-product-list-top .minimal-search-container .simple-search-form {
    flex-wrap: wrap !important;
    width: 100%;
  }
  #js-product-list-top .minimal-search-container .simple-input-wrapper {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
  }
  /* Fila 4: Más vendido (checkboxes) */
  #js-product-list-top .minimal-search-container .search-options-wrapper {
    flex: 1 1 100% !important;
    width: 100% !important;
    margin-top: 8px;
  }
  .minimal-search-container.mx-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    & .simple-input-wrapper {
      margin-left: 0 !important;
    }
  }
  /* Eliminar dropdown anidado para filtro de marcas en móvil */
  #js-product-list-top .facet .facet-title-mobile {
    display: none !important;
  }
  #js-product-list-top .facet .facet_filter_box {
    display: block !important;
    height: auto !important;
  }
  #js-product-list-top .facet .facet-dropdown {
    margin-left: 0;
  }
}
.top-miniature {
  display: flex;
  flex-direction: row;
  flex: 1;
}
.top-left-min {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  align-items: stretch;
}
.top-left-min div {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--color--fg-muted);
  padding: 0;
}
.miniature_stock {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 0px 4px 0px 4px !important;
  background: var(--color--bg-subtle);
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: var(--color--fg-subtle);
  gap: 4px;
  width: fit-content;
}
.status-block-stock {
  padding: 3.5px;
}
.status-stock {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(24, 24, 27, 0.12);
  border-radius: 2px;
}
.status-stock.stock-green {
  background: #10b981;
}
.status-stock.stock-red {
  background: #f43f5e;
}

.pro_list_pvp_stock {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 4px;
}
.pro_list_pvp_stock .pvp-value {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.pro_list_pvp_stock .pvp-value strong {
  font-weight: 700;
  color: var(--color--fg-base);
}

.box-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.discount_unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.discount_unit p {
  margin-bottom: 0;
}
.pro_second_box .product-price-and-shipping,
.pro_second_box .s_title_block {
  padding-bottom: 0;
  margin-bottom: 0;
}

.product-price-and-shipping .price {
  color: #0066cf !important;
}

.pro_kuan_box {
  justify-content: flex-end;
}
.pro_kuan_box .product-price-and-shipping {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  justify-content: flex-end;
}
.pro_kuan_box .product-price-and-shipping .price {
  order: 2;
  font-weight: 600;
  font-size: 18px;
}
.pro_kuan_box .product-price-and-shipping .regular-price {
  order: 1;
  font-size: 14px;
}
.info-top-prod {
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
}
.info-top-prod .product-reference,
.info-top-prod .product-ean {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.desc-block-prod {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--color--border-base);
  margin-top: 24px;
  margin-bottom: 24px;
}
.product_price-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.product-prices {
  width: 100%;
}
.product-variants.js-product-variants,
#product-availability,
.product-discounts {
  display: none;
}
.accordion_more_info .mobile_tab .tab-pane p:last-child {
  margin-bottom: 0;
}
.title-comb {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
  font-weight: bold;
  margin: 0;
}
.discount_unit {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.title-comb span {
  font-weight: 400;
  font-size: 12px;
}
.custom-price {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .custom-price {
    align-items: flex-start;
  }
}
.custom-price .discount-price-custom .custom-price .normal-price-custom {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px !important;
  line-height: 150%;
  color: #18181b !important;
}
.custom-price .discount-price-custom .regular-price {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 14px !important;
  line-height: 150%;
  color: #18181b !important;
  text-decoration: line-through;
}
.custom-price .pvp-iva-line {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pvl-discounts-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.custom-price .normal-price-custom {
  display: block;
}
.custom-price .normal-price-custom .price.pvl-oferta-price {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 28px !important;
  line-height: 1.2;
  color: #0066cf !important;
}
.custom-price .pvp-price-custom {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #18181b;
}
.product-prices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.discount_unit ul {
  padding: 0;
  margin: 0;
}
.pro_second_box .discount_unit {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .info-top-prod,
  .product_price-top,
  .current-price,
  .discount_unit {
    flex-direction: column;
    gap: 8px;
  }
}
.images-container.pro_number_xl_1,
.images-container.pro_number_xl_1 .pro_gallery_thumbs_horizontal {
  max-width: 100%;
}
.images-container.pro_number_xl_1 img.pro_gallery_item {
  width: 100%;
}

/* VIEW SWITCH — show/hide correct template without page reload */
.product_list.grid .view-list,
.product_list.row .view-list { display: none; }
.product_list.list .view-grid { display: none; }

/* LIST VIEW — 2-column reorganized layout (product-list.tpl) */
.product_list.list .ajax_block_product .pro_outer_box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}
.product_list.list .ajax_block_product .pro_first_box {
  max-width: 140px;
  min-width: 140px;
  box-shadow: none;
  border: none;
}
.product_list.list .pro_second_box.list-grid {
  display: grid !important;
  grid-template-columns: 1fr auto;
  gap: 8px 32px;
  align-items: start;
  width: 100%;
  margin-left: 0;
  padding: 16px 12px !important;
}
.product_list.list .list-info-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.product_list.list .list-info-col .s_title_block {
  margin: 0;
  padding: 0;
}
.product_list.list .list-info-col .product-meta {
  font-family: "Inter";
  font-size: 12px;
  line-height: 150%;
  color: var(--color--fg-muted);
}
.product_list.list .list-info-col .pvp-value strong {
  font-weight: 700;
  color: var(--color--fg-base);
}
.product_list.list .list-actions-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: stretch;
  padding-top: 4px;
}
.product_list.list .list-actions-grid {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  height: 100%;
}
.product_list.list .list-actions-qty {
  grid-column: 1;
  grid-row: 1;
}
.product_list.list .list-actions-cart {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
}
.product_list.list .list-actions-cart .ajax_add_to_cart_button {
  width: auto !important;
  min-width: 80px;
  justify-self: end;
}
.product_list.list .list-actions-discounts {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.product_list.list .list-actions-discounts .discount_unit {
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  margin-bottom: 0;
}
.product_list.list .list-actions-price {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
}
.product_list.list .list-actions-price .product-price-and-shipping {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 8px;
  justify-content: flex-end;
}
.product_list.list .list-actions-price .price {
  font-size: 22px !important;
  font-weight: 700;
}
@media (max-width: 768px) {
  .product_list.list .ajax_block_product .pro_outer_box {
    flex-direction: column;
  }
  .product_list.list .ajax_block_product .pro_first_box {
    max-width: 100%;
    min-width: auto;
  }
  .product_list.list .pro_second_box.list-grid {
    grid-template-columns: 1fr;
  }
}

.col-caja li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* Pack discount block — grid & list views (hereda color #009b22 de .pro_second_box .discount_unit) */
.col-pack ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.col-pack li.pack-label {
  font-weight: 600;
}


.cart-item.line_item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  background: #ffffff;
  /*  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);*/
  border-radius: 12px;
  overflow: hidden;
}

.cart-item.line_item hr {
  border-color: #f8f7f4;
}

.card-footer,
.card-header,
.card.card_trans,
.base_list_line .line_item {
  border: none;
}
.cart-item.line_item .row {
  margin: 0;
}
.cart-item.line_item .product-line-grid {
  width: 100%;
}
.cart-item.line_item .product-line-grid-body {
  padding: 24px 0 12px;
}
.row-attr .product-line-grid-body {
  padding: 0 !important;
}

.cart-item.line_item .product-line-grid-right {
  padding: 0;
  padding-top: 24px;
}
.cart-item.line_item .product-line-grid-left {
  padding: 12px;
}
.cart-item.line_item .product-line-grid-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bootstrap-touchspin .form-control,
.bootstrap-touchspin .btn-touchspin {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px !important;
  border: none;
  color: #1b1b1c !important;
  -webkit-appearance: none;
}
.bootstrap-touchspin .form-control {
  width: 40px;
}

.cart-item.line_item .product-line-info .label {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.cart-items.base_list_line {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-header {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  color: var(--color--fg-base);
  text-align: left;
  text-transform: none;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  gap: 24px;
  background: #ffffff !important;
  /*box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);*/
  border-radius: 12px;
}

.small_cart_product_list .products_line {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px !important;
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
}
.small_cart_product_image {
  border: none;
}
.small_cart_product_list .products_line > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.small_cart_sumary.base_list_line {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
}

.voucher-ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 24px;
  background: #f8f7f4;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  margin: 0;
  overflow: hidden;
}
.btn-footer-cart a:not(.close_right_side) {
  text-align: right;
}
.btn-footer-cart .close_right_side {
  background: #ffffff;
  box-shadow: var(--borders--base);
  text-align: left;
  color: var(--color--fg-base);
}

.btn-footer-cart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
}
.btn-footer-cart a {
  width: 100%;
  margin-bottom: 0 !important;
  height: 40px;
}
.btn-footer-cart a:first-child {
  justify-content: flex-start;
}
.btn-footer-cart a:last-child {
  justify-content: flex-end;
}
.small_cart_sumary .last_one .cart-summary-k {
  font-weight: bold;
}
.small_cart_info .flex_container {
  display: flex;
  flex-direction: column;
}
.small_cart_info .flex_container .price-trash {
  display: flex;
  flex-direction: row;
}

.cart-item.line_item .product-line-grid-body .discount_unit {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--color--fg-muted);
}
.cart-item.line_item .product-line-grid-body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.cart-item.line_item .product-line-grid-body .product-price {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-bottom: 0;
}

.row-inputs .discount-percentage,
.percent-new {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 10px;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #065f46;
}
.cart-item.line_item .product-line-grid-body .product-price .current-price {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.cart-item.line_item .product-line-grid-body .product-price .regular-price {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-decoration-line: line-through;
  color: var(--color--fg-base);
}

.cart-item.line_item .product-line-grid-right select,
.cart-item.line_item .product-line-grid-right input {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 8px;
  gap: 4px;
  background: var(--color--bg-subtle);
  box-shadow: none;
  border-radius: 6px;
  border: none;
}
.row-inputs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}
.row-attr {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}

.pendientes-carrito .content-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  border: none;
  overflow: hidden;
}
.pendientes-info {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.pendiente-info-ean13,
.pendiente-info-marca {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--color--fg-muted);
}
.pendiente-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  width: 100%;
}
.pendiente-info-col .pendiente-info-name {
  margin: 0;
  padding: 0;
}
.pendientes-carrito .content-block .info-pend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;

  width: 100%;
}
.pendientes-carrito .content-block .info-pend .pendientes-info {
  grid-area: 1 / 1 / 2 / 3;
}
.pendientes-carrito .content-block .info-pend .pendiente-in-stock {
  grid-area: 1 / 3 / 2 / 4;
}
.pendientes-carrito .content-block .info-pend .pendiente-accion {
  grid-area: 1 / 4 / 2 / 5;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.pendientes-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.por-encargo {
  font-family: "Inter";
  font-style: normal !important;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: #18181b !important;
}

.content-block.selected {
  box-shadow: 0px 1px 2px rgba(30, 58, 138, 0.5), 0px 0px 0px 1px #3b82f6;
}

.selectPrdEncargo {
  display: none;
}
.content-block .btn-trash {
  display: flex;
}
.content-block.selected .btn-trash {
  display: none;
}
.content-block .btn-check {
  display: none;
}

.content-block.selected .btn-check {
  display: flex;
}
.btn-check {
  background: #3b82f6;
  box-shadow: 0px 1px 2px rgba(30, 58, 138, 0.5), 0px 0px 0px 1px #3b82f6;
}
.btn-check:hover {
  background: #2b6fde;
  box-shadow: 0px 1px 2px rgba(30, 58, 138, 0.5), 0px 0px 0px 1px #3b82f6;
}

.free-shipping-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 12px;
  gap: 12px;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  margin-bottom: 15px;
}

.free-shipping-banner p {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 150%;
  color: var(--color--fg-base);
  margin: 0;
  padding: 0;
  text-align: left;
}

.shipping-indicator {
  width: 4px;
  height: 100%;
  min-height: 12px;
  background: #22c55e;
  border-radius: 999px;
}
.row-inputs > div {
  gap: 12px;
}
@media (max-width: 768px) {
  .pendientes-carrito .content-block .info-pend {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .pendientes-carrito .content-block .info-pend .pendientes-info {
    grid-area: 1 / 1 / 2 / 5;
  }
  .pendientes-carrito .content-block .info-pend .pendiente-in-stock {
    grid-area: 2 / 1 / 3 / 3;
  }
  .pendientes-carrito .content-block .info-pend .pendiente-accion {
    grid-area: 2 / 3 / 3 / 5;
    justify-content: center;
  }
  .cart-item.line_item .product-line-grid-body {
    padding: 12px;
  }
  .cart-item.line_item .product-line-grid-body .product-price,
  .cart-item.line_item .product-line-grid-right .row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .row-attr {
    align-items: flex-start;
    flex-direction: column;
  }
}

.checkout_left_column,
.checkout_right_column {
  background: #ffffff;
  /*box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);*/
  border-radius: 12px;
}
.address-item .card_trans {
  border: 1px solid var(--color--border-base);
  border-radius: 6px;
}

.address-item .card_trans .address-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px;
}
.address-item .card_trans .address-footer > a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 6px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: var(--color--fg-base);
  width: 100%;
}

.address-item .card_trans .address {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.address-item .card_trans .address-alias {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.search-widget form button.btn-lupa {
  bottom: 0;
  right: 0;
  height: 100%;
  background: none;
  display: flex;
  align-items: center;
}
.search-widget form button.btn-lupa img {
  width: 18px;
}
.amb2bfastbuyxlsx-block-section {
  gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}
.amb2bfastbuyxlsx-block-section .box-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
  border: none;
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  justify-content: space-between;
  gap: 12px;
}
.amb2bfastbuyxlsx-file-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  width: 100%;
  margin-right: 0;
}
.amb2bfastbuyxlsx-button-download-text,
.amb2bfastbuyxlsx-button-upload-text {
  margin-top: 0;
}
.amb2bfastbuyxlsx-button-download {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  gap: 6px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  border: none;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: var(--color--fg-base);
  margin-top: 0;
  text-transform: none;
}

.amb2bfastbuyxlsx-button-upload {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  gap: 6px;
  background: var(--color--button-inverted);
  box-shadow: var(--buttons--inverted);
  border-radius: 6px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
  text-transform: none;
}
.amb2bfastbuyxlsx-button-download-icon,
.amb2bfastbuyxlsx-button-upload-icon {
  margin-right: 0;
  margin-top: 0;
  height: 15px;
}
.amb2bfastbuyxlsx-block-section .text-box {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
}
.amb2bfastbuyxlsx-ball {
  padding: 4px;
  background: var(--color--fg-base);
  border-radius: 999px;
  width: 28px;
  height: 28px;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
}
.amb2bfastbuyxlsx-title,
#module-amb2bfastbuy-buy .title_panel.h1.text-dark {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: -0.005em;
  color: var(--color--fg-base);
  text-transform: none;
  text-align: left;
}
.amb2bfastbuyxlsx-subtitle {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
}
#module-amb2bfastbuyxlsx-buy .center_column {
  margin-bottom: 72px;
}
@media (max-width: 768px) {
  .amb2bfastbuyxlsx-block-section {
    grid-template-columns: repeat(1, 1fr);
  }
  .amb2bfastbuyxlsx-title,
  #module-amb2bfastbuy-buy .title_panel.h1.text-dark {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--color--fg-base);
  }
}

.box-contact {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
}

#contact .contact-form form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
  background: #ffffff;
  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.08),
    0px 1px 2px -1px rgba(0, 0, 0, 0.08), 0px 2px 4px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
}

.right-boxes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.right-boxes p {
  margin-bottom: 0;
}
#product .tab-content #product-details {
  display: none;
}
.pro_extra_info_content a[itemprop="brand"] img {
  border: none;
}

#steasy_column_13 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: nowrap;
}
@media (max-width: 768px) {
  #steasy_column_13 {
    flex-direction: column;
  }
}

#header_right_top {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.header-item-comercial {
  text-align: center;
  /*  background-color: #f8f7f4;*/
  border: 1px solid #f8f7f4;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--color--fg-base);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  cursor: pointer;
  border-radius: 6px;
  max-width: 224px;
  width: 100%;
}
.header-item-comercial:hover {
  background: #f8f7f4;
}
.header-item-comercial p {
  margin: 0;
}
.header-item-comercial p:nth-child(1) {
  font-weight: bold;
}
.header-item-comercial p:nth-child(2) {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  max-width: 224px;
  text-align: left;
}
#header_right,
#header_right_top {
  height: 100%;
}

.account.top_bar_item .header_item {
  text-align: center;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.account.top_bar_item,
.blockcart.top_bar_item {
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
}
.account.top_bar_item:hover,
.blockcart.top_bar_item:hover {
  background: #f8f7f4;
}
.blockcart.top_bar_item .st_shopping_cart {
  position: relative;
}
.account.top_bar_item .header_item svg {
  min-width: 15px;
}
.account.top_bar_item .header_v_align_m {
  text-align: left;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 224px;
}

.amount_circle {
  background: #f8f7f4;
  color: #1b1b1c;
  width: auto !important;
  padding: 2px 3px !important;
  left: 0px;

  font-size: 14px;
  right: auto;
  height: auto;
  min-width: 18px;
  position: relative;
}
.st_shopping_cart .mar_r4 {
  width: auto;
  height: auto;
  display: flex;
}

#mobile_bar_top .ajax_cart_bag {
  border: none;
  padding: 0;
  margin: 0;
  width: auto;
  height: auto;
}
#mobile_bar_top .mobile_bar_tri {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: center;
}
#mobile_bar_top .ajax_cart_bag .amount_circle {
  height: auto;
}

/* Commercial profile mobile bar icon */
#mobile_bar_top .comercial_mobile_bar_tri {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  color: var(--color--fg-base);
}
#mobile_bar_top .comercial_mobile_bar_tri svg {
  width: 20px;
  height: 20px;
}
#mobile_bar_top .comercial_mobile_bar_tri .mobile_bar_tri_text {
  font-size: 10px;
  margin-top: 4px;
  color: var(--color--fg-muted);
}
#side_stmobilemenu,
#side_search {
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 0 12px 12px 0;
  transition: transform 0.3sease-in-out;
  border: none;
}
#side_mobile_nav,
#side_products_cart,
#side_amwishlist,
#side_wishlist {
  background: #ffffff;
  box-shadow: var(--borders--base);
  transition: transform 0.3sease-in-out;
  border: none;
}
#side_stmobilemenu .st-menu-header,
#side_search .st-menu-header,
#side_mobile_nav .st-menu-header,
#side_products_cart .st-menu-header,
#side_amwishlist .st-menu-header,
#side_wishlist .st-menu-header {
  background: var(--color--bg-subtle);
  color: var(--color--fg-base);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color--border-base);
  padding: 12px 14px;
}

.paginaton_sample,
#sidebar_box {
  display: none;
}
@media only screen and (max-width: 991px) {
  .slide_lr_column #left_column.sidebar_opened,
  .slide_lr_column #right_column.sidebar_opened {
    bottom: 0px;
  }
}

.sidebar_opened #search_filters_wrapper {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  .top-miniature {
    flex-direction: column;
    gap: 8px;
    & .top-right-min {
      position: relative;
    }
  }
  .pro_second_box .ajax_add_to_cart_button {
    flex: 1;
  }
}

.row-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.addtocartfromurl_content {
  margin: 20px 0;
  float: none;
}
.addtocartfromurl_content i {
  display: none;
}
.addtocartfromurl-my-account {
  padding: 24px;
  gap: 24px;

  & i {
    display: none;
  }

  & .cart-grid-body {
    margin: 20px 0 !important;
    padding: 0;
    background: #ffffff;
    box-shadow: var(--card-rest);
    border-radius: 12px;
    border: none;
    overflow: hidden;

    & .card {
      width: 100%;
      border: none;
    }
  }
}
.tags-stock {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
}
.tags-stock .miniature_stock {
  padding: 1px 4px;
}

#register_form_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12px;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-radius: 6px;
  & .page_heading {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: var(--color--fg-base);
  }
}
#customer-form section {
  padding: 12px;
  gap: 12px;
  background: #ffffff;
  border: none;
  border-radius: 6px;
  width: fit-content;
  margin: auto;
  & h3 {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: var(--color--fg-base);
  }
  & .col-md-4,
  & .col-md-3,
  & .col-md-2 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  & .custom-checkbox .col-md-12 {
    padding: 0;
    & i {
      display: none;
    }
  }
  & input[type="text"],
  & input[type="email"],
  & input[type="password"] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 8px;
    gap: 4px;
    background-color: var(--color--bg-subtle);

    border-radius: 6px;
    border: none;
  }
  & .input-group {
    & input {
      border-bottom-right-radius: 0;
      border-top-right-radius: 0;
    }
    & .input-group-btn button {
      border-bottom-left-radius: 0;
      border-top-left-radius: 0;
      background: var(--color--bg-subtle);
      box-shadow: var(--borders--base);
      border-radius: 0 6px 6px 0;
      margin-left: 0 !important;
      opacity: 1;
      border: none;
    }
  }

  & select {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 8px;
    gap: 4px;
    background-color: var(--color--bg-subtle);

    border-radius: 6px;
    border: none;
    height: 34px;
  }
}

/* Permitimos el scroll de la página cuando hay un sidebar abierto.
   El overlay y los sidebars son position:fixed, así que se mantienen en
   viewport sin importar el scroll. El usuario puede hacer scroll detrás
   aunque el contenido quede sin foco. */

#st-content-inner-after,
#st-pusher-after {
  background: rgba(30, 30, 30, 0.3);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s;
}

/* Overlay sidebar reparented al body (custom.js) — posicionarlo en viewport.
   El original vive dentro de .st-pusher (transform), lo que rompe fixed.
   Lo movemos a body con position: fixed para cubrir todo el viewport. */
body > #st-pusher-after,
body > #st-content-inner-after {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 500;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

body:has(#st-container.open_bar_right) > #st-pusher-after,
body:has(#st-container.open_bar_left) > #st-pusher-after,
body:has(#st-container.open_bar_right) > #st-content-inner-after,
body:has(#st-container.open_bar_left) > #st-content-inner-after {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}

/* Sidebars panel: slide-in/out con transform en lugar de z-stacking trick
   (panda original ocultaba sidebar tras .st-pusher z:99). Aquí sidebar
   z:1000 siempre y se desliza off-viewport via translateX cuando no está
   sidebar_opened. transition-property: transform evita el flicker que
   causaba la interpolación de z al heredar `transition: 0.5s` global. */
.st-menu {
  z-index: 1000 !important;
  transition-property: transform !important;
  transition-duration: 0.5s !important;
  transition-timing-function: ease !important;
}

#side_products_cart,
#side_amwishlist {
  transform: translateX(100%);
}
#side_products_cart.sidebar_opened,
#side_amwishlist.sidebar_opened {
  transform: translateX(0);
}

#side_stmobilemenu,
#side_search {
  transform: translateX(-100%);
}
#side_stmobilemenu.sidebar_opened,
#side_search.sidebar_opened {
  transform: translateX(0);
}

/* Disable overlay/blur when wishlist sidebar is open */
body:has(#side_amwishlist.sidebar_opened) #st-content-inner-after,
body:has(#side_amwishlist.sidebar_opened) #st-pusher-after {
  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Left border on wishlist sidebar so it doesn't blend with white page */
#side_amwishlist.sidebar_opened {
  border-left: 1px solid var(--color--border-base);
}
#module-amb2bfastbuy-buy {
  .table-amb2bfastbuy {
    & td.product {
      text-align: left;
    }
    & td.product > .img_product {
      display: inline-block;
      vertical-align: top;
      max-width: 80px;
      margin-right: 10px;
    }
    & td.product > .info_product {
      display: inline-block;
      vertical-align: top;
      text-align: left;
    }
    & .img_product img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    & .name_product h5 {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 1rem;
      line-height: 150%;
      color: var(--color--fg-base);
    }
    & .ean13,
    & .manufacturer_name {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 12px;
      line-height: 150%;
      color: var(--color--fg-muted);
      padding: 0;
    }
    & .ean13 p {
      margin: 0;
      padding: 0;
    }
  }
  & .ui-autocomplete {
    background: white;
    box-shadow: var(--card-rest);
    border-radius: 6px;
    border: none;
    overflow: hidden;
    & .ui-menu-item {
      border-bottom: 1px solid var(--color--border-base);
      &:last-child {
        border-bottom: none;
      }
    }
    & :hover {
      background-image: none;
      background-color: var(--color--bg-subtle);
    }
    & .img-buscar {
      height: 40px;
      aspect-ratio: 1/1;
      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    & .nombre-buscar {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 14px;
      line-height: 150%;
      color: var(--color--fg-base);
      text-transform: none;
    }
    & .descripcion-buscar {
      font-family: "Inter";
      font-style: normal;
      font-weight: 400;
      font-size: 12px;
      line-height: 150%;
      color: var(--color--fg-muted);
      text-transform: none;
    }
  }
}

.search_product_row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  & .search_product_name {
    flex: auto;
  }
}
.cart-overview-addtocartfromurl {
  & .cart-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    & .cart-item {
      padding: 4px;
      border-bottom: 1px solid var(--color--border-base);
      overflow: hidden;
      &:last-child {
        border-bottom: none;
      }
      & .product-line-grid-body {
        padding: 8px;
      }
    }
    & .cart-item.addtocartfromurl_loadmore {
      background: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      color: inherit !important;
      font-weight: inherit !important;
      font-size: inherit !important;
      border: none !important;
      cursor: pointer;
      position: relative !important;
      width: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      z-index: auto !important;
      & .product-line-grid {
        width: 100% !important;
      }
    }
    & .addtocartfromurl_loadmore {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      padding: 12px 24px;
      color: var(--color--fg-base);
      font-weight: 500;
      font-size: 16px;
      border: none;
      cursor: pointer;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 4;
      background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 50%
      );
    }
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .row-blocks-atencion {
    overflow-x: scroll;
  }
  .ValuePropositionCard {
    min-width: 256px;
  }
  #header_left .search_widget_form_inner {
    width: 120px;
  }
  #header_left .header_box,
  #header_left .st_mega_menu {
    gap: 12px;
  }
}

.ajax_block_product .s_title_block.flex_child {
  height: auto;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
/* Igualar altura de tarjetas de producto en sliders y grids */
.products_sldier_swiper .swiper-wrapper {
  align-items: stretch !important;
}
.products_sldier_swiper article.ajax_block_product.swiper-slide {
  height: auto !important;
  display: flex !important;
  flex-direction: column;
}
.products_sldier_swiper article.ajax_block_product .pro_outer_box {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.products_sldier_swiper article.ajax_block_product .pro_second_box {
  flex: 1;
}
.product_list.grid .pro_second_box {
  min-height: 300px;
}

.small_cart_info.flex_child {
  padding: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.product_min_qty,
.product_delivery_in_stock,
.product_type_article {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  gap: 4px;
}

.category-packs {
  & #left_column {
    display: none;
  }
  & #center_column {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    & .category-cover img {
      width: 100%;
    }
  }
  & #products {
    display: none;
  }
  & #subcategories .subcate_grid_view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 4px;
    flex-wrap: nowrap;
    justify-content: initial;
    overflow-x: visible;
    cursor: default;
  }
  & #subcategories .subcate_grid_view li {
    background: #ffffff;
    box-shadow: var(--card-rest);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }
  & #subcategories .subcate_grid_view li:has(a.img)::before {
    display: none;
  }
  & #subcategories .subcate_grid_view li:not(:has(a.img))::before {
    display: none;
  }
  & #subcategories .subcate_grid_view li:not(:has(a.img)) a.subcategory-name::before {
    display: none;
  }
  & #subcategories .subcate_grid_view li:not(:has(a.img)) a.subcategory-name {
    display: block;
  }
  & #subcategories .subcate_grid_view li:not(:has(a.img)) {
    justify-content: center;
  }
  & #subcategories .subcate_grid_view li:not(:has(a.img)) h3 {
    margin: 0;
  }
  & #subcategories .subcate_grid_view li a {
    width: 100%;
    border-radius: 12px;
  }
  & #subcategories .inline_list li a.img {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    background: none;
    box-shadow: none;
  }
  & #subcategories .inline_list li a.img img {
    border-radius: 12px 12px 0 0;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .category-packs {
    & #subcategories .subcate_grid_view {
      grid-template-columns: 1fr 1fr;
    }
    & #subcategories .subcate_grid_view li a.img {
      width: 100%;
      height: auto;
    }
  }
}

/* Provisional */
/* BUTTON Beis */
.btn-beis,
.b2bregistration-top-link-text {
  background: #f8f7f4;
  box-shadow: none;
  /* Pendiente Hover */
  &:hover {
    background: #d8d1c5;
    box-shadow: none;
  }
}

#header_left .st_mega_menu a {
  font-weight: bold;
}

#st_mega_menu_wrap #st_ma_7.ma_level_0.is_parent:after,
#st_mega_menu_wrap #st_ma_2.ma_level_0.is_parent:after {
  display: none;
  content: none;
}
.products_sldier_swiper .pro_outer_box:hover .pro_second_box,
.product_list.grid .pro_outer_box:hover .pro_second_box {
  background-color: #ffffff;
}
.ajax_block_product:hover .pro_outer_box {
  box-shadow: 0 0 0 1px #c6b8a1, 0 1px 2px -1px #c6b8a114, 0 2px 4px #c6b8a10a;
  --borders--base: 0px 1px 2px rgba(0, 0, 0, 0.12),
    0px 0px 0px 1px rgba(0, 0, 0, 0.08);
}

#footer {
  border-top: 4px solid var(--color--fg-base);
}
.featured_categories_item .pro_outer_box:hover .pro_second_box {
  background: transparent;
}
#footer-tertiary .title_block .title_block_inner {
  font-weight: bold;
  text-transform: none;
}
#footer-tertiary a:hover {
  text-decoration: underline;
}
#footer-bottom #footer_bottom_left {
  float: right;
}
#footer-secondary {
  padding-bottom: 0rem;
}
.account.top_bar_item {
  /*  background: #f8f7f4;*/
  height: auto;
  border-radius: 6px;
  max-width: 224px;
  width: 100%;
  min-height: 54px;
  border: 1px solid #f8f7f4;
}
.account.top_bar_item:hover {
  background: #f8f7f4;
}
#header_primary .header_v_align_m {
  font-size: 14px;
}
.blockcart.top_bar_item {
  background: #d8d1c5;
  height: auto;
  border-radius: 6px;
  max-width: 224px;
  width: auto;
  min-height: 54px;
  font-size: 14px;
}
.blockcart.top_bar_item:hover {
  background: #d8d1c5;
}
.blockcart .flex_container {
  gap: 8px;
  & .mar_r4 {
    gap: 8px;
  }
}

.sidebar ul li {
  font-weight: bold;
}
.st-menu-title {
  font-size: 20px !important;
  font-weight: bold;
}
.small_cart_attr_attr {
  font-size: 12px;
}
.small_cart_product_list.voucher-ul {
  & p {
    font-size: 16px;
    font-weight: bold;
  }
  & .line_item {
    font-size: 12px;
    width: 100%;
  }
}
a[data-link-action="remove-voucher"] {
  text-align: right;
}
.voucher-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.voucher-toggle i {
  transition: transform 0.3s;
  font-size: 14px;
}
.voucher-list-items {
  display: none;
  list-style: none;
  padding: 0;
  margin-top: 12px;
  background: transparent;
}
.voucher-list-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #ebebeb;
  font-size: 13px;
}
.voucher-list-line .value {
  font-weight: bold;
}
.voucher-wrapper-summary {
  background: #f8f8f7;
  border-radius: 15px;
  padding: 15px;
  margin: 15px 20px;
}

.page_heading {
  font-size: 20px;
  font-weight: bold;
  text-transform: none;
}

#subcategories .subcate_grid_view li .subcategory-name {
  font-weight: bold;
}
#search_filters_wrapper .facet-title {
  font-weight: bold;
}
/* .flex_start.mini_name {
  flex: 1;
} */

.row-2.product-info-row2 {
  display: flex !important;
  justify-content: space-between;
}

body#product,
#product #body_wrapper {
  background-color: white;
}
.add_to_wishlist .btn_text {
  text-transform: none;
  text-decoration: underline;
}

.steasy_divider_item {
  border-color: #f9f8f5;
}
.divider {
  background: #f9f8f5;
}

.product_third_section {
  background: #f8f7f4;
  padding: 24px 0;
}
.product-line-grid-right .qty {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  & .qty_wrap {
    width: auto;
    max-width: auto;
  }
  & .input-group.bootstrap-touchspin {
    width: auto;
  }
}

.pendientes-carrito h4,
.addtocartfromurl_content h4 {
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  color: var(--color--fg-base);
  text-align: left;
  text-transform: none;
}

.pendientes-carrito,
.addtocartfromurl_content {
  margin: 48px 0;
}

.bootstrap-touchspin .btn-touchspin:hover {
  background-color: #ffffff;
}

.btn-link {
  color: #1b1b1c;
  text-decoration: underline;
  font-size: 13px;
  font-family: "Inter";
  font-style: normal;
  font-weight: bold;
}

.cart-item.line_item .product-line-grid-right select,
.cart-item.line_item .product-line-grid-right input {
  height: 40px;
}

.st-container,
.st-content,
.st-content-inner {
  overflow: initial;
}
.cart-summary {
  position: sticky;
  top: 100px;
}

.dropdown_list .dropdown_box {
  background-color: #ffffff;
}
.dropdown_list .dropdown_list_ul li {
  border-bottom: 1px solid #f8f7f4;
}
.checkout-step,
.address-item .card_trans {
  border-color: #f8f7f4;
}
.selected.address-item .card_trans {
  border-color: #1b1b1c;
}

.btn-continue-block {
  display: flex;
  justify-content: flex-end;
}
#checkout .btn {
  height: 44px;
}

.js-input-column select,
textarea {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px 8px;
  gap: 4px;
  background-color: var(--color--bg-subtle);
  /*    box-shadow: var(--borders--base);*/
  border-radius: 6px;
  border: none;
}

.checkout_header {
  padding: 0;
}

#checkout .delivery-option .carrier-delay,
#checkout .delivery-option .carrier-price,
#checkout .delivery-option .custom-radio {
  display: none;
}

#order-confirmation #body_wrapper {
  background-color: white;
}
#order-confirmation .base_list_line.dotted_line .line_item {
  border-bottom-style: solid;
  border-color: #f8f7f4;
}

#content-hook_payment_return {
  display: none;
}

#order-confirmation .cart-summary-wrap {
  padding-top: 24px;
}

.b2bregistration-top-link-text {
  background: white !important;
  border-radius: 6px;
  max-width: auto;
  width: auto;
  min-height: 54px;
  border: 1px solid #f8f7f4;
  display: flex;
  align-items: center;
  &:hover {
    background: #f8f7f4 !important;
  }
}

.login.top_bar_item {
  border-radius: 6px;
  max-width: auto;
  width: auto;
  min-height: 54px;
  border: 1px solid #f8f7f4;
  display: flex;
  align-items: center;
  &:hover {
    background: #f8f7f4 !important;
  }
}

.header_item .header_icon_btn_icon {
  display: none;
}

#registration .btn-primary,
#authentication .btn-primary {
  background: #0066cf;
  color: white;
  &:hover {
    background: #2f793f;
  }
}

.mobile_logo {
  height: 60px;
  & img {
    height: 100%;
    width: auto;
  }
}

@media (max-width: 768px) {
  .ajax_cart_quantity.amount_circle {
    bottom: 15px;
    right: -19px;
    background: #0066cf;
    color: #ffffff;
  }

  /* Reduce button heights from 40px to 32px on mobile */
  .btn-default {
    height: 32px;
  }

  .btn-primary {
    height: 32px;
  }

  .pro_second_box .ajax_add_to_cart_button {
    height: 32px;
  }

  .pro_cart_block .add-to-cart.btn {
    height: 32px;
  }

  .btn-footer-cart a {
    height: 32px;
  }

  .cart-item.line_item .product-line-grid-right select,
  .cart-item.line_item .product-line-grid-right input {
    height: 32px;
  }

  /* Reduce quantity input width and height from 40px to 32px on mobile */
  .s_quantity_wanted .pro_quantity.form-control,
  .s_quantity_wanted .input-group-btn .btn-touchspin,
  .bootstrap-touchspin #quantity_wanted,
  .qty_wrap.qty_wrap_big .btn {
    width: 32px;
    height: 32px;
  }

  .input-group.bootstrap-touchspin {
    height: 32px;
  }

  .bootstrap-touchspin .form-control,
  .bootstrap-touchspin .btn-touchspin {
    width: 32px;
    height: 32px;
  }

  .bootstrap-touchspin .form-control {
    width: 32px;
  }
}

.form-control:focus {
  background: #f8f7f4;
}

.register-form p:first-child {
  display: none;
}
#product-list-top-wrap .facet-dropdown {
  background: none;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  padding: 8px;
  width: 100%;
  height: 32px;
  max-width: 280px;
  background: #ffffff;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  border: none;
  margin-left: 0.75rem;
  & .select-title {
    background: none;
    padding: 0;
    & span {
      width: 100px;
    }
  }
  & .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #d9d9d9;
    width: auto;
    & a {
      border-bottom: 1px solid #f8f7f4;
      display: block;
      white-space: nowrap;
      padding: 8px;
      background-color: #ffffff;
    }
    & a:hover {
      background-color: #f7f7f7;
      color: #006ad2;
    }
    & a:last-child {
      border-bottom: none;
    }
  }
}

.minimal-search-container .simple-input-wrapper {
  background: #ffffff;
  margin-left: 0;
  box-shadow: var(--borders--base);
  border-radius: 6px;
  border: none;
  height: 32px;
  width: 100%;
  max-width: 280px;
  & .minimal-search-button {
    height: 32px;
    display: flex;
    padding: 0;
    width: 32px;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}
.search-options-wrapper {
  & .option-label {
    padding: 0;
    margin: 0;
  }
}

body#index .header-container {
  margin-bottom: 0;
}
.category-cover img {
  width: 100%;
}

#steasy_element_21 .sttext_item_content > div {
  padding: 0 0 0 39px;
}
@media (max-width: 768px) {
  #steasy_element_21 .sttext_item_content > div {
    padding: 0;
  }
}

/* Make filter button full width on mobile when grid/list switcher is hidden */
@media (max-width: 991px) {
  #js-product-list-top .filter-button {
    flex: 1;
    width: 100%;
  }
  #js-product-list-top .filter-button #search_filter_toggler {
    width: 100%;
  }
}

#st_mobile_menu .mo_ma_level_0 {
  font-weight: 800;
}

@media (max-width: 768px) {
  .pro_name_right {
    display: none;
  }
}

/* Fix filter arrows on mobile - invert arrow logic */
/* When collapsed (closed): show arrow_down (expand indicator) */
/* When open: show arrow_up (collapse indicator) */
.toggle_btn .arrow_up {
  display: inline !important;
}
.toggle_btn .arrow_down {
  display: none !important;
}
.toggle_btn.collapsed .arrow_up {
  display: none !important;
}
.toggle_btn.collapsed .arrow_down {
  display: inline !important;
}

/* Truncate breadcrumb product name on mobile */
@media (max-width: 767px) {
  .breadcrumb_nav ul {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .breadcrumb_nav li:last-of-type {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .breadcrumb_nav li:last-of-type span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Swiper progressbar - centered and narrower */
.swiper-pagination.swiper-pagination-progressbar {
  position: relative;
  width: 60%;
  max-width: 400px;
  margin: 15px auto 0;
  left: auto;
  top: auto;
  border-radius: 4px;
}
.swiper-container-horizontal > .swiper-pagination-progressbar {
  height: 2px;
}

/* Featured categories text size - mobile only */
@media (max-width: 767px) {
  .featured_categories_item .pro_second_box .s_title_block,
  .featured_categories_item .pro_second_box .s_title_block a {
    font-size: 12px;
    line-height: 1.2;
  }
}

.base_list_line.dotted_line .line_item {
  border-bottom-style: inset;
}

.featured_categories_item .pro_outer_box.category_page {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

/* PVL label for product miniature prices */
.product-price-and-shipping .pvl-label {
  color: #0066cf;
  font-weight: 700;
  font-size: inherit;
}

/* Mobile: Selectores de Relevancia y Laboratorio ocupan espacio equitativo */
@media only screen and (max-width: 991px) {
  #js-product-list-top .products-sort-order {
    flex: 1;
  }
  #js-product-list-top .facet {
    flex: 1;
  }
  #js-product-list-top .facet .products-sort-order {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.minimal-search-button {
  background-color: #0066cf !important;
  color: #ffffff !important;
}

#product .product-information .discount_unit {
  border: 1px solid #009b22;
  padding: 8px;
  display: inline-flex;
  color: #009b22;
}

.pro_second_box .discount_unit {
  color: #009b22;
}

/* ========================================
   STWISHLIST / FAVORITOS - Estilos personalizados
   ======================================== */

/* Estrella de favoritos un poco más grande y fina */
.add_to_wishlist .fto-star,
.add_to_wishlist.layer_btn .fto-star {
  font-size: 18px !important;
  font-weight: 300 !important;
}

/* Estrella rellena cuando está seleccionada */
.add_to_wishlist.st_added .fto-star::before {
  content: '\e8f7' !important; /* fto-star-filled */
}

/* ========================================
   MY ACCOUNT - Ocultar elementos no deseados
   ======================================== */

/* Ocultar GDPR - personal data */
.list-group-item:has(.lnk_psgdpr) {
  display: none !important;
}

/* Ocultar Comentarios (stblogcomments) */
.list-group-item:has(.lnk_stblogcomments) {
  display: none !important;
}

/* Ocultar B2B Registration */
.list-group-item:has(a[href*="b2bregistration"]) {
  display: none !important;
}

/* ========================================
   HOMEPAGE - Section titles padding
   ======================================== */

/* Padding izquierdo en títulos de secciones de la home (desktop) */
@media (min-width: 992px) {
  body#index .title_block_inner {
    padding-left: 20px;
  }
}

/* ========================================
   ORDER DETAIL - Product thumbnails
   ======================================== */

/* Fila de producto con imagen y texto */
.order-product-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

/* Imagen del producto en detalle de pedido */
.order-product-image {
  flex-shrink: 0;
}

.order-product-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

/* Info del producto */
.order-product-info {
  flex: 1;
}

.order-product-ref {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* Vista móvil */
.order-item-mobile-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.order-product-image-mobile {
  flex-shrink: 0;
}

.order-product-image-mobile img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
}

.order-product-info-mobile {
  flex: 1;
}

/* ========================================
   STICKY HEADER - Keep HelloBar visible
   ======================================== */

/* Override hide_when_sticky for displayBanner to keep HelloBar visible */
.stuck .hide_when_sticky#displayBanner,
.stuck_abs .hide_when_sticky#displayBanner {
  display: block !important;
}

/* Ensure HelloBar stays visible during sticky */
.stuck #amhellobarpro_hookdisplayBanner,
.stuck_abs #amhellobarpro_hookdisplayBanner {
  display: block !important;
}

/* Hide cookie notification during sticky, keep only HelloBar */
.stuck #displayBanner .st_notification_wrap,
.stuck_abs #displayBanner .st_notification_wrap {
  display: none !important;
}

/* ========================================
   SIDEBAR CART - Quantity controls
   ======================================== */

/* Row containing quantity controls */
.sidebar-cart-qty-row {
  margin-top: 8px;
  padding-right: 10px;
}

/* Wrapper for quantity + trash */
.sidebar-qty-trash-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

/* Sidebar quantity wrapper - smaller size */
.sidebar-qty-wrap {
  flex-shrink: 0;
}

.sidebar-qty-wrap .bootstrap-touchspin {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none !important;
  box-shadow: none !important;
}

/* Remove default touchspin borders and styling */
.sidebar-qty-wrap .input-group-btn-vertical {
  display: none;
}

.sidebar-qty-wrap .input-group-btn {
  border: none !important;
  box-shadow: none !important;
}

/* Style the +/- buttons - square aspect ratio */
.sidebar-qty-wrap .btn-touchspin {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: #fff;
  border: 1px solid #e0e0e0 !important;
  border-radius: 10px;
  color: #333;
  transition: all 0.2s;
  aspect-ratio: 1 / 1;
  box-shadow: none !important;
  outline: none !important;
}

.sidebar-qty-wrap .btn-touchspin:hover {
  background: #f5f5f5;
  border-color: #ccc !important;
}

.sidebar-qty-wrap .btn-touchspin:focus,
.sidebar-qty-wrap .btn-touchspin:active {
  box-shadow: none !important;
  outline: none !important;
}

/* Input field styling - square aspect ratio */
.sidebar-qty-wrap .form-control {
  width: 36px !important;
  height: 36px;
  max-width: max-content;
  padding: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  background: #F8F7F4 !important;
  border: none !important;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  box-shadow: none !important;
  outline: none !important;
  -moz-appearance: textfield;
}

.sidebar-qty-wrap .form-control:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.sidebar-qty-wrap .form-control::-webkit-outer-spin-button,
.sidebar-qty-wrap .form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty_wrap input[type="number"],
input.cart_quantity[type="number"] {
  -moz-appearance: textfield;
}
.qty_wrap input[type="number"]::-webkit-outer-spin-button,
.qty_wrap input[type="number"]::-webkit-inner-spin-button,
input.cart_quantity[type="number"]::-webkit-outer-spin-button,
input.cart_quantity[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Trash button with rounded style matching quantity buttons - square aspect ratio */
.sidebar-trash-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  color: #666;
  transition: all 0.2s;
  aspect-ratio: 1 / 1;
}

.sidebar-trash-btn:hover {
  border-color: #c00;
  color: #c00;
  background: #fff5f5;
}

/* ========================================
   CHECKOUT SIMPLIFICADO - Solo Direcciones y Envío
   ======================================== */

/* Ocultar paso 1 (Datos personales) y paso 4 (Pago) */
#checkout-personal-information-step {
  display: none !important;
}
#checkout-payment-step {
  display: none !important;
}

/* Renumerar pasos visibles: Direcciones = 1, Envío = 2 */
#checkout-addresses-step .step-number {
  font-size: 0;
  line-height: 0;
}
#checkout-addresses-step .step-number::after {
  content: "1";
  font-size: 1rem;
  line-height: normal;
}
#checkout-delivery-step .step-number {
  font-size: 0;
  line-height: 0;
}
#checkout-delivery-step .step-number::after {
  content: "2";
  font-size: 1rem;
  line-height: normal;
}

/* Textarea de observaciones más grande */
#delivery_message {
  min-height: 120px;
  width: 100%;
  resize: vertical;
}

.sidebar-trash-btn i {
  font-size: 16px;
}

/* Gift quantity label shown below the quantity controls */
.cart-gift-qty-label {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  margin-top: 4px;
  margin-left: 2px;
}

/* Product name row adjustment */
.small_cart_info .product-name-row {
  flex: 1;
}

/* ========================================
   IVA TAX BREAKDOWN ACCORDION
   ======================================== */

.cart-tax-accordion {
  display: block;
}

.cart-tax-accordion > summary {
  list-style: none;
  cursor: pointer;
  display: block;
}

.shoppingcart-list .cart-tax-accordion > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-tax-accordion > summary::-webkit-details-marker {
  display: none;
}

.cart-tax-accordion > summary::marker {
  display: none;
}

.tax-toggle-arrow {
  transition: transform 0.3s;
  font-size: 14px;
}

.cart-tax-accordion[open] .tax-toggle-arrow {
  transform: rotate(180deg);
}

.cart-tax-breakdown-item {
  padding-left: 1rem;
  font-size: 0.85em;
  opacity: 0.85;
}

/* ========================================
   TABLE VIEW - Category listing table mode
   ======================================== */

.products-table-view {
  width: 100%;
  margin-bottom: 1rem;
  background: #ffffff;
  box-shadow: var(--card-rest);
  border-radius: 12px;
  overflow: hidden;
}

.table-category-view {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.table-category-view thead th {
  text-align: center;
  padding: 12px 8px;
  border-bottom: 1px solid var(--color--border-base, #e4e4e7);
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--color--fg-subtle, #52525b);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-category-view tbody tr {
  border-bottom: 1px solid var(--color--border-base, #e4e4e7);
  transition: background-color 0.15s;
}

.table-category-view tbody tr:hover {
  background-color: var(--color--bg-subtle, #f8f7f4);
}

.table-category-view td {
  padding: 10px 8px;
  vertical-align: middle;
  color: var(--color--fg-base, #18181b);
}

/* Column 1: Article (image + name + meta) */
.table-col-product {
  max-width: 380px;
}

.table-product-info {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.table-wishlist-btn {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color--fg-muted, #a1a1aa);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  text-decoration: none;
}

.table-col-product:hover .table-wishlist-btn {
  opacity: 0.5;
}

.table-col-product:hover .table-wishlist-btn:hover {
  opacity: 1;
}

.table-wishlist-btn.st_added {
  opacity: 1;
  color: #f59e0b;
}

.table-product-img img {
  width: 80px;
  height: auto;
  border-radius: 4px;
}

.table-product-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.table-product-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--color--fg-base, #18181b);
  text-decoration: none;
}

.table-product-name:hover {
  text-decoration: underline;
}

.table-product-meta {
  font-size: 11px;
  color: var(--color--fg-muted, #a1a1aa);
  display: block;
  line-height: 1.4;
}

/* Column 2: Stock */
.table-col-stock {
  min-width: 90px;
  font-size: 13px;
}

.table-stock-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.table-stock-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.table-stock-dot.stock-green {
  background-color: #22c55e;
}

.table-stock-dot.stock-red {
  background-color: #ef4444;
}

.table-stock-tag {
  display: block;
  font-size: 10px;
  color: #b45309;
  font-weight: 500;
  margin-top: 2px;
}

/* Column 3: PVP */
.table-col-pvp {
  min-width: 80px;
  font-size: 13px;
}

/* Column 4: PVL (price) */
.table-col-pvl {
  min-width: 90px;
}

.table-regular-price {
  text-decoration: line-through;
  font-size: 12px;
  color: var(--color--fg-muted, #a1a1aa);
  display: block;
}

.table-current-price {
  font-weight: 600;
  font-size: 14px;
}

/* Column 5: IVA */
.table-col-iva {
  min-width: 60px;
  font-size: 12px;
  color: var(--color--fg-subtle, #52525b);
}

/* Column 6: Promotions */
.table-col-promos {
  min-width: 120px;
  max-width: 260px;
}

.table-promos-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.table-promo-item {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color--fg-base, #18181b);
}

.table-promo-item strong {
  color: #dc2626;
}

.table-promo-gift {
  color: #16a34a;
  font-weight: 500;
}

.table-promo-pack {
  color: #16a34a;
  font-weight: 500;
  word-break: break-word;
}
.table-promo-pack strong {
  color: #16a34a;
}

/* Column 7: Quantity */
.table-col-quantity {
  min-width: 90px;
}

.table-qty-wrap {
  display: flex;
  justify-content: center;
}

.table-qty-input {
  width: 70px;
  text-align: center;
  padding: 6px;
  border: 1px solid var(--color--border-base, #e4e4e7);
  border-radius: 4px;
  font-size: 14px;
}

.table-qty-input:focus {
  outline: none;
  border-color: var(--color--fg-subtle, #52525b);
}

/* Column 8: Action */
.table-col-action {
  min-width: 80px;
}

.table-row-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  white-space: nowrap;
  color: #fff !important;
}

.table-row-add-to-cart:hover,
.table-row-add-to-cart:focus {
  color: #fff !important;
}

.table-row-add-to-cart .icon_btn {
  font-size: 14px;
  color: inherit;
}

/* Switcher: table icon styling */
.list_grid_switcher .table-view {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list_grid_switcher .table-view svg {
  width: 16px;
  height: 16px;
  transition: color 0.15s;
}

.list_grid_switcher .table-view:hover svg,
.list_grid_switcher .table-view.selected svg {
  color: #fff !important;
}

.list_grid_switcher .table-view.selected {
  background: transparent !important;
  border: 1px solid var(--color--button-inverted);
  & svg { color: var(--color--button-inverted) !important; }
}

.list_grid_switcher .table-view.selected:hover {
  background-color: var(--color--button-inverted) !important;
  & svg { color: #fff !important; }
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .table-category-view thead {
    display: none;
  }

  .table-category-view tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid var(--color--border-base, #e4e4e7);
  }

  .table-category-view td {
    border: none;
    padding: 4px 8px;
  }

  .table-col-product {
    flex: 0 0 100%;
    margin-bottom: 6px;
  }

  .table-col-stock {
    flex: 0 0 33.33%;
    text-align: left;
  }

  .table-col-pvp {
    flex: 0 0 33.33%;
  }

  .table-col-pvl {
    flex: 0 0 33.33%;
    text-align: right;
  }

  .table-col-iva {
    flex: 0 0 33.33%;
    text-align: left;
  }

  .table-col-promos {
    flex: 0 0 66.66%;
    text-align: left;
  }

  .table-col-quantity {
    flex: 0 0 50%;
  }

  .table-col-action {
    flex: 0 0 50%;
    text-align: right;
  }
}


/* ===== Combobox predictivo de laboratorio ===== */
.lab-combobox-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.lab-combobox-field {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease;
  min-width: 160px;
}

.lab-combobox-wrap.open .lab-combobox-field,
.lab-combobox-field:hover {
  border-color: #999;
}

.lab-combobox-input {
  flex: 1;
  padding: 6px 8px;
  border: none;
  outline: none;
  font-size: 13px;
  color: #333;
  background: transparent;
  cursor: pointer;
  min-width: 0;
}

.lab-combobox-input::placeholder {
  color: #555;
}

.lab-combobox-wrap.open .lab-combobox-input {
  cursor: text;
}

.lab-combobox-arrow {
  padding: 0 8px;
  color: #555;
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lab-combobox-wrap.open .lab-combobox-arrow {
  transform: rotate(180deg);
}

.lab-combobox-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 9999;
}

.lab-combobox-item {
  display: block;
  padding: 7px 12px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.1s;
}

.lab-combobox-item:hover {
  background: #f5f5f5;
  color: #111;
  text-decoration: none;
}

.lab-combobox-item.current {
  font-weight: 600;
  color: #0066cc;
}

.lab-todos-item {
  font-weight: 600;
  border-bottom: 1px solid #eee;
  color: #555;
}

.lab-count {
  color: #999;
  font-size: 12px;
  margin-left: 3px;
}

/* ============================================================
   INPUT DE CAJAS (qty-cajas-wrap) — estilos para alinearlo
   visualmente con el input de unidades (qty_wrap)
   ============================================================ */

/* Agrupa unidades + cajas en horizontal */
.qty-box-units-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

/* Label pequeño encima del input (lista y tabla) */
.qty-label {
  display: block;
  font-size: 10px;
  color: var(--color--fg-muted, #a1a1aa);
  text-align: center;
  line-height: 1;
  margin-bottom: 2px;
}

/* Label encima del input en la ficha de producto */
.qty-label-product {
  display: block;
  font-size: 11px;
  color: var(--color--fg-muted, #a1a1aa);
  margin-bottom: 3px;
  font-weight: 500;
}

/* El wrapper de cajas hereda el mismo aspecto que el de unidades */
.qty-cajas-wrap.qty_wrap {
  min-width: 0;
}

/* En la ficha de producto: agrupa los inputs en fila, botón en línea propia */
.qty-inputs-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-inputs-row .qty.qty_wrap_big {
  display: inline-flex;
  flex-direction: column;
  vertical-align: top;
}

/* Asegura que el bootstrap-touchspin del input de cajas
   tenga el mismo ancho que el de unidades */
.qty-cajas-wrap .bootstrap-touchspin {
  width: 100%;
}

/* Tabla: centra los inputs en sus celdas */
.table-col-cajas,
.table-col-unidades {
  white-space: nowrap;
}


/* ========================================
   Brands page - Alphabet nav & Grid layout
   ======================================== */

.brands-alphabet-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 30px;
}

.brands-alphabet-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.brands-alphabet-nav .alphabet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color--border-base, #e4e4e7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.brands-alphabet-nav .alphabet-link.active {
  color: var(--color--fg-base, #18181b);
  background: #fff;
  cursor: pointer;
}

.brands-alphabet-nav .alphabet-link.active:hover {
  background: var(--color--fg-base, #18181b);
  color: #fff;
  border-color: var(--color--fg-base, #18181b);
}

.brands-alphabet-nav .alphabet-link.disabled {
  color: var(--color--fg-muted, #a1a1aa);
  background: var(--color--bg-subtle, #f8f7f4);
  cursor: default;
}

.brands-letter-group {
  margin-bottom: 30px;
}

.brands-letter-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color--border-base, #e4e4e7);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.brand-card {
  text-align: center;
  padding: 15px;
  border-bottom: 1px solid var(--color--border-base, #e4e4e7);
  transition: box-shadow 0.2s ease;
}

.brand-card:hover {
  box-shadow: var(--card-rest);
}

.brand-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.brand-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 10px;
}

.brand-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color--fg-base, #18181b);
}

@media (max-width: 991px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-alphabet-nav .alphabet-link {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

@media (max-width: 479px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .brand-card-img {
    height: 80px;
  }
}


/* Alineación top de columnas en card del carrito */
.cart-col-top {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 12px;
  align-self: flex-start;
}

/* Grid Caja + Unidades en carrito (2 cols × 3 filas) */
.cart-controls {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 48px;
  row-gap: 12px;
  width: fit-content;
  margin-left: auto;
}
.cc-caja-label   { grid-column: 1; grid-row: 1; }
.cc-uds-label    { grid-column: 2; grid-row: 1; }
.cc-caja-stepper { grid-column: 1; grid-row: 2; }
.cc-uds-stepper  { grid-column: 2; grid-row: 2; }
.cc-caja-footer  { grid-column: 1; grid-row: 3; }
.cc-uds-footer   { grid-column: 2; grid-row: 3; }
.cc-uds-label, .cc-uds-label .qty-label { text-align: left; }
.cc-uds-footer { text-align: right; }
.qty-label {
  margin: 0;
  font-size: 12px;
  color: #18181b;
}
.cart-nxm {
  font-size: 12px;
  color: #18181b;
}
.pvl-label {
  margin: 0;
  font-size: 16px;
  color: #0066cf;
  font-weight: 700;
}

/* Total en azul: sidebar cart y resumen carrito */
.small_cart_sumary .last_one .cart-summary-v,
.small_cart_sumary .last_one .cart-summary-k,
.cart-total .value,
.cart-total .label {
  color: #0066cf;
}

/* Botón eliminar producto del carrito */
.cart-remove-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  color: #000;
  line-height: 1;
  transition: color 0.2s;
}
.cart-remove-btn:hover {
  color: #e74c3c;
}
.cart-remove-btn .fto-trash {
  font-size: 16px;
}

/* Ocultar thumbnail strip en miniaturas del grid de categoría */
.js-product-miniature .tm_gallery_thumbs {
  display: none;
}

/* ── Cambio de contraseña – botón trigger ── */
.password-change-trigger-wrapper {
  padding: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-change-password-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background-color: #fff;
  color: var(--color--fg-base);
  border: 1.5px solid var(--color--border-base);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.btn-change-password-trigger:hover {
  border-color: var(--color--link);
  color: var(--color--link);
  background-color: #f0f9f2;
}

.btn-change-password-trigger svg {
  flex-shrink: 0;
}

.btn-cancel-password-trigger {
  background: none;
  border: none;
  color: var(--color--fg-subtle);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-cancel-password-trigger:hover {
  color: var(--color--fg-base);
}

/* ── Cambio de contraseña – panel ── */
.password-change-section {
  margin-top: 4px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid var(--color--border-base);
  border-radius: 8px;
  overflow: hidden;
}

.password-change-section__header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color--border-base);
}

.password-change-section__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color--fg-base);
  margin: 0;
}

/* ── Animación de entrada del panel ── */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.password-change-section.is-visible {
  animation: slideDown 0.25s ease forwards;
}

/* ── Cambio de contraseña – campo confirmar + error ── */
.confirm-password-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 0;
}

#confirm-password-group.has-error .form-control {
  border-color: #c0392b;
}

#confirm-password-group.has-error label {
  color: #c0392b;
}

/* Limitar ancho del contenedor de imagen para que todos los cards tengan la misma separación horizontal */
.products_sldier_swiper .ajax_block_product .pro_outer_box.home_default,
.product_list.grid .ajax_block_product .pro_outer_box.home_default {
  width: 100%;
  overflow: hidden;
}
/* =====================================================
   Columna Oferta y desplegable de cupones — detalle pedido
   ===================================================== */

/* Columna oferta en tabla de pedido */
.order-col-promo {
  min-width: 110px;
  max-width: 220px;
  vertical-align: middle;
  text-align: right;
}

/* Ítems de promo (igual que tabla catálogo) */
.table-promo-item {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #18181b;
}
.table-promo-item strong {
  color: #16a34a;
}
.table-promo-gift {
  color: #16a34a;
  font-weight: 600;
}
.table-promo-pct {
  color: #16a34a;
  font-weight: 600;
}
.table-promo-nxm {
  color: #16a34a;
  font-weight: 500;
}
.table-promo-brand {
  color: #16a34a;
  font-weight: 500;
}
.table-promo-pack {
  color: #16a34a;
  font-weight: 500;
}

/* Desplegable de cupones aplicados al pedido */
.order-vouchers-wrapper {
  margin-top: 12px;
  border: 1px solid var(--color--border-base, #e4e4e7);
  border-radius: 4px;
  overflow: hidden;
}
.order-vouchers-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  cursor: pointer;
  background: #fafafa;
  user-select: none;
}
.order-vouchers-toggle:hover {
  background: #f3f3f3;
}
.order-vouchers-toggle i {
  transition: transform 0.2s;
}
.order-vouchers-toggle.open i {
  transform: rotate(180deg);
}
.order-vouchers-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.order-voucher-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  border-top: 1px solid var(--color--border-base, #e4e4e7);
  font-size: 0.875em;
}
.order-voucher-line .label {
  flex: 1;
  padding-right: 8px;
}
.order-voucher-line .value {
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}

/* Desglose IVA en tabla de pedido */
.order-tax-header {
  cursor: pointer;
}
.order-tax-header i {
  font-size: 11px;
  transition: transform 0.2s;
}
.order-tax-header.open i {
  transform: rotate(180deg);
}
.order-tax-detail-label {
  font-size: 0.85em;
  color: #71717a;
  padding-left: 1.5rem !important;
}
.order-tax-detail-value {
  font-size: 0.85em;
  color: #71717a;
}
