#thumbnailScroller {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

#thumbnailScroller::-webkit-scrollbar {
    display: none;
}

.thumb {
    width: 90px;
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
}

.thumb:hover {
    transform: scale(1.05);
    border-color: #0d6efd;
}
.thumb.selected {
    border: 3px solid #28a745 !important; /* سبز بوت‌استرپ کلاسیک */
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.5) !important;
    border-radius: 8px !important;
    transform: scale(1.04) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

/*.slider-wrapper .carousel-control-prev,*/
/*.slider-wrapper .carousel-control-next {*/
/*    opacity: 0;*/
/*    transition: opacity 0.3s ease;*/
/*    pointer-events: none;*/
/*}*/

/*.slider-wrapper:hover .carousel-control-prev,*/
/*.slider-wrapper:hover .carousel-control-next {*/
/*    opacity: 1;*/
/*    pointer-events: auto;*/
/*}*/
.thumb:hover {
    transform: scale(1.1);
    border-color: #0d6efd;
    box-shadow: 0 0 10px rgba(13,110,253,0.3);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% !important;
}
.discount-badge {
    background-color: #31b131; /* سبز خیلی روشن */
    color: #fff; /* سبز نعنایی برای متن */
    padding: 4px 10px;
    font-size: 0.85rem;
    border-radius: 8px;
    display: inline-block;
    font-family: 'IRANSans', sans-serif;
    direction: rtl;

    box-shadow:
            0 0 8px rgba(0, 255, 127, 0.25),
            0 0 20px rgba(0, 255, 127, 0.2);




}
.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumb:hover {
    transform: scale(1.05);
}
/* باکس دانلود */
.modern-box {
    border-radius: 14px;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    transition: all 0.3s ease;
}
.modern-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}
svg {
    transition: transform 0.3s ease;
}
.modern-box:hover svg {
    transform: scale(1.2);
}

/* add font */
@font-face {
    font-family: 'IRANSans';
    src: url("../font/IRANSansWeb_FaNum.woff");
}
@font-face {
    font-family: 'IRANSans-Medium';
    src: url("../font/IRANSansXFaNum-Medium.woff");
}
.fontIranSans{
    font-family: 'IRANSans' !important;
}
.fontIranSansMedium{
    font-family: 'IRANSans-Medium' !important;
}
.not-download{
    background: linear-gradient(135deg, #d4edda, #c3e6cb); color: #155724; font-family: 'IranSans', sans-serif; font-size: 1.1rem;
}
.whatsapp-class:hover{
    background: #25D366 !important;
}
.telegram-class:hover{
    background-color: #0a53be; /* رنگ رسمی تلگرام */
    color: white;


}
.size-icon-attribute{
    font-size: 13px !important;
}
.text-muted{
    display: none !important;
}
.select-one-variation {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    padding: 12px 44px 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow:
            0 2px 5px rgba(0, 0, 0, 0.05),
            inset 0 0 0 rgba(255, 255, 255, 0);
    cursor: pointer;
    transition: all 0.25s ease;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238b5cf6' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
}

/* افکت هاور */
.select-one-variation:hover {
    border-color: #c4b5fd;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.1);
}

/* افکت فوکوس */
.select-one-variation:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow:
            0 0 0 3px rgba(139, 92, 246, 0.2),
            0 4px 12px rgba(139, 92, 246, 0.15);
}

/* استایل گزینه‌ها */
.select-one-variation option {
    background-color: #ffffff;
    color: #374151;
    padding: 10px;
}

.select-one-variation option:hover,
.select-one-variation option:checked {
    background-color: #ede9fe;
    color: #4c1d95;
}
/* ،استایل های تایمر */
.countdown-box1 {
    display: inline-block;
    background: linear-gradient(135deg, #e0e0ff, #f8f8ff);
    border: 2px solid #6f42c1;
    border-radius: 12px;
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}
.label1 {
    font-size: 0.9rem;
    font-weight: bold;
    color: #6f42c1;
    margin-bottom: 6px;
}
.digits1 {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.unit1 {
    background: #fff;
    border: 1px solid #6f42c1;
    border-radius: 8px;
    padding: 6px 10px;
    color: #6f42c1;
    font-size: 1rem;
    font-weight: bold;
}
.unit1 small {
    display: block;
    font-size: 0.7rem;
    color: #888;
    margin-top: 2px;
}
.countdown-box1 .unit1 span{
    font-size: 13px !important;
}