/* Public store page - scoped clean CSS */

.store-public-page {
    background: #f8fafc;
    padding-bottom: 52px;
}





.store-public-hero-card {
    position: relative;
    margin-top: 28px;
    padding: 26px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.store-public-identity {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.store-public-logo {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    overflow: hidden;
    border-radius: 20px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 34px;
    font-weight: 900;
}

.store-public-logo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
    object-fit: contain;
    background: #fff;
}

.store-public-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.store-public-title h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.store-public-title p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
}

.store-public-description {
    max-width: 880px;
    margin: 18px 0 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.65;
}

.store-public-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.store-public-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.store-public-chip:hover {
    background: #e0f2fe;
    border-color: #bae6fd;
}

.store-public-chip-muted {
    color: #475569;
    font-weight: 700;
}

.store-public-social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.store-public-social a {
    color: #2563eb;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.store-public-products {
    margin-top: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.store-public-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.store-public-section-head span {
    display: block;
    margin-bottom: 5px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
}

.store-public-section-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.store-public-section-head strong {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 15px;
    font-weight: 900;
}

.store-public-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.store-public-product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.store-public-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.store-public-product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    color: #2563eb;
    font-size: 34px;
    font-weight: 900;
    text-decoration: none;
}

.store-public-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-public-product-body {
    padding: 15px;
}

.store-public-product-body h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
}

.store-public-product-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.store-public-product-body p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.store-public-product-body strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}

.store-public-empty {
    padding: 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .store-public-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    


    .store-public-hero-card,
    .store-public-products {
        padding: 20px;
        border-radius: 18px;
    }

    .store-public-identity {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .store-public-logo {
        width: 72px;
        height: 72px;
        border-radius: 17px;
    }

    .store-public-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .store-public-page {
        padding-bottom: 34px;
    }

    


    .store-public-identity {
        grid-template-columns: 1fr;
    }

    .store-public-section-head {
        display: block;
    }

    .store-public-section-head strong {
        margin-top: 10px;
    }

    .store-public-product-grid {
        grid-template-columns: 1fr;
    }
}

.store-public-chip {
    gap: 7px;
}

.store-public-chip span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.store-public-chip strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
}

/* Final store public product image fit */
.store-public-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.store-public-product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
