/* Responsive Design */

/* Tablets and small desktops */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .hero-slider .carousel-caption {
        bottom: 15%;
    }

    .product-card {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-top .col-md-6 {
        text-align: center !important;
    }

    .header-top .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-slider .display-4 {
        font-size: 1.5rem;
    }

    .hero-slider .lead {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .thumbnail-gallery {
        justify-content: center;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-slider .carousel-caption {
        padding: 0.5rem;
    }

    .product-card .card-body {
        padding: 1rem;
    }

    .price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .add-to-cart-section .row {
        flex-direction: column;
    }

    .add-to-cart-section .col-md-4,
    .add-to-cart-section .col-md-8 {
        width: 100%;
    }

    .tab-content {
        padding: 1rem;
    }

    footer .row>div {
        margin-bottom: 2rem;
    }
}

/* Large desktops */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .hero-slider .carousel-item {
        height: 700px;
    }

    .product-card .card-img-top {
        height: 300px;
    }
}

/* Print styles */
@media print {

    .header-top,
    .header-main,
    .hero-slider,
    footer,
    .btn,
    .flash-messages {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}