@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');
body, * { font-family: 'Tajawal', sans-serif !important; }

/* الألوان */
:root, .theme-raed { --color-primary: #EEC418 !important; --color-primary-reverse: #d4a800 !important; }
.s-button-btn, button.btn-primary, .btn-primary, .bg-primary { background-color: #EEC418 !important; border-color: #EEC418 !important; color: #1a1a1a !important; font-weight: 700 !important; border-radius: 10px !important; }
.text-primary { color: #EEC418 !important; }
.border-primary { border-color: #EEC418 !important; }

/* Header / Footer */
.store-header, .main-nav-container { border-bottom: 3px solid #EEC418 !important; }
.top-navbar { display: none !important; }
header a[href*="page-"], .main-nav-container a[href*="page-"], nav a[href*="page-"] { display: none !important; }
footer { border-top: 3px solid #EEC418 !important; }

/* عناوين الأقسام */
.s-block__title { justify-content: center !important; text-align: center !important; border-right: none !important; }
.s-block__title h2 { text-align: center !important; border-right: none !important; padding-right: 0 !important; }

/* بطاقات المنتجات */
salla-products-list li, salla-products-slider li { border-radius: 12px !important; overflow: hidden !important; border: 1px solid #e5e7eb !important; background: #fff !important; }
salla-products-list li > *:first-child, salla-products-slider li > *:first-child { background: transparent !important; box-shadow: none !important; border: none !important; }
salla-products-list li *, salla-products-slider li * { text-align: center !important; }
.s-product-card-content-footer salla-add-product-button { display: block !important; width: 100% !important; border: 2px solid #EEC418 !important; border-radius: 8px !important; background: transparent !important; transition: background 0.2s !important; }
.s-product-card-content-footer salla-add-product-button:hover { background: #EEC418 !important; }

/* صفحة المنتج */
.product-single .price-wrapper .before-price, .product-single .before-price { color: #9ca3af !important; font-size: 16px !important; font-weight: 500 !important; text-decoration: line-through !important; }
.product-single .price-wrapper .total-price, .product-single .total-price { color: #1a1a1a !important; font-size: 30px !important; font-weight: 900 !important; }
.product__description { background: transparent !important; border: none !important; border-right: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
.sticky-product-bar { background: #ffffff !important; border-top: 2px solid #EEC418 !important; }
.sticky-product-bar__quantity { box-shadow: none !important; }
.s-slider-block__title { font-size: 22px !important; font-weight: 800 !important; color: #1a1a1a !important; }
.s-slider-nav-arrow { background: rgba(255,255,255,0.9) !important; border-radius: 9999px !important; width: 38px !important; height: 38px !important; box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important; }

/* السلة - زر الحذف دائرة حمراء فقط */
salla-button.btn--delete { background: transparent !important; background-color: transparent !important; --color-btn: transparent !important; }
salla-button.btn--delete .s-button-element, salla-button.btn--delete button.btn--delete { background-color: #ef4444 !important; color: #ffffff !important; border-radius: 9999px !important; }
.cart-item { border-radius: 16px !important; border: 1px solid #e5e7eb !important; background: #fff !important; }

/* شريط الشحن المجاني */






/* الدفع */
.checkout input, .checkout select { border: 1.5px solid #e5e7eb !important; border-radius: 10px !important; padding: 12px 14px !important; }
.checkout input:focus, .checkout select:focus { border-color: #EEC418 !important; box-shadow: 0 0 0 3px rgba(238,196,24,0.15) !important; }

/* خلفية بيضاء كل الصفحات */
html, body.theme-raed, body.product-single, body.cart, body.checkout, .app-inner, .color-mode-dark { background-color: #ffffff !important; background: #ffffff !important; }
.bg-gray-50, .bg-gray-100, [class*="bg-gray"] { background-color: #ffffff !important; }
/* إخفاء شريط الشحن الأصلي - نستخدم المخصص */
#free-shipping { display: none !important; }
/* === KT additions (titles + recipes) === */
.s-block__title h2 { font-size: 36px !important; }
@media (max-width:768px){ .s-block__title h2 { font-size: 28px !important; } }
body.theme-raed custom-salla-product-card.s-product-card-entry, body.theme-raed .s-product-card-entry { border:1px solid #d9dadc !important; border-radius:14px !important; }
#kt-recipes-sec { padding:60px 20px; background:#FFF9E0; margin-top:40px; }
#kt-recipes-sec h2 { font-size:36px !important; font-weight:800; color:#111; text-align:center; margin-bottom:40px; }
#kt-recipes-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; max-width:1400px; margin:0 auto; }
@media (max-width:992px){ #kt-recipes-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ #kt-recipes-grid{ grid-template-columns:1fr; } }
.kt-recipe-card{ background:#fff; border:2px solid #EEC418; border-radius:14px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.08); transition:transform .2s; }
.kt-recipe-card:hover{ transform:translateY(-4px); }
.kt-recipe-card img{ width:100%; height:200px; object-fit:cover; display:block; }
.kt-recipe-body{ padding:16px; text-align:right; }
.kt-recipe-tag{ display:inline-block; background:#EEC418; color:#111; padding:4px 12px; border-radius:20px; font-size:13px; font-weight:700; margin-bottom:10px; }
.kt-recipe-title{ font-size:18px; font-weight:800; color:#111; margin:8px 0; }
.kt-recipe-chips{ display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.kt-recipe-chip{ background:#f5f5f5; padding:4px 10px; border-radius:14px; font-size:12px; color:#555; }
.kt-recipe-btn{ display:block; width:100%; background:#E31837; color:#fff !important; padding:12px; text-align:center; border-radius:10px; font-weight:700; text-decoration:none; margin-top:12px; }
.kt-recipe-btn:hover{ background:#c41530; }
/* KT: recipe section background -> white */
#kt-recipes-sec, #kt-recipes-sec > div { background:#ffffff !important; }


/* KT: responsive recipe grid (mobile) */
.kt-recipes-grid { grid-template-columns:repeat(4,1fr) !important; }
@media (max-width:900px){ .kt-recipes-grid { grid-template-columns:repeat(3,1fr) !important; } }
@media (max-width:640px){ .kt-recipes-grid { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; } }
/* KT: show recipes link in header nav (widen menu) */
@media (min-width:992px){
  custom-main-menu { flex:1 1 auto !important; }
  ul.main-menu { flex-wrap:nowrap !important; width:auto !important; max-width:none !important; }
  ul.main-menu li[data-kt-nav], ul.main-menu li[data-kt-nav] a { white-space:nowrap !important; }
}
/* KT: tighten product cards (reduce gap between image and name) */
.s-product-card-vertical .s-product-card-image,
custom-salla-product-card .s-product-card-image,
.s-product-card-entry .s-product-card-image { height:auto !important; min-height:0 !important; margin-bottom:0 !important; padding-bottom:0 !important; }
.s-product-card-vertical .s-product-card-image img,
custom-salla-product-card .s-product-card-image img,
.s-product-card-entry .s-product-card-image img { max-height:165px !important; object-fit:contain !important; }
.s-product-card-vertical .s-product-card-content,
custom-salla-product-card .s-product-card-content,
.s-product-card-entry .s-product-card-content { padding-top:6px !important; }
.s-product-card-content-title { margin-top:4px !important; }


/* KT: product card image white background */
.s-product-card-image,
custom-salla-product-card .s-product-card-image,
.s-product-card-entry .s-product-card-image { background:#ffffff !important; }
/* KT: product card name bigger (match recipe cards) */
.s-product-card-content-title,
.s-product-card-content-title a,
custom-salla-product-card .s-product-card-content-title,
.s-product-card-entry .s-product-card-content-title { font-size:17px !important; font-weight:800 !important; line-height:1.5 !important; }


/* === KT: hide recipes (temporary — re-enable later) === */
#kt-recipes-sec { display:none !important; }
li[data-kt-nav]:has(a[href*="recipes"]) { display:none !important; }
li[data-kt-nav] a[href*="recipes"] { display:none !important; }
/* === KT: product image bigger === */
.s-product-card-image img,
custom-salla-product-card .s-product-card-image img,
.s-product-card-entry .s-product-card-image img { max-height:200px !important; }


/* ===== KT: "جديد" badge — match discount badge style (product page promotion-title) ===== */
.promotion-title{background:#E31837!important;color:#fff!important;border-radius:9999px!important;top:12px!important;right:12px!important;left:auto!important;font-size:11px!important;font-weight:800!important;padding:5px 12px!important;}