/* =========================================================
   ARDELL - PRODUCTS PAGE
========================================================= */

.ardell-products-page {
    width: 100%;
    overflow: hidden;
}

.products-container {
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   PRODUCTS HERO
========================================================= */

.products-hero {
    display: grid;
    grid-template-columns: 44% 56%;

    min-height: 680px;

    background: #f3ece7;
}


/* HERO COPY */

.products-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 80px 5vw 80px 8vw;
}

.products-hero .section-label {
    display: block;

    margin-bottom: 25px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;

    color: #a46f52;
}

.products-hero h1 {
    margin: 0 0 30px;

    font-size: clamp(52px, 5.5vw, 82px);
    line-height: 0.94;
    letter-spacing: -0.05em;
    font-weight: 500;

    color: #111111;
}

.products-hero p {
    max-width: 480px;
    margin: 0;

    font-size: 17px;
    line-height: 1.7;

    color: #555555;
}


/* HERO IMAGE */

.products-hero-image {
    position: relative;

    min-width: 0;
    min-height: 680px;

    overflow: hidden;

    background: #eee9e5;
}

.products-hero-image img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.8s ease;
}

.products-hero-image:hover img {
    transform: scale(1.015);
}


/* =========================================================
   PRODUCT SECTIONS
========================================================= */

.products-collections {
    padding: 0 0 125px;

    background: #ffffff;
}


/* alternate section can stay white */

.products-collections-alt {
    background: #ffffff;
}


/* =========================================================
   DARK CATEGORY BANNER
========================================================= */

.products-category-banner {
    width: 100%;

    margin-bottom: 72px;
    padding: 68px 0 72px;

    background: #171717;
    color: #ffffff;
}


/* CATEGORY HEADING */

.products-section-heading {
    max-width: 720px;
    margin: 0;
}

.products-category-label {
    display: block;

    margin-bottom: 17px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;

    color: #c99575;
}

.products-category-title {
    margin: 0 0 20px;

    font-size: clamp(44px, 4.5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 500;

    color: #ffffff;
}

.products-category-description {
    max-width: 560px;

    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   PRODUCTS GRID
========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    column-gap: 28px;
    row-gap: 70px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-collection {
    min-width: 0;
}


/* IMAGE */

.product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f3efec;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.product-collection:hover .product-image img {
    transform: scale(1.025);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1ece8;
}

.product-placeholder span {
    font-size: clamp(26px, 3vw, 44px);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.08em;

    color: #b6aaa2;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.product-content {
    padding-top: 22px;
}

.collection-number {
    display: block;

    margin-bottom: 11px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;

    color: #a46f52;
}

.product-content h2 {
    margin: 0 0 13px;

    font-size: clamp(27px, 2.2vw, 35px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 500;

    color: #111111;
}

.product-content p {
    max-width: 390px;

    margin: 0;

    font-size: 14px;
    line-height: 1.65;

    color: #5c5c5c;
}


/* =========================================================
   ANCHOR OFFSET
   przy przejściu z HOME do #duo / #nails
========================================================= */

#duo,
#nails {
    scroll-margin-top: 80px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.products-final {
    padding: 120px 30px;

    background: #171717;
    color: #ffffff;

    text-align: center;
}

.products-final-inner {
    max-width: 850px;
    margin: 0 auto;
}

.products-final .section-label {
    display: block;

    margin-bottom: 26px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;

    color: #c99575;
}

.products-final h2 {
    margin: 0 0 28px;

    font-size: clamp(55px, 6vw, 90px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    font-weight: 500;

    color: #ffffff;
}

.products-final p {
    max-width: 600px;

    margin: 0 auto;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.68);
}


/* FINAL BUTTON */

.products-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    margin-top: 38px;
    padding: 0 32px;

    background: #ffffff;
    color: #111111;

    border: 1px solid #ffffff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;

    transition: all 0.25s ease;
}

.products-final-button:hover {
    background: transparent;
    color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .products-container {
        width: min(100% - 64px, 1100px);
    }


    /* HERO */

    .products-hero {
        grid-template-columns: 45% 55%;

        min-height: 600px;
    }

    .products-hero-copy {
        padding: 65px 40px;
    }

    .products-hero-image {
        min-height: 600px;
    }


    /* CATEGORY BANNER */

    .products-category-banner {
        margin-bottom: 60px;
        padding: 58px 0 62px;
    }

    .products-category-title {
        font-size: 52px;
    }


    /* PRODUCT SECTIONS */

    .products-collections {
        padding-bottom: 105px;
    }


    /* GRID */

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        column-gap: 28px;
        row-gap: 65px;
    }

    .product-content h2 {
        font-size: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .products-container {
        width: calc(100% - 48px);
    }


    /* HERO */

    .products-hero {
        display: flex;
        flex-direction: column;

        min-height: auto;
    }

    .products-hero-copy {
        padding: 65px 24px;
    }

    .products-hero h1 {
        font-size: 52px;
    }

    .products-hero p {
        font-size: 16px;
    }

    .products-hero-image {
        min-height: 0;

        height: 100vw;
        max-height: 580px;
    }

    .products-hero-image img {
        position: relative;
    }


    /* CATEGORY BANNER */

    .products-category-banner {
        margin-bottom: 45px;
        padding: 48px 0 52px;
    }

    .products-category-label {
        margin-bottom: 14px;

        font-size: 10px;
    }

    .products-category-title {
        margin-bottom: 17px;

        font-size: 42px;
    }

    .products-category-description {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.65;
    }


    /* PRODUCT SECTIONS */

    .products-collections {
        padding: 0 0 80px;
    }


    /* GRID */

    .products-grid {
        grid-template-columns: 1fr;

        row-gap: 55px;
    }

    .product-content {
        padding-top: 20px;
    }

    .product-content h2 {
        font-size: 32px;
    }

    .product-content p {
        font-size: 14px;
    }


    /* FINAL CTA */

    .products-final {
        padding: 85px 24px;
    }

    .products-final h2 {
        font-size: 52px;
    }

}