/* =========================================================
   SPADE — HOMEPAGE FEATURED PICKS
   Editorial products left + campaign image right
   ========================================================= */

.spade-featured-picks {
    width: 100%;
    padding: clamp(68px, 6vw, 96px) 0;
    background: #ffffff;
    color: #111111;
}

.spade-featured-picks__inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(18px, 2.2vw, 36px);
}

.spade-featured-picks__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(30px, 3vw, 42px);
}

.spade-featured-picks__eyebrow {
    margin: 0 0 8px;
    color: #d7006d;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.spade-featured-picks__title {
    margin: 0;
    color: #111111;
    font-family: var(--spade-font-heading, "DM Serif Display", Georgia, serif);
    font-size: clamp(40px, 4.4vw, 64px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.spade-featured-picks__intro {
    margin: 14px 0 0;
    color: #747474;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 13px;
    line-height: 1.7;
}

.spade-featured-picks__view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 5px;
    border-bottom: 1px solid #111111;
    color: #111111;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.spade-featured-picks__view-all span {
    transition: transform 0.2s ease;
}

.spade-featured-picks__view-all:hover span {
    transform: translateX(3px);
}

/* =========================================================
   EDITORIAL SPLIT
   ========================================================= */

.spade-featured-picks__editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.92fr);
    gap: clamp(18px, 2vw, 32px);
    align-items: stretch;
}

.spade-featured-picks__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 16px);
    align-content: start;
}

.spade-featured-picks__campaign-column {
    position: relative;
    align-self: stretch;
    min-width: 0;
    height: auto;
}

.spade-featured-picks__campaign-sticky {
    position: relative;
    top: auto;

    width: 100%;

    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.spade-featured-picks__campaign-link {
    position: relative;
    display: block;

    width: 100%;
    aspect-ratio: 4 / 5;

    overflow: hidden;
    background: #f3f0ee;

    color: #ffffff;
    text-decoration: none;
}

.spade-featured-picks__campaign-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.spade-featured-picks__campaign-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.18) 42%,
            rgba(0, 0, 0, 0.02) 68%,
            transparent 100%
        );
}

.spade-featured-picks__campaign-link:hover
.spade-featured-picks__campaign-image {
    transform: scale(1.025);
}

.spade-featured-picks__campaign-copy {
    position: absolute;
    z-index: 2;
    right: clamp(22px, 3vw, 42px);
    bottom: clamp(24px, 3vw, 42px);
    left: clamp(22px, 3vw, 42px);
}

.spade-featured-picks__campaign-eyebrow {
    display: block;
    margin-bottom: 9px;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.spade-featured-picks__campaign-title {
    display: block;
    max-width: 440px;
    font-family: var(--spade-font-heading, "DM Serif Display", Georgia, serif);
    font-size: clamp(34px, 3.5vw, 58px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.spade-featured-picks__campaign-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.spade-featured-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    background: #ffffff;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.spade-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.065);
}

.spade-featured-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.35;
    overflow: hidden;
    background: #f5f5f3;
    text-decoration: none;
}

.spade-featured-card--hero .spade-featured-card__media,
.spade-featured-card--standard .spade-featured-card__media {
    aspect-ratio: 4 / 4.35;
    min-height: 0;
}

.spade-featured-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    padding: 7px 10px;
    border: 1px solid rgba(17, 17, 17, 0.06);
    background: rgba(255, 255, 255, 0.95);
    color: #111111;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.spade-featured-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f6f6f4;
    transition:
        opacity 0.42s ease,
        transform 0.62s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.spade-featured-card__image--primary {
    opacity: 1;
}

.spade-featured-card__image--hover {
    opacity: 0;
}

.spade-featured-card__media:hover .spade-featured-card__image--primary {
    opacity: 0;
    transform: scale(1.018);
}

.spade-featured-card__media:hover .spade-featured-card__image--hover {
    opacity: 1;
    transform: scale(1.018);
}

.spade-featured-card__media:not(:has(.spade-featured-card__image--hover)):hover
.spade-featured-card__image--primary {
    opacity: 1;
}

/* =========================================================
   QUICK ADD
   ========================================================= */

.spade-featured-card__quick-add {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #111111 !important;
    color: #ffffff !important;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition:
        height 0.26s ease,
        min-height 0.26s ease,
        max-height 0.26s ease,
        opacity 0.18s ease,
        visibility 0.18s ease,
        background-color 0.2s ease,
        color 0.2s ease !important;
}

.spade-featured-card:hover > .spade-featured-card__quick-add,
.spade-featured-card__quick-add:focus-visible {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.spade-featured-card__quick-add:hover {
    background: #ffffff !important;
    color: #111111 !important;
    border-top: 1px solid #111111 !important;
    border-bottom: 1px solid #111111 !important;
}

.spade-featured-card .added_to_cart {
    display: none !important;
}

/* =========================================================
   PRODUCT INFO
   ========================================================= */

.spade-featured-card__info,
.spade-featured-card--hero .spade-featured-card__info {
    padding: 15px 16px 17px;
    background: #ffffff;
}

.spade-featured-card__brand {
    margin: 0 0 7px;
    color: #777777;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.spade-featured-card__name,
.spade-featured-card--hero .spade-featured-card__name {
    min-height: 2.7em;
    margin: 0;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.spade-featured-card__name a {
    color: #111111;
    text-decoration: none;
}

.spade-featured-card__price,
.spade-featured-card--hero .spade-featured-card__price {
    margin-top: 9px;
    color: #111111;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.spade-featured-card__price del {
    margin-right: 5px;
    color: #999999;
    font-weight: 400;
}

.spade-featured-card__price ins {
    color: #111111;
    text-decoration: none;
}

.spade-featured-card__bnpl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
    color: #666666;
    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 9px;
    line-height: 1.5;
}

.spade-featured-card__bnpl-copy {
    white-space: nowrap;
}

.spade-featured-card__bnpl strong {
    color: #222222;
    font-weight: 700;
}

.spade-featured-card__bnpl-logos {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: auto !important;
}

.spade-featured-card__bnpl-logos img {
    display: block !important;
    width: auto !important;
    height: 13px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 40px !important;
    max-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
}

.spade-featured-picks__mobile-footer {
    display: none;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
    .spade-featured-picks__editorial {
        grid-template-columns: 1fr;
    }

    .spade-featured-picks__campaign-column {
        order: -1;
        width: min(100%, 720px);
        margin: 0 auto;
    }

    .spade-featured-picks__layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .spade-featured-picks {
        padding: 62px 0 70px;
    }

    .spade-featured-picks__inner {
        padding: 0 14px;
    }

    .spade-featured-picks__header {
        display: block;
        margin-bottom: 26px;
    }

    .spade-featured-picks__header > .spade-featured-picks__view-all {
        display: none;
    }

    .spade-featured-picks__title {
        font-size: 40px;
    }

    .spade-featured-picks__editorial {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .spade-featured-picks__campaign-column {
        order: 0;
        width: 100%;
        margin: 0;
    }

    .spade-featured-picks__campaign-link {
        position: relative;
        aspect-ratio: 4 / 5;
    }

    .spade-featured-picks__campaign-title {
        font-size: 38px;
    }

    .spade-featured-picks__layout {
        order: 1;
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .spade-featured-picks__layout::-webkit-scrollbar {
        display: none;
    }

    .spade-featured-card,
    .spade-featured-card--hero,
    .spade-featured-card--standard {
        display: flex;
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .spade-featured-card__media,
    .spade-featured-card--hero .spade-featured-card__media,
    .spade-featured-card--standard .spade-featured-card__media {
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .spade-featured-card__quick-add {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 9px !important;
    }

    .spade-featured-card__bnpl {
        align-items: flex-start;
        flex-direction: column;
    }

    .spade-featured-card__bnpl-logos img {
        height: 12px !important;
        max-height: 12px !important;
        max-width: 36px !important;
    }

    .spade-featured-picks__mobile-footer {
        display: block;
        margin-top: 28px;
        text-align: center;
    }
}

/* =========================================================
   SPADE — FEATURED PICKS LINK HOVER
   ========================================================= */

.spade-featured-picks a:hover,
.spade-featured-picks a:focus,
.spade-featured-picks a:focus-visible {
    color: #d7006d !important;
}

.spade-featured-picks__view-all:hover,
.spade-featured-picks__view-all:focus {
    color: #d7006d !important;
    border-bottom-color: #d7006d !important;
}

.spade-featured-card__name a:hover,
.spade-featured-card__name a:focus {
    color: #d7006d !important;
}

.spade-featured-picks__campaign-link:hover,
.spade-featured-picks__campaign-link:focus {
    color: #d7006d !important;
}