/* Add custom CSS styles below */ 

/* START - Main Slider Edits */
.s-block--bundle-main-slider {
    margin: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}
/* END - Main Slider Edits */

body{
  background-color: #FAF6EE!important;
}


.s-block--bundle-featured-drop {
    margin-top: -3rem;
}

/*### start(CSS - HEADER - Secret Header) ###*/

/* الألوان والمقاسات */
header.store-header { --khalouf-hd-bg: #3D1A0A; --khalouf-hd-icon: #F5EAD3; --khalouf-hd-dot: #FFE01B; --khalouf-hd-h: 64px; --khalouf-hd-icon-size: 32px; --khalouf-hd-logo-h: 40px; --khalouf-hd-pad: 16px; }
@media (min-width: 1024px) { header.store-header { --khalouf-hd-h: 80px; --khalouf-hd-icon-size: 38px; --khalouf-hd-logo-h: 48px; --khalouf-hd-pad: 28px; } }

/* إخفاء عناصر الهيدر الأصلية (احذف السطر لإرجاع العنصر) */
header.store-header > .lg\:hidden { display: none !important; }
header.store-header .top-navbar { display: none !important; }
header.store-header salla-bullet-delivery-tag { display: none !important; }
header.store-header salla-contacts { display: none !important; }
header.store-header .header-search { display: none !important; }
header.store-header salla-wishlist-summary { display: none !important; }
header.store-header #mainnav .mburger { display: none !important; }
header.store-header #mainnav custom-main-menu { display: none !important; }

/* الشريط */
header.store-header #mainnav { min-height: 0 !important; background: transparent !important; box-shadow: none !important; }
header.store-header #mainnav .inner { background: transparent !important; box-shadow: none !important; padding: 8px 8px 0; }
header.store-header #mainnav .inner > .container { height: var(--khalouf-hd-h); padding-inline: var(--khalouf-hd-pad); border-radius: 16px; background: var(--khalouf-hd-bg); display: flex; align-items: center;max-width: 100%; }
header.store-header #mainnav .inner > .container > .flex { width: 100%; height: 100%; align-items: center; justify-content: space-between; position: relative; }
header.store-header #mainnav .inner > .container > .flex > div { display: contents; }

/* اللوقو في المنتصف */
header.store-header #mainnav .navbar-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
header.store-header #mainnav .navbar-brand img { width: auto !important; height: var(--khalouf-hd-logo-h) !important; max-height: var(--khalouf-hd-logo-h) !important; max-width: 180px !important; object-fit: contain; }

/* أيقونة الحساب (مسجل + زائر) */
header.store-header #mainnav salla-user-menu { order: 1; display: flex; align-items: center; margin: 0 !important; color: var(--khalouf-hd-icon); }
header.store-header #mainnav .s-user-menu-trigger,
header.store-header #mainnav .s-user-menu-login-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; margin: 0; border: 0; border-radius: 50%; background: transparent !important; color: var(--khalouf-hd-icon); cursor: pointer; }
header.store-header #mainnav .s-user-menu-trigger > *,
header.store-header #mainnav .s-user-menu-login-btn > * { display: none !important; }
header.store-header #mainnav .s-user-menu-trigger::before,
header.store-header #mainnav .s-user-menu-login-btn::before { content: ""; display: block; width: var(--khalouf-hd-icon-size); height: var(--khalouf-hd-icon-size); background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4.2'/%3E%3Cpath d='M4 21c0-4.2 3.6-7.2 8-7.2s8 3 8 7.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4.2'/%3E%3Cpath d='M4 21c0-4.2 3.6-7.2 8-7.2s8 3 8 7.2'/%3E%3C/svg%3E") center / contain no-repeat; }
header.store-header #mainnav .s-user-menu-trigger:hover,
header.store-header #mainnav .s-user-menu-login-btn:hover { opacity: .8; }

/* أيقونة السلة */
header.store-header #mainnav salla-cart-summary { order: 3; display: flex; align-items: center; margin: 0 !important;justify-content: flex-end; }
header.store-header #mainnav .s-cart-summary-wrapper { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; background: transparent; color: var(--khalouf-hd-icon); }
header.store-header #mainnav .s-cart-summary-wrapper:hover { opacity: .8; }
header.store-header #mainnav #s-cart-icon { display: flex; align-items: center; justify-content: center; width: auto; height: auto; margin: 0; border: 0; background: transparent; }
header.store-header #mainnav #s-cart-icon > * { display: none !important; }
header.store-header #mainnav #s-cart-icon::before { content: ""; display: block; width: var(--khalouf-hd-icon-size); height: var(--khalouf-hd-icon-size); background-color: var(--khalouf-hd-icon); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='16.8' height='17.2' rx='3.6'/%3E%3Cpath d='M3.6 8.6h16.8'/%3E%3Cpath d='M8.6 12.6a3.4 3.4 0 0 0 6.8 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.6' y='3.6' width='16.8' height='17.2' rx='3.6'/%3E%3Cpath d='M3.6 8.6h16.8'/%3E%3Cpath d='M8.6 12.6a3.4 3.4 0 0 0 6.8 0'/%3E%3C/svg%3E") center / contain no-repeat; }
header.store-header #mainnav .s-cart-summary-content { display: none !important; }

/* نقطة السلة */
header.store-header #mainnav .s-cart-summary-count { position: absolute; top: 6px; right: auto; left: auto; inset-inline-start: 6px; width: 12px; height: 12px; min-width: 0; padding: 0; border: 0; border-radius: 50%; background: var(--khalouf-hd-dot) !important; color: transparent !important; font-size: 0 !important; line-height: 0; overflow: hidden; }
header.store-header #mainnav salla-cart-summary.khalouf-cart-empty .s-cart-summary-count { display: none !important; }

/* قائمة الحساب المنسدلة بلون النص الأصلي */
header.store-header #mainnav .s-user-menu-dropdown { color: #1f2937; }

/*### end(CSS - HEADER - Secret Header) ###*/

/*### start(CSS - FOOTER - Secret Footer) ###*/

/* الألوان والمقاسات */
footer.store-footer { --khalouf-ft-text: #3B1F0E; --khalouf-ft-circle: #3D1A0A; --khalouf-ft-icon: #FBF6EE; --khalouf-ft-line: rgba(59,31,14,.12); --khalouf-ft-muted: rgba(59,31,14,.6); --khalouf-ft-logo: url("https://cdn.files.salla.network/other/422865670/68ac2c8b-6e59-455d-8b8d-b74c4dcceb70-original.webp"); --khalouf-ft-logo-w: 140px; --khalouf-ft-link: 12px; --khalouf-ft-head: 14px; --khalouf-ft-row: 32px; --khalouf-ft-colgap: 14px; --khalouf-ft-social: 28px; --khalouf-ft-social-icon: 14px; --khalouf-ft-social-gap: 6px; }
@media (min-width: 1024px) { footer.store-footer { --khalouf-ft-logo-w: 220px; --khalouf-ft-link: 20px; --khalouf-ft-head: 26px; --khalouf-ft-row: 44px; --khalouf-ft-colgap: 70px; --khalouf-ft-social: 46px; --khalouf-ft-social-icon: 20px; --khalouf-ft-social-gap: 14px; } }

/* إخفاء عناصر الفوتر الأصلية (احذف السطر لإرجاع العنصر) */
footer.store-footer .store-footer__inner > .container > div:first-child > .max-w-sm { display: none !important; }
footer.store-footer .store-footer__inner > .container > div:first-child > .hidden { display: none !important; }
footer.store-footer salla-contacts .s-contacts-list { display: none !important; }
footer.store-footer salla-apps-icons { display: none !important; }

/* الخلفية والألوان */
footer.store-footer .store-footer__inner { padding-top: 0 !important; padding-bottom: 0 !important; }
footer.store-footer, footer.store-footer .store-footer__inner { background: transparent !important; color: var(--khalouf-ft-text); border: 0 !important; box-shadow: none !important; }
footer.store-footer a { color: inherit; }

/* الشبكة الرئيسية */
footer.store-footer .store-footer__inner > .container { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content minmax(0, 1fr); grid-template-areas: "brand brand brand brand" ". menu social ." "legal legal legal legal"; justify-items: center; align-items: start; column-gap: var(--khalouf-ft-colgap); row-gap: 24px; padding-top: 40px; padding-bottom: 0; }
@media (min-width: 1024px) { footer.store-footer .store-footer__inner > .container { row-gap: 40px; padding-top: 64px; } }
footer.store-footer .store-footer__inner > .container > div:first-child { display: contents; }
footer.store-footer .store-footer__inner > .container > * { min-width: 0; padding: 0 !important; margin: 0; }

/* الشعار */
footer.store-footer .store-footer__inner > .container > div:first-child > a { grid-area: brand; position: relative; display: block; width: var(--khalouf-ft-logo-w); aspect-ratio: 258 / 190; margin: 0 !important; background: var(--khalouf-ft-logo) center / contain no-repeat; }
footer.store-footer .store-footer__inner > .container > div:first-child > a > *:not(.khalouf-ft-logo) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
footer.store-footer .store-footer__inner > .container > div:first-child > a[data-khalouf-logo] { background: none; }
footer.store-footer .khalouf-ft-logo { display: block; width: 100%; height: 100%; object-fit: contain; }

/* العناوين */
footer.store-footer .store-footer__inner h3 { margin: 0 !important; padding: 0; font-weight: 700; color: var(--khalouf-ft-text); }
footer.store-footer .store-footer__inner > .container > div:nth-child(2) > h3,
footer.store-footer salla-contacts .s-contacts-title { display: flex; align-items: center; min-height: var(--khalouf-ft-row); font-size: 0 !important; line-height: 1.2; }
footer.store-footer .store-footer__inner > .container > div:nth-child(2) > h3::after { content: "نساعدك"; font-size: var(--khalouf-ft-head); }
footer.store-footer salla-contacts .s-contacts-title::after { content: "خلّك قريب"; font-size: var(--khalouf-ft-head); }
html[lang="en"] footer.store-footer .store-footer__inner > .container > div:nth-child(2) > h3::after { content: "We help"; }
html[lang="en"] footer.store-footer salla-contacts .s-contacts-title::after { content: "Stay close"; }
footer.store-footer [data-khalouf-title]::after { content: attr(data-khalouf-title) !important; }

/* روابط القائمة: عمودين، الأول بدون عنوان */
footer.store-footer .store-footer__inner > .container > div:nth-child(2) { grid-area: menu; display: grid; grid-template-columns: auto auto; grid-auto-flow: row dense; column-gap: var(--khalouf-ft-colgap); align-items: center; text-align: start; }
footer.store-footer .store-footer__inner > .container > div:nth-child(2) > h3 { grid-column: 2; grid-row: 1; }
footer.store-footer .store-footer__inner > .container > div:nth-child(2) salla-menu,
footer.store-footer .store-footer__inner > .container > div:nth-child(2) salla-menu > div,
footer.store-footer .store-footer__inner > .container > div:nth-child(2) .s-menu-footer-list { display: contents; }
footer.store-footer .s-menu-footer-item { grid-column: 1; display: flex; align-items: center; min-height: var(--khalouf-ft-row); margin: 0 !important; padding: 0 !important; font-size: var(--khalouf-ft-link); font-weight: 400; line-height: 1.6; color: var(--khalouf-ft-text) !important; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
footer.store-footer .s-menu-footer-item:nth-child(n+4) { grid-column: 2; }
footer.store-footer .s-menu-footer-item:hover { opacity: .7; }

/* التواصل الاجتماعي */
footer.store-footer .store-footer__inner > .container > div:nth-child(3) { grid-area: social; justify-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
footer.store-footer salla-contacts { display: block; margin: 0 !important; }
footer.store-footer .contact-social { display: block !important; margin: 0 !important; padding: 0 !important; }
footer.store-footer .s-social-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--khalouf-ft-social-gap); margin: 0; padding: 0; list-style: none; }
footer.store-footer .s-social-link { margin: 0 !important; padding: 0; border: 0; }
footer.store-footer .s-social-link a { display: flex; align-items: center; justify-content: center; width: var(--khalouf-ft-social); height: var(--khalouf-ft-social); border-radius: 50%; background: var(--khalouf-ft-circle) !important; color: var(--khalouf-ft-icon) !important; border: 0 !important; transition: transform .2s; }
footer.store-footer .s-social-link a:hover { transform: translateY(-2px); }
footer.store-footer .s-social-icon { display: flex; align-items: center; justify-content: center; width: auto; height: auto; }
footer.store-footer .s-social-icon svg { width: var(--khalouf-ft-social-icon); height: var(--khalouf-ft-social-icon); fill: currentColor !important; }

/* السجل التجاري والرقم الضريبي */
footer.store-footer .store-footer__inner > .container > div:first-child > div.flex { grid-area: legal; justify-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-top: 24px !important; border-top: 1px solid var(--khalouf-ft-line); }
footer.store-footer salla-trust-badges,
footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 !important; padding: 4px 14px !important; border: 1px solid var(--khalouf-ft-line); border-radius: 999px; background: transparent; }
footer.store-footer .s-trust-badges-image { width: 26px !important; height: 26px !important; object-fit: contain; margin: 0 !important; }
footer.store-footer .s-trust-badges-content,
footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex > div { display: inline-flex; align-items: baseline; gap: 6px; margin: 0; }
footer.store-footer .s-trust-badges-label,
footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex p { margin: 0 !important; font-size: 12px !important; color: var(--khalouf-ft-muted) !important; }
footer.store-footer .s-trust-badges-number,
footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex b { font-size: 13px !important; font-weight: 700; color: var(--khalouf-ft-text) !important; }

/* الشريط السفلي: وسائل الدفع ثم الحقوق */
footer.store-footer > div:last-child:not(.store-footer__inner) { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding-top: 20px !important; padding-bottom: 32px !important; text-align: center; background: transparent !important; border: 0 !important; }
footer.store-footer salla-payments { order: -1; display: block; margin: 0 !important; }
footer.store-footer .s-payments-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
footer.store-footer .s-payments-list-item { display: flex; align-items: center; justify-content: center; width: auto !important; height: 32px !important; min-width: 48px; margin: 0 !important; padding: 4px 8px !important; border: 1px solid var(--khalouf-ft-line) !important; border-radius: 8px !important; background: #fff !important; }
footer.store-footer .s-payments-list-item img { width: auto !important; height: 22px !important; max-width: 52px; object-fit: contain; }
footer.store-footer .copyright-text p { margin: 0 !important; font-size: 13px; color: var(--khalouf-ft-muted) !important; }
footer.store-footer .copyright-text a { color: var(--khalouf-ft-text) !important; font-weight: 700; }

/* الجوال: تصغير السجل والضريبة ووسائل الدفع */
@media (max-width: 1023px) {
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex { flex-wrap: nowrap; gap: 6px; padding-top: 16px !important; }
  footer.store-footer salla-trust-badges,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex { min-width: 0; min-height: 30px; gap: 4px; padding: 3px 8px !important; }
  footer.store-footer .s-trust-badges-image { width: 18px !important; height: 18px !important; }
  footer.store-footer .s-trust-badges-content,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex > div { gap: 4px; white-space: nowrap; }
  footer.store-footer .s-trust-badges-label,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex p { font-size: 10px !important; }
  footer.store-footer .s-trust-badges-number,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex b { font-size: 11px !important; }
  footer.store-footer > div:last-child:not(.store-footer__inner) { gap: 10px; padding-top: 14px !important; padding-bottom: 24px !important; }
  footer.store-footer salla-payments { max-width: 100%; }
  footer.store-footer .s-payments-list { flex-wrap: nowrap; gap: 4px; }
  footer.store-footer .s-payments-list-item { flex: 0 1 auto; min-width: 0; height: 22px !important; padding: 2px 5px !important; border-radius: 6px !important; }
  footer.store-footer .s-payments-list-item img { height: 16px !important; max-width: 34px; }
  footer.store-footer .copyright-text p { font-size: 11px; }
}

/* الشاشات الصغيرة جداً */
@media (max-width: 379px) {
  footer.store-footer { --khalouf-ft-colgap: 10px; --khalouf-ft-link: 11px; --khalouf-ft-head: 13px; --khalouf-ft-social: 26px; --khalouf-ft-social-icon: 13px; --khalouf-ft-social-gap: 5px; }
  footer.store-footer salla-trust-badges,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex { padding: 3px 6px !important; gap: 3px; }
  footer.store-footer .s-trust-badges-image { width: 16px !important; height: 16px !important; }
  footer.store-footer .s-trust-badges-label,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex p { font-size: 9px !important; }
  footer.store-footer .s-trust-badges-number,
  footer.store-footer .store-footer__inner > .container > div:first-child > div.flex > .flex b { font-size: 10px !important; }
}

/*### end(CSS - FOOTER - Secret Footer) ###*/