﻿
.join-store-btn {
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.7), 0 0 25px rgba(255, 230, 0, 0.5);
    animation: pulse-glow 2s infinite;
}

    .join-store-btn:hover {
        animation: none;
        box-shadow: 0 0 20px rgba(255, 204, 0, 0.9), 0 0 30px rgba(255, 230, 0, 0.7);
    }

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.7), 0 0 25px rgba(255, 230, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 204, 0, 0.9), 0 0 30px rgba(255, 230, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 15px rgba(255, 204, 0, 0.7), 0 0 25px rgba(255, 230, 0, 0.5);
    }
}



section[id^="brand"] {
    scroll-margin-top: 120px;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .product-card {
        font-size: 0.8rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .product-card {
        font-size: 0.9rem;
    }
}


input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.text-[#007a51] {
    color: #007a51;
}

    .text-[#007a51]:hover {
        text-decoration: underline;
    }

.font-bold {
    font-weight: 700;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-400 {
    color: #9ca3af;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.text-sm {
    font-size: 0.875rem;
}
.dir-rtl {
    direction: rtl;
    text-align: right;
}

.dir-ltr {
    direction: ltr;
    text-align: left;
}
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}
.ribbon-vertical {
    position: fixed;
    top: 20%;
    right: 0;
    width: 220px;
    padding: 20px 15px ;
    background: linear-gradient(180deg,#ff6f00,#ff8f00);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: box-shadow 0.3s ease,transform 0.2s ease;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

    .ribbon-vertical:hover {
        box-shadow: 0 0 30px rgba(255,0,0,0.8),0 0 50px rgba(255,0,0,0.5),0 0 20px rgba(255,140,0,0.5),0 0 15px rgba(0,0,0,0.3);
        transform: scale(1.05)
    }

    .ribbon-vertical .icon, .ribbon-vertical .cart {
        font-size: 28px;
        margin-bottom: 10px;
        display: block;
        animation: flash 1.5s infinite alternate;
        text-shadow: 0 0 6px rgba(0,0,0,0.6),0 0 10px rgba(255,140,0,0.8);
       
    }

    .ribbon-vertical .text-horizontal {
        writing-mode: horizontal-tb;
        display: block;
        white-space: nowrap;
        font-size: 16px
    }

@keyframes flash {
    0% {
        opacity: .7;
        transform: rotate(-10deg) scale(1)
    }

    50% {
        opacity: 1;
        transform: rotate(10deg) scale(1.1)
    }

    100% {
        opacity: .8;
        transform: rotate(0deg) scale(1)
    }
}

.particle {
    position: absolute;
    font-size: 48px;
    pointer-events: none;
    color: rgba(255,255,0,.5);
    text-shadow: 0 0 8px rgba(255,255,0,.3),0 0 16px rgba(255,200,0,.4);
    animation: float linear forwards;
    will-change: transform,opacity;
    user-select: none
}

@keyframes float {
    0% {
        transform: translate(0,0) scale(.6);
        opacity: .5
    }

    100% {
        transform: translate(var(--dx),-25vh) scale(1);
        opacity: 0
    }
}


.brand-item::before,
.brand-item::after {
    content: none !important;
    border: none !important;
}
