/* Ajustes exclusivos para pantallas pequenas. No afecta escritorio. */
.mobile-category-heading {
  display: none;
}

@media (max-width: 760px) {
  .mobile-category-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 2px 8px;
    color: #172033;
    font-size: 15px;
    line-height: 1.2;
  }

  .mobile-category-heading span {
    color: #64748b;
    font-size: 11px;
    font-weight: 400;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #header .logo {
    float: none !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

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

  #header .navigation_block {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
  }

  #header .navigation {
    display: flex !important;
    float: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
  }

  #header .navigation li {
    float: none !important;
  }

  #header .navigation li a {
    display: block;
    min-height: 36px;
    padding: 9px 8px;
    box-sizing: border-box;
  }

  #header .currencies,
  #header .languages,
  #header .cart_bg {
    float: none !important;
    display: inline-flex !important;
    vertical-align: middle;
    margin: 6px 3px;
  }

  .menu {
    display: flex !important;
    float: none !important;
    flex-wrap: wrap;
    width: 100% !important;
    margin: 0 !important;
  }

  .menu .menu_item {
    flex: 1 1 33.333%;
    min-width: 30%;
    box-sizing: border-box;
    text-align: center;
  }

  .menu .menu_item a {
    display: block;
    min-height: 42px;
    padding: 12px 5px;
    box-sizing: border-box;
  }

  .search {
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
  }

  .search .input-width,
  .search .width-setter,
  .search input.go {
    box-sizing: border-box;
    width: calc(100% - 44px) !important;
    max-width: none !important;
  }

  #columnLeft {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-height: 270px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-bottom: 10px;
  }

  .menu-propuesta-b {
    padding: 4px 0;
  }

  .menu-propuesta-b .cat-b-ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .menu-propuesta-b .cat-b-li.level-0 {
    min-width: 0;
    margin: 0 !important;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
  }

  .menu-propuesta-b .cat-b-li.level-0.active,
  .menu-propuesta-b .cat-b-li.level-0.expanded {
    grid-column: 1 / -1;
  }

  .menu-propuesta-b .cat-b-li.level-0 + .cat-b-li.level-0 {
    padding-top: 0;
  }

  .menu-propuesta-b .cat-b-li.level-0 > .cat-b-link {
    min-height: 54px;
    background: #f8fafc;
    border-radius: 7px;
    font-size: 11px;
  }

  .menu-propuesta-b .cat-b-img {
    width: 44px;
    height: 42px;
  }

  .menu-propuesta-b .cat-b-name {
    padding: 0 4px 0 6px;
    overflow-wrap: anywhere;
  }

  .menu-propuesta-b .cat-b-toggle {
    width: 18px;
    height: 18px;
    margin-right: 5px;
  }

  .menu-propuesta-b .cat-b-li .cat-b-link.sub {
    min-height: 40px;
    padding: 7px 6px 7px 10px;
    font-size: 11px;
  }

  .menu-propuesta-b-payment {
    display: none;
  }

  #loopedSlider,
  #loopedSlider .container,
  #loopedSlider .slides {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #loopedSlider .slides {
    display: flex !important;
    gap: 8px;
  }

  #loopedSlider .slides > * {
    flex: 0 0 calc(50% - 4px);
    max-width: calc(50% - 4px);
    box-sizing: border-box;
  }

  #loopedSlider img {
    max-width: 100% !important;
    height: auto !important;
  }

  .divfijos3 {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 118px;
    overflow: hidden;
  }

  .tcp-whatsapp-flyout {
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
    width: auto !important;
    max-width: none !important;
  }

  .tcp-whatsapp-flyout-btn {
    width: 100% !important;
    min-height: 46px;
  }
}

/* Ultimo nivel de prioridad: neutraliza anchos heredados de 960GS solo en movil. */
@media (max-width: 760px) {
  .row_1 .container_24,
  .row_2 .container_24,
  .row_3 .container_24,
  .row_4 .container_24,
  .row_1 .grid_24,
  .row_2 .grid_24,
  .row_3 .grid_24,
  .row_4 .grid_24 {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  .row_3 .grid_24 {
    overflow-x: hidden !important;
  }

  .row_1 {
    overflow: hidden !important;
  }

  .row_1 #header {
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    margin: 0 !important;
  }

  .row_1 #header .logo,
  .row_1 #header .navigation_block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .row_1 #header .logo img {
    margin: 0 auto !important;
    display: block !important;
    max-width: 100% !important;
  }

  .row_1 #header .navigation_t {
    background: #174b87 !important;
    margin: 0 !important;
    border-radius: 0 0 14px 14px;
  }

  .row_1 #header .navigation_tl,
  .row_1 #header .navigation_tr {
    background: none !important;
    padding: 0 !important;
  }

  .row_1 #header .navigation_item a {
    padding: 8px 6px !important;
    font-size: 11px !important;
  }

  .row_1 .languages {
    display: none !important;
  }

  .row_1 .currencies {
    margin: 8px auto !important;
    width: auto !important;
    justify-content: center;
  }

  .row_1 .cart_bg {
    display: block !important;
    width: 100% !important;
    padding: 4px 0 !important;
    background: none !important;
    text-align: center;
  }

  .row_1 .cart_bg div {
    padding: 0 !important;
    text-align: center !important;
  }

  .row_2 .menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1px !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: #991010 !important;
  }

  .row_2 .menu .menu_item,
  .row_2 .menu .menu_item.un {
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    background: #c91515 !important;
  }

  .row_2 .menu .menu_item a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px !important;
    height: 42px !important;
    padding: 4px 3px !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .row_2 .menu .menu_left,
  .row_2 .menu .menu_right,
  .row_2 .menu .menu_rep {
    background: none !important;
    height: auto !important;
    margin: 0 !important;
  }

  .row_2 .search {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    padding: 4px !important;
    margin: 8px 0 0 !important;
    background: #b91414 !important;
    border-radius: 0 0 8px 8px;
    box-sizing: border-box !important;
  }

  .row_2 .search .input-width,
  .row_2 .search .width-setter {
    flex: 1 1 auto;
    width: auto !important;
    height: 40px !important;
    margin: 0 !important;
  }

  .row_2 .search .go {
    position: static !important;
    width: 100% !important;
    height: 40px !important;
    padding: 8px 10px !important;
    background: #fff !important;
    border: 0 !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  .row_2 .search .button_search_prod {
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }

  #columnLeft {
    height: 235px !important;
    max-height: 235px !important;
    padding: 0 !important;
  }

  .row_3 #loopedSlider,
  .row_3 #loopedSlider .container,
  .row_3 #loopedSlider .slides,
  .row_3 #loopedSlider ul {
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .menu-propuesta-b .cat-b-ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .menu-propuesta-b .cat-b-li.level-0 {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .divfijos3 {
    max-height: 62px !important;
    height: 62px !important;
    padding: 4px 8px !important;
    overflow: hidden !important;
  }

  .divfijos3_contacts,
  .divfijos3_copy,
  .divfijos3_menu1p {
    display: none !important;
  }

  .divfijos3_links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    width: 100% !important;
    overflow-x: auto !important;
  }

  .divfijos3_links a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 10px !important;
    font-size: 11px !important;
  }

  .tcp-whatsapp-flyout {
    bottom: 70px !important;
  }

  .tcp-whatsapp-flyout-btn {
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
  }

  .scrollup {
    display: none !important;
  }
}
