/* =========================
   المتغيرات العامة
========================= */

:root{
    --product-card-btn-c:#C37A6B !important;
    --color-primary-ops:#D9A79D !important;
}

/* =========================
   ملخص الطلب والبطاقات
========================= */

.bg-white,
.bg-gray-50,
.rounded-lg.shadow-sm,
.rounded-md.shadow-sm,
.cart-item,
.cart-summary,
.s-cart-summary,
.s-block,
.s-panel,
div[class*="summary"]{
    background:#c37a6b1f !important;
}

/* =========================
   القائمة المنسدلة
========================= */

.main-menu .sub-menu,
.sub-menu.w-56{
    background:#f1e1d4 !important;
    border:1px solid #e0cdbf !important;
}

.main-menu .sub-menu a,
.sub-menu.w-56 a{
    background:#f1e1d4 !important;
}

.sub-menu *,
.sub-menu.w-56 *{
    color:#C37A6B !important;
}

/* =========================
   أزرار طريقة العرض
========================= */

.layout-btn.bg-\[\#CCFFCC\] svg{
    color:#C37A6B !important;
}

.layout-btn:hover,
.layout-btn:focus,
.layout-btn:active{
    background:#C37A6B !important;
}

.layout-btn:hover svg,
.layout-btn:focus svg,
.layout-btn:active svg{
    color:#C37A6B !important;
}

.layout-btn:not(.active) svg,
.layout-btn:not(.active) svg path,
.layout-btn:not(.active) svg rect{
    stroke:#F1E1D4 !important;
    fill:#F1E1D4 !important;
}

.layout-btn.active{
    background:#C37A6B !important;
}

/* =========================
   أزرار السلة
========================= */

.s-product-card-content-footer .s-button-element,
.s-product-card-content-footer button,
.s-button-primary,
.s-button-primary-outline{
    background:#C37A6B !important;
    border-color:#C37A6B !important;
    color:#FFFFFF !important;
}

.s-product-card-content-footer .s-button-element:hover,
.s-product-card-content-footer button:hover,
.s-button-primary:hover,
.s-button-primary-outline:hover{
    background:#D9A79D !important;
    border-color:#D9A79D !important;
    color:#FFFFFF !important;
}

/* =========================
   القائمة الجانبية للجوال
========================= */

.menu-sidebar,
.sidebar-menu,
.mobile-menu,
.offcanvas,
.s-menu-sidebar{
    background:#F1E1D4 !important;
}

.menu-sidebar a,
.sidebar-menu a,
.mobile-menu a,
.offcanvas a,
.s-menu-sidebar a,
.menu-sidebar *,
.sidebar-menu *,
.mobile-menu *,
.offcanvas *,
.s-menu-sidebar *{
    color:#C37A6B !important;
}

/* =========================
   الشريط العلوي
========================= */

#page-main-title,
#page-main-title + div,
#page-main-title + div *{
    color:#FFFFFF !important;
}

.bg-\[var\(--color-primary-ops\)\]{
    background:#D9A79D !important;
    border-radius:15px !important;
}

/* =========================
   ترتيب حسب
========================= */

label[for="product-filter"]{
    display:none !important;
}

#product-filter{
    width:145px !important;
    min-width:145px !important;
    height:42px !important;
    background:#F8EEE8 !important;
    color:#C37A6B !important;
    -webkit-text-fill-color:#C37A6B !important;
    border:1px solid #D9B3AA !important;
    border-radius:12px !important;
    font-size:15px !important;
    font-weight:700 !important;
    padding:0 12px !important;
    text-align:center !important;
    text-align-last:center !important;
    appearance:auto !important;
    -webkit-appearance:menulist !important;
}

#product-filter,
#product-filter:focus,
#product-filter:active{
    color:#C37A6B !important;
    -webkit-text-fill-color:#C37A6B !important;
}

#product-filter option{
    color:#C37A6B !important;
    background:#F8EEE8 !important;
}

.custom-sort-btn{
    background:#F8EEE8 !important;
    color:#C37A6B !important;
    -webkit-text-fill-color:#C37A6B !important;
    border:1px solid #D9B3AA;
    border-radius:14px;
    padding:12px;
    text-align:center;
    font-weight:700;
    cursor:pointer;
}

.custom-sort-list{
    display:none;
    position:absolute;
    top:55px;
    right:0;
    width:100%;
    background:#D9A79D !important;
    border:1px solid #C37A6B !important;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(195,122,107,.15);
    z-index:99999;
}

.custom-sort-list.show{
    display:block;
}

.custom-sort-list div{
    padding:14px;
    cursor:pointer;
    text-align:center;
    background:#D9A79D !important;
    color:#FFFFFF !important;
    font-weight:600;
    border-bottom:1px solid rgba(255,255,255,.25) !important;
}

.custom-sort-list div:last-child{
    border-bottom:none;
}

.custom-sort-list div:hover{
    background:#C37A6B !important;
    color:#FFFFFF !important;
}

.price-title{
    padding:14px;
    text-align:center;
    color:#FFF8F5;
    background:#C37A6B;
    font-weight:700;
}

.price-title:hover{
    background:#C37A6B !important;
    color:#FFF8F5 !important;
}

/* =========================
   الكمية
========================= */

.s-quantity-input-container{
    border:1px solid #C37A6B !important;
    border-radius:10px !important;
}

.s-quantity-input-input{
    background:#F1E1D4 !important;
    color:#6b7280 !important;
    font-weight:700 !important;
}

.s-quantity-input-button{
    color:#6b7280 !important;
}

.s-quantity-input-button:hover{
    color:#C37A6B !important;
}

/* =========================
   الملاحظات والملفات
========================= */

button[data-show^="note_"],
button[data-show^="file_"]{
    background:#F1E1D4 !important;
    border:1px solid #C37A6B !important;
}

.filepond--drop-label{
    background:#F1E1D4 !important;
}

/* =========================
   المفضلة والمشاركة
========================= */

button.s-social-share-btn{
    background:#C37A6B1F !important;
    border-color:#C37A6B !important;
}

button.s-social-share-btn:hover{
    background:#C37A6B1F !important;
}

button[aria-label="add to wishlist"]{
    background:#C37A6B1F !important;
    border:1px solid #C37A6B !important;
    box-shadow:none !important;
}

button[aria-label="add to wishlist"] i{
    color:#6b7280 !important;
}

ul.s-social-share-list.a2a_kit.share.opened{
    background:#F1E1D4 !important;
    border:1px solid #C37A6B !important;
}

ul.s-social-share-list.a2a_kit.share.opened li{
    background:#F1E1D4 !important;
    border:1px solid #F1E1D4 !important;
    border-radius:50% !important;
}

ul.s-social-share-list.a2a_kit.share.opened li a{
    color:inherit !important;
}

/* ============================
   POPUP GIFT CARDS STYLE
   تنسيق نافذة كروت الإهداء المنبثقة
============================ */

#gift-popup{
position:fixed;
inset:0;
z-index:999999;
display:flex;
align-items:center;
justify-content:center;
padding:20px;
}

.gift-overlay{
position:absolute;
inset:0;
background:rgba(107,114,128,.35);
backdrop-filter:blur(4px);
}

.gift-box{
position:relative;
background:#F1E1D4;
width:650px;
max-width:92%;
max-height:85vh;
overflow:hidden;
padding:20px;
border-radius:24px;
text-align:center;
z-index:2;
}

.gift-close{
position:absolute;
left:18px;
top:10px;
font-size:28px;
cursor:pointer;
color:#C37A6B;
}

.gift-box h2{
color:#C37A6B;
margin:0 0 8px;
font-size:24px;
}

.gift-box p{
color:#6B7280;
margin-bottom:18px;
font-size:14px;
}

.gift-cards{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:14px;
max-height:55vh;
overflow-y:auto;
padding:5px;
}

.gift-slider-track{
display:contents;
}

.gift-card{
width:160px;
display:block;
background:#fff;
border-radius:16px;
overflow:hidden;
box-shadow:0 2px 8px rgba(0,0,0,.08);
transition:.2s;
}

.gift-card:hover{
transform:translateY(-4px);
}

.gift-card img{
width:160px;
display:block;
}

.skip-btn{
width:100%;
height:48px;
border:none;
border-radius:14px;
background:#C37A6B;
color:#fff;
cursor:pointer;
margin-top:18px;
font-size:15px;
}

.skip-btn:hover{
opacity:.9;
}

@media(max-width:768px){

.gift-box{
width:95%;
padding:15px;
}

.gift-card{
width:140px;
}

}

/* ============================
موعد التوصيل
============================ */
/* تنسيق موعد التوصيل */

.cart-options{
    background: #C37A6B1F !important;
    border: 1px solid #C37A6B !important;
}

.s-booking-field-main{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:15px !important;
}

.s-booking-field-price{
    display:none !important;
}

.s-product-options-option-label small,
.s-booking-field-price{
    display:none !important;
}
.s-booking-field-book-now{
    margin-top: 15px !important;
}
.s-booking-field-reservations-item{
    border: 1px solid #C37A6B !important;
    border-radius: 8px !important;
}

.s-booking-field-reservations-item *{
    color: #6b7280 !important;
}

.s-booking-field-reservations-icon svg{
    fill: #6b7280 !important;
}
/*حذف عباره صنع باتقان */
.copyright-text{
    display:none !important;
}
/* تنظيم خانه اضافه للسله وغيرها بالجوال */
@media (max-width:768px){
  .sticky-product-card{
    display:none !important;
  }
}

@media (max-width:768px){

.sticky-product-bar{
    background:#F1E1D4 !important;
    opacity:1 !important;
}

.sticky-product-bar__quantity{
    background:#F1E1D4 !important;
}

.sticky-product-card{
    background:#F1E1D4 !important;
}

}
/* المربع الي فوق ترتيب */
@media (max-width:768px){

  .custom-sort,
  .custom-category{
      width:120px !important;
  }

  .custom-sort-btn,
  .custom-category-btn{
      font-size:12px !important;
      padding:6px 8px !important;
  }

}
/* حذف كلمه التصنيف في المربع   */
@media (max-width:768px){
#page-main-title{
    display:none !important;
}
}

/* تعديل مكان المجموع في السلة */
@media (max-width:768px){

.cart-item .text-color-primary{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:10px !important;
}

}


.custom-salla-product-card,
.s-product-card-entry{
    height:auto !important;
    min-height:auto !important;
}

.s-product-card-content{
    height:auto !important;
    min-height:auto !important;
    flex:0 !important;
}

.s-product-card-content-footer{
    margin-top:10px !important;

}

/* تعديل مميزات المتجر في الجوال */
@media (max-width:768px){

.B_store_features ul.grid{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
}

.B_store_features .sf-card{
    padding: 15px 10px !important;
}

.B_store_features h3,
.B_store_features h4{
    font-size: 18px !important;
}

.B_store_features p{
    font-size: 14px !important;
}

}
/* ===========================
   بطاقة الإهداء
=========================== */

.s-product-options-option-container[data-option-id="851405446"]{

    background:#fff;
    border-radius:35px;
    padding:35px;
    margin-top:25px;
    position:relative;
}
/* نص إرسال الطلب كهدية */

.s-product-options-option-container[data-option-id="851405446"]
.s-product-options-option-label::after{

    content:"أرسل هديتك لمن تحب بلمسة خاصة";

    display:block;

    margin-top:8px;

    color:#9d8179;

    font-size:13px;

    font-weight:500;
}


/* عنوان القسم */

.s-product-options-option-label b{

    font-size:30px;
    font-weight:700;
    color:#3d231f;
}


.s-product-options-option-label small{

    display:block;
    font-size:14px;
    color:#9d8179;
    margin-top:8px;
}


/* حذف الخطوط المكررة فقط */

.s-product-options-option-container::after{
    display:none !important;
}

/* ===========================
   مربع بيانات المستلم
=========================== */


/* اسم المستلم */

.s-product-options-option-container[data-option-id="1300255374"]{

    background:#fffaf9;

    border-right:2px dashed #ead3cc;
    border-left:2px dashed #ead3cc;
    border-top:2px dashed #ead3cc;

    border-radius:28px 28px 0 0;

    margin-top:28px;
    margin-bottom:0;

    padding:
    28px
    25px
    5px;
}

/* ===========================
   نعم / لا
=========================== */

/* نعم / لا */

.s-product-options-grid-mode{
    display:flex;
    justify-content:flex-start;
    gap:45px;
    margin-top:20px;
  position: relative;
}

.s-product-options-grid-mode label{
    display:flex !important;
    align-items:center;
    gap:8px;
    background:none !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
}
.s-product-options-grid-mode input[type="radio"]{
    display:block !important;
    appearance:radio !important;
    -webkit-appearance:radio !important;

    width:18px !important;
    height:18px !important;

    opacity:1 !important;
    visibility:visible !important;

    accent-color:#C37A6B !important;
}


.s-product-options-grid-mode label::before,
.s-product-options-grid-mode label::after,
.s-product-options-grid-mode-span::before,
.s-product-options-grid-mode-span::after{
    display:none !important;
    content:none !important;
}

.s-product-options-grid-mode-span{
    font-size:16px;
    font-weight:700;
    color:#4d3531;
}

.s-product-options-grid-mode label:has(input:checked)
.s-product-options-grid-mode-span{
    color:#C37A6B;
}


/* النص */

.s-product-options-grid-mode-span{

    font-size:16px;
    font-weight:700;
    color:#4d3531;
}


/* عند التحديد */

.s-product-options-grid-mode label:has(input:checked)
.s-product-options-grid-mode-span{

    color:#C37A6B;
}
.s-product-options-grid-mode-span{
    margin-right:15px !important;
}
/* رقم المستلم */

.s-product-options-option-container[data-option-id="1766559880"]{

    background:#fffaf9;

    border-right:2px dashed #ead3cc;
    border-left:2px dashed #ead3cc;
    border-bottom:2px dashed #ead3cc;

    border-radius:0 0 28px 28px;

    margin-top:0;
    padding:
    0
    25px
    28px;
}


/* النص العلوي */

.s-product-options-option-container[data-option-id="1300255374"]::before{

    content:"يرجى تعبئة بيانات المستلم";

    display:block;

    text-align:center;

    color:#c98b7d;

    font-size:14px;
    font-weight:700;

    margin-bottom:25px;
}
/* منع تكرار النص تحت اسم ورقم المستلم */

.s-product-options-option-container[data-option-id="1300255374"]
.s-product-options-option-label::after,

.s-product-options-option-container[data-option-id="1766559880"]
.s-product-options-option-label::after{

    display:none !important;
    content:none !important;
}

/* عناوين الحقول */

.s-product-options-option-label b{

    font-size:18px;
    color:#3d231f;
}


/* وصف الحقول */

.s-product-options-option-label small{

    font-size:13px;
    color:#a89189;
}


/* حقول الإدخال */

.s-product-options-option-content input:not([type="radio"]){

    height:58px;

    border-radius:18px;

    border:1px solid #eadfd9;

    background:#fff;

    padding:0 20px;

    font-size:15px;
}


/* Placeholder */

.s-product-options-option-content input::placeholder{

    color:#c7b5ae;
}


/* أيقونة التقويم */

.s-product-options-option-container[data-option-id="1505507254"]{

    background:#fff;
    border-radius:35px;
    padding:35px;

    position:relative;
}


.s-product-options-option-container[data-option-id="1505507254"]::before{

    content:"";

    position:absolute;

    left:30px;
    top:30px;

    width:55px;
    height:55px;

    border-radius:18px;

    background:
    #faf6f4
    url("https://i.postimg.cc/Z5ZTGbLm/2.png")
    center/30px no-repeat;
}
/* نص جدولة التوصيل */

.s-product-options-option-container[data-option-id="1505507254"]
.s-product-options-option-label::after{

    content:"اختر الوقت والتاريخ المناسب للتوصيل";

    display:block;

    margin-top:8px;

    color:#9d8179;

    font-size:13px;

    font-weight:500;
}
/* أيقونة الهدية */

.s-product-options-option-container[data-option-id="851405446"]::before{

    content:"";

    position:absolute;

    left:30px;
    top:30px;

    width:55px;
    height:55px;

    border-radius:18px;

    background:
    #faf6f4
    url("https://i.postimg.cc/TwsFf0MT/1.png")
    center/30px no-repeat;
}
/*  حقل نعم يكون اجباري  */
.receiver-error{
    display:none;
    color:#c37a6b;
    background:#fff5f4;
    border:1px dashed #e6b9b1;
    border-radius:14px;
    padding:12px;
    margin-top:15px;
    margin-bottom:15px;
    text-align:center;
    font-weight:700;
}