/* =========================================================
   SPADE — WHY SHOP AT SPADE
   Trust strip + authenticity verification viewer
   ========================================================= */

.spade-why-shop {
    width: 100%;
    padding: clamp(54px, 4.5vw, 76px) 0;
    background: #ffffff;
    color: #111111;
}

.spade-why-shop__inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(18px, 2.2vw, 36px);
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.spade-why-shop__header {
    margin-bottom: clamp(26px, 2.5vw, 36px);
    text-align: center;
}

.spade-why-shop__eyebrow {
    margin: 0 0 8px;

    color: #ef3f78;

    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-why-shop__title {
    margin: 0;

    color: #111111;

    font-family: var(--spade-font-heading, "DM Serif Display", Georgia, serif);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}


/* =========================================================
   GRID
   ========================================================= */

.spade-why-shop__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

.spade-why-shop__item {
    position: relative;

    min-width: 0;
    min-height: 184px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    margin: 0;
    padding: 28px clamp(18px, 1.7vw, 28px);

    border: 0;
    border-right: 1px solid #e9e9e9;
    border-radius: 0;

    background: #ffffff;
    color: #111111;

    font: inherit;
    text-align: left;
    text-decoration: none;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.spade-why-shop__item:last-child {
    border-right: 0;
}

.spade-why-shop__item:hover {
    background: #fafafa;
}


/* Authenticity card */

.spade-why-shop__item--authenticity {
    background:
        linear-gradient(
            145deg,
            rgba(239, 63, 120, 0.06),
            rgba(255, 255, 255, 0) 58%
        ),
        #ffffff;
}

.spade-why-shop__item--authenticity::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 3px;

    background: #ef3f78;
}


/* =========================================================
   ICON
   ========================================================= */

.spade-why-shop__icon {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #111111;
}

.spade-why-shop__item--authenticity
.spade-why-shop__icon {
    color: #ef3f78;
}

.spade-why-shop__icon svg {
    width: 32px;
    height: 32px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTENT
   ========================================================= */

.spade-why-shop__content {
    display: block;
    width: 100%;
}

.spade-why-shop__item-title {
    display: block;

    margin-bottom: 7px;

    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.spade-why-shop__description {
    display: block;

    max-width: 240px;
    padding-right: 20px;

    color: #777777;

    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
}

.spade-why-shop__arrow {
    position: absolute;
    right: 20px;
    bottom: 24px;

    color: #8a8a8a;

    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
    font-size: 18px;
    font-weight: 300;
    line-height: 1;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.spade-why-shop__item:hover
.spade-why-shop__arrow {
    color: #111111;
    transform: translateX(3px);
}


/* =========================================================
   AUTHENTICITY MODAL
   ========================================================= */

html.spade-auth-lock,
body.spade-auth-lock {
    overflow: hidden !important;
}

.spade-auth {
    position: fixed;
    inset: 0;

    z-index: 100000;

    display: none;

    width: 100%;
    height: 100%;

    font-family: var(--spade-font-body, "Manrope", Arial, sans-serif);
}

.spade-auth.is-open {
    display: block;
}

.spade-auth__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(8, 8, 8, 0.82);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.spade-auth__dialog {
    position: absolute;
    inset:
        clamp(18px, 3vw, 42px)
        clamp(18px, 4vw, 64px);

    max-width: 1320px;
    margin: auto;

    overflow: auto;
    overscroll-behavior: contain;

    border-radius: 4px;

    background: #ffffff;
    color: #111111;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.35);

    -webkit-user-select: none;
    user-select: none;
}

.spade-auth__close {
    position: sticky;
    top: 18px;
    z-index: 30;

    float: right;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin: 18px 18px -60px 0;
    padding: 0;

    border: 1px solid #dedede !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.96) !important;
    color: #111111 !important;

    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
}

.spade-auth__header {
    padding:
        clamp(46px, 5vw, 72px)
        clamp(24px, 5vw, 72px)
        clamp(30px, 3.5vw, 48px);

    border-bottom: 1px solid #ececec;
}

.spade-auth__eyebrow {
    margin: 0 0 10px;

    color: #ef3f78;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.spade-auth__title {
    max-width: 760px;

    margin: 0;

    color: #111111;

    font-family: var(--spade-font-heading, "DM Serif Display", Georgia, serif);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.025em;
}

.spade-auth__intro {
    max-width: 680px;

    margin: 16px 0 0;

    color: #6f6f6f;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   BRAND AUTHORIZATION CARDS
   ========================================================= */

.spade-auth__brands {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    padding: clamp(22px, 4vw, 54px);
}

.spade-auth-brand {
    position: relative;

    min-height: 240px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 0;
    padding: clamp(28px, 4vw, 46px);

    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;

    background: #ffffff !important;
    color: #111111 !important;

    text-align: left;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.spade-auth-brand + .spade-auth-brand {
    border-left: 0 !important;
}

.spade-auth-brand:hover {
    background: #fafafa !important;
    border-color: #cfcfcf !important;
}

.spade-auth-brand__status {
    margin-bottom: auto;

    color: #ef3f78;

    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.spade-auth-brand strong {
    display: block;

    margin-top: 48px;

    font-family: var(--spade-font-heading, "DM Serif Display", Georgia, serif);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 400;
    line-height: 1;
}

.spade-auth-brand > span:not(.spade-auth-brand__status) {
    display: block;

    margin-top: 9px;

    color: #777777;

    font-size: 11px;
    line-height: 1.5;
}

.spade-auth-brand em {
    display: block;

    margin-top: 22px;

    color: #111111;

    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   DOCUMENT VIEWER
   ========================================================= */

.spade-auth__viewer {
    padding:
        clamp(22px, 3vw, 42px)
        clamp(18px, 4vw, 56px)
        clamp(34px, 5vw, 68px);
}

.spade-auth__viewer[hidden] {
    display: none !important;
}

.spade-auth__viewer-top {
    display: flex;
    align-items: center;

    gap: 22px;

    margin-bottom: 24px;
}

.spade-auth__back {
    flex: 0 0 auto;

    min-height: 38px;

    margin: 0;
    padding: 0 14px;

    border: 1px solid #d9d9d9 !important;
    border-radius: 999px !important;

    background: #ffffff !important;
    color: #111111 !important;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;

    cursor: pointer;

    text-transform: uppercase;
}

.spade-auth__viewer-top > div {
    min-width: 0;
}

.spade-auth__viewer-label {
    display: block;

    margin-bottom: 3px;

    color: #ef3f78;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.spade-auth__viewer-top strong {
    font-size: 14px;
    font-weight: 700;
}

.spade-auth__document {
    position: relative;

    overflow: hidden;

    padding: clamp(8px, 1.5vw, 18px);

    border: 1px solid #dedede;

    background: #e9e9e9;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.spade-auth__pages {
    position: relative;
    z-index: 2;

    display: grid;

    gap: 14px;
}

.spade-auth__pages[hidden] {
    display: none !important;
}

.spade-auth__pages img {
    display: block;

    width: min(100%, 980px);
    height: auto;

    margin: 0 auto;

    pointer-events: none;

    -webkit-user-drag: none;
    user-drag: none;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.spade-auth__dynamic-watermark {
    position: absolute;
    inset: 0;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: rgba(239, 63, 120, 0.10);

    font-size: clamp(22px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.03em;

    text-align: center;
    text-transform: uppercase;

    transform: rotate(-24deg) scale(1.35);

    pointer-events: none;
}

.spade-auth__notice {
    max-width: 760px;

    margin: 18px auto 0;

    color: #777777;

    font-size: 9px;
    line-height: 1.6;

    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


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

@media (max-width: 1100px) {

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

    .spade-why-shop__item {
        min-height: 168px;

        border-bottom: 1px solid #e9e9e9;
    }

    .spade-why-shop__item:nth-child(2n) {
        border-right: 0;
    }

    .spade-why-shop__item:last-child {
        grid-column: 1 / -1;

        border-right: 0;
        border-bottom: 0;
    }

}


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

@media (max-width: 700px) {

    .spade-why-shop {
        padding: 46px 0 54px;
    }

    .spade-why-shop__inner {
        padding: 0 14px;
    }

    .spade-why-shop__header {
        margin-bottom: 24px;
    }

    .spade-why-shop__title {
        font-size: 38px;
    }

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

    .spade-why-shop__item {
        min-height: 158px;

        gap: 20px;

        padding: 20px 22px 48px 16px;
    }

    .spade-why-shop__icon {
        width: 31px;
        height: 31px;
    }

    .spade-why-shop__icon svg {
        width: 27px;
        height: 27px;
    }

    .spade-why-shop__item-title {
        font-size: 11px;
    }

    .spade-why-shop__description {
        max-width: 100%;
        padding-right: 0;

        font-size: 8.5px;
        line-height: 1.55;
    }

    .spade-why-shop__arrow {
        right: 16px;
        bottom: 17px;

        font-size: 16px;
    }


    /* Modal */

    .spade-auth__dialog {
        inset: 8px;

        border-radius: 2px;
    }

    .spade-auth__close {
        top: 12px;

        width: 38px;
        height: 38px;

        margin: 12px 12px -50px 0;
    }

    .spade-auth__header {
        padding: 52px 20px 28px;
    }

    .spade-auth__title {
        max-width: calc(100% - 24px);

        font-size: 38px;
    }

    .spade-auth__intro {
        font-size: 11px;
    }

    .spade-auth__brands {
        grid-template-columns: 1fr;

        padding: 16px;
    }

    .spade-auth-brand {
        min-height: 188px;

        padding: 26px 22px;
    }

    .spade-auth-brand + .spade-auth-brand {
        border-top: 0 !important;
        border-left: 1px solid #e5e5e5 !important;
    }

    .spade-auth-brand strong {
        margin-top: 34px;

        font-size: 32px;
    }

    .spade-auth__viewer {
        padding: 18px 10px 34px;
    }

    .spade-auth__viewer-top {
        gap: 10px;

        margin-bottom: 14px;
    }

    .spade-auth__back {
        padding-inline: 10px;

        font-size: 8px;
    }

    .spade-auth__document {
        padding: 4px;
    }

    .spade-auth__dynamic-watermark {
        font-size: 24px;
    }
}


/* =========================================================
   PRINT PROTECTION
   ========================================================= */

@media print {

    .spade-auth,
    .spade-auth * {
        display: none !important;
        visibility: hidden !important;
    }
}
