/*
 * SUICIDEHOTLINE STORE v1.6.0
 * Product-page buyer confidence cards.
 *
 * This component deliberately does not reuse .system-grid. The legacy
 * stylesheet owns a dark .system-grid article:hover rule; using a distinct
 * component makes it impossible for that rule to affect these cards.
 */

.public-shell .buyer-confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.public-shell .buyer-confidence-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 235px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(159, 178, 209, .48);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 250, 255, .82));
    color: #101828;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .98),
        0 8px 24px rgba(48, 71, 111, .07);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    transition:
        transform .24s cubic-bezier(.2, .8, .2, 1),
        border-color .24s ease,
        background .24s ease,
        box-shadow .24s ease;
}

.public-shell .buyer-confidence-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(circle at 92% 8%, rgba(60, 116, 226, .18), transparent 36%),
        linear-gradient(118deg, rgba(255, 255, 255, .98), rgba(233, 241, 255, .84));
    content: "";
    opacity: 0;
    transition: opacity .24s ease;
}

.public-shell .buyer-confidence-card > span {
    color: #2c65d8;
    font-family: var(--mono);
    font-size: .52rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.public-shell .buyer-confidence-card > h3 {
    margin: 64px 0 10px;
    color: #101828;
    font-family: var(--display);
    font-size: 1.28rem;
    letter-spacing: -.03em;
}

.public-shell .buyer-confidence-card > p {
    margin: 0;
    color: #69778c;
    font-size: .71rem;
    line-height: 1.75;
}

.public-shell .buyer-confidence-card:hover {
    border-color: rgba(71, 119, 211, .58);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(238, 245, 255, .94));
    color: #101828;
    box-shadow:
        inset 0 1px 0 #fff,
        0 20px 44px rgba(49, 82, 145, .16);
    transform: translateY(-4px);
}

.public-shell .buyer-confidence-card:hover::before {
    opacity: 1;
}

.public-shell .buyer-confidence-card:hover > span {
    color: #2358bb;
}

.public-shell .buyer-confidence-card:hover > h3 {
    color: #101828;
}

.public-shell .buyer-confidence-card:hover > p {
    color: #5f6c80;
}

@media (max-width: 980px) {
    .public-shell .buyer-confidence-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .public-shell .buyer-confidence-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-shell .buyer-confidence-card {
        min-height: 195px;
    }

    .public-shell .buyer-confidence-card > h3 {
        margin-top: 42px;
    }
}

/* Stable remember-me checkbox */
.public-shell .auth-shell .remember-option {
    position: relative;
    width: max-content;
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
    cursor: pointer;
    user-select: none;
}

.public-shell .auth-shell .remember-option .remember-control {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.public-shell .auth-shell .remember-option .remember-box {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    box-sizing: border-box;
    border: 2px solid #536176;
    border-radius: 0;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(114, 128, 150, .08);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.public-shell .auth-shell .remember-option .remember-box::after {
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    opacity: 0;
    transform: rotate(45deg) scale(.7);
    transition: opacity .14s ease, transform .14s ease;
}

.public-shell .auth-shell .remember-option:hover .remember-box {
    border-color: #2158d5;
}

.public-shell .auth-shell .remember-option .remember-control:checked + .remember-box {
    border-color: #2158d5;
    background: #2158d5;
}

.public-shell .auth-shell .remember-option .remember-control:checked + .remember-box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.public-shell .auth-shell .remember-option .remember-control:focus-visible + .remember-box {
    border-color: #2158d5;
    outline: 2px solid #fff;
    outline-offset: 1px;
    box-shadow: 0 0 0 4px rgba(33, 88, 213, .14);
}

.public-shell .auth-shell .remember-option .remember-text {
    color: #40516a;
    font-size: .75rem;
    font-weight: 600;
}

@media (hover: none) {
    .public-shell .buyer-confidence-card:hover {
        border-color: rgba(159, 178, 209, .48);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 250, 255, .82));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .98),
            0 8px 24px rgba(48, 71, 111, .07);
        transform: none;
    }

    .public-shell .buyer-confidence-card:hover::before {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-shell .buyer-confidence-card,
    .public-shell .buyer-confidence-card::before {
        transition: none;
    }
}

/* Multi-vendor storefront */
.public-shell .product-card-seller {
    display: grid;
    gap: 5px;
    margin: 13px 0 15px;
    padding: 12px 0;
    border-top: 1px solid #e5eaf1;
    border-bottom: 1px solid #e5eaf1;
}

.public-shell .product-card-seller > span {
    color: #8b96a8;
    font-family: var(--mono);
    font-size: .48rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.public-shell .product-card-seller > a,
.public-shell .product-card-seller > strong {
    min-width: 0;
    color: #213b69;
    font-size: .71rem;
    font-weight: 700;
}

.public-shell .product-card-seller > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: color .2s ease;
}

.public-shell .product-card-seller > a b {
    flex: 0 0 auto;
    color: #2158d5;
    font-family: var(--mono);
    font-size: .47rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.public-shell .product-card-seller > a:hover {
    color: #2158d5;
}

.public-shell .featured-seller {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: #2158d5;
    font-family: var(--mono);
    font-size: .51rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.public-shell .seller-store-link {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #2158d5;
    font-size: .57rem;
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-shell .seller-store-link i {
    font-style: normal;
}

.public-shell .seller-storefront-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(46px, 6vw, 84px) 0;
    background:
        radial-gradient(circle at 78% 8%, rgba(68, 112, 255, .27), transparent 33%),
        linear-gradient(135deg, #070a12, #0c1220 58%, #111a31);
    color: #fff;
}

.public-shell .seller-storefront-banner-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .52;
    filter: saturate(.86) contrast(1.04);
}

.public-shell .seller-storefront-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent);
    pointer-events: none;
}

.public-shell .seller-storefront-hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 8, 17, .86), rgba(7, 12, 24, .48) 58%, rgba(7, 12, 24, .72));
    content: "";
    pointer-events: none;
}

.public-shell .seller-storefront-hero > .container {
    position: relative;
    z-index: 2;
}

.public-shell .seller-storefront-breadcrumb {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: #8794aa;
    font-family: var(--mono);
    font-size: .56rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.public-shell .seller-storefront-breadcrumb a {
    color: #aebbd0;
}

.public-shell .seller-storefront-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 42px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(154, 178, 255, .28);
    border-radius: 24px;
    background: rgba(18, 27, 48, .6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .08),
        0 28px 70px rgba(0, 0, 0, .28);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.public-shell .seller-storefront-identity {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 38px);
    min-width: 0;
}

.public-shell .seller-storefront-avatar {
    flex: 0 0 auto;
    display: grid;
    width: clamp(82px, 9vw, 122px);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(161, 180, 255, .52);
    border-radius: 22px;
    background: linear-gradient(145deg, #305fe4, #6583ff);
    color: #fff;
    box-shadow: 0 18px 46px rgba(32, 77, 207, .35);
    font-family: var(--display);
    font-size: clamp(1.9rem, 3vw, 3.2rem);
    font-weight: 750;
    letter-spacing: -.06em;
}

.public-shell .seller-storefront-avatar-image {
    display: block;
    padding: 0;
    object-fit: cover;
}

.public-shell .seller-storefront-identity .section-code {
    color: #90a8ff;
}

.public-shell .seller-storefront-identity .verified-seller-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.public-shell .seller-storefront-identity .verified-seller-badge {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    clip-path: polygon(
        50% 0%, 61% 7%, 74% 5%, 82% 17%, 95% 23%, 93% 37%,
        100% 50%, 93% 63%, 95% 77%, 82% 83%, 74% 95%, 61% 93%,
        50% 100%, 39% 93%, 26% 95%, 18% 83%, 5% 77%, 7% 63%,
        0% 50%, 7% 37%, 5% 23%, 18% 17%, 26% 5%, 39% 7%
    );
    background: #1d9bf0;
    filter: none;
    transform: translateY(-.5px);
}

.public-shell .seller-storefront-identity .verified-seller-badge::after {
    position: absolute;
    top: 4.5px;
    left: 4.5px;
    width: 6.5px;
    height: 3.5px;
    border-bottom: 1.8px solid #fff;
    border-left: 1.8px solid #fff;
    content: "";
    transform: rotate(-45deg);
}

.public-shell .seller-storefront-identity h1 {
    margin: 9px 0 12px;
    color: #fff;
    font-family: var(--display);
    font-size: clamp(2.6rem, 5vw, 5.3rem);
    font-weight: 720;
    letter-spacing: -.065em;
    line-height: .9;
    overflow-wrap: anywhere;
}

.public-shell .seller-storefront-identity p:last-child {
    max-width: 620px;
    margin: 0;
    color: #adb8ca;
    font-size: .83rem;
    line-height: 1.7;
}

.public-shell .seller-storefront-identity .seller-storefront-bio {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.public-shell .seller-storefront-stats {
    flex: 0 0 auto;
    display: grid;
    gap: 9px;
    min-width: 185px;
}

.public-shell .seller-storefront-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(153, 174, 235, .2);
    border-radius: 10px;
    background: rgba(5, 10, 21, .46);
    color: #c2cad8;
    font-family: var(--mono);
    font-size: .55rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.public-shell .seller-storefront-stats strong,
.public-shell .seller-storefront-stats b {
    color: #85a0ff;
}

.public-shell .seller-storefront-catalog {
    padding-top: clamp(66px, 8vw, 110px);
}

.public-shell .seller-storefront-back {
    display: flex;
    justify-content: center;
    margin-top: 54px;
}

@media (max-width: 860px) {
    .public-shell .seller-storefront-card {
        align-items: stretch;
        flex-direction: column;
    }

    .public-shell .seller-storefront-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }
}

@media (max-width: 620px) {
    .public-shell .product-card-seller > a {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .public-shell .seller-storefront-card {
        padding: 24px;
        border-radius: 18px;
    }

    .public-shell .seller-storefront-identity {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-shell .seller-storefront-avatar {
        width: 74px;
        border-radius: 16px;
    }

    .public-shell .seller-storefront-stats {
        grid-template-columns: minmax(0, 1fr);
    }
}
