/* =============================================
   TOKO DOA IBU - Responsive Stylesheet
   ============================================= */

/* -- Tablet (max-width: 992px) -- */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }

    .product-img-container {
        height: 200px;
    }

    .search-form {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Admin sidebar becomes off-canvas on tablet */
    #sidebar-admin {
        position: fixed;
        left: -280px;
        transition: left 0.3s ease;
        z-index: 1050;
    }

    #sidebar-admin.show {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1040;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

/* -- Mobile (max-width: 768px) -- */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 0.95rem;
    }

    .product-img-container {
        height: 180px;
    }

    .category-card {
        padding: 12px 8px !important;
    }

    .navbar .brand-text {
        font-size: 1.15rem;
    }

    .cart-img {
        width: 50px;
        height: 50px;
    }

    .qty-input {
        width: 55px;
    }

    .product-detail-img {
        max-height: 300px;
    }

    footer {
        text-align: center;
    }

    footer .text-md-start, footer .text-md-end {
        text-align: center !important;
    }
}

/* -- Small Mobile (max-width: 576px) -- */
@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .testi-card {
        padding: 16px !important;
    }

    .status-step .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .status-step small {
        font-size: 0.7rem;
    }
}
