/* IranStores unified store-button effects */

.home-store-cta,
.stores-page .store-card-link,
.local-store-btn,
.search-v2-store-btn,
.local-promoted-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    border: 0 !important;
    background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
    background-size: 160% 160% !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(109, 40, 217, .18) !important;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background-position .35s ease !important;
}

.home-store-cta::before,
.stores-page .store-card-link::before,
.local-store-btn::before,
.search-v2-store-btn::before,
.local-promoted-cta::before {
    content: "";
    position: absolute;
    top: -70%;
    bottom: -70%;
    left: -55%;
    z-index: -1;
    width: 34%;
    background: rgba(255, 255, 255, .20);
    transform: rotate(20deg);
    transition: left .45s ease;
}

.home-store-card:hover .home-store-cta,
.stores-page .store-card-link:hover,
.local-store-btn:hover,
.search-v2-store-btn:hover,
.local-promoted-cta:hover {
    color: #fff !important;
    background-position: 100% 50% !important;
    box-shadow: 0 12px 25px rgba(109, 40, 217, .30) !important;
    transform: translateY(-2px) scale(1.015);
}

.home-store-card:hover .home-store-cta::before,
.stores-page .store-card-link:hover::before,
.local-store-btn:hover::before,
.search-v2-store-btn:hover::before,
.local-promoted-cta:hover::before {
    left: 125%;
}

.home-store-cta b,
.home-store-cta > :last-child,
.stores-page .store-card-link > :last-child,
.local-store-btn > :last-child,
.search-v2-store-btn > :last-child,
.local-promoted-cta > :last-child {
    transition: transform .22s ease;
}

.home-store-card:hover .home-store-cta b,
.home-store-card:hover .home-store-cta > :last-child,
.stores-page .store-card-link:hover > :last-child,
.local-store-btn:hover > :last-child,
.search-v2-store-btn:hover > :last-child,
.local-promoted-cta:hover > :last-child {
    transform: translateX(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .home-store-cta,
    .stores-page .store-card-link,
    .local-store-btn,
    .search-v2-store-btn,
    .local-promoted-cta {
        transition: none !important;
    }
}