/* =====================================================
   SHOP PAGE
   ===================================================== */


/* =====================================================
   HERO
   ===================================================== */

.shop-hero {

    min-height: 75vh;

    display: flex;

    align-items: flex-end;

    padding: 100px 7%;

    background:
        linear-gradient(
            90deg,
            rgba(5,7,8,0.96),
            rgba(5,7,8,0.4)
        ),
        url("../images/hero4.jpeg")
        center / cover no-repeat;
}


.shop-hero-content {

    max-width: 850px;
}


.shop-hero h1 {

    margin: 0;

    font-size: clamp(55px, 8vw, 105px);

    line-height: 0.9;

    letter-spacing: -5px;
}


.shop-hero h1 span {

    display: block;

    color: rgba(255,255,255,0.35);
}


.shop-hero-content > p:last-child {

    max-width: 600px;

    margin-top: 30px;

    color: rgba(255,255,255,0.55);

    line-height: 1.8;
}


/* =====================================================
   INTRO
   ===================================================== */

.shop-intro {

    padding: 120px 0;

    background: #090b0d;
}


.shop-intro-content {

    max-width: 700px;
}


.shop-intro h2 span {

    display: block;

    color: rgba(255,255,255,0.35);
}


.shop-intro-content > p:last-child {

    max-width: 500px;

    margin-top: 25px;

    color: rgba(255,255,255,0.4);

    line-height: 1.8;
}


/* =====================================================
   SHOP SECTION
   ===================================================== */

.shop-section {

    padding: 120px 0;

    background: #0d1012;
}


.shop-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 30px;

    margin-bottom: 50px;
}


.shop-top h2 span {

    display: block;

    color: rgba(255,255,255,0.35);
}


/* =====================================================
   CART BUTTON
   ===================================================== */

.cart-button {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 14px 18px;

    border: 1px solid rgba(255,255,255,0.12);

    background: transparent;

    color: #ffffff;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;
}


.cart-button:hover {

    background: #ffffff;

    color: #080a0c;
}


#cart-count {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 20px;

    height: 20px;

    border-radius: 50%;

    background: #ffffff;

    color: #080a0c;

    font-size: 8px;
}


.cart-button:hover #cart-count {

    background: #080a0c;

    color: #ffffff;
}


/* =====================================================
   FILTERS
   ===================================================== */

.shop-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 50px;
}


.shop-filter {

    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,0.1);

    background: transparent;

    color: rgba(255,255,255,0.45);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;
}


.shop-filter:hover,
.shop-filter.active {

    background: #ffffff;

    color: #080a0c;

    border-color: #ffffff;
}


/* =====================================================
   PRODUCT GRID
   ===================================================== */

.product-grid {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}


/* =====================================================
   PRODUCT CARD
   ===================================================== */

.product-card {

    background: #090b0d;

    border: 1px solid rgba(255,255,255,0.07);

    overflow: hidden;

    transition: 0.3s ease;
}


.product-card:hover {

    transform: translateY(-5px);

    border-color: rgba(255,255,255,0.15);
}


/* =====================================================
   PRODUCT IMAGE
   ===================================================== */

.product-image {

    position: relative;

    height: 130px;

    background-position: center;

    background-size: cover;
}


.product-category {

    position: absolute;

    top: 15px;

    left: 15px;

    padding: 7px 9px;

    background: rgba(0,0,0,0.75);

    color: #ffffff;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =====================================================
   PRODUCT CONTENT
   ===================================================== */

.product-content {

    padding: 25px;
}


.product-content h3 {

    margin-bottom: 8px;

    font-size: 19px;
}


.product-description {

    margin-bottom: 20px;

    color: rgba(255,255,255,0.35);

    font-size: 10px;

    line-height: 1.7;
}


.product-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.product-price {

    font-size: 15px;

    font-weight: 700;
}


.add-cart-button {

    padding: 11px 14px;

    border: 1px solid rgba(255,255,255,0.15);

    background: transparent;

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;
}


.add-cart-button:hover {

    background: #ffffff;

    color: #080a0c;
}


/* =====================================================
   CART PANEL
   ===================================================== */

.cart-panel {

    position: fixed;

    top: 0;

    right: -450px;

    z-index: 9999;

    width: min(450px, 100%);

    height: 100vh;

    display: flex;

    flex-direction: column;

    background: #0d1012;

    border-left: 1px solid rgba(255,255,255,0.1);

    transition: right 0.35s ease;
}


.cart-panel.open {

    right: 0;
}


.cart-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    padding: 35px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}


.cart-header h2 {

    margin: 0;
}


.close-cart {

    width: 38px;

    height: 38px;

    border: 1px solid rgba(255,255,255,0.1);

    background: transparent;

    color: #ffffff;

    cursor: pointer;
}


.close-cart:hover {

    background: #ffffff;

    color: #080a0c;
}


/* =====================================================
   CART ITEMS
   ===================================================== */

.cart-items {

    flex: 1;

    overflow-y: auto;

    padding: 25px 35px;
}


.empty-cart {

    padding: 40px 0;

    text-align: center;

    color: rgba(255,255,255,0.3);

    font-size: 11px;
}


.cart-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}


.cart-item-image {

    width: 65px;

    height: 65px;

    flex-shrink: 0;

    background-position: center;

    background-size: cover;
}


.cart-item-info {

    flex: 1;
}


.cart-item-info h4 {

    margin-bottom: 5px;

    font-size: 13px;
}


.cart-item-info p {

    margin: 0;

    color: rgba(255,255,255,0.4);

    font-size: 10px;
}


.remove-cart-item {

    border: none;

    background: transparent;

    color: rgba(255,255,255,0.3);

    cursor: pointer;
}


.remove-cart-item:hover {

    color: #ffffff;
}


/* =====================================================
   CART FOOTER
   ===================================================== */

.cart-footer {

    padding: 25px 35px;

    border-top: 1px solid rgba(255,255,255,0.08);
}


.cart-total {

    display: flex;

    justify-content: space-between;

    margin-bottom: 20px;

    color: rgba(255,255,255,0.5);

    font-size: 11px;
}


.cart-total strong {

    color: #ffffff;

    font-size: 15px;
}


.checkout-button {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 16px;

    border: none;

    background: #ffffff;

    color: #080a0c;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    cursor: pointer;
}


/* =====================================================
   SHOP CTA
   ===================================================== */

.shop-cta {

    padding: 100px 0;

    background: #ffffff;

    color: #080a0c;
}


.shop-cta-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.shop-cta h2 {

    margin: 0;

    color: #080a0c;
}


.shop-cta h2 span {

    display: block;

    color: rgba(0,0,0,0.3);
}


.shop-cta-content > p {

    max-width: 450px;

    color: rgba(0,0,0,0.45);

    line-height: 1.8;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

    .product-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .shop-cta-content {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 600px) {

    .shop-hero {

        min-height: 650px;

        padding: 70px 5%;

    }


    .shop-hero h1 {

        font-size: 55px;

        letter-spacing: -3px;

    }


    .shop-intro,
    .shop-section {

        padding: 90px 0;

    }


    .shop-top {

        align-items: flex-start;

        flex-direction: column;

    }


    .product-grid {

        grid-template-columns: 1fr;

    }


    .product-image {

        height: 350px;

    }


    .shop-cta {

        padding: 80px 0;

    }

}

/* =====================================================
   SHOP SEARCH
   ===================================================== */

.shop-search {

    display: flex;

    gap: 10px;

    margin-bottom: 30px;

    max-width: 650px;
}


.shop-search-box {

    position: relative;

    flex: 1;
}


.shop-search-box i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform: translateY(-50%);

    color: rgba(255,255,255,0.35);

    font-size: 12px;
}


.shop-search-box input {

    width: 100%;

    padding: 15px 45px;

    border: 1px solid rgba(255,255,255,0.1);

    background: #090b0d;

    color: #ffffff;

    outline: none;

    font-size: 11px;
}


.shop-search button {

    padding: 15px 22px;

    border: none;

    background: #ffffff;

    color: #080a0c;

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    cursor: pointer;
}


.clear-shop-search {

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: rgba(255,255,255,0.4);
}


/* =====================================================
   PAGINATION
   ===================================================== */

.shop-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    margin-top: 60px;
}


.pagination-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,0.12);

    color: #ffffff;

    text-decoration: none;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: 0.3s ease;
}


.pagination-button:hover {

    background: #ffffff;

    color: #080a0c;
}


.pagination-page {

    color: rgba(255,255,255,0.4);

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =====================================================
   NO PRODUCTS
   ===================================================== */

.no-products {

    grid-column: 1 / -1;

    padding: 60px 20px;

    text-align: center;

    color: rgba(255,255,255,0.35);

    font-size: 12px;
}


/* =====================================================
   SEARCH RESPONSIVE
   ===================================================== */

@media (max-width: 600px) {

    .shop-search {

        flex-direction: column;

    }


    .shop-search button {

        width: 100%;

    }


    .shop-pagination {

        gap: 10px;

        flex-wrap: wrap;

    }

}