/* One glass treatment for shop cards and the public signature collection. */
:is(.home-body .signature-products, .shop-reference-body) .store-product-card {
    --store-card-glass: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(245, 230, 255, .1) 55%, rgba(255, 255, 255, .18));
    position: relative;
    isolation: isolate;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 19px;
    background: var(--store-card-glass);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    backdrop-filter: blur(12px) saturate(1.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 8px 24px rgba(70, 36, 87, .07);
}
:is(.home-body .signature-products, .shop-reference-body) .store-product-card:hover {
    background: var(--store-card-glass);
    box-shadow: 0 16px 32px rgba(87, 45, 123, .13), inset 0 1px 0 rgba(255, 255, 255, .85);
}
:is(.home-body .signature-products, .shop-reference-body) .store-product-card .shop-card-ambient {
    position: absolute;
    z-index: 0;
    inset: 26% -24% -22%;
    background: radial-gradient(ellipse at center, rgba(173, 127, 228, .65), transparent 72%);
    background-position: center;
    background-size: cover;
    filter: blur(28px) saturate(1.5) brightness(1.12);
    opacity: .26;
    transition: opacity .35s ease;
    pointer-events: none;
}
:is(.home-body .signature-products, .shop-reference-body) .store-product-card:hover .shop-card-ambient { opacity: .34; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card > :is(.featured-image, .featured-content) { position: relative; z-index: 1; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-image {
    border: 0;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(235, 222, 252, .28), rgba(225, 207, 249, .12));
}
:is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-content { grid-template-rows: minmax(1.3em, 1fr) auto; align-content: stretch; gap: 9px; padding: 11px 2px 2px; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card h3 { color: #29134d; font-size: .87rem; font-weight: 700; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 8px; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action > strong { color: #29134d; font-size: .87rem; font-weight: 500; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action form { min-width: 0; width: 100%; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
    max-width: 100%;
    min-height: 32px;
    margin-left: auto;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: linear-gradient(120deg, #803bbb, #54267e);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 4px 10px rgba(91, 40, 135, .1);
    font-size: .64rem;
    font-weight: 600;
    white-space: normal;
}
:is(.home-body .signature-products, .shop-reference-body) .store-product-card button > span { min-width: 0; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card button:hover { background: linear-gradient(120deg, #7130ad, #48216f); }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card button:disabled { background: rgba(111, 90, 128, .12); border-color: rgba(111, 90, 128, .1); color: #766580; box-shadow: none; cursor: not-allowed; }
:is(.home-body .signature-products, .shop-reference-body) .store-product-card button .store-icon { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card { padding: 8px; border-radius: 17px; }
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card h3 { font-size: .82rem; }
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action { gap: 6px; }
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action > strong { font-size: .78rem; }
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card button { gap: 4px; padding-inline: 6px; font-size: .62rem; }
}
@media (max-width: 420px) {
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card button .store-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.home-body .signature-products, .shop-reference-body) .store-product-card .shop-card-ambient { transition: none; }
}

/* Give the Maithili faces readable sizes without shrinking their native glyphs. */
html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card {
    font-size-adjust: none;
}
html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card h3 {
    font-size: 1.1rem;
    line-height: 1.55;
}
html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card h3 a {
    padding-block: 2px;
}
html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action > strong {
    font-size: 1.0625rem;
    line-height: 1.5;
}
html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card button {
    min-height: 38px;
    padding: 7px 10px;
    font-family: var(--maithili-bold) !important;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.45;
}
html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card button > span {
    font-family: var(--maithili-bold) !important;
}
@media (max-width: 640px) {
    html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card h3 { font-size: 1.025rem; }
    html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action > strong { font-size: 1rem; }
    html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card button { font-size: .8rem; }
}
@media (max-width: 520px) {
    html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card .featured-card-action {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }
    html[lang="mai"] :is(.home-body .signature-products, .shop-reference-body) .store-product-card button {
        width: 100%;
        margin-left: 0;
    }
}
