/**
 * Battery Shop - Additional Responsive Styles
 * @package BatteryShop
 */

/* ========== Features Grid ========== */
@media (max-width: 992px) {
    .bs-features-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 576px) {
    .bs-features-grid { grid-template-columns: 1fr !important; }
}

/* ========== Shop Layout ========== */
@media (max-width: 992px) {
    .bs-shop-layout { flex-direction: column; }
    .bs-filters { width: 100%; }
    .bs-home-layout { flex-direction: column; }
    .bs-home-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        order: 0;
    }
    .bs-home-sidebar .bs-filters {
        width: 100%;
    }
    .bs-home-sidebar .bs-filters__section {
        display: block;
    }
}

/* ========== Hero Slider ========== */
@media (max-width: 992px) {
    .bs-hero__slide { min-height: 300px; flex-direction: column; }
    .bs-hero__content { padding: 25px; }
    .bs-hero__title { font-size: 1.4rem; }
    .bs-hero__desc { font-size: 0.9rem; }
    .bs-hero__image { display: none; }
}

@media (max-width: 576px) {
    .bs-hero__slide { min-height: 250px; }
    .bs-hero__title { font-size: 1.2rem; }
    .bs-hero__btn { padding: 10px 20px; font-size: 0.9rem; }
    .bs-hero__arrow { width: 36px; height: 36px; }
}

/* ========== Navigation ========== */
@media (max-width: 992px) {
    .bs-cat-menu { min-width: 100%; }
    .bs-cat-menu__dropdown { position: static; box-shadow: none; border: 1px solid var(--bs-border); border-radius: 0; }
    .bs-mega-menu { position: static; min-width: 100%; box-shadow: none; border-radius: 0; }
    .bs-mega-menu__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .bs-nav__inner { flex-direction: column; }
    .bs-main-menu { width: 100%; }
    .bs-main-menu ul { flex-direction: column; }
    .bs-main-menu a { padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .bs-main-menu .sub-menu { position: static; display: block; box-shadow: none; background: rgba(0,0,0,0.1); }
    .bs-main-menu .sub-menu a { padding-right: 30px; }
}

/* ========== Product Grid ========== */
@media (max-width: 1200px) {
    .bs-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
    .bs-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .bs-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bs-product-card__thumb { height: 160px; }
}
@media (max-width: 480px) {
    .bs-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .bs-product-card__info { padding: 10px; }
    .bs-product-card__name { font-size: 0.82rem; }
    .bs-product-card__price { font-size: 0.9rem; }
}

/* ========== Amazing Offers ========== */
@media (max-width: 768px) {
    .bs-amazing__product { min-width: 160px; max-width: 160px; }
    .bs-amazing__product-thumb { height: 120px; }
}

/* ========== Single Product ========== */
@media (max-width: 992px) {
    .bs-single-product { flex-direction: column; }
    .bs-single-product__gallery { width: 100%; }
    .bs-single-product__main-img { height: 300px; }
}
@media (max-width: 576px) {
    .bs-single-product__main-img { height: 220px; }
    .bs-single-product__title { font-size: 1.2rem; }
    .bs-single-product__current-price { font-size: 1.3rem; }
    .bs-single-product__cart-btn { padding: 12px 20px; font-size: 0.9rem; }
}

/* ========== Footer ========== */
@media (max-width: 992px) {
    .bs-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .bs-footer__grid { grid-template-columns: 1fr; }
    .bs-footer__badges { justify-content: center; }
}

/* ========== Cart ========== */
@media (max-width: 768px) {
    .woocommerce table.shop_table td { padding: 8px; font-size: 0.85rem; }
    .woocommerce table.shop_table .product-thumbnail { display: none; }
    .bs-cart__summary { max-width: 100%; }
}

/* ========== Auth ========== */
@media (max-width: 576px) {
    .bs-auth { padding: 20px; margin: 20px 10px; }
    .bs-auth__logo-icon { width: 55px; height: 55px; }
}

/* ========== Search ========== */
@media (max-width: 768px) {
    .bs-search { order: 3; max-width: 100%; flex: 0 0 100%; margin-top: 10px; }
    .bs-header__actions { flex-shrink: 0; }
}

/* ========== Categories Grid ========== */
@media (max-width: 992px) {
    .bs-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .bs-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .bs-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Login Page ========== */
.bs-login-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

/* ========== Page Layout ========== */
@media (max-width: 992px) {
    .bs-row { flex-direction: column; }
    .bs-col-9, .bs-col-3 { width: 100%; }
}
