/* ==========================================
   STAYEXOTIC SHOP PAGE
========================================== */

.shop-body {
    margin: 0;

    background: #ffffff;
    color: #0a0a0a;

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;

    animation: shopPageFade 0.7s ease forwards;
}


/* ==========================================
   NAVBAR
========================================== */

.shop-navbar {
    width: 100%;
    height: 92px;

    padding: 0 48px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    background: #ffffff;

    border-bottom: 1px solid #e8e8e8;

    position: relative;

    z-index: 100;
}


/* LOGO */

.shop-logo {
    width: fit-content;

    display: inline-flex;

    align-items: center;
}


.shop-logo img {
    width: 145px;
    height: auto;

    display: block;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.shop-logo:hover img {
    transform: scale(1.04);

    opacity: 0.7;
}


/* CENTER NAV */

.shop-nav-links {
    display: flex;

    align-items: center;

    gap: 42px;
}


.shop-nav-links a,
.shop-nav-right a {
    color: #0a0a0a;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    position: relative;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.shop-nav-links a::after,
.shop-nav-right a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #000;

    transition: width 0.25s ease;
}


.shop-nav-links a:hover,
.shop-nav-right a:hover {
    opacity: 0.6;

    transform: translateY(-1px);
}


.shop-nav-links a:hover::after,
.shop-nav-right a:hover::after {
    width: 100%;
}


/* RIGHT NAV */

.shop-nav-right {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 30px;
}


/* ==========================================
   MAIN
========================================== */

.luxury-shop {
    width: 100%;

    min-height: calc(100vh - 92px);

    padding:
        80px
        48px
        0;

    background: #ffffff;
}


/* ==========================================
   SHOP HERO
========================================== */

.shop-hero {
    padding-bottom: 42px;
}


.shop-hero-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 28px;
}


.shop-eyebrow,
.shop-piece-count {
    margin: 0;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;
}


.shop-hero h1 {
    margin: 0;

    color: #000;

    font-size:
        clamp(
            80px,
            11vw,
            170px
        );

    font-weight: 800;

    line-height: 0.85;

    letter-spacing: -8px;

    animation:
        shopTitleEnter
        0.9s ease forwards;
}


.shop-subheader {
    margin-top: 36px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.shop-subheader p,
.shop-subheader span {
    margin: 0;

    font-size: 9px;

    letter-spacing: 2px;
}


.shop-subheader span {
    color: #777;
}


/* ==========================================
   FILTER BAR
========================================== */

.collection-bar {
    min-height: 65px;

    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 35px;
}


.collection-left {
    display: flex;

    align-items: center;

    gap: 32px;
}


/* FILTER BUTTONS */

.shop-filter {
    padding: 23px 0;

    border: none;

    background: transparent;

    color: #8a8a8a;

    cursor: pointer;

    font-family: inherit;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 1.8px;

    position: relative;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}


.shop-filter::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 0;
    height: 2px;

    background: #000;

    transition: width 0.3s ease;
}


.shop-filter:hover {
    color: #000;
}


.shop-filter.active-filter {
    color: #000;

    font-weight: 700;
}


.shop-filter.active-filter::after {
    width: 100%;
}


.collection-right {
    color: #888;

    font-size: 9px;

    letter-spacing: 1.8px;
}


/* ==========================================
   PRODUCT GRID
========================================== */

.shop-products {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    column-gap: 18px;

    row-gap: 60px;
}


/* ==========================================
   PRODUCT CARD
========================================== */

.shop-product {
    display: block;

    min-width: 0;

    color: #000;

    text-decoration: none;

    position: relative;

    animation:
        productCardEnter
        0.5s ease both;
}


.shop-product:nth-child(2) {
    animation-delay: 0.06s;
}


.shop-product:nth-child(3) {
    animation-delay: 0.12s;
}


.shop-product:nth-child(4) {
    animation-delay: 0.18s;
}


/* ==========================================
   PRODUCT IMAGE
========================================== */

.shop-product-image {
    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    position: relative;

    background: #f2f2f2;
}


.shop-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease,
        opacity 0.35s ease;
}


.shop-product:hover
.shop-product-image img {
    transform: scale(1.025);

    opacity: 0.92;
}


/* NUMBER OVER IMAGE */

.shop-product-piece {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 5;

    padding:
        7px
        9px;

    background:
        rgba(
            255,
            255,
            255,
            0.88
        );

    color: #000;

    font-size: 8px;

    letter-spacing: 2px;
}


/* ==========================================
   PRODUCT DETAILS
========================================== */

.shop-product-top {
    margin-top: 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.shop-product-category {
    color: #888;

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.shop-product-arrow {
    color: #888;

    font-size: 13px;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}


.shop-product:hover
.shop-product-arrow {
    color: #000;

    transform: translateX(4px);
}


.shop-product h2 {
    margin:
        9px
        0
        7px;

    color: #0a0a0a;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.2px;
}


.shop-product-price {
    margin: 0;

    color: #666;

    font-size: 11px;

    letter-spacing: 0.4px;
}


/* ==========================================
   BOTTOM
========================================== */

.shop-bottom {
    min-height: 130px;

    margin-top: 110px;

    border-top: 1px solid #dedede;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.shop-bottom span {
    color: #888;

    font-size: 8px;

    letter-spacing: 3px;
}


/* ==========================================
   ANIMATIONS
========================================== */

@keyframes shopPageFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes shopTitleEnter {

    from {
        opacity: 0;

        transform:
            translateY(20px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes productCardEnter {

    from {
        opacity: 0;

        transform:
            translateY(15px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 950px) {

    .shop-navbar {
        padding: 0 25px;

        grid-template-columns:
            auto
            1fr
            auto;
    }


    .shop-logo img {
        width: 130px;
    }


    .shop-nav-links {
        justify-content: center;

        gap: 22px;
    }


    .shop-nav-right {
        gap: 15px;
    }


    .luxury-shop {
        padding:
            65px
            25px
            0;
    }


    .shop-products {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            50px
            15px;
    }


    .shop-hero h1 {
        letter-spacing: -5px;
    }


    .shop-bottom {
        margin-top: 80px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 650px) {

    .shop-navbar {
        height: auto;

        min-height: 90px;

        padding: 18px;

        display: flex;

        flex-wrap: wrap;

        gap: 18px;
    }


    .shop-logo {
        margin-right: auto;
    }


    .shop-logo img {
        width: 120px;
    }


    .shop-nav-right {
        gap: 15px;
    }


    .shop-nav-links {
        order: 3;

        width: 100%;

        justify-content: space-between;

        gap: 10px;

        padding-top: 15px;

        border-top:
            1px solid #e7e7e7;
    }


    .luxury-shop {
        padding:
            55px
            16px
            0;
    }


    .shop-hero-top {
        margin-bottom: 20px;
    }


    .shop-piece-count {
        display: none;
    }


    .shop-hero h1 {
        font-size: 72px;

        letter-spacing: -4px;
    }


    .shop-subheader {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

        margin-top: 25px;
    }


    .collection-bar {
        overflow-x: auto;

        gap: 25px;

        margin-bottom: 25px;
    }


    .collection-left {
        gap: 24px;

        min-width: max-content;
    }


    .shop-filter {
        padding:
            20px
            0;
    }


    .collection-right {
        display: none;
    }


    .shop-products {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        column-gap: 9px;

        row-gap: 38px;
    }


    .shop-product-piece {
        top: 9px;
        left: 9px;

        font-size: 7px;
    }


    .shop-product h2 {
        font-size: 11px;

        margin-top: 7px;
    }


    .shop-product-price {
        font-size: 10px;
    }


    .shop-product-category {
        font-size: 7px;
    }


    .shop-bottom {
        min-height: 100px;

        margin-top: 65px;
    }


    .shop-bottom span:nth-child(2) {
        display: none;
    }

}