html, body {
    margin: 0;
    padding: 0;
    background: #fbf7f1;
}

body.astro-shop-standalone {
    background:
        radial-gradient(circle at top right, rgba(255, 214, 153, 0.16), transparent 22%),
        linear-gradient(180deg, #fffdfa 0%, #fff7ef 100%);
    color: #111827;
    overflow-x: hidden;
}

.astro-shop-shell * {
    box-sizing: border-box;
}

.astro-shop-shell {
    min-height: 100vh;
    padding: 0 0 28px;
}

.astro-shop-top-strip {
    background: linear-gradient(90deg, #151b34, #1d2442);
    color: #fff;
    overflow: hidden;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.astro-shop-marquee {
    display: flex;
    gap: 36px;
    white-space: nowrap;
    width: max-content;
    animation: astroShopMarquee 24s linear infinite;
    font-size: 12px;
    font-weight: 600;
}

@keyframes astroShopMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-35%); }
}

.astro-shop-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px 14px 0;
}

.astro-shop-banner {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 16px;
    background: linear-gradient(135deg, #fff4e6, #fffdfa 72%);
    border: 1px solid #efdcca;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.astro-shop-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a3412;
    margin-bottom: 8px;
}

.astro-shop-banner h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.12;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    max-width: 520px;
}

.astro-shop-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
    max-width: 560px;
}

.astro-shop-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.astro-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.astro-shop-btn-primary {
    background: #111827;
    color: #fff;
}

.astro-shop-btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.astro-shop-banner-art {
    position: relative;
    min-height: 220px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 72% 30%, rgba(255, 204, 129, 0.85), transparent 23%),
        radial-gradient(circle at 30% 78%, rgba(255, 170, 120, 0.14), transparent 22%),
        linear-gradient(135deg, #fff8ef, #fdf0df);
    overflow: hidden;
}

.astro-shop-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
}

.astro-shop-orb-one {
    width: 150px;
    height: 150px;
    right: 30px;
    top: 32px;
    background: rgba(255, 196, 112, 0.42);
}

.astro-shop-orb-two {
    width: 95px;
    height: 95px;
    left: 28px;
    bottom: 22px;
    background: rgba(236, 72, 153, 0.12);
}

.astro-shop-badge-card {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255,255,255,0.92);
    border: 1px solid #efdcca;
    border-radius: 16px;
    padding: 14px;
    max-width: 220px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.astro-shop-badge-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    color: #111827;
}

.astro-shop-badge-card span {
    display: block;
    font-size: 12px;
    line-height: 1.55;
    color: #6b7280;
}

.astro-shop-categories,
.astro-shop-products {
    margin-top: 18px;
}

.astro-shop-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.astro-shop-head-row h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    color: #111827;
    font-weight: 700;
}

.astro-shop-head-row a {
    color: #a16207;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.astro-shop-category-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.astro-shop-category-pill {
    background: #fffdfa;
    border: 1px solid #eddccf;
    border-radius: 18px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.astro-shop-category-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 8px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #38bdf8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.astro-shop-category-pill span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
}

.astro-shop-feature-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.astro-shop-feature-card {
    position: relative;
    min-height: 250px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.72)),
        linear-gradient(135deg, #6d28d9, #f59e0b);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.astro-shop-feature-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    background: #e11d48;
    color: #fff;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.astro-shop-feature-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
}

.astro-shop-feature-content h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
    max-width: 260px;
}

.astro-shop-feature-content p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    max-width: 300px;
}

.astro-shop-feature-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.95);
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.astro-shop-products-block {
    background: #fff;
    border: 1px solid #efdfd3;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.astro-shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.astro-shop-product-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fffdf9 0%, #fff7ef 100%);
    border: 1px solid #f0dfd2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    min-width: 0;
}

.astro-shop-product-image {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f8efe5;
    overflow: hidden;
}

.astro-shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.astro-shop-product-card:hover .astro-shop-product-image img {
    transform: scale(1.03);
}

.astro-shop-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff4e6, #f9e7d0);
    color: #9a3412;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.astro-shop-product-content {
    padding: 14px;
}

.astro-shop-product-content h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #111827;
}

.astro-shop-product-content h3 a {
    color: #111827;
    text-decoration: none;
}

.astro-shop-product-price {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #9a3412;
}

.astro-shop-product-price del {
    opacity: 0.55;
    margin-right: 6px;
}

.astro-shop-product-price ins {
    text-decoration: none;
}

.astro-shop-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.astro-shop-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.astro-shop-product-btn-primary {
    background: #111827;
    color: #fff;
}

.astro-shop-product-btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.astro-shop-empty-state {
    padding: 26px;
    text-align: center;
    border: 1px dashed #e9d5c5;
    border-radius: 18px;
    background: #fffaf4;
}

.astro-shop-empty-state strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    color: #111827;
}

.astro-shop-empty-state span {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: #6b7280;
}

@media (max-width: 1024px) {
    .astro-shop-banner {
        grid-template-columns: 1fr;
    }

    .astro-shop-category-strip,
    .astro-shop-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .astro-shop-wrap {
        padding: 8px 12px 0;
    }

    .astro-shop-top-strip {
        padding: 7px 0;
    }

    .astro-shop-marquee {
        font-size: 11px;
        gap: 28px;
    }

    .astro-shop-banner {
        padding: 16px;
        border-radius: 20px;
    }

    .astro-shop-banner h1 {
        font-size: 24px;
    }

    .astro-shop-banner p {
        font-size: 13px;
    }

    .astro-shop-banner-art {
        min-height: 180px;
    }

    .astro-shop-head-row h2 {
        font-size: 20px;
    }

    .astro-shop-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .astro-shop-btn {
        width: 100%;
    }

    .astro-shop-category-strip,
    .astro-shop-feature-grid,
    .astro-shop-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .astro-shop-feature-card {
        min-height: 210px;
        border-radius: 20px;
    }

    .astro-shop-feature-content h3 {
        font-size: 20px;
        max-width: 180px;
    }

    .astro-shop-feature-content p {
        font-size: 13px;
        max-width: 200px;
    }

    .astro-shop-product-content {
        padding: 12px;
    }

    .astro-shop-product-content h3 {
        font-size: 14px;
    }

    .astro-shop-product-price {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .astro-shop-product-btn {
        min-height: 38px;
        font-size: 12px;
        padding: 9px 10px;
    }
}
