/* =============================================
   LUXE BANGLA - Responsive Styles
   Mobile First Approach
   ============================================= */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .header-search {
        max-width: 400px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .lb-navbar {
        display: none;
    }

    .header-search {
        max-width: 300px;
    }

    .hero-slider {
        height: 450px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cart-summary,
    .order-summary,
    .account-sidebar {
        position: static;
        margin-top: 1.5rem;
    }

    .account-sidebar {
        margin-bottom: 1.5rem;
    }

    .newsletter-wrap {
        flex-direction: column;
        text-align: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-price-box .current-price {
        font-size: 1.5rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .header-inner {
        gap: 0.5rem;
    }

    .header-search {
        display: none;
    }

    .header-search.mobile-visible {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 0.5rem 1rem;
        background: #fff;
        box-shadow: var(--lb-shadow);
    }

    .hero-slider {
        height: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-controls {
        padding: 0 0.5rem;
    }

    .hero-prev, .hero-next {
        width: 40px;
        height: 40px;
    }

    .section-header {
        text-align: center;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .product-meta {
        gap: 0.75rem;
    }

    .product-actions-buttons .btn {
        min-width: 100px;
        font-size: 0.8125rem;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .cart-table {
        font-size: 0.875rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.5rem;
    }

    .cart-product {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .auth-card {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .static-page-content,
    .track-card,
    .success-card {
        padding: 1.5rem;
    }

    .checkout-block {
        padding: 1.25rem;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card i {
        font-size: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.125rem;
    }

    .info-card {
        padding: 0.75rem;
    }

    .back-to-top {
        right: 20px;
        bottom: 75px;
    }

    .livechat-widget {
        bottom: 70px;
    }

    .footer-main {
        padding: 3rem 0 1.5rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .product-card .product-name {
        font-size: 0.875rem;
    }

    .product-card .current-price {
        font-size: 1rem;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .header-action {
        width: 38px;
        height: 38px;
    }

    .lb-logo .logo-text {
        font-size: 1.25rem;
    }

    .hero-slider {
        height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-text {
        display: none;
    }

    .hero-content .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    .page-title {
        font-size: 1.75rem;
        margin: 1.5rem 0;
    }

    .product-card {
        border-radius: var(--lb-radius);
    }

    .product-info {
        padding: 0.75rem;
    }

    .action-btn {
        width: 34px;
        height: 34px;
        font-size: 0.875rem;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .toast-notification {
        min-width: auto;
        max-width: 90vw;
    }

    .lb-topbar {
        font-size: 0.7rem;
    }

    .lb-topbar .topbar-left span,
    .lb-topbar a.topbar-link {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .lb-topbar, .lb-header, .lb-navbar, .lb-footer,
    .livechat-widget, .mobile-bottom-nav, .back-to-top,
    .header-actions, .product-actions {
        display: none !important;
    }

    body {
        background: white;
    }
}

/* High DPI / Retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .lb-logo img,
    .product-image img,
    .category-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease;
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--lb-radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
