/* =========================================================
   JORA TREND - NECKLACES PAGE
========================================================= */

* {
    box-sizing: border-box;
}


/* =========================================================
   PAGE
========================================================= */

.necklaces-page {

    width: 100%;

    min-height: 100vh;

    background: #f8f5ed;

    padding-bottom: 90px;

}


/* =========================================================
   INTRO
========================================================= */

.necklace-intro {

    text-align: center;

    max-width: 700px;

    margin: auto;

    padding: 70px 20px 45px;

}


.necklace-eyebrow {

    display: inline-block;

    color: #9a762f;

    font-family: 'Montserrat', sans-serif;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;

    margin-bottom: 14px;

}


.necklace-intro h1 {

    margin: 0;

    color: #023020;

    font-family: 'Cormorant Garamond', serif;

    font-size: 58px;

    font-weight: 400;

    line-height: 1;

}


.necklace-intro h1 em {

    color: #9a762f;

    font-style: italic;

}


.necklace-intro p {

    max-width: 500px;

    margin: 18px auto 0;

    color: #727873;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================================
   PRODUCTS
========================================================= */

.necklace-products {

    width: 100%;

    padding: 0 3%;

}


.necklace-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 32px 28px;

}


/* =========================================================
   CARD
========================================================= */

.necklace-card {

    min-width: 0;

}


/* =========================================================
   IMAGE
========================================================= */

.necklace-image {

    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1.08;

    overflow: hidden;

    background: #ebe6dc;

    border-radius: 10px;

}


.necklace-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;

}


/* =========================================================
   IMAGE HOVER
========================================================= */

.necklace-image::after {

    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 50%;

    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );

    transform: skewX(-18deg);

    pointer-events: none;

}


.necklace-card:hover .necklace-image img {

    transform: scale(1.04);

}


.necklace-card:hover .necklace-image::after {

    left: 150%;

    transition: left 0.8s ease;

}


/* =========================================================
   WISHLIST
========================================================= */

.necklace-wishlist {

    position: absolute;

    top: 15px;

    right: 15px;

    z-index: 5;

    width: 44px;

    height: 44px;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #16201b;

    font-size: 18px;

    cursor: pointer;

    transition: 0.3s ease;

}


.necklace-wishlist:hover {

    background: #023020;

    color: #d7bc70;

    transform: scale(1.08);

}


/* =========================================================
   BADGE
========================================================= */

.necklace-badge {

    position: absolute;

    top: 0;

    left: 0;

    z-index: 4;

    padding: 10px 14px;

    background: #b88a3b;

    color: white;

    font-family: 'Montserrat', sans-serif;

    font-size: 8px;

    letter-spacing: 1px;

}


/* =========================================================
   HOVER TEXT
========================================================= */

.necklace-hover {

    position: absolute;

    bottom: 18px;

    left: 50%;

    transform: translate(-50%, 15px);

    opacity: 0;

    z-index: 4;

    transition: 0.35s ease;

}


.necklace-hover span {

    display: block;

    padding: 11px 20px;

    background: #023020;

    color: white;

    font-family: 'Montserrat', sans-serif;

    font-size: 8px;

    letter-spacing: 1.5px;

    white-space: nowrap;

}


.necklace-card:hover .necklace-hover {

    opacity: 1;

    transform: translate(-50%, 0);

}


/* =========================================================
   DETAILS
========================================================= */

.necklace-details {

    text-align: center;

    padding: 16px 5px 5px;

}


.necklace-category {

    display: block;

    margin-bottom: 6px;

    color: #92938e;

    font-family: 'Montserrat', sans-serif;

    font-size: 8px;

    letter-spacing: 1.5px;

}


.necklace-details h2 {

    margin: 0;

    color: #202923;

    font-family: 'Cormorant Garamond', serif;

    font-size: 21px;

    font-weight: 600;

    line-height: 1.2;

}


.necklace-price {

    margin-top: 8px;

    color: #023020;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

    font-weight: 600;

}


/* =========================================================
   EMPTY
========================================================= */

.necklace-empty {

    grid-column: 1 / -1;

    text-align: center;

    padding: 100px 20px;

}


.necklace-empty i {

    color: #9a762f;

    font-size: 40px;

}


.necklace-empty h2 {

    margin: 15px 0 5px;

    color: #023020;

    font-family: 'Cormorant Garamond', serif;

    font-size: 32px;

    font-weight: 500;

}


.necklace-empty p {

    color: #777;

    font-family: 'Montserrat', sans-serif;

    font-size: 14px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .necklace-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}


@media (max-width: 850px) {

    .necklace-intro {

        padding-top: 55px;

    }

    .necklace-intro h1 {

        font-size: 48px;

    }

    .necklace-products {

        padding: 0 4%;

    }

    .necklace-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 28px 18px;

    }

}


@media (max-width: 550px) {

    .necklace-intro {

        padding: 45px 18px 30px;

    }

    .necklace-eyebrow {

        font-size: 7px;

        letter-spacing: 2px;

    }

    .necklace-intro h1 {

        font-size: 40px;

    }

    .necklace-intro p {

        font-size: 8px;

    }

    .necklace-products {

        padding: 0 12px;

    }

    .necklace-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 24px 12px;

    }

    .necklace-image {

        border-radius: 8px;

    }

    .necklace-wishlist {

        top: 8px;

        right: 8px;

        width: 34px;

        height: 34px;

        font-size: 14px;

    }

    .necklace-details {

        padding-top: 11px;

    }

    .necklace-category {

        font-size: 6px;

    }

    .necklace-details h2 {

        font-size: 17px;

    }

    .necklace-price {

        font-size: 14px;

    }

    .necklace-hover {

        display: none;

    }

}