/* ======================================================================
   Shop on phones (Nov 2026, owner: "the store website's mobile view").
   Loaded after every other shop stylesheet. Only phone / tablet widths change, except where noted.
   ====================================================================== */

/* ---------- product page: the discount badge is a badge, not a struck-through price (all widths) ---------- */
#old-price-old {
    text-decoration: none !important;
    display: inline-flex; align-items: center;
    border-radius: 8px; padding: 4px 9px !important;
    font-size: 13px !important; font-weight: 700; line-height: 1.2;
    vertical-align: middle;
}

@media (max-width: 991px) {
    /* ---------- header: logo, language and icons fit on one line, nothing on top of each other ---------- */
    header.mobile .axil-mainmenu { z-index: 1020; }   /* product cards' wishlist hearts never show above the header */
    .mh-row { gap: 4px; }
    .mh-row .mh-logo { flex: 1 1 auto; min-width: 0; }
    .mh-row .mh-logo img { max-width: 100% !important; height: 30px !important; }
    .mh-row .mh-actions { flex: 0 0 auto; gap: 0; }
    .mh-row .mh-icon { width: 38px; height: 38px; flex-basis: 38px; font-size: 18px; }
    .mh-row .site-lang-li { display: inline-flex; margin: 0 2px; }
    .mh-row .site-lang-li .ui-lang-switch { transform: none !important; padding: 2px !important; font-size: 11px !important; }
    .mh-row .site-lang-li .ui-lang-switch a { padding: 5px 8px !important; }

    /* ---------- strips that scroll sideways: no grey scrollbar under them ---------- */
    .mainmenu, .small-thumb-wrapper, .product-gallery-thumbs, .slick-list, .scroll-row, .hx-rail {
        scrollbar-width: none !important; -ms-overflow-style: none;
    }
    .mainmenu::-webkit-scrollbar, .small-thumb-wrapper::-webkit-scrollbar, .product-gallery-thumbs::-webkit-scrollbar,
    .slick-list::-webkit-scrollbar, .scroll-row::-webkit-scrollbar, .hx-rail::-webkit-scrollbar { display: none !important; }

    /* ---------- floating buttons: the bottom bar already has the way up; keep only chat / WhatsApp ---------- */
    #backto-top, .back-to-top, .back-to-top.show { display: none !important; }

    /* ---------- product page ---------- */
    .single-product-thumbnail-wrap, .single-product-thumbnail.img-section { border: 0 !important; }
    .single-product-thumbnail .thumbnail, .single-product-thumbnail .thumbnail a { display: block; width: 100%; }
    .single-product-thumbnail img, #main-image { width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain; border-radius: 14px; }
    .small-thumb-wrapper .small-thumb-img img { border-radius: 10px; }
    /* size / colour choices: big enough to tap */
    .sizess { display: flex; flex-wrap: wrap; gap: 8px; }
    .sizess .size {
        margin: 0 !important; padding: 8px 14px !important; min-height: 38px;
        display: inline-flex !important; align-items: center; justify-content: center;
        font-size: 13.5px !important; font-weight: 500; line-height: 1.2;
        border: 1.5px solid #d9dad6 !important; border-radius: 999px !important; background: #fff; color: #1c1f23;
    }
    .sizess .size.active { border-color: var(--secondary-color) !important; background: var(--secondary-color) !important; color: #fff !important; }
    .sizess .size #add_here { display: none; }
    /* quantity: one tidy box */
    .pro-qty.item-quantity { width: auto !important; max-width: 150px; display: inline-flex !important; align-items: center; height: 44px; border: 1.5px solid #d9dad6; border-radius: 12px; overflow: hidden; background: #fff; }
    .pro-qty.item-quantity .quantity-button { width: 44px !important; height: 44px !important; line-height: 44px !important; border: 0 !important; border-radius: 0 !important; font-size: 20px !important; float: none !important; background: transparent !important; }
    .pro-qty.item-quantity .quantity-input { width: 48px !important; height: 44px !important; border: 0 !important; text-align: center; font-size: 16px; font-weight: 600; padding: 0 !important; }

    /* ---------- category / search pages: the home page's product card, two to a row ---------- */
    .list-cards { isolation: isolate; --bs-gutter-x: 12px; margin-left: -6px; margin-right: -6px; }
    .list-cards > .list-card { padding-left: 6px; padding-right: 6px; margin-bottom: 22px; }
    .cat-subs { gap: 8px !important; }

    /* ---------- cart ---------- */
    .cart-summery .summery-table td, .axil-order-summery td { padding-top: 10px; padding-bottom: 10px; }
}

/* dark mode */
@media (max-width: 991px) {
    [data-theme="dark"] .sizess .size { background: #1b2027; color: #eceef1; border-color: #333a44 !important; }
    [data-theme="dark"] .pro-qty.item-quantity { background: #1b2027; border-color: #333a44; }
    [data-theme="dark"] .pro-qty.item-quantity .quantity-input, [data-theme="dark"] .pro-qty.item-quantity .quantity-button { color: #eceef1 !important; }
}
