/* ============================================================
   COCO ELITE - RESPONSIVE LAYOUT
   Loaded after style.css
============================================================ */

/* ============================================================
   LARGE DEVICES (1200px and below)
============================================================ */

@media (max-width: 1200px) {

    .hero-content h1 {
        font-size: 48px;
    }

    .product-image img {
        height: 220px;
    }

    .product-title {
        font-size: 32px;
    }

}

/* ============================================================
   TABLETS (992px and below)
============================================================ */

@media (max-width: 992px) {

    .navbar-nav {
        text-align: center;
        padding-top: 15px;
    }

    .navbar-nav .nav-link {
        margin: 8px 0;
    }

    .hero-section {
        height: 550px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .product-details {
        padding: 60px 0;
    }

    .product-title {
        font-size: 28px;
        margin-top: 20px;
    }

    .checkout-summary {
        margin-top: 30px;
    }

    .footer .col-lg-3,
    .footer .col-md-6 {
        margin-bottom: 30px;
    }

}

/* ============================================================
   MOBILE DEVICES (768px and below)
============================================================ */

@media (max-width: 768px) {

    .hero-section {
        height: 450px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-btn {
        padding: 10px 25px;
    }

    .section-title h2 {
        font-size: 28px;
    }

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

    .product-card {
        margin-bottom: 20px;
    }

    .category-content h3 {
        font-size: 24px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price-large {
        font-size: 26px;
    }

    .cart-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .profile-sidebar {
        margin-bottom: 25px;
    }

    .footer {
        text-align: center;
    }

}

/* ============================================================
   SMALL MOBILE (576px and below)
============================================================ */

@media (max-width: 576px) {

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

    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn-primary-custom,
    .btn-outline-custom,
    .hero-btn {
        width: 100%;
        display: block;
        text-align: center;
    }

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

    .product-info h5 {
        font-size: 16px;
    }

    .product-price {
        font-size: 20px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-price-large {
        font-size: 24px;
    }

    .quantity-box {
        width: 80px;
    }

    .checkout-form,
    .checkout-summary {
        padding: 20px;
    }

    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

}

/* ============================================================
   EXTRA SMALL DEVICES (400px)
============================================================ */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-price-large {
        font-size: 22px;
    }

}
