/* =========================================
   COLLECTION DETAIL HERO
========================================= */

.collection-detail-hero {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background-size: cover;

    background-position: center;

    color: var(--white);

}

.collection-detail-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(20,18,16,.18),
            rgba(20,18,16,.72)
        );

}

.collection-detail-hero-content {

    position: relative;

    z-index: 2;

    width: min(800px, 90%);

}

.collection-detail-hero-content .section-eyebrow {

    color: #d8b47a;

}

.collection-detail-hero-content h1 {

    margin: 20px 0;

    font-family: var(--serif);

    font-size: clamp(75px, 10vw, 130px);

    font-weight: 400;

    line-height: .8;

}

.collection-detail-hero-content p {

    max-width: 520px;

    margin: 0 auto 30px;

    font-size: 12px;

    line-height: 1.8;

    color: rgba(255,255,255,.75);

}

.collection-hero-scroll {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(255,255,255,.65);

    color: white;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 1.8px;

    text-transform: uppercase;

}

.collection-hero-scroll span {

    font-size: 15px;

}


/* =========================================
   INTRO
========================================= */

.collection-detail-intro {

    padding: 120px 20px;

    background: var(--cream);

    text-align: center;

}

.collection-detail-intro-inner {

    width: min(800px, 90%);

    margin: auto;

}

.collection-detail-intro .section-eyebrow {

    color: var(--gold);

}

.collection-detail-intro h2 {

    margin: 18px 0 25px;

    font-family: var(--serif);

    font-size: clamp(50px, 6vw, 78px);

    font-weight: 400;

    line-height: .88;

}

.collection-detail-intro p {

    max-width: 530px;

    margin: auto;

    font-size: 11px;

    line-height: 1.9;

    color: var(--muted);

}


/* =========================================
   PRODUCTS SECTION
========================================= */

.collection-detail-products {

    padding: 0 0 120px;

    background: var(--cream);

}

.collection-detail-container {

    width: min(1400px, 90%);

    margin: auto;

}

.collection-detail-products-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 50px;

}

.collection-detail-products-header h2 {

    margin-top: 10px;

    font-family: var(--serif);

    font-size: clamp(48px, 5vw, 68px);

    font-weight: 400;

    line-height: .9;

}

.collection-result-count {

    font-size: 8px;

    color: var(--muted);

    letter-spacing: 1px;

    text-transform: uppercase;

}


/* =========================================
   PRODUCT GRID
========================================= */

.collection-detail-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px 18px;

}

.collection-detail-product {

    min-width: 0;

}

.collection-detail-product-image {

    position: relative;

    height: 470px;

    overflow: hidden;

    background: #e9e4dc;

}

.collection-detail-product-image > a:first-of-type {

    display: block;

    width: 100%;

    height: 100%;

}

.collection-detail-product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2,.6,.2,1);

}

.collection-detail-product:hover img {

    transform: scale(1.055);

}


/* =========================================
   BADGE
========================================= */

.collection-product-badge {

    position: absolute;

    z-index: 4;

    top: 15px;

    left: 15px;

    padding: 7px 9px;

    background: var(--black);

    color: white;

    font-size: 6px;

    letter-spacing: 1.2px;

}


/* =========================================
   WISHLIST
========================================= */

.collection-detail-wishlist {

    position: absolute;

    z-index: 5;

    top: 12px;

    right: 12px;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.92);

    font-size: 19px;

    transition: all .3s ease;

}

.collection-detail-wishlist:hover,
.collection-detail-wishlist.active {

    background: var(--black);

    color: white;

}


/* =========================================
   QUICK VIEW
========================================= */

.collection-quick-view {

    position: absolute;

    z-index: 4;

    left: 15px;

    right: 15px;

    bottom: 15px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    background: rgba(255,255,255,.94);

    color: var(--black);

    font-size: 7px;

    font-weight: 500;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity .35s ease,
        transform .35s ease;

}

.collection-detail-product:hover
.collection-quick-view {

    opacity: 1;

    transform: translateY(0);

}

.collection-quick-view span {

    font-size: 14px;

}


/* =========================================
   PRODUCT INFO
========================================= */

.collection-detail-product-info {

    padding-top: 17px;

}

.collection-detail-product-info > span {

    font-size: 6px;

    font-weight: 500;

    letter-spacing: 2px;

    color: var(--gold);

}

.collection-detail-product-info h3 {

    margin: 8px 0;

    font-family: var(--serif);

    font-size: 24px;

    font-weight: 500;

    line-height: 1;

}

.collection-detail-product-info h3 a:hover {

    color: var(--gold);

}

.collection-product-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

}

.collection-product-meta p {

    font-size: 10px;

    color: var(--muted);

}

.collection-product-meta small {

    font-size: 7px;

    color: #999;

}


/* =========================================
   COLLECTION STORY
========================================= */

.collection-detail-story {

    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 700px;

    background: var(--black);

    color: white;

}

.collection-detail-story-image {

    overflow: hidden;

}

.collection-detail-story-image img {

    width: 100%;

    height: 100%;

    min-height: 700px;

    object-fit: cover;

}

.collection-detail-story-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 90px 13%;

}

.collection-detail-story-content .section-eyebrow {

    color: #d8b47a;

}

.collection-detail-story-content h2 {

    margin: 20px 0 30px;

    font-family: var(--serif);

    font-size: clamp(55px, 5.5vw, 82px);

    font-weight: 400;

    line-height: .85;

}

.collection-detail-story-content p {

    max-width: 430px;

    margin-bottom: 15px;

    font-size: 11px;

    line-height: 1.9;

    color: rgba(255,255,255,.62);

}

.collection-story-button {

    width: fit-content;

    display: flex;

    align-items: center;

    gap: 20px;

    margin-top: 25px;

    padding-bottom: 8px;

    border-bottom: 1px solid rgba(255,255,255,.55);

    color: white;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 1.7px;

    text-transform: uppercase;

}

.collection-story-button span {

    font-size: 15px;

}


/* =========================================
   OTHER COLLECTIONS
========================================= */

.other-collections {

    padding: 120px 0;

    background: var(--cream);

}

.other-collections-container {

    width: min(1400px, 90%);

    margin: auto;

}

.other-collections-heading {

    text-align: center;

    margin-bottom: 55px;

}

.other-collections-heading .section-eyebrow {

    color: var(--gold);

}

.other-collections-heading h2 {

    margin-top: 12px;

    font-family: var(--serif);

    font-size: clamp(50px, 5vw, 68px);

    font-weight: 400;

}

.other-collections-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}

.other-collection-card {

    display: block;

}

.other-collection-image {

    position: relative;

    height: 470px;

    overflow: hidden;

}

.other-collection-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .8s ease;

}

.other-collection-card:hover img {

    transform: scale(1.06);

}

.other-collection-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 30%,
            rgba(0,0,0,.7)
        );

}

.other-collection-content {

    position: absolute;

    left: 28px;

    right: 28px;

    bottom: 28px;

    color: white;

}

.other-collection-content span {

    font-size: 6px;

    letter-spacing: 2px;

    color: #d8b47a;

}

.other-collection-content h3 {

    margin: 7px 0 14px;

    font-family: var(--serif);

    font-size: 35px;

    font-weight: 400;

}

.other-collection-content strong {

    padding-bottom: 5px;

    border-bottom: 1px solid rgba(255,255,255,.6);

    font-size: 7px;

    font-weight: 500;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


/* =========================================
   FINAL CTA
========================================= */

.collection-detail-final {

    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        url("https://images.unsplash.com/photo-1603561591411-07134e71a2a9?auto=format&fit=crop&w=2200&q=90")
        center / cover;

    color: white;

}

.collection-detail-final-overlay {

    position: absolute;

    inset: 0;

    background: rgba(20,18,16,.65);

}

.collection-detail-final-content {

    position: relative;

    z-index: 2;

}

.collection-detail-final-content .section-eyebrow {

    color: #d8b47a;

}

.collection-detail-final-content h2 {

    margin: 18px 0 35px;

    font-family: var(--serif);

    font-size: clamp(55px, 6vw, 85px);

    font-weight: 400;

    line-height: .85;

}

.collection-detail-final-button {

    display: inline-flex;

    align-items: center;

    gap: 22px;

    padding: 17px 26px;

    background: white;

    color: var(--black);

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition: all .3s ease;

}

.collection-detail-final-button:hover {

    background: var(--gold);

    color: white;

}

.collection-detail-final-button span {

    font-size: 15px;

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .collection-detail-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .collection-detail-story {

        grid-template-columns: 1fr;

    }

    .collection-detail-story-image img {

        min-height: 550px;

        max-height: 650px;

    }

    .collection-detail-story-content {

        padding: 80px 8%;

    }

    .other-collections-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .collection-detail-hero {

        min-height: 600px;

    }

    .collection-detail-hero-content h1 {

        font-size: 72px;

    }

    .collection-detail-intro {

        padding: 85px 20px;

    }

    .collection-detail-intro h2 {

        font-size: 48px;

    }

    .collection-detail-products {

        padding-bottom: 80px;

    }

    .collection-detail-products-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 20px;

    }

    .collection-detail-grid {

        grid-template-columns: 1fr 1fr;

        gap: 35px 10px;

    }

    .collection-detail-product-image {

        height: 280px;

    }

    .collection-detail-product-info h3 {

        font-size: 18px;

    }

    .collection-product-meta {

        display: block;

    }

    .collection-product-meta small {

        display: block;

        margin-top: 5px;

    }

    .collection-quick-view {

        display: none;

    }

    .collection-detail-story-content {

        padding: 70px 8%;

    }

    .collection-detail-story-content h2 {

        font-size: 55px;

    }

    .other-collections {

        padding: 80px 0;

    }

    .other-collections-grid {

        grid-template-columns: 1fr;

    }

    .other-collection-image {

        height: 430px;

    }

    .collection-detail-final {

        min-height: 530px;

    }

}