/* Store product cards use the same add-to-cart counter treatment as Mart. */
.store-card-share {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0f4f55;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: color 0.3s;
}

.store-card-share:hover {
    color: #ff6f35;
}

.store-card-cart-add {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0f4f55;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(15, 79, 85, 0.3);
    transition: all 0.3s ease;
}

.store-card-cart-add:hover:not(:disabled) {
    background: #0f4f55;
    transform: scale(1.1);
}

.store-card-cart-add:disabled {
    background: #94a3b8 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    opacity: 0.8;
}

.store-card-counter {
    display: none;
    width: 100%;
    background: #0f4f55;
    color: #fff;
    border-radius: 25px;
    padding: 4px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(15, 79, 85, 0.4);
    animation: storeCounterExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    direction: rtl;
}

.store-card-counter.active {
    display: flex;
}

@keyframes storeCounterExpand {
    from { width: 36px; border-radius: 50%; }
    to { width: 100%; border-radius: 25px; }
}

.store-card-counter-btn {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    font-size: 0.8rem;
}

.store-card-counter-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
}

.store-card-counter-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.store-card-counter-value {
    min-width: 25px;
    text-align: center;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}
