/* =========================================================
   PAMORA
   NEW ARRIVALS
   PREMIUM LIQUID GLASS
========================================================= */

.pamora-new-arrivals {
    position: relative;
    width: 100%;
    padding: 100px 0 95px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(214, 232, 221, 0.75),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 85%,
            rgba(212, 173, 98, 0.08),
            transparent 28%
        ),
        var(--pamora-pearl);

    color: var(--pamora-ink);
}


/* =========================================================
   HEADER
========================================================= */

.pamora-new-arrivals-head {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 42px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.pamora-new-arrivals-eyebrow {
    display: block;
    margin-bottom: 12px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;

    color: var(--pamora-emerald);
    opacity: .62;
}

.pamora-new-arrivals-heading h2 {
    margin: 0;

    font-family: "Instrument Serif", serif;
    font-size: clamp(46px, 6vw, 76px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.035em;
}

.pamora-new-arrivals-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(12, 21, 18, .28);

    color: var(--pamora-ink);
    text-decoration: none;

    font-family: "Manrope", sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;

    transition:
        border-color .3s ease,
        opacity .3s ease;
}

.pamora-new-arrivals-view-all i {
    font-size: 12px;
}

.pamora-new-arrivals-view-all:hover {
    opacity: .65;
    border-color: var(--pamora-ink);
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.pamora-new-arrivals-grid {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.pamora-new-card {
    position: relative;
    min-width: 0;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .72),
            rgba(255, 255, 255, .32)
        );

    border: 1px solid rgba(255, 255, 255, .78);

    box-shadow:
        0 24px 55px rgba(12, 21, 18, .08),
        0 3px 12px rgba(12, 21, 18, .035),
        inset 0 1px 0 rgba(255, 255, 255, .95);

    backdrop-filter: blur(24px) saturate(125%);
    -webkit-backdrop-filter: blur(24px) saturate(125%);

    overflow: hidden;

    transition:
        transform .5s cubic-bezier(.2, .8, .2, 1),
        box-shadow .5s ease;
}

.pamora-new-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 32px 70px rgba(12, 21, 18, .11),
        0 5px 18px rgba(12, 21, 18, .045),
        inset 0 1px 0 rgba(255, 255, 255, .98);
}


/* =========================================================
   IMAGE AREA
========================================================= */

.pamora-new-card-media {
    position: relative;

    width: 100%;
    aspect-ratio: .82;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(214, 232, 221, .8),
            rgba(238, 241, 236, .95)
        );
}

.pamora-new-product-link {
    display: block;
    width: 100%;
    height: 100%;
}

.pamora-new-card-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;
    -webkit-user-drag: none;

    transition:
        transform 900ms cubic-bezier(.2, .8, .2, 1);
}

.pamora-new-card:hover
.pamora-new-card-media img {
    transform: scale(1.045);
}


/* =========================================================
   GLASS HIGHLIGHT
========================================================= */

.pamora-new-card-media::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            125deg,
            rgba(255,255,255,.28) 0%,
            rgba(255,255,255,0) 28%,
            rgba(255,255,255,.08) 60%,
            rgba(255,255,255,.22) 100%
        );
}


/* =========================================================
   NEW BADGE
========================================================= */

.pamora-new-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;
    padding: 0 11px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .52);
    border: 1px solid rgba(255, 255, 255, .8);

    box-shadow:
        0 5px 15px rgba(12, 21, 18, .06),
        inset 0 1px 0 rgba(255,255,255,.9);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-family: "IBM Plex Mono", monospace;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;

    color: var(--pamora-emerald);
}


/* =========================================================
   WISHLIST
========================================================= */

.pamora-new-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255,255,255,.78);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.42);

    color: var(--pamora-ink);

    box-shadow:
        0 8px 18px rgba(12,21,18,.07),
        inset 0 1px 0 rgba(255,255,255,.85);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    cursor: pointer;

    transition:
        transform .3s ease,
        background .3s ease;
}

.pamora-new-wishlist:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,.68);
}

.pamora-new-wishlist i {
    font-size: 14px;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.pamora-new-card-content {
    padding: 19px 18px 18px;
}


/* =========================================================
   PRODUCT TOP
========================================================= */

.pamora-new-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.pamora-new-collection {
    display: block;
    margin-bottom: 6px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;

    color: var(--pamora-emerald);
    opacity: .58;
}

.pamora-new-card h3 {
    margin: 0;
}

.pamora-new-card h3 a {
    color: var(--pamora-ink);
    text-decoration: none;

    font-family: "Instrument Serif", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: .95;

    transition: opacity .25s ease;
}

.pamora-new-card h3 a:hover {
    opacity: .62;
}


/* =========================================================
   PRICE
========================================================= */

.pamora-new-price {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    padding: 7px 10px;

    border-radius: 4px;

    background: rgba(212, 173, 98, .82);

    color: var(--pamora-ink);

    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;

    line-height: 1;
    letter-spacing: -.02em;

    box-shadow:
        0 5px 14px rgba(212, 173, 98, .13);
}


/* =========================================================
   MATERIAL
========================================================= */

.pamora-new-material {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 12px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 7px;
    line-height: 1.4;
    letter-spacing: .04em;

    color: var(--pamora-ink);
    opacity: .48;
}

.pamora-new-material i {
    font-size: 9px;
}


/* =========================================================
   ACTION AREA
========================================================= */

.pamora-new-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;

    margin-top: 17px;
}


/* =========================================================
   SHARED LIQUID GLASS BUTTON
========================================================= */

.pamora-glass-btn {
    position: relative;

    min-height: 47px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 15px;

    border: 1px solid rgba(255,255,255,.82);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.62),
            rgba(255,255,255,.27)
        );

    color: var(--pamora-ink);
    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(12,21,18,.065),
        inset 0 1px 0 rgba(255,255,255,.92),
        inset 0 -1px 0 rgba(12,21,18,.03);

    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);

    font-family: "Manrope", sans-serif;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform .3s cubic-bezier(.2,.8,.2,1),
        box-shadow .3s ease,
        background .3s ease;
}


/* subtle glass reflection */

.pamora-glass-btn::before {
    content: "";

    position: absolute;
    top: -40%;
    left: -25%;

    width: 70%;
    height: 180%;

    background: linear-gradient(
        110deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );

    transform: rotate(18deg);

    opacity: .32;
    pointer-events: none;
}


/* =========================================================
   ADD TO CART
========================================================= */

.pamora-add-cart:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.8),
            rgba(255,255,255,.45)
        );

    box-shadow:
        0 12px 25px rgba(12,21,18,.09),
        inset 0 1px 0 rgba(255,255,255,.96);
}

.pamora-add-cart i {
    font-size: 13px;
}


/* =========================================================
   BUY NOW
========================================================= */

.pamora-buy-now {
    background:
        linear-gradient(
            145deg,
            rgba(10,58,44,.9),
            rgba(20,92,68,.82)
        );

    border-color: rgba(255,255,255,.18);

    color: #fff;

    box-shadow:
        0 10px 24px rgba(10,58,44,.18),
        inset 0 1px 0 rgba(255,255,255,.2);
}

.pamora-buy-now:hover {
    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            rgba(10,58,44,.98),
            rgba(20,92,68,.92)
        );

    color: #fff;

    box-shadow:
        0 14px 30px rgba(10,58,44,.23),
        inset 0 1px 0 rgba(255,255,255,.24);
}

.pamora-buy-now i {
    font-size: 11px;

    transition:
        transform .3s ease;
}

.pamora-buy-now:hover i {
    transform: translateX(3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .pamora-new-arrivals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .pamora-new-card h3 a {
        font-size: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .pamora-new-arrivals {
        padding: 72px 0 60px;

        background:
            radial-gradient(
                circle at 20% 5%,
                rgba(214, 232, 221, .72),
                transparent 40%
            ),
            var(--pamora-pearl);
    }


    .pamora-new-arrivals-head {
        width: calc(100% - 32px);

        margin-bottom: 28px;

        align-items: flex-end;
    }


    .pamora-new-arrivals-eyebrow {
        font-size: 8px;
        margin-bottom: 9px;
    }


    .pamora-new-arrivals-heading h2 {
        font-size: 48px;
        line-height: .9;
    }


    .pamora-new-arrivals-view-all {
        font-size: 8px;
        white-space: nowrap;
    }


    /* horizontal iOS-style product shelf */

    .pamora-new-arrivals-grid {
        width: 100%;

        display: flex;
        gap: 14px;

        overflow-x: auto;

        padding: 4px 16px 18px;

        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .pamora-new-arrivals-grid::-webkit-scrollbar {
        display: none;
    }


    .pamora-new-card {
        flex: 0 0 78vw;
        width: 78vw;

        border-radius: 23px;

        scroll-snap-align: start;
    }


    .pamora-new-card:hover {
        transform: none;
    }


    .pamora-new-card-media {
        aspect-ratio: .82;
    }


    .pamora-new-card-content {
        padding: 17px 15px 15px;
    }


    .pamora-new-card h3 a {
        font-size: 29px;
    }


    .pamora-new-price {
        font-size: 12px;
        padding: 7px 9px;
    }


    .pamora-new-actions {
        gap: 7px;
        margin-top: 15px;
    }


    .pamora-glass-btn {
        min-height: 46px;
        border-radius: 14px;
        font-size: 8px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 374px) {

    .pamora-new-card {
        flex-basis: 82vw;
        width: 82vw;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pamora-new-card,
    .pamora-new-card-media img,
    .pamora-glass-btn,
    .pamora-buy-now i {
        transition: none;
    }

}