* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.storefront-body {
    margin: 0;
    background: #f5f7fb;
    color: #111827;
    font-family:
        Inter,
        "Noto Sans Bengali",
        Arial,
        sans-serif;
}

.storefront-container {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
}

.storefront-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5e7eb;
    backdrop-filter: blur(12px);
}

.storefront-header-main {
    min-height: 84px;
    display: grid;
    grid-template-columns: 270px minmax(300px, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.storefront-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111827;
    text-decoration: none;
}



.storefront-brand-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            var(--storefront-primary),
            var(--storefront-secondary)
        );
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 10px 25px
        color-mix(
            in srgb,
            var(--storefront-primary) 25%,
            transparent
        );
}

.storefront-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

/*
|--------------------------------------------------------------------------
| Uploaded Store Logo
|--------------------------------------------------------------------------
|
| Logo upload করা থাকলে পুরো branding area শুধু logo ব্যবহার করবে।
| Store name এবং tagline Blade condition-এর কারণে তখন দেখাবে না।
|
*/

.storefront-brand-logo-only {
    width: 190px;
    height: 64px;
    flex: 0 0 190px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.storefront-brand-logo-only img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
    background: transparent;
}

.storefront-brand-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.storefront-brand-text strong {
    overflow: hidden;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-brand-text small {
    margin-top: 2px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.storefront-search {
    height: 48px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    background: #f8fafc;
    transition: 0.2s ease;
}

.storefront-search:focus-within {
    border-color: var(--storefront-primary);
    background: #fff;
    box-shadow: 0 0 0 4px
        color-mix(
            in srgb,
            var(--storefront-primary) 10%,
            transparent
        );
}

.storefront-search > i {
    color: #64748b;
    text-align: center;
}

.storefront-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
}

.storefront-search button {
    height: 100%;
    padding: 0 24px;
    border: 0;
    background: var(--storefront-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.storefront-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.storefront-support {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    text-decoration: none;
}

.storefront-support > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background:
        color-mix(
            in srgb,
            var(--storefront-primary) 10%,
            #fff
        );
    color: var(--storefront-primary);
    font-size: 18px;
}

.storefront-support div {
    display: flex;
    flex-direction: column;
}

.storefront-support small {
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.storefront-support strong {
    font-size: 13px;
    font-weight: 900;
}

.storefront-whatsapp {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: 0.2s ease;
}

.storefront-whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
}

.storefront-navigation {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-top: 1px solid #eef2f7;
}

.storefront-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 10px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.storefront-navigation a:hover,
.storefront-navigation a.active {
    background:
        color-mix(
            in srgb,
            var(--storefront-primary) 10%,
            #fff
        );
    color: var(--storefront-primary);
}

.storefront-secure-badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
}

.storefront-main {
    min-height: 60vh;
}

.storefront-hero {
    padding: 32px 0 18px;
}

.storefront-hero-card {
    min-height: 310px;
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    padding: 48px 56px;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(255,255,255,0.18),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            var(--storefront-secondary),
            var(--storefront-primary)
        );
    color: #fff;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.storefront-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.storefront-hero-content h1 {
    max-width: 700px;
    margin: 20px 0 10px;
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 950;
    line-height: 1.1;
}

.storefront-hero-content h1 span {
    color: #fef08a;
}

.storefront-hero-content p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    line-height: 1.8;
}

.storefront-hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.storefront-primary-button,
.storefront-outline-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 13px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    transition: 0.2s ease;
}

.storefront-primary-button {
    background: #fff;
    color: var(--storefront-primary);
}

.storefront-outline-button {
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.storefront-primary-button:hover,
.storefront-outline-button:hover {
    transform: translateY(-2px);
}

.storefront-primary-button:hover {
    color: var(--storefront-primary);
}

.storefront-outline-button:hover {
    color: #fff;
}

.storefront-hero-visual {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storefront-hero-icon {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 50%;
    background: rgba(255,255,255,0.11);
    color: #fff;
    font-size: 80px;
    box-shadow:
        inset 0 0 0 18px rgba(255,255,255,0.05);
}

.storefront-hero-stat {
    position: absolute;
    right: 0;
    bottom: 5px;
    min-width: 150px;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    background: rgba(15,23,42,0.28);
    backdrop-filter: blur(10px);
}

.storefront-hero-stat strong,
.storefront-hero-stat span {
    display: block;
}

.storefront-hero-stat strong {
    font-size: 28px;
    font-weight: 950;
}

.storefront-hero-stat span {
    margin-top: 2px;
    color: rgba(255,255,255,0.75);
    font-size: 11px;
    font-weight: 700;
}

.storefront-products-section {
    padding: 36px 0 70px;
}

.storefront-section-header {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.storefront-section-header span {
    color: var(--storefront-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.storefront-section-header h2 {
    margin: 5px 0 3px;
    color: #111827;
    font-size: 30px;
    font-weight: 950;
}

.storefront-section-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.storefront-product-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.storefront-filter-result {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 13px;
}

.storefront-filter-result a {
    color: var(--storefront-primary);
    font-weight: 900;
}

.storefront-product-grid {
    display: grid;
    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );
    gap: 18px;
}

.storefront-product-card {
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.38s ease,
        transform 0.38s ease,
        box-shadow 0.25s ease;
}

.storefront-product-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.storefront-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(15,23,42,0.11);
}

.storefront-product-image {
    position: relative;
    height: 220px;
    display: block;
    overflow: hidden;
    background: #f8fafc;
}

.storefront-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.storefront-product-card:hover
.storefront-product-image img {
    transform: scale(1.045);
}

.storefront-discount-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    box-shadow: 0 7px 15px rgba(239,68,68,0.24);
}

.storefront-product-body {
    padding: 16px;
}

.storefront-product-code {
    display: block;
    overflow: hidden;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-product-body h3 {
    min-height: 42px;
    margin: 8px 0 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
}

.storefront-product-body h3 a {
    color: #111827;
    text-decoration: none;
}

.storefront-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.storefront-rating span {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
}

.storefront-rating small {
    color: #94a3b8;
    font-size: 10px;
}

.storefront-price-row {
    min-height: 31px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.storefront-price-row strong {
    color: var(--storefront-primary);
    font-size: 18px;
    font-weight: 950;
}

.storefront-price-row del {
    color: #94a3b8;
    font-size: 11px;
}

.storefront-stock-row {
    margin: 8px 0 13px;
    min-height: 18px;
}

.storefront-stock-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
}

.storefront-stock-row .in-stock {
    color: #16a34a;
}

.storefront-stock-row .out-of-stock {
    color: #dc2626;
}

.storefront-product-button {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 11px;
    background: var(--storefront-primary);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    transition: 0.2s ease;
}

.storefront-product-button:hover {
    color: #fff;
    filter: brightness(0.92);
}

.storefront-empty-products {
    grid-column: 1 / -1;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.storefront-empty-products > i {
    color: var(--storefront-primary);
    font-size: 48px;
}

.storefront-empty-products h3 {
    margin: 14px 0 5px;
    font-size: 21px;
    font-weight: 900;
}

.storefront-empty-products p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
}

.storefront-pagination {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.storefront-footer {
    padding: 55px 0 22px;
    background: #0f172a;
    color: #fff;
}

.storefront-footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.3fr 0.8fr;
    gap: 38px;
}

.storefront-footer-about {
    display: flex;
    gap: 14px;
}

.storefront-footer-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--storefront-primary);
    font-size: 20px;
    font-weight: 950;
}

.storefront-footer-logo-uploaded {
    width: 170px;
    height: 64px;
    flex: 0 0 170px;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

.storefront-footer-logo-uploaded img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.storefront-footer-logo-uploaded span {
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--storefront-primary);
    color: #fff;
}

.storefront-footer-brand-copy {
    min-width: 0;
}

.storefront-footer h3,
.storefront-footer h4 {
    margin: 0;
    font-weight: 900;
}

.storefront-footer h3 {
    font-size: 19px;
}

.storefront-footer h4 {
    margin-bottom: 15px;
    font-size: 13px;
}

.storefront-footer p {
    max-width: 380px;
    margin: 7px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.8;
}

.storefront-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.storefront-footer-column a,
.storefront-footer-column span {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.55;
}

.storefront-footer-column a:hover {
    color: #fff;
}

.storefront-social-links {
    display: flex;
    gap: 9px;
}

.storefront-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #1e293b;
    color: #fff;
    font-size: 15px;
}

.storefront-footer-bottom {
    margin-top: 38px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 11px;
}

@media (max-width: 1200px) {
    .storefront-product-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0, 1fr)
            );
    }

    .storefront-header-main {
        grid-template-columns:
            240px minmax(240px, 1fr) auto;
    }
}

@media (max-width: 991px) {
    .storefront-header-main {
        grid-template-columns: 1fr auto;
        gap: 16px;
        padding: 14px 0;
    }

    .storefront-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .storefront-support {
        display: none;
    }

    .storefront-navigation {
        overflow-x: auto;
        white-space: nowrap;
    }

    .storefront-secure-badge {
        display: none;
    }

    .storefront-hero-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .storefront-hero-visual {
        display: none;
    }

    .storefront-product-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .storefront-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .storefront-container {
        width: min(
            100% - 22px,
            1380px
        );
    }

    .storefront-brand-text small {
        display: none;
    }

    .storefront-brand-logo {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .storefront-brand-text strong {
        max-width: 150px;
        font-size: 15px;
    }

    .storefront-search {
        height: 44px;
        grid-template-columns: 38px 1fr auto;
    }

    .storefront-search button {
        padding: 0 15px;
    }

    .storefront-navigation {
        min-height: 46px;
    }

    .storefront-navigation a {
        padding: 8px 10px;
        font-size: 11px;
    }

    .storefront-hero {
        padding-top: 18px;
    }

    .storefront-hero-card {
        min-height: 260px;
        padding: 30px 24px;
        border-radius: 22px;
    }

    .storefront-hero-content h1 {
        margin-top: 15px;
        font-size: 34px;
    }

    .storefront-hero-content p {
        font-size: 13px;
    }

    .storefront-section-header {
        align-items: flex-start;
    }

    .storefront-section-header h2 {
        font-size: 24px;
    }

    .storefront-product-count {
        display: none;
    }

    .storefront-product-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 11px;
    }

    .storefront-product-image {
        height: 180px;
    }

    .storefront-product-body {
        padding: 13px;
    }

    .storefront-product-body h3 {
        min-height: 39px;
        font-size: 12px;
    }

    .storefront-price-row strong {
        font-size: 16px;
    }

    .storefront-footer-grid {
        grid-template-columns: 1fr;
    }

    .storefront-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }


    .storefront-footer-logo-uploaded {
    width: 145px;
    height: 55px;
    flex: 0 0 145px;
}
}

@media (max-width: 420px) {
    .storefront-product-image {
        height: 155px;
    }

    .storefront-product-body {
        padding: 11px;
    }

    .storefront-rating {
        display: none;
    }

    .storefront-product-button {
        min-height: 38px;
        font-size: 10px;
    }
}

/* =========================================================
   Storefront Product Details
========================================================= */

.storefront-product-details-page {
    padding: 26px 0 70px;
}

.storefront-breadcrumb {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    color: #94a3b8;
    font-size: 11px;
    white-space: nowrap;
}

.storefront-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--storefront-primary);
    text-decoration: none;
    font-weight: 800;
}

.storefront-breadcrumb strong {
    overflow: hidden;
    color: #475569;
    text-overflow: ellipsis;
}

.storefront-product-details-card {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.9fr);
    gap: 38px;
    padding: 30px;
    border: 1px solid #e3e8ef;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.storefront-product-gallery {
    min-width: 0;
}

.storefront-product-main-image {
    position: relative;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eef2f7;
    border-radius: 22px;
    background: #f8fafc;
}

.storefront-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.storefront-product-main-image:hover img {
    transform: scale(1.035);
}

.storefront-product-detail-discount {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(239, 68, 68, 0.25);
}

.storefront-product-thumbnails {
    margin-top: 14px;
    display: flex;
    gap: 11px;
    overflow-x: auto;
    padding-bottom: 3px;
}

.storefront-product-thumbnail {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    padding: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 13px;
    background: #f8fafc;
    cursor: pointer;
    transition: 0.2s ease;
}

.storefront-product-thumbnail.active {
    border-color: var(--storefront-primary);
}

.storefront-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-product-information {
    min-width: 0;
    padding: 8px 4px;
}

.storefront-product-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.storefront-product-meta-line span {
    padding: 6px 9px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.storefront-product-information h1 {
    margin: 17px 0 10px;
    color: #111827;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 950;
    line-height: 1.28;
}

.storefront-product-rating-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.storefront-product-rating-line .stars {
    color: #f59e0b;
    letter-spacing: 2px;
}

.storefront-product-rating-line strong {
    color: #111827;
    font-size: 12px;
}

.storefront-product-rating-line > span:last-child {
    padding-left: 9px;
    border-left: 1px solid #e2e8f0;
    color: #16a34a;
    font-size: 11px;
    font-weight: 800;
}

.storefront-product-short-description {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.storefront-product-detail-price {
    margin-top: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.storefront-product-detail-price strong {
    color: var(--storefront-primary);
    font-size: 34px;
    font-weight: 950;
}

.storefront-product-detail-price del {
    color: #94a3b8;
    font-size: 16px;
}

.storefront-product-detail-price span {
    padding: 6px 9px;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    font-size: 10px;
    font-weight: 900;
}

.storefront-product-availability {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.storefront-product-availability span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 900;
}

.storefront-product-availability .available {
    color: #16a34a;
}

.storefront-product-availability .unavailable {
    color: #dc2626;
}

.storefront-product-availability small {
    color: #94a3b8;
    font-size: 10px;
}

.storefront-product-option-group {
    margin-top: 24px;
}

.storefront-product-option-group > label,
.storefront-product-quantity-row > label {
    display: block;
    margin-bottom: 9px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.storefront-product-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.storefront-product-option {
    min-width: 44px;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.storefront-product-option:hover,
.storefront-product-option.active {
    border-color: var(--storefront-primary);
    background:
        color-mix(
            in srgb,
            var(--storefront-primary) 9%,
            #fff
        );
    color: var(--storefront-primary);
}

.storefront-product-quantity-row {
    margin-top: 24px;
}

.storefront-product-quantity {
    width: 130px;
    height: 43px;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    overflow: hidden;
    border: 1px solid #dbe1ea;
    border-radius: 11px;
}

.storefront-product-quantity button,
.storefront-product-quantity input {
    border: 0;
    background: #fff;
    text-align: center;
}

.storefront-product-quantity button {
    color: var(--storefront-primary);
    cursor: pointer;
}

.storefront-product-quantity input {
    width: 100%;
    border-right: 1px solid #eef2f7;
    border-left: 1px solid #eef2f7;
    outline: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.storefront-product-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 11px;
}

.storefront-product-whatsapp-button,
.storefront-product-buy-button {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 900;
    transition: 0.2s ease;
}

.storefront-product-whatsapp-button {
    border: 1px solid #16a34a;
    background: #fff;
    color: #16a34a;
    text-decoration: none;
}

.storefront-product-buy-button {
    border: 0;
    background: var(--storefront-primary);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 25px
        color-mix(
            in srgb,
            var(--storefront-primary) 25%,
            transparent
        );
}

.storefront-product-whatsapp-button:hover,
.storefront-product-buy-button:hover {
    transform: translateY(-2px);
}

.storefront-product-whatsapp-button:hover {
    background: #16a34a;
    color: #fff;
}

.storefront-product-buy-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
}

.storefront-checkout-notice {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #fde68a;
    border-radius: 11px;
    background: #fffbeb;
    color: #92400e;
    font-size: 11px;
    font-weight: 700;
}

.storefront-product-trust-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );
    gap: 10px;
}

.storefront-product-trust-grid > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #f8fafc;
}

.storefront-product-trust-grid > div > i {
    color: var(--storefront-primary);
    font-size: 18px;
}

.storefront-product-trust-grid span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.storefront-product-trust-grid strong {
    color: #334155;
    font-size: 10px;
    font-weight: 900;
}

.storefront-product-trust-grid small {
    margin-top: 2px;
    overflow: hidden;
    color: #94a3b8;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-product-content-card {
    margin-top: 25px;
    padding: 28px 32px;
    border: 1px solid #e3e8ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.storefront-product-content-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-bottom: 1px solid #e2e8f0;
}

.storefront-product-content-tabs button {
    position: relative;
    min-height: 48px;
    padding: 0 17px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}

.storefront-product-content-tabs button::after {
    position: absolute;
    right: 17px;
    bottom: -1px;
    left: 17px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--storefront-primary);
    content: "";
    opacity: 0;
}

.storefront-product-content-tabs button.active {
    color: var(--storefront-primary);
}

.storefront-product-content-tabs button.active::after {
    opacity: 1;
}

.storefront-product-tab-panel {
    display: none;
    padding-top: 27px;
}

.storefront-product-tab-panel.active {
    display: block;
    animation: storefrontTabFade 0.28s ease;
}

@keyframes storefrontTabFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.storefront-product-tab-panel h2 {
    margin: 0 0 17px;
    color: #111827;
    font-size: 20px;
    font-weight: 950;
}

.storefront-product-description {
    color: #475569;
    font-size: 13px;
    line-height: 1.9;
}

.storefront-product-description img {
    max-width: 100%;
    height: auto;
}

.storefront-seller-information {
    display: flex;
    align-items: center;
    gap: 14px;
}

.storefront-seller-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--storefront-primary);
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.storefront-seller-information > div:last-child {
    display: flex;
    flex-direction: column;
}

.storefront-seller-information strong {
    color: #111827;
    font-size: 16px;
    font-weight: 950;
}

.storefront-seller-information span {
    margin-top: 2px;
    color: #16a34a;
    font-size: 10px;
    font-weight: 800;
}

.storefront-seller-information small {
    margin-top: 7px;
    color: #64748b;
    font-size: 10px;
}

@media (max-width: 991px) {
    .storefront-product-details-card {
        grid-template-columns: 1fr;
    }

    .storefront-product-main-image {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .storefront-product-details-page {
        padding-top: 16px;
    }

    .storefront-product-details-card {
        gap: 22px;
        padding: 16px;
        border-radius: 19px;
    }

    .storefront-product-main-image {
        height: 380px;
        border-radius: 16px;
    }

    .storefront-product-information {
        padding: 0;
    }

    .storefront-product-information h1 {
        font-size: 26px;
    }

    .storefront-product-detail-price strong {
        font-size: 27px;
    }

    .storefront-product-actions {
        grid-template-columns: 1fr;
    }

    .storefront-product-trust-grid {
        grid-template-columns: 1fr;
    }

    .storefront-product-content-card {
        padding: 20px 16px;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .storefront-product-main-image {
        height: 310px;
    }

    .storefront-product-thumbnail {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }
}

/* =========================================================
   Storefront Cart
========================================================= */

.storefront-header-cart {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-size: 18px;
    transition: 0.2s ease;
}

.storefront-header-cart:hover {
    border-color: var(--storefront-primary);
    color: var(--storefront-primary);
    transform: translateY(-2px);
}

.storefront-header-cart span {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--storefront-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}

.storefront-cart-page {
    padding: 27px 0 75px;
}

.storefront-cart-alert {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
}

.storefront-cart-alert.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #15803d;
}

.storefront-cart-alert.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.storefront-cart-heading {
    margin-bottom: 21px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.storefront-cart-heading span {
    color: var(--storefront-primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.storefront-cart-heading h1 {
    margin: 5px 0 3px;
    color: #111827;
    font-size: 31px;
    font-weight: 950;
}

.storefront-cart-heading p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.storefront-clear-cart-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid #fecaca;
    border-radius: 11px;
    background: #fff;
    color: #dc2626;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.storefront-cart-empty {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cbd5e1;
    border-radius: 23px;
    background: #fff;
    text-align: center;
}

.storefront-cart-empty > div {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background:
        color-mix(
            in srgb,
            var(--storefront-primary) 10%,
            #fff
        );
    color: var(--storefront-primary);
    font-size: 40px;
}

.storefront-cart-empty h2 {
    margin: 19px 0 5px;
    color: #111827;
    font-size: 23px;
    font-weight: 950;
}

.storefront-cart-empty p {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 12px;
}

.storefront-cart-shop-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 19px;
    border-radius: 12px;
    background: var(--storefront-primary);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.storefront-cart-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        350px;
    align-items: start;
    gap: 22px;
}

.storefront-cart-items {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.storefront-cart-item {
    position: relative;
    display: grid;
    grid-template-columns:
        105px
        minmax(180px, 1fr)
        175px
        110px
        40px;
    align-items: center;
    gap: 17px;
    padding: 15px;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.04);
    transition: 0.22s ease;
}

.storefront-cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.storefront-cart-image {
    width: 105px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 13px;
    background: #f8fafc;
}

.storefront-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-cart-product-info {
    min-width: 0;
}

.storefront-cart-product-info > small {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.storefront-cart-product-info h3 {
    margin: 6px 0 9px;
    overflow: hidden;
    color: #111827;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.45;
}

.storefront-cart-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.storefront-cart-variants span {
    padding: 5px 7px;
    border-radius: 7px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 8px;
}

.storefront-cart-variants strong {
    color: #334155;
}

.storefront-cart-unit-price {
    margin-top: 9px;
    color: #94a3b8;
    font-size: 9px;
}

.storefront-cart-unit-price strong {
    color: var(--storefront-primary);
    font-size: 11px;
}

.storefront-cart-quantity-form label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
}

.storefront-cart-quantity-form > div {
    height: 38px;
    display: grid;
    grid-template-columns: 68px 1fr;
    overflow: hidden;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
}

.storefront-cart-quantity-form input {
    width: 100%;
    border: 0;
    outline: 0;
    text-align: center;
    color: #111827;
    font-size: 11px;
    font-weight: 900;
}

.storefront-cart-quantity-form button {
    border: 0;
    background: var(--storefront-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.storefront-cart-line-total {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.storefront-cart-line-total small {
    color: #94a3b8;
    font-size: 9px;
}

.storefront-cart-line-total strong {
    margin-top: 4px;
    color: #111827;
    font-size: 16px;
    font-weight: 950;
}

.storefront-cart-remove-form button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fecaca;
    border-radius: 11px;
    background: #fff;
    color: #dc2626;
    cursor: pointer;
    transition: 0.2s ease;
}

.storefront-cart-remove-form button:hover {
    background: #fef2f2;
}

.storefront-cart-summary {
    position: sticky;
    top: 155px;
}

.storefront-cart-summary-card {
    padding: 24px;
    border: 1px solid #e3e8ef;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.storefront-cart-summary-card h2 {
    margin: 0 0 19px;
    color: #111827;
    font-size: 19px;
    font-weight: 950;
}

.storefront-cart-summary-card > div {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.storefront-cart-summary-card > div span {
    color: #64748b;
    font-size: 11px;
}

.storefront-cart-summary-card > div strong {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.storefront-cart-summary-card strong.free {
    color: #16a34a;
}

.storefront-cart-summary-card strong.discount {
    color: #dc2626;
}

.storefront-cart-summary-card hr {
    margin: 17px 0;
    border-color: #e2e8f0;
    opacity: 1;
}

.storefront-cart-summary-card > div.total {
    margin-bottom: 20px;
}

.storefront-cart-summary-card > div.total span {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
}

.storefront-cart-summary-card > div.total strong {
    color: var(--storefront-primary);
    font-size: 22px;
    font-weight: 950;
}

.storefront-cart-checkout-button {
    width: 100%;
    min-height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--storefront-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.storefront-cart-checkout-button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.storefront-cart-checkout-note {
    margin: 9px 0 14px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}

.storefront-cart-continue-button {
    min-height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #dbe1ea;
    border-radius: 11px;
    color: #475569;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .storefront-cart-layout {
        grid-template-columns: 1fr;
    }

    .storefront-cart-summary {
        position: static;
    }
}

@media (max-width: 850px) {
    .storefront-cart-item {
        grid-template-columns:
            90px
            minmax(0, 1fr)
            40px;
    }

    .storefront-cart-image {
        width: 90px;
        height: 90px;
    }

    .storefront-cart-quantity-form {
        grid-column: 1 / 3;
    }

    .storefront-cart-quantity-form > div {
        max-width: 180px;
    }

    .storefront-cart-line-total {
        grid-column: 2;
        text-align: left;
    }

    .storefront-cart-remove-form {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
    }
}

@media (max-width: 575px) {
    .storefront-cart-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .storefront-cart-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .storefront-cart-image {
        width: 80px;
        height: 80px;
    }

    .storefront-cart-remove-form {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .storefront-cart-remove-form button {
        width: 32px;
        height: 32px;
    }

    .storefront-cart-quantity-form,
    .storefront-cart-line-total {
        grid-column: 1 / -1;
    }

    .storefront-cart-line-total {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/*
|--------------------------------------------------------------------------
| Product Details Order Actions
|--------------------------------------------------------------------------
*/

.storefront-product-order-form {
    width: 100%;
    margin-top: 18px;
}

.storefront-product-order-actions {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(0, 1fr);
    gap: 12px;
}

.storefront-product-order-now-button,
.storefront-product-whatsapp-button,
.storefront-product-add-cart-button {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 10px 16px;
    overflow: hidden;
    border-radius: 12px;
    font-family: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.storefront-product-order-now-button::before,
.storefront-product-add-cart-button::before {
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    content: "";
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .28),
        transparent
    );
    transform: skewX(-18deg);
    transition: left .55s ease;
}

.storefront-product-order-now-button:hover::before,
.storefront-product-add-cart-button:hover::before {
    left: 150%;
}

.storefront-product-order-now-button {
    grid-column: 1 / -1;
    border: 0;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        var(
            --storefront-primary,
            #8df500
        ),
        #55c900
    );
    box-shadow:
        0 12px 26px
        rgba(100, 210, 0, .25);
}

.storefront-product-whatsapp-button {
    border: 1px solid #16a34a;
    color: #15803d;
    background: #ffffff;
}

.storefront-product-add-cart-button {
    border: 1px solid
        var(
            --storefront-primary,
            #8df500
        );
    color: #172033;
    background: #f4ffe5;
}

.storefront-product-order-now-button > i,
.storefront-product-whatsapp-button > i,
.storefront-product-add-cart-button > i {
    flex: 0 0 auto;
    font-size: 19px;
}

.storefront-product-order-now-button span,
.storefront-product-whatsapp-button span,
.storefront-product-add-cart-button span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.storefront-product-order-now-button strong,
.storefront-product-whatsapp-button strong,
.storefront-product-add-cart-button strong {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.storefront-product-order-now-button small,
.storefront-product-whatsapp-button small,
.storefront-product-add-cart-button small {
    font-size: 9px;
    font-weight: 600;
    line-height: 1.25;
    opacity: .75;
}

.storefront-product-order-now-button:hover,
.storefront-product-whatsapp-button:hover,
.storefront-product-add-cart-button:hover {
    transform: translateY(-2px);
}

.storefront-product-order-now-button:hover {
    color: #ffffff;
    box-shadow:
        0 16px 30px
        rgba(100, 210, 0, .34);
}

.storefront-product-whatsapp-button:hover {
    color: #ffffff;
    border-color: #16a34a;
    background: #16a34a;
    box-shadow:
        0 12px 24px
        rgba(22, 163, 74, .2);
}

.storefront-product-add-cart-button:hover {
    color: #172033;
    box-shadow:
        0 12px 24px
        rgba(100, 210, 0, .18);
}

.storefront-product-order-now-button:disabled,
.storefront-product-add-cart-button:disabled {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
    box-shadow: none;
}

.storefront-product-stock-warning,
.storefront-product-out-of-stock-message {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 11px;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
}

.storefront-product-stock-warning {
    border: 1px solid #fed7aa;
    color: #c2410c;
    background: #fff7ed;
}

.storefront-product-stock-warning i {
    animation:
        storefrontProductFirePulse
        1.2s ease-in-out infinite;
}

.storefront-product-out-of-stock-message {
    border: 1px solid #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

@keyframes storefrontProductFirePulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

@media (max-width: 575.98px) {
    .storefront-product-order-actions {
        grid-template-columns: 1fr;
    }

    .storefront-product-order-now-button {
        grid-column: auto;
    }

    .storefront-product-order-now-button,
    .storefront-product-whatsapp-button,
    .storefront-product-add-cart-button {
        min-height: 54px;
    }
}


/* ==========================================================
   Storefront Thank You Page
========================================================== */

.storefront-thank-you-page {
    min-height: 70vh;
    padding: 48px 16px 70px;
    background: #f4f7fb;
}

.storefront-thank-you-container {
    width: min(920px, 100%);
    margin: 0 auto;
}

.storefront-thank-you-card {
    overflow: hidden;
    border: 1px solid #e3eaf3;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.storefront-thank-you-success {
    position: relative;
    overflow: hidden;
    padding: 50px 30px;
    text-align: center;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255,255,255,.18),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            var(--store-primary, #4f8cff),
            var(--store-secondary, #8cff00)
        );
}

.storefront-thank-you-success::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border: 35px solid rgba(255,255,255,.10);
    border-radius: 50%;
    content: "";
}

.storefront-thank-you-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    place-items: center;
    border: 8px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: #ffffff;
    color: #0ca750;
    font-size: 31px;
    box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

.storefront-thank-you-success > span {
    display: inline-flex;
    padding: 6px 13px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.storefront-thank-you-success h1 {
    margin: 15px 0 8px;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
}

.storefront-thank-you-success p {
    max-width: 620px;
    margin: 0 auto;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    line-height: 1.75;
}

.storefront-thank-you-body {
    padding: 28px;
}

.storefront-thank-you-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 700;
}

.storefront-thank-you-alert.success {
    border: 1px solid #a7efc0;
    background: #effdf4;
    color: #138a42;
}

.storefront-thank-you-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.storefront-thank-you-section,
.storefront-thank-you-products {
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    background: #ffffff;
}

.storefront-thank-you-section {
    padding: 20px;
}

.storefront-thank-you-products {
    margin-top: 18px;
    padding: 20px;
}

.storefront-thank-you-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8edf4;
}

.storefront-thank-you-heading span {
    color: var(--store-primary, #4f8cff);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.storefront-thank-you-heading h2 {
    margin: 3px 0 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.storefront-thank-you-heading > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #edf3ff;
    color: var(--store-primary, #4f8cff);
    font-size: 18px;
}

.storefront-thank-you-heading small {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #f0f4ff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
}

.storefront-thank-you-info-list {
    margin-top: 10px;
}

.storefront-thank-you-info-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px dashed #e1e8f0;
}

.storefront-thank-you-info-list > div:last-child {
    border-bottom: 0;
}

.storefront-thank-you-info-list span {
    color: #6b7280;
    font-size: 12px;
}

.storefront-thank-you-info-list strong {
    color: #111827;
    font-size: 12px;
    text-align: right;
}

.storefront-thank-you-info-list .order-number {
    color: var(--store-primary, #4f8cff);
}

.storefront-thank-you-info-list .status-badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff6dd;
    color: #b77900;
}

.storefront-thank-you-address,
.storefront-thank-you-note {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    background: #f7f9fc;
}

.storefront-thank-you-address > i,
.storefront-thank-you-note > i {
    color: var(--store-primary, #4f8cff);
    font-size: 18px;
}

.storefront-thank-you-address span,
.storefront-thank-you-note span {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.storefront-thank-you-address p,
.storefront-thank-you-note p {
    margin: 5px 0 0;
    color: #1f2937;
    font-size: 13px;
    line-height: 1.7;
}

.storefront-thank-you-product-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.storefront-thank-you-product {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #e7edf4;
    border-radius: 14px;
    background: #fbfcfe;
}

.storefront-thank-you-product-image {
    position: relative;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.storefront-thank-you-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.storefront-thank-you-product-image span {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    place-items: center;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.storefront-thank-you-product-content small {
    color: #94a3b8;
    font-size: 9px;
}

.storefront-thank-you-product-content h3 {
    margin: 4px 0;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
}

.storefront-thank-you-product-content p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 11px;
}

.storefront-thank-you-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.storefront-thank-you-variants span {
    padding: 4px 7px;
    border-radius: 6px;
    background: #eef2f7;
    color: #526071;
    font-size: 9px;
}

.storefront-thank-you-product-total {
    color: #f04444;
    font-size: 14px;
}

.storefront-thank-you-summary {
    width: min(420px, 100%);
    margin: 20px 0 0 auto;
    padding: 18px;
    border-radius: 16px;
    background: #f6f8fc;
}

.storefront-thank-you-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    color: #64748b;
    font-size: 12px;
}

.storefront-thank-you-summary > div strong {
    color: #1f2937;
}

.storefront-thank-you-summary .total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #dde4ed;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.storefront-thank-you-summary .total strong {
    color: var(--store-secondary, #75d900);
    font-size: 23px;
}

.storefront-thank-you-message {
    display: flex;
    gap: 13px;
    margin-top: 20px;
    padding: 17px;
    border: 1px solid #b8e6ff;
    border-radius: 15px;
    background: #eef9ff;
}

.storefront-thank-you-message > i {
    color: #168bd8;
    font-size: 23px;
}

.storefront-thank-you-message strong {
    color: #102a43;
    font-size: 13px;
}

.storefront-thank-you-message p {
    margin: 4px 0 0;
    color: #526579;
    font-size: 11px;
    line-height: 1.6;
}

.storefront-thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.storefront-thank-you-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.storefront-thank-you-actions a:hover {
    transform: translateY(-2px);
}

.storefront-thank-you-primary-button {
    background: var(--store-primary, #4f8cff);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(79, 140, 255, .25);
}

.storefront-thank-you-whatsapp-button {
    background: #16ba62;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(22, 186, 98, .22);
}

.storefront-thank-you-footer-note {
    margin: 17px 0 0;
    color: #e33654;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 767px) {
    .storefront-thank-you-page {
        padding: 20px 10px 45px;
    }

    .storefront-thank-you-success {
        padding: 36px 18px;
    }

    .storefront-thank-you-body {
        padding: 14px;
    }

    .storefront-thank-you-grid {
        grid-template-columns: 1fr;
    }

    .storefront-thank-you-product {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .storefront-thank-you-product-image {
        width: 64px;
        height: 64px;
    }

    .storefront-thank-you-product-total {
        grid-column: 2;
    }

    .storefront-thank-you-actions {
        flex-direction: column;
    }

    .storefront-thank-you-actions a {
        width: 100%;
    }
}