body.index:before,body[data-template="home"]:before,body:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #f5f5f529;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    position: fixed;
    z-index: 999999;
    transform: scale(0);
    animation-name: pupup;
    animation-duration: 3s
}

@keyframes pupup {
    0% {
        transform: scale(1)
    }

    18% {
        transform: scale(1)
    }

    80% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

body.index:after,body[data-template="home"]:after,body:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/VqjjAm/nElEbRhw96i6R4gK54Vy4W5iC5JmApp5YCpGrBB5.png);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20%;
    transform: scale(0);
    animation-name: pupup_logo;
    animation-duration: 3s
}

@keyframes pupup_logo {
    0% {
        transform: scale(1)
    }

    14% {
        transform: scale(1.3)
    }

    28% {
        transform: scale(1)
    }

    42% {
        transform: scale(1.3)
    }

    70% {
        transform: scale(1)
    }

    100% {
        transform: scale(0)
    }
}

body.topnav-is-dark .store-footer__inner::before {
    content: "";
    background: linear-gradient(180deg,transparent -341%,#0c0c0c 94%),url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/VqjjAm/nElEbRhw96i6R4gK54Vy4W5iC5JmApp5YCpGrBB5.png);
    background-size: 418%;
    display: block;
    background-repeat: round;
    transform: rotate(180deg);
    height: 104px;
    margin: -65px -32px 1px 1px
}

body.topnav-is-dark .store-footer__inner::before {
    content: "";
    background: linear-gradient(180deg,transparent -341%,#0c0c0c 94%),url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/VqjjAm/nElEbRhw96i6R4gK54Vy4W5iC5JmApp5YCpGrBB5.png);
    background-size: 418%;
    display: block;
    background-repeat: round;
    transform: rotate(180deg);
    height: 104px;
    margin: -65px -32px 1px 1px
}

.product-options .option-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.custom-options-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px
}

.custom-option-btn {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
    background-color: #ffffff;
    transition: all 0.2s ease;
    user-select: none;
    outline: none
}

.custom-option-btn:hover:not(.disabled) {
    border-color: #9ca3af
}

.custom-option-btn.active {
    border-color: #1f2937!important;
    color: #1f2937!important;
    font-weight: bold;
    box-shadow: 0 0 0 1px #1f2937
}

.custom-option-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb
}#product-options-panel {
    display: block!important;
    height: auto!important;
    max-height: none!important;
    overflow: visible!important;
    opacity: 1!important;
    visibility: visible!important
}

#options-panel-trigger .option-item__icon {
    display: none!important
}

#options-panel-trigger {
    pointer-events: none!important;
    cursor: default!important
}

#options-panel-trigger {
    padding-bottom: 10px!important;
    border-bottom: none!important
}

/* كود توحيد مقاسات الصور وإخفاء الخلفية والحواف (بدون قص دائري) */

/* 1. توحيد مقاس الحاوية الخارجية للصورة */
.product-card__image, 
.product-entry__image, 
.s-product-card-entry__image,
.img-container {
    width: 100% !important;       /* تأخذ كامل عرض الكرت */
    height: 250px !important;     /* تحديد ارتفاع ثابت لتوحيد جميع الصور - يمكنك تغييره حسب رغبتك */
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

/* 2. ضبط الصورة داخل الحاوية الموحدة */
.product-card__image img, 
.product-entry__image img, 
.s-product-card-entry__image img,
.img-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important; /* يضمن ظهور المنتج كاملاً دون قص */
    mix-blend-mode: multiply !important; /* لدمج الخلفية البيضاء مع المتجر */
    background-color: transparent !important;
    border: none !important;
}

/* 3. إزالة أي حواف أو ظلال من كرت المنتج بالكامل */
.product-card, .product-entry, .s-product-card-entry {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}