.aufuk-save{
    display:flex;
    align-items:center;
    width:max-content;
    border:2px solid #ff5b5b;
    border-radius:5px;
    overflow:hidden;
    margin-top:10px;
    direction:rtl;
}

.aufuk-save span{
    padding:8px 15px;
    font-size:18px;
    font-weight:700;
    border-left:2px dashed #ff5b5b;
}

.aufuk-save b{
    padding:8px 12px;
    font-size:22px;
}

/* البطاقة */
custom-salla-product-card {
    display: block;
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 22px;
    overflow: hidden;
    transition: .35s ease;
    box-shadow: 0 8px 25px rgba(37,99,235,.08);
}

custom-salla-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(37,99,235,.18);
    border-color: #2563eb;
}

/* الصورة */
.s-product-card-image {
    background: linear-gradient(180deg,#f8fbff,#eef5ff);
    padding: 15px;
}

.s-product-card-image img {
    transition: .35s;
}

custom-salla-product-card:hover .s-product-card-image img {
    transform: scale(1.05);
}

/* المحتوى */
.s-product-card-content {
    padding: 18px;
}

/* اسم المنتج */
.s-product-card-content-title a {
    color: #1f2937 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.s-product-card-content-title a:hover {
    color: #2563eb !important;
}




/* زر السلة */
.s-product-card-add-product .s-button-element {
    border-radius: 14px !important;
}

/* زر المفضلة */
.s-product-card-wishlist-btn {
    border-radius: 50% !important;
}

.s-product-card-content-title a{
    position:relative;
}

.s-product-card-content-title a::after{
    content:"";
    position:absolute;
    right:0;
    bottom:-4px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:.3s;
}

custom-salla-product-card:hover .s-product-card-content-title a::after{
    width:100%;
}

.s-product-card-image{
    overflow:hidden;
}

.s-product-card-image img{
    transition:.4s;
}

custom-salla-product-card:hover .s-product-card-image img{
    transform:scale(1.08);
}

custom-salla-product-card:hover{
    box-shadow:
    0 15px 35px rgba(37,99,235,.18),
    0 0 0 2px rgba(37,99,235,.12);
}

.s-product-card-add-product{
    opacity:0;
    transform:translateY(20px);
    transition:.35s;
}

custom-salla-product-card:hover .s-product-card-add-product{
    opacity:1;
    transform:translateY(0);
}

custom-salla-product-card{
    transition:.35s;
}

custom-salla-product-card:hover{
    transform:translateY(-8px);
}

/* لمعان احترافي على البطاقة */
custom-salla-product-card{
    position: relative;
    overflow: hidden;
}

custom-salla-product-card::before{
    content: "";
    position: absolute;
    top: -120%;
    left: -120%;
    width: 60%;
    height: 300%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transform: rotate(25deg);
    transition: .8s;
    pointer-events: none;
    z-index: 5;
}

custom-salla-product-card:hover::before{
    left: 170%;
}

custom-salla-product-card{
    transition: .35s ease;
}

custom-salla-product-card:hover{
    transform: translateY(-8px);
    border-color:#2563eb;
    box-shadow:
        0 18px 40px rgba(37,99,235,.15),
        0 0 30px rgba(37,99,235,.08);
}

.s-product-card-image img{
    transition:.45s ease;
}

custom-salla-product-card:hover .s-product-card-image img{
    transform:scale(1.06);
}

.s-product-card-add-product button{
    transition:.3s;
}

.s-product-card-add-product button:hover{
    transform:scale(1.05);
}

/* شارة الخصم */
.s-product-card-discount-badge,
.s-product-card-sale-badge{
    background: linear-gradient(135deg,#2563eb,#60a5fa) !important;
    color:#fff !important;
    border:none !important;
    border-radius:30px !important;
    padding:6px 12px !important;
    font-size:13px !important;
    font-weight:700 !important;
    box-shadow:0 8px 20px rgba(37,99,235,.25);
}

.s-product-card-wishlist-btn{
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.75)!important;
    border:1px solid rgba(255,255,255,.5)!important;
    border-radius:50%!important;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.s-product-card-wishlist-btn:hover{
    transform:scale(1.12);
}

.s-product-card-add-product button{
    position:relative;
    overflow:hidden;
}

.s-product-card-add-product button::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transition:.6s;
}

.s-product-card-add-product button:hover::before{
    left:170%;
}

.s-product-card-image{
    position:relative;
}

.s-product-card-image::after{
    content:"";
    position:absolute;
    inset:12px;
    border-radius:18px;
    background:radial-gradient(circle,rgba(37,99,235,.08),transparent 70%);
    opacity:0;
    transition:.35s;
    pointer-events:none;
}

custom-salla-product-card:hover .s-product-card-image::after{
    opacity:1;
}

custom-salla-product-card{
    position:relative;
    border-radius:22px;
}

custom-salla-product-card::after{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:22px;
    padding:1px;
    background:linear-gradient(
        135deg,
        transparent,
        #3b82f6,
        #60a5fa,
        transparent
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
            mask-composite:exclude;

    opacity:0;
    transition:.35s;
}

custom-salla-product-card:hover::after{
    opacity:1;
}

.s-product-card-content-title{
    transition:.35s;
}

custom-salla-product-card:hover
.s-product-card-content-title{

    transform:translateY(-3px);
}

.s-product-card-sale-price h4{

    transition:.35s;
}

custom-salla-product-card:hover
.s-product-card-sale-price h4{

    text-shadow:0 0 15px rgba(37,99,235,.35);
}

.s-product-card-image img{

    transition:.45s ease;
}

custom-salla-product-card:hover
.s-product-card-image img{

    transform:
    scale(1.05)
    translateY(-4px);
}
/* خلفية البطاقة */
custom-salla-product-card{
    background:
        radial-gradient(circle at top right, rgba(37,99,235,.08), transparent 45%),
        linear-gradient(180deg,#ffffff,#f7fbff);
}

.s-product-card-image{
    position:relative;
}

.s-product-card-image::before{
    content:"";
    position:absolute;
    width:170px;
    height:170px;
    background:radial-gradient(circle,
    rgba(37,99,235,.12),
    transparent 70%);
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:0;
}

.s-product-card-image img{
    position:relative;
    z-index:2;
}

custom-salla-product-card::before{
    content:"";
    position:absolute;
    left:15%;
    bottom:0;
    width:70%;
    height:3px;
    border-radius:50px;
    background:linear-gradient(
    90deg,
    transparent,
    #3b82f6,
    #60a5fa,
    transparent);

    opacity:0;
    transition:.35s;
}

custom-salla-product-card:hover::before{
    opacity:1;
}

custom-salla-product-card *{
    transition:.3s ease;
}

custom-salla-product-card{
    transform-style: preserve-3d;
    transition: transform .18s ease, box-shadow .18s ease;
    will-change: transform;
}

/* تحسين اللوجو في الهيدر */
header .logo img,
.header-logo img,
.navbar-brand img {
    max-height: 58px !important;
    width: auto !important;
    transition: .3s ease;
    filter: drop-shadow(0 4px 12px rgba(37,99,235,.18));
}

header .logo img:hover,
.header-logo img:hover,
.navbar-brand img:hover {
    transform: scale(1.05);
}

/* اللوجو */
.header-logo,
.logo,
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo img,
.logo img,
.navbar-brand img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 8px;
    border: 2px solid rgba(37,99,235,.12);
    box-shadow:
        0 8px 20px rgba(37,99,235,.12),
        0 0 0 5px rgba(37,99,235,.05);
    transition: .3s ease;
}

.header-logo img:hover,
.logo img:hover,
.navbar-brand img:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow:
        0 12px 30px rgba(37,99,235,.2),
        0 0 0 6px rgba(37,99,235,.08);
}



/* العناوين */
.store-footer h3,
.store-footer h4,
footer h3,
footer h4{
    color:#fff;
    font-weight:700;
    margin-bottom:18px;
}

/* النصوص */
.store-footer,
.store-footer p,
.store-footer li,
.store-footer a,
footer,
footer p,
footer li,
footer a{
    color:#d1d5db !important;
    transition:.25s;
}

/* تأثير الروابط */
.store-footer a:hover,
footer a:hover{
    color:#60A5FA !important;
    padding-right:6px;
}

/* الأيقونات */
.store-footer i,
footer i{
    color:#3B82F6;
}

/* شعار المتجر */
.store-footer img,
footer img{
    border-radius:16px;
    background:#fff;
    padding:8px;
    box-shadow:0 10px 25px rgba(37,99,235,.18);
}

#aufuk-whatsapp{
position:fixed;
bottom:20px;
left:20px;
z-index:99999;
font-family:inherit;
}

#aufuk-whatsapp .box{
display:flex;
align-items:center;
gap:12px;
background:#fff;
padding:12px 16px;
border-radius:18px;
box-shadow:0 12px 35px rgba(0,0,0,.18);
margin-bottom:12px;
animation:up .5s ease;
max-width:260px;
}

#aufuk-whatsapp .logo{
width:48px;
height:48px;
border-radius:50%;
background:#25D366;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:24px;
}

#aufuk-whatsapp h4{
margin:0;
font-size:15px;
font-weight:700;
color:#111;
}

#aufuk-whatsapp p{
margin:3px 0 0;
font-size:13px;
color:#666;
}

#aufuk-whatsapp .btn{
width:62px;
height:62px;
border-radius:50%;
background:#25D366;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:32px;
box-shadow:0 10px 30px rgba(37,211,102,.35);
transition:.3s;
animation:pulse 2s infinite;
}

#aufuk-whatsapp .btn:hover{
transform:scale(1.08);
}

@keyframes pulse{
0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}
70%{box-shadow:0 0 0 16px rgba(37,211,102,0);}
100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

@keyframes up{
from{opacity:0;transform:translateY(20px);}
to{opacity:1;transform:translateY(0);}
}