/* =====================================================
   COLLECTION PAGE
===================================================== */

.collection-page-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background:
        linear-gradient(rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)),
        url("Premium Artificial Jewellery Showcase.png")
        center / cover no-repeat;
}

.collection-hero-content {
    max-width: 750px;
    padding: 40px 20px;
    color: #fff;
}

.collection-hero-content span {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
}

.collection-hero-content h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(45px, 6vw, 80px);
    line-height: .95;
    margin: 20px 0;
}

.collection-hero-content p {
    max-width: 600px;
    margin: auto;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.8;
}


/* INTRO */

.collection-intro {
    max-width: 750px;
    margin: auto;
    padding: 90px 20px 70px;
    text-align: center;
}

.collection-intro .small-heading {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
}

.collection-intro h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 55px;
    line-height: 1;
    margin: 15px 0;
}

.collection-intro p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.collection-section {
    width: 100%;
    padding: 25px 0 60px;
}

.collection-container {
    width: 94%;
    max-width: 1500px;
    margin: auto;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.product-image-wrapper {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}


/* =========================================================
   RATING
========================================================= */

.rating {
    position: absolute;
    left: 8px;
    bottom: 8px;

    background: white;
    padding: 7px 10px;

    font-size: 13px;
    color: #333;

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15);
}

.rating span {
    color: #c89b3c;
    font-weight: bold;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.product-info {
    padding: 10px 7px 7px;
}

.product-name {
    font-size: 13px;
    line-height: 1.4;
    min-height: 38px;

    color: #222;
}

.product-price {
    margin-top: 10px;

    font-size: 14px;
    font-weight: 500;

    color: #222;
}


/* =========================================================
   ADD TO CART BUTTON
========================================================= */

.add-cart-btn {
    width: 100%;

    margin-top: 10px;
    padding: 8px 5px;

    border: none;
    background: #000;
    color: #fff;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition: 0.3s ease;
}

.add-cart-btn:hover {
    background: #4a1f1f;
}


/* =========================================================
   VIEW MORE BUTTON
========================================================= */

.view-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 45px;
}

.view-more-btn {
    min-width: 190px;

    padding: 13px 35px;

    background: #000;
    color: #fff;

    border: 1px solid #000;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 1px;

    cursor: pointer;

    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #fff;
    color: #000;
}


/* =========================================================
   CART MESSAGE
========================================================= */

.cart-message {
    position: fixed;

    right: 25px;
    bottom: 25px;

    background: #222;
    color: #fff;

    padding: 13px 22px;

    border-radius: 4px;

    font-size: 14px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: all 0.3s ease;

    z-index: 9999;
}

.cart-message.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .collection-container {
        width: 95%;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .product-image-wrapper {
        height: 280px;
    }
}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 750px) {

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image-wrapper {
        height: 280px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-price {
        font-size: 13px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .collection-section {
        padding-top: 15px;
    }

    .collection-container {
        width: 94%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-image-wrapper {
        height: 210px;
    }

    .product-info {
        padding: 8px 5px 5px;
    }

    .product-name {
        font-size: 11px;
        min-height: 34px;
    }

    .product-price {
        font-size: 12px;
        margin-top: 7px;
    }

    .add-cart-btn {
        font-size: 11px;
        padding: 8px 3px;
    }

    .rating {
        font-size: 10px;
        padding: 5px 7px;
    }

    .view-more-wrapper {
        margin-top: 30px;
    }

    .view-more-btn {
        width: 180px;
        padding: 12px 20px;
        font-size: 12px;
    }

    .cart-message {
        right: 10px;
        bottom: 15px;
        font-size: 12px;
        padding: 11px 15px;
    }
}

/* FEATURED */

.featured-collection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin: 100px 6%;
    background: #f7f4ef;
}

.featured-image {
    height: 550px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 60px;
}

.featured-content h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 55px;
    line-height: 1;
    margin: 15px 0;
}

.featured-content p {
    font-family: "Poppins", sans-serif;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.collection-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    transition: .3s;
}

.collection-button:hover {
    background: #9c7b45;
}


/* PRODUCTS */

.collection-products {
    padding: 70px 6%;
}

.products-heading {
    text-align: center;
    margin-bottom: 50px;
}

.products-heading span {
    font-size: 11px;
    letter-spacing: 3px;
}

.products-heading h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 50px;
    margin: 10px 0;
}


/* MOBILE */

@media (max-width: 768px) {

    .collection-page-hero {
        min-height: 430px;
    }

    .collection-hero-content h1 {
        font-size: 48px;
    }

    .collection-intro {
        padding: 65px 20px 45px;
    }

    .collection-intro h1 {
        font-size: 42px;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .category-card {
        height: 300px;
    }

    .category-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .category-content h2 {
        font-size: 27px;
    }

    .featured-collection {
        grid-template-columns: 1fr;
        margin: 60px 4%;
    }

    .featured-image {
        height: 400px;
    }

    .featured-content {
        padding: 40px 25px;
    }

    .featured-content h1 {
        font-size: 43px;
    }

}


@media (max-width: 480px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 400px;
    }

}