/* WhatsApp Store Theme: Fashion Purple
   Folder: public/whatsapp-store-themes/fashion-purple
   Keep this theme's custom CSS here so every store theme stays separate. */

body.whatsapp-store-theme-fashion-purple {
    --wa-green: #5b21b6;
    --wa-bright: #a855f7;
    background: #2b0d55;
    color: #160b2e;
}

body.whatsapp-store-theme-fashion-purple .app-shell {
    background: #fff;
}

body.whatsapp-store-theme-fashion-purple .phone-header {
    background:
        radial-gradient(circle at 78% -22%, rgba(168, 85, 247, .40), transparent 34%),
        linear-gradient(135deg, #2f0d5f 0%, #2a0b54 58%, #230844 100%);
    border-bottom: 0;
}

body.whatsapp-store-theme-fashion-purple .brand-row {
    gap: 14px;
    padding: 22px 16px 28px;
}
body.whatsapp-store-theme-fashion-purple .brand {
    flex: 1;
    gap: 10px;
}

body.whatsapp-store-theme-fashion-purple .wa-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
}

body.whatsapp-store-theme-fashion-purple .wa-logo svg circle,
body.whatsapp-store-theme-fashion-purple .wa-logo svg path:last-of-type {
    fill: #6f2dde;
}

body.whatsapp-store-theme-fashion-purple .store-title strong {
    color: #fff;
    font-size: 22px;
    letter-spacing: -.02em;
}
body.whatsapp-store-theme-fashion-purple .cart-badge {
    background: #b884ff;
}

body.whatsapp-store-theme-fashion-purple .location {
    display: inline-flex;
    margin: -18px 0 0 16px;
    padding: 13px 28px;
    border-radius: 999px;
    background: #f6edff;
    color: #271245;
    border-bottom: 0;
    box-shadow: none;
    font-weight: 850;
}

body.whatsapp-store-theme-fashion-purple .location span:last-child {
    display: none;
}

body.whatsapp-store-theme-fashion-purple .location svg {
    stroke: #5b21b6;
}

body.whatsapp-store-theme-fashion-purple .sale-card {
    min-height: 206px;
    margin-top: 12px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(247, 236, 255, .98) 0%, rgba(232, 207, 255, .92) 50%, rgba(185, 128, 232, .46) 100%),
        var(--store-banner, linear-gradient(115deg, #f7efff 0%, #ead9ff 52%, #c7a3ee 100%));
    background-size: cover;
    background-position: center right;
    box-shadow: 0 18px 32px rgba(91, 33, 182, .14), inset 0 0 0 1px rgba(91, 33, 182, .10);
}

body.whatsapp-store-theme-fashion-purple .sale-card::after {
    content: "";
    position: absolute;
    right: 52px;
    top: 54px;
    width: 190px;
    height: 112px;
    border-top: 5px solid rgba(75, 38, 116, .72);
    border-radius: 42px 42px 0 0;
    pointer-events: none;
}

body.whatsapp-store-theme-fashion-purple .sale-card::before {
    content: "";
    position: absolute;
    right: 12px;
    top: 54px;
    width: 190px;
    height: 136px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, #b783e7 0 24%, #8526d7 24% 50%, #f9f4ff 50% 74%, #a650ed 74% 100%);
    opacity: .86;
}

body.whatsapp-store-theme-fashion-purple .sale-card[style*="--store-banner"] {
    background:
        linear-gradient(90deg, rgba(248, 238, 255, .98) 0%, rgba(236, 216, 255, .84) 42%, rgba(203, 159, 234, .26) 100%),
        var(--store-banner);
    background-size: cover;
    background-position: center right;
}

body.whatsapp-store-theme-fashion-purple .sale-card[style*="--store-banner"]::before,
body.whatsapp-store-theme-fashion-purple .sale-card[style*="--store-banner"]::after {
    display: none;
}

body.whatsapp-store-theme-fashion-purple .sale-card[style*="--store-banner"] .hero-products {
    display: flex;
}

body.whatsapp-store-theme-fashion-purple .sale-card[style*="--store-banner"] .hero-products img {
    display: block;
    width: 31%;
    height: 128px;
    border-radius: 22px;
    object-fit: cover;
    filter: drop-shadow(0 16px 18px rgba(72, 28, 116, .22));
}

body.whatsapp-store-theme-fashion-purple .tag {
    background: transparent;
    color: #160b2e;
    padding: 0;
    font-size: 12px;
    letter-spacing: .23em;
    text-transform: uppercase;
}

body.whatsapp-store-theme-fashion-purple .sale-copy h2 span,
body.whatsapp-store-theme-fashion-purple .price,
body.whatsapp-store-theme-fashion-purple .rating,
body.whatsapp-store-theme-fashion-purple .bottom-nav .active,
body.whatsapp-store-theme-fashion-purple .bottom-nav .active b {
    color: #5b21b6;
}

body.whatsapp-store-theme-fashion-purple .sale-copy {
    max-width: 50%;
    padding: 28px 18px 20px;
}

body.whatsapp-store-theme-fashion-purple .sale-copy h2 {
    color: #160b2e;
    font-size: 33px;
    line-height: 1.12;
}

body.whatsapp-store-theme-fashion-purple .sale-copy h2 span {
    display: block;
}

body.whatsapp-store-theme-fashion-purple .sale-copy p {
    color: #21143a;
    font-size: 17px;
    font-weight: 850;
}

body.whatsapp-store-theme-fashion-purple .shop-btn {
    border-radius: 9px;
    background: linear-gradient(135deg, #4c1d95, #7e22ce);
    box-shadow: 0 12px 20px rgba(91, 33, 182, .22);
}

body.whatsapp-store-theme-fashion-purple .category-strip {
    margin-top: 18px;
    padding: 14px 18px 16px;
    gap: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(63, 31, 96, .12), inset 0 0 0 1px #f0e7ff;
}

body.whatsapp-store-theme-fashion-purple .cat-icon {
    width: 58px;
    height: 58px;
    color: #5b21b6;
    background: #f6efff;
    font-size: 10px;
}

body.whatsapp-store-theme-fashion-purple .cat-link:first-child .cat-icon,
body.whatsapp-store-theme-fashion-purple .discount {
    background: #6d28d9;
    color: #fff;
}

body.whatsapp-store-theme-fashion-purple .timer {
    color: #6d28d9;
    background: #f1e6ff;
    padding: 10px 18px;
    border-radius: 12px;
}

body.whatsapp-store-theme-fashion-purple .product-card {
    flex-basis: 132px;
    border-radius: 11px;
    border-color: #eadcff;
    box-shadow: 0 12px 26px rgba(88, 42, 135, .14);
}

body.whatsapp-store-theme-fashion-purple .product-image {
    height: 118px;
    background: linear-gradient(180deg, #ead0ff, #f6ecff);
}

body.whatsapp-store-theme-fashion-purple .product-image img {
    max-width: 100%;
    max-height: 110px;
}

body.whatsapp-store-theme-fashion-purple .add-cart {
    border-color: #7e22ce;
    color: #5b21b6;
}

body.whatsapp-store-theme-fashion-purple .fashion-offer {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 104px;
    margin: 26px 0 6px;
    border-radius: 16px;
    background: linear-gradient(105deg, #5920a5, #9d7af6);
    color: #fff;
    box-shadow: 0 12px 24px rgba(76, 29, 149, .22);
}

body.whatsapp-store-theme-fashion-purple .fashion-offer img {
    display: none;
}

body.whatsapp-store-theme-fashion-purple .fashion-offer div {
    width: 76%;
}

body.whatsapp-store-theme-fashion-purple .fashion-offer h3 {
    font-size: 24px;
}

body.whatsapp-store-theme-fashion-purple .bottom-nav {
    width: min(398px, calc(100vw - 32px));
    bottom: 14px;
    border-radius: 20px;
    border-color: #f0e2ff;
    box-shadow: 0 14px 28px rgba(91, 33, 182, .18);
}

@media (max-width: 390px) {
    body.whatsapp-store-theme-fashion-purple .location {
        margin-left: 14px;
        padding: 12px 18px;
    }

    body.whatsapp-store-theme-fashion-purple .sale-copy h2 {
        font-size: 28px;
    }

    body.whatsapp-store-theme-fashion-purple .sale-card::before,
    body.whatsapp-store-theme-fashion-purple .sale-card::after {
        right: -16px;
        transform: scale(.86);
        transform-origin: right center;
    }
}

/* Reference-match polish for the Fashion Purple mobile storefront. */
body.whatsapp-store-theme-fashion-purple {
    background: #050008;
}

body.whatsapp-store-theme-fashion-purple .app-shell {
    max-width: 450px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 2, 28, .35);
}

body.whatsapp-store-theme-fashion-purple .phone-header {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 10%, rgba(147, 78, 207, .30), transparent 36%),
        linear-gradient(135deg, #2a0a52 0%, #32105f 46%, #230743 100%);
}

body.whatsapp-store-theme-fashion-purple .brand-row {
    padding: 14px 17px 16px;
}

body.whatsapp-store-theme-fashion-purple .icon-btn svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.35;
}

body.whatsapp-store-theme-fashion-purple .brand {
    gap: 10px;
}

body.whatsapp-store-theme-fashion-purple .wa-logo {
    width: 54px;
    height: 54px;
    border: 3px solid #fff;
    background: transparent;
}

body.whatsapp-store-theme-fashion-purple .wa-logo svg {
    width: 50px;
    height: 50px;
}

body.whatsapp-store-theme-fashion-purple .wa-logo svg circle {
    fill: #fff;
}

body.whatsapp-store-theme-fashion-purple .wa-logo svg path:first-of-type,
body.whatsapp-store-theme-fashion-purple .wa-logo svg path:last-of-type {
    fill: #6d28d9;
}

body.whatsapp-store-theme-fashion-purple .store-title strong {
    font-size: 21px;
    line-height: 1;
}
body.whatsapp-store-theme-fashion-purple .header-actions {
    gap: 11px;
}

body.whatsapp-store-theme-fashion-purple .cart-badge {
    right: -7px;
    top: -9px;
    background: #b784ff;
}

body.whatsapp-store-theme-fashion-purple .location {
    display: flex;
    width: max-content;
    max-width: calc(100% - 34px);
    margin: 10px 0 0 16px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #f6edff;
    box-shadow: none;
    font-size: 13px;
    font-weight: 900;
}

body.whatsapp-store-theme-fashion-purple .content {
    padding: 16px 16px 108px;
}

body.whatsapp-store-theme-fashion-purple .sale-card {
    min-height: 218px;
    margin-top: 8px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 74% 35%, rgba(113, 45, 172, .12), transparent 29%),
        linear-gradient(100deg, rgba(249, 239, 255, .98) 0%, rgba(236, 216, 255, .94) 50%, rgba(195, 151, 229, .80) 100%);
    box-shadow: 0 14px 28px rgba(97, 43, 138, .16), inset 0 0 0 1px rgba(91, 33, 182, .08);
}

body.whatsapp-store-theme-fashion-purple .sale-copy {
    max-width: 48%;
    padding: 24px 18px 18px;
}

body.whatsapp-store-theme-fashion-purple .tag {
    font-size: 11px;
    letter-spacing: .28em;
}

body.whatsapp-store-theme-fashion-purple .sale-copy h2 {
    margin: 16px 0 12px;
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -.04em;
}

body.whatsapp-store-theme-fashion-purple .sale-copy p {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.2;
}

body.whatsapp-store-theme-fashion-purple .shop-btn {
    min-height: 42px;
    border-radius: 9px;
    padding: 0 18px;
    font-size: 15px;
}

body.whatsapp-store-theme-fashion-purple .shop-btn::after {
    content: " →";
    margin-left: 8px;
    font-size: 18px;
}

body.whatsapp-store-theme-fashion-purple .sale-card::after {
    right: 62px;
    top: 48px;
    width: 186px;
    height: 98px;
    border-top-width: 4px;
    border-color: rgba(76, 38, 116, .70);
}

body.whatsapp-store-theme-fashion-purple .sale-card::before {
    right: 12px;
    top: 74px;
    width: 190px;
    height: 130px;
    border-radius: 17px;
    background:
        linear-gradient(90deg, #b98bea 0 24%, #8526d7 24% 50%, #fbf6ff 50% 74%, #a34eee 74% 100%);
}

body.whatsapp-store-theme-fashion-purple .hero-products {
    right: 13px;
    bottom: 17px;
    width: 51%;
    height: 72%;
    gap: 5px;
}

body.whatsapp-store-theme-fashion-purple .hero-products img {
    display: none;
}

body.whatsapp-store-theme-fashion-purple .bag {
    right: 10px;
    bottom: 0;
    width: 48px;
    height: 36px;
    background: #b889e8;
}

body.whatsapp-store-theme-fashion-purple .fashion-trending {
    right: 13px;
    top: 22px;
    width: 60px;
    height: 60px;
    background: #fff;
    color: #6d28d9;
    font-size: 10px;
    line-height: 1.3;
}

body.whatsapp-store-theme-fashion-purple .category-strip {
    margin-top: 14px;
    padding: 10px 14px 12px;
    gap: 18px;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(55, 20, 90, .13), inset 0 0 0 1px #f2e8ff;
}

body.whatsapp-store-theme-fashion-purple .cat-link {
    flex-basis: 56px;
}

body.whatsapp-store-theme-fashion-purple .cat-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 7px;
    background: #f4ecfb !important;
    color: #2b1745;
    font-size: 10px;
    box-shadow: none;
}

body.whatsapp-store-theme-fashion-purple .cat-link:first-child .cat-icon {
    background: #5b21b6 !important;
    color: #fff;
}

body.whatsapp-store-theme-fashion-purple .cat-link span:last-child {
    color: #160b2e;
    font-size: 11.5px;
    font-weight: 850;
}

body.whatsapp-store-theme-fashion-purple .section-head {
    margin: 18px 2px 12px;
}

body.whatsapp-store-theme-fashion-purple .section-title {
    font-size: 20px;
}

body.whatsapp-store-theme-fashion-purple .section-title span {
    color: #7e22ce !important;
}

body.whatsapp-store-theme-fashion-purple .timer {
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: .04em;
}

body.whatsapp-store-theme-fashion-purple .view-all {
    color: #21143a;
    font-weight: 900;
}

body.whatsapp-store-theme-fashion-purple .deal-row {
    gap: 12px;
    padding-bottom: 12px;
}

body.whatsapp-store-theme-fashion-purple .product-card {
    flex-basis: 126px;
    border-radius: 10px;
    border-color: #eadcff;
    box-shadow: 0 12px 25px rgba(88, 42, 135, .15);
}

body.whatsapp-store-theme-fashion-purple .product-image {
    height: 112px;
    background: linear-gradient(180deg, #e9d1fb, #f5e9ff);
}

body.whatsapp-store-theme-fashion-purple .product-image::after {
    content: "♡";
    position: absolute;
    right: 7px;
    top: 7px;
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    color: #271245;
    font-size: 18px;
    font-weight: 900;
}

body.whatsapp-store-theme-fashion-purple .discount {
    border-radius: 5px;
    background: #6d28d9;
    padding: 3px 7px;
}

body.whatsapp-store-theme-fashion-purple .product-body {
    padding: 8px 8px 10px;
}

body.whatsapp-store-theme-fashion-purple .product-body h3 {
    min-height: 32px;
    font-size: 12.5px;
}

body.whatsapp-store-theme-fashion-purple .product-body p {
    margin-bottom: 6px;
    color: #6c5a82;
}

body.whatsapp-store-theme-fashion-purple .price {
    color: #4c1d95;
    font-size: 15px;
}

body.whatsapp-store-theme-fashion-purple .add-cart {
    border-color: #7e22ce;
    color: #5b21b6;
}

@media (min-width: 520px) {
    body.whatsapp-store-theme-fashion-purple {
        padding: 0;
    }

    body.whatsapp-store-theme-fashion-purple .app-shell,
    body.whatsapp-store-theme-fashion-purple .phone-header {
        border-radius: 0;
    }
}

@media (max-width: 390px) {
    body.whatsapp-store-theme-fashion-purple .brand-row {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.whatsapp-store-theme-fashion-purple .store-title strong {
        font-size: 20px;
    }

    body.whatsapp-store-theme-fashion-purple .sale-copy h2 {
        font-size: 28px;
    }
}
