/* ملف style.css */
@font-face {
    font-family: 'ar_Suls';
    src: url('./fonts/ar_Suls.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


div.siteTitle {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color:rgb(3, 3, 0);
    padding: 1px;
    font-size: 13px;
    font-family: 'ar_Suls', sans-serif;
    display: flex;
    flex-direction: row;      /* جنب بعض */
    justify-content: center;  /* توسيط أفقي */
    align-items: center;       /* توسيط رأسي */
    width: 100%;
    text-align: center;
  }
/*
div.siteTitle h6 {
    color: #02a0fc;
    font-size: 10vw;  الكلمة نص عرض الشاشة تقريبًا 
    margin: 0;
    line-height: 1;
    font-family: 'ar_Suls', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/
body {
    background: hsl(204, 15%, 94%);
    border-radius: 0px;
    font-family: 'Cairo', sans-serif;
}

#message {
    background: white;
    max-width: 360px;
    margin: 100px auto 16px;
    padding: 12px 24px;
    border: solid #59b8f7 2px;
    border-radius: 3px;
}

#message h4 {
    display: block;
    text-align: center;
    background: #039be5;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    padding: 6px;
    border-radius: 4px;
}

#message h2 {
    color: #3e3e3e;
    font-weight: bold;
    font-size: 16px;
    margin: 0 0 8px;
    text-align: center;
}


/* Overlay background */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dialog-box {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    font-family: sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: popup 0.25s ease;
}

.dialog-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: bold;
}

.dialog-message {
    margin-bottom: 20px;
    font-size: 15px;
}

.dialog-buttons {
    display: flex;
    justify-content: space-between;
}

.btn {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.btn.positive {
    background: #2196f3;
    color: white;
}

.btn.negative {
    background: #ddd;
    color: black;
    
}

@keyframes popup {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
    

}
#toast {
    visibility: hidden;
    min-width: 200px;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 15px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
  }
  #toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
  }

 div.linkASButton{
    display:inline-block !important;
    padding:1px 15px !important;
    border-radius:5px !important;
    background-color:#25D366 !important;
    color:white !important;
    text-decoration:none !important;
  }
  header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid #fff;
}

/* ✅ شريط السلة - تصميم جديد */
.cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;opacity: 1 !important;
    background-color: #3b79ff !important;
    color: #fff;
    padding: 20px 25px;
    display: flex;
    box-shadow: 0 -5px 25px rgba(59, 89, 152, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;      /* جنب بعض */
    justify-content: center;  /* توسيط أفقي */
    align-items: center;       /* توسيط رأسي */
   
}

@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(0); opacity: 1; }
    to   { transform: translateY(-10px); opacity: 0; }
}

