/* ============================================================
   MOB2 — SRP mobile/tablet step-2 adjustments (<=991.98px only)
   Restored-original layout adjustments: overflow fix, home strip
   sliders, product gallery gap, footer scale. Desktop untouched.
   ============================================================ */
@media (max-width: 991.98px) {

  /* ---------- 1) PAGE OVERFLOW ----------
     responsive.css pins select#main-menu-mobile to width:400px at
     <=479px; the select sizes its #navigation parent (measured
     400px wide, right edge 470px on a 390px viewport), which made
     EVERY page scroll sideways. Let both span the navbox instead. */
  .mobile_navbox #navigation {
    width: auto !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
  select#main-menu-mobile {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* ---------- 2+3) HOME STRIP SLIDERS (shared conversion) ----------
     The strips' iosSlider parks them at the last slide on mobile.
     Converted to native scroll-snap rails: smooth, swipeable,
     zero layout shift; JS (mob2.js) adds arrows/autoplay/dots. */
  .items_slider_id_339528623 .items_slider,
  .items_slider_id_1288011622 .items_slider {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .items_slider_id_339528623 .items_slider::-webkit-scrollbar,
  .items_slider_id_1288011622 .items_slider::-webkit-scrollbar { display: none; }

  .items_slider_id_339528623 .items_slider ul.slider,
  .items_slider_id_1288011622 .items_slider ul.slider {
    display: flex !important;
    flex-wrap: nowrap;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    transform: none !important;
    left: auto !important;
    margin: 0;
    padding: 0;
  }
  .items_slider_id_339528623 .items_slider ul.slider > li.product_item,
  .items_slider_id_1288011622 .items_slider ul.slider > li.product_item {
    float: none !important;
    width: auto;
    height: auto;
    margin: 0 10px 0 0;
    scroll-snap-align: start;
  }
  .items_slider_id_339528623 .items_slider ul.slider > li.product_item:last-child,
  .items_slider_id_1288011622 .items_slider ul.slider > li.product_item:last-child { margin-right: 0; }
  .items_slider_id_339528623 .items_slider .product_item img,
  .items_slider_id_1288011622 .items_slider .product_item img {
    max-width: 100%;
    height: auto;
  }

  /* ---------- 2) FEATURED: snap rail, ~2.2 per view, arrows + autoplay (JS) */
  .items_slider_id_339528623 .items_slider { scroll-snap-type: x mandatory; }
  .items_slider_id_339528623 .items_slider ul.slider > li.product_item { flex: 0 0 44%; }

  /* ---------- 3) MOST SELLING: free-swipe ribbon, wider cards, dots + edge fade, no arrows */
  .items_slider_id_1288011622 .items_slider { scroll-snap-type: x proximity; }
  .items_slider_id_1288011622 .items_slider ul.slider > li.product_item { flex: 0 0 60%; }
  .items_slider_id_1288011622 .items_sliders_nav { display: none !important; }
  .items_slider_id_1288011622 .items_slider_wrapper { position: relative; }
  .items_slider_id_1288011622 .items_slider_wrapper::before,
  .items_slider_id_1288011622 .items_slider_wrapper::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 34px;
    pointer-events: none;
    z-index: 6;
    transition: opacity .25s ease;
  }
  .items_slider_id_1288011622 .items_slider_wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,.95), rgba(255,255,255,0));
  }
  .items_slider_id_1288011622 .items_slider_wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,.95), rgba(255,255,255,0));
  }
  .items_slider_id_1288011622 .items_slider_wrapper.mob2-at-start::before { opacity: 0; }
  .items_slider_id_1288011622 .items_slider_wrapper.mob2-at-end::after { opacity: 0; }

  /* pagination dots (element created by mob2.js) */
  .mob2-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 10px 0 2px;
  }
  .mob2-dots button {
    width: 8px; height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c8c8c8;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  .mob2-dots button.mob2-on { background: #111; transform: scale(1.2); }

  /* ---------- 4) PRODUCT GALLERY GAP ----------
     The gallery iosSlider writes an inline height equal to the
     full viewport height onto .productSlider (measured 844px on a
     390x844 phone, 1024px on a 768x1024 tablet) while the visible
     slide is far shorter (319px / 520px) — ~500px of dead space
     above the price/summary column. Let the box hug the slide. */
  .productSlider { height: auto !important; }
  .productSlider .slider { height: auto !important; }

  /* ---------- 5) FOOTER SCALE ----------
     Footer copy/widget text keeps desktop sizes on mobile; the
     bordered copyright block's table text in particular renders
     oversized. Scale typography + spacing to the form factor,
     design language (bordered block, payment row) unchanged. */
  footer#copyright .widget-title {
    font-size: 15px !important;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  footer#copyright ul.product_list_widget .product-title {
    font-size: 13.5px;
    line-height: 1.35;
  }
  footer#copyright .footer_copyright { padding: 8px 0; }
  footer#copyright .footer_copyright table,
  footer#copyright .footer_copyright td,
  footer#copyright .footer_copyright p,
  footer#copyright .footer_copyright a,
  footer#copyright .footer_copyright span,
  footer#copyright .footer_copyright font {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  footer#copyright .footer_copyright td { padding: 6px 12px !important; }
  footer#copyright .footer_copyright img {
    max-height: 26px;
    width: auto;
  }

  /* tablet refinements within the same gate */
  @media (min-width: 600px) {
    .items_slider_id_339528623 .items_slider ul.slider > li.product_item { flex-basis: 31.5%; }
    .items_slider_id_1288011622 .items_slider ul.slider > li.product_item { flex-basis: 42%; }
  }
}

/* dots exist only when mob2.js created them at mobile width;
   never let them show on desktop */
@media (min-width: 992px) {
  .mob2-dots { display: none !important; }
}
