/*
|--------------------------------------------------------------
| DESKTOP LAYOUT
|--------------------------------------------------------------
| The template was drawn for phones only, so on a wide screen
| the header, the banners and the product cards stretched from
| edge to edge. Everything below starts at 992px, the phone
| layout is left exactly as it was.
*/

@media (min-width: 992px) {

    /* ---------------------------------------------------
    | CENTRED PAGE COLUMN
    ----------------------------------------------------*/

    .top-header .navbar,
    .wrapper .page-footer > .navbar,
    .wrapper .page-footer > .hstack,
    .wrapper .page-footer > .buttons {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-content {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 1.5rem 1rem 2.5rem 1rem;
    }

    .top-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* THE PHONE TAB BAR IS REPLACED BY THE HEADER LINKS */

    .wrapper .page-footer.mobile-nav {
        display: none !important;
    }

    .wrapper .page-footer.mobile-nav .qr-btn {
        display: none !important;
    }

    .page-content.no-mobile-nav {
        margin-bottom: 0;
    }

    /* ---------------------------------------------------
    | HEADER
    ----------------------------------------------------*/

    /* THE SEARCH OVERLAY BECOMES A REAL SEARCH FIELD */

    .top-header .navbar .searchbar {
        display: block;
        position: relative;
        flex: 1 1 auto;
        max-width: 420px;
    }

    .top-header .navbar .searchbar .form-control {
        background-color: #f6f6f6;
        border-radius: 0.5rem;
        height: 42px;
    }

    .top-header .navbar .searchbar .search-icon {
        margin-left: 0.85rem !important;
    }

    .top-header .navbar .searchbar .search-close-icon {
        margin-right: 0.85rem !important;
    }

    .top-header .navbar .mobile-search-button {
        display: none;
    }

    .top-header .navbar .top-right-menu {
        gap: 0.35rem;
    }

    /* ---------------------------------------------------
    | CATEGORY STRIP
    ----------------------------------------------------*/

    .category .category-scroll .category-img {
        flex: 0 0 11.111%;
        max-width: 11.111%;
    }

    .category .category-scroll .category-img img {
        height: 120px;
        width: 100%;
        object-fit: cover;
        border-radius: 0.5rem;
    }

    .category .category-scroll .category-img figcaption {
        font-size: 13px;
    }

    /* ---------------------------------------------------
    | BANNERS
    ----------------------------------------------------*/

    .banner-slider .banner-item img {
        height: 340px;
        width: 100%;
        object-fit: cover;
    }

    /* ---------------------------------------------------
    | PRODUCT CARDS
    ----------------------------------------------------*/

    .product-grid .row,
    .row.product-grid,
    .all-products-wrapper .row {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 2rem;
    }

    .product-grid .card,
    .all-products-wrapper .card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .product-grid .card:hover,
    .all-products-wrapper .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
    }

    .product-grid .card > .position-relative img,
    .all-products-wrapper .card > .position-relative img {
        height: 340px;
        width: 100%;
        object-fit: cover;
    }

    .product-short-title {
        font-size: 15px;
    }

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

    /* ---------------------------------------------------
    | THE SLIDER SECTIONS
    ----------------------------------------------------*/

    .trending-category .card img {
        height: 280px;
        width: 100%;
        object-fit: cover;
    }

    .sales-category-slider .card img,
    .sales-accessories-slider .card img {
        height: 240px;
        width: 100%;
        object-fit: cover;
    }

    .brands-slider .card img {
        height: 80px;
        width: 100%;
        object-fit: contain;
    }

    .review-slider .review-item {
        min-height: 190px;
    }

    /* ---------------------------------------------------
    | PRODUCT DETAILS
    ----------------------------------------------------*/

    .product-slider-wrapper {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-image-slider .banner-item img {
        height: 560px;
        width: 100%;
        object-fit: contain;
        background-color: #f6f6f6;
    }

    .product-info {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

}

/* ---------------------------------------------------
| VERY WIDE SCREENS
----------------------------------------------------*/

@media (min-width: 1400px) {

    .category .category-scroll .category-img {
        flex: 0 0 10%;
        max-width: 10%;
    }

}
