/* ==========================================================================
   استایل «رنگی و پرانرژی» — گوشه‌های خیلی گرد، دکمه‌های Pill، گرادیانت روی
   عناصر کلیدی (هیرو/CTA/بج‌ها)، حس پرجنب‌وجوش و جوان‌پسند برای مارکت‌پلیس.
   ========================================================================== */

[data-style="colorful-energetic"] {
    --fun-grad: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 55%, #ec4899) 100%);

    /* ===== قفل رنگ‌بندی بنفش پرانرژی — مطابق مرجع دیجیتال/تکنولوژی ===== */
    --primary: #6e3ce0 !important;
    --primary-dark: #5327b8 !important;
    --primary-light: #ede4fc !important;
    --bg: #f7f6fb !important;
    --surface: #f0ecfa !important;
    --bg-secondary: #f0ecfa !important;
    --card-bg: #ffffff !important;
    --text: #191527 !important;
    --text-muted: #79738f !important;
    --border: #e5e0f2 !important;
    --header-bg: #ffffff !important;
    --footer-bg: #171126 !important;
    --price-color: #191527 !important;
    --discount-color: #ef4056 !important;
    --badge-color: #6e3ce0 !important;
}

[data-style="colorful-energetic"] .storefront-theme .btn-primary,
[data-style="colorful-energetic"] .storefront-theme .bg-primary {
    background: var(--fun-grad) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

[data-style="colorful-energetic"] .storefront-theme .btn-outline-primary,
[data-style="colorful-energetic"] .storefront-theme .text-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* ===== هدر ===== */
[data-style="colorful-energetic"] .main-header {
    background: #ffffff !important;
}

[data-style="colorful-energetic"] .main-header__logo::before {
    border-radius: 50% !important;
    width: 11px !important;
    height: 11px !important;
    background: var(--fun-grad) !important;
}

[data-style="colorful-energetic"] .main-header__search {
    border-radius: 999px !important;
    background: var(--bg-secondary) !important;
    border: 2px solid transparent !important;
}

    [data-style="colorful-energetic"] .main-header__search:focus-within {
        border-color: var(--primary) !important;
    }

[data-style="colorful-energetic"] .main-header__search-btn {
    border-radius: 50% !important;
    background: var(--fun-grad) !important;
    color: #fff !important;
    margin: 4px !important;
    height: 36px !important;
    width: 36px !important;
    padding: 0 !important;
}

[data-style="colorful-energetic"] .user-menu__trigger,
[data-style="colorful-energetic"] .cart-icon,
[data-style="colorful-energetic"] .notif-bell__btn {
    border-radius: 999px !important;
}

[data-style="colorful-energetic"] .btn-auth {
    border-radius: 999px !important;
}

    [data-style="colorful-energetic"] .btn-auth--solid {
        background: var(--fun-grad) !important;
        border: none !important;
    }

/* ===== نوار دسته‌بندی ===== */
[data-style="colorful-energetic"] .category-bar {
    box-shadow: none !important;
    border-bottom: 2px solid var(--border) !important;
}

[data-style="colorful-energetic"] .cmenu__all-btn {
    border-radius: 999px !important;
    background: var(--fun-grad) !important;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

[data-style="colorful-energetic"] .cmenu__quick-link--hot {
    background: color-mix(in srgb, var(--primary) 12%, transparent) !important;
    border-radius: 999px !important;
    padding-inline: 0.85rem !important;
}

/* ===== هیروی تبلیغات ===== */
[data-style="colorful-energetic"] .advertisement-slider,
[data-style="colorful-energetic"] .advertisement-skeleton {
}

[data-style="colorful-energetic"] .slide-overlay {
    display: flex !important;
    align-items: center !important;
    text-align: right !important;
    padding: 2rem !important;
}

[data-style="colorful-energetic"] .slide-overlay__cta {
    background: var(--fun-grad) !important;
    color: #fff !important;
    border-radius: 999px !important;
    border: none !important;
    box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--primary) 60%, transparent) !important;
}

[data-style="colorful-energetic"] .slider-nav {
    border-radius: 50% !important;
}

[data-style="colorful-energetic"] .dot {
    border-radius: 999px !important;
}

    [data-style="colorful-energetic"] .dot.is-active {
        background: #fff !important;
    }

/* ===== میان‌برهای دسته‌بندی ===== */
[data-style="colorful-energetic"] .cat-shortcuts__img-wrap {
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    background: var(--bg-secondary) !important;
}

    [data-style="colorful-energetic"] .cat-shortcuts__item:hover .cat-shortcuts__img-wrap {
        border-color: var(--primary) !important;
        transform: translateY(-4px) scale(1.03) !important;
    }

[data-style="colorful-energetic"] .cat-shortcuts__label {
    font-weight: 700 !important;
}

/* ===== کارت محصول: خیلی گرد و سرزنده ===== */
[data-style="colorful-energetic"] .product-card {
    border-radius: 22px !important;
    border: none !important;
    box-shadow: var(--shadow-sm) !important;
}

    [data-style="colorful-energetic"] .product-card:hover {
        transform: translateY(-6px) rotate(-0.3deg) !important;
    }

[data-style="colorful-energetic"] .product-card__img-wrap {
    border-radius: 22px 22px 0 0 !important;
}

[data-style="colorful-energetic"] .product-card__badge {
    background: var(--fun-grad) !important;
    border-radius: 999px !important;
    transform: rotate(-4deg);
}

[data-style="colorful-energetic"] .product-card__add-btn {
    background: var(--fun-grad) !important;
}

[data-style="colorful-energetic"] .product-card__price {
    color: var(--primary) !important;
}

/* ===== عنوان بخش‌ها ===== */
[data-style="colorful-energetic"] .sec-head__title::before,
[data-style="colorful-energetic"] .product-carousel__title::before {
    border-radius: 999px !important;
    background: var(--fun-grad) !important;
}

[data-style="colorful-energetic"] .product-carousel__nav {
    border-radius: 50% !important;
    box-shadow: var(--shadow-sm) !important;
    border: none !important;
}

/* ===== پیشنهادهای شگفت‌انگیز / پرفروش‌ترین‌ها ===== */
[data-style="colorful-energetic"] .amazing-offers,
[data-style="colorful-energetic"] .offer-card,
[data-style="colorful-energetic"] .best-sellers-grid__thumb-wrap {
    border-radius: 20px !important;
}

[data-style="colorful-energetic"] .amazing-offers__side {
    background: var(--fun-grad) !important;
}

[data-style="colorful-energetic"] .offer-card__ribbon-label,
[data-style="colorful-energetic"] .offer-card__percent-badge {
    border-radius: 999px !important;
}

[data-style="colorful-energetic"] .best-sellers-grid__rank {
    border-radius: 50% !important;
    background: var(--fun-grad) !important;
}

/* ===== دکمه‌های اصلی ===== */
[data-style="colorful-energetic"] .storefront-theme .btn-primary {
    background: var(--fun-grad) !important;
    border: none !important;
    border-radius: 999px !important;
}

[data-style="colorful-energetic"] .storefront-theme .btn-outline-primary {
    border-radius: 999px !important;
}

/* ===== فوتر ===== */
[data-style="colorful-energetic"] .site-footer {
    background: linear-gradient(180deg, #1a1523 0%, #120d1a 100%) !important;
}

[data-style="colorful-energetic"] .site-footer__social-link:hover {
    background: var(--fun-grad) !important;
}
