/* Salma Collection - customer storefront footer V3 */
:root{--sc-ink:#172554;--sc-text:#26324a;--sc-muted:#718096;--sc-line:#e7ebf2;--sc-soft:#f7f9fc;--sc-rose:#d94f7d;--sc-rose-soft:#fff2f6;--sc-gold:#d6a756;--sc-green:#16a36a}

/* Remove the old floating white trust slab and build a proper page ending */
.salam-footer{margin-top:64px!important;background:#fff!important;color:var(--sc-text)!important;border-top:1px solid var(--sc-line)!important;padding:0!important;box-shadow:none!important}
.salam-footer .footer-trust{position:relative!important;transform:none!important;margin:0 auto!important;max-width:1180px!important;padding:30px 0!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;background:#fff!important;border:0!important;border-bottom:1px solid var(--sc-line)!important;border-radius:0!important;box-shadow:none!important}
.salam-footer .footer-trust>div{min-height:64px!important;padding:0 24px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:6px!important;border-left:1px solid var(--sc-line)!important;background:transparent!important;text-align:right!important}
.salam-footer .footer-trust>div:last-child{border-left:0!important}
.salam-footer .footer-trust b{color:var(--sc-ink)!important;font-size:14px!important;font-weight:800!important}
.salam-footer .footer-trust small{color:var(--sc-muted)!important;font-size:10.5px!important;line-height:1.7!important}

.salam-footer .footer-grid{max-width:1180px!important;margin:0 auto!important;padding:44px 0 38px!important;display:grid!important;grid-template-columns:1.55fr .8fr .9fr 1fr!important;gap:56px!important;background:#fff!important;color:var(--sc-text)!important}
.salam-footer .footer-grid h3{color:var(--sc-ink)!important;font-size:14px!important;margin:0 0 17px!important;position:relative!important;padding-bottom:11px!important}
.salam-footer .footer-grid h3:after{content:"";position:absolute;right:0;bottom:0;width:28px;height:2px;border-radius:5px;background:var(--sc-rose)}
.salam-footer .footer-grid a{color:#5c667a!important;font-size:11px!important;line-height:2.15!important;text-decoration:none!important;transition:.2s ease!important}
.salam-footer .footer-grid a:hover{color:var(--sc-rose)!important;transform:translateX(-2px)}
.salam-footer .footer-grid p{color:var(--sc-muted)!important;font-size:10.5px!important;line-height:1.9!important;margin:12px 0 0!important}
.salam-footer .footer-brand{padding-left:22px!important}
.salam-footer .footer-logo{display:flex!important;align-items:center!important;gap:13px!important;margin-bottom:14px!important;line-height:1.2!important}
.salam-footer .footer-logo img{width:58px!important;height:58px!important;object-fit:cover!important;border-radius:14px!important;border:1px solid var(--sc-line)!important;box-shadow:0 8px 24px rgba(23,37,84,.08)!important}
.salam-footer .footer-logo b{display:block!important;color:var(--sc-ink)!important;font-size:17px!important;font-weight:800!important}
.salam-footer .footer-logo small{display:inline-flex!important;margin-top:7px!important;padding:5px 9px!important;border-radius:999px!important;background:var(--sc-rose-soft)!important;color:var(--sc-rose)!important;font-size:9px!important;font-weight:800!important}
.salam-footer .footer-social{display:flex!important;gap:8px!important;margin-top:18px!important}
.salam-footer .footer-social a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;height:36px!important;padding:0 13px!important;border-radius:10px!important;color:#fff!important;line-height:1!important;font-weight:700!important;transform:none!important}
.salam-footer .footer-social .fb{background:#1877f2!important}.salam-footer .footer-social .wa{background:#16a36a!important}
.salam-footer .copy{max-width:1180px!important;margin:0 auto!important;padding:18px 0 22px!important;border-top:1px solid var(--sc-line)!important;color:#8b94a6!important;background:#fff!important;text-align:center!important;font-size:10px!important}

/* Latest products should never create a huge dead zone when it has no cards */
.products-section.salam-products-panel{min-height:0!important}
.products-section.salam-products-panel .product-carousel-track:empty{display:none!important}
.products-section.salam-products-panel:has(.product-carousel-track:empty){display:none!important}

/* Old three promo boxes above products were visually heavy */
.v38-benefits{max-width:1180px!important;margin:34px auto!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:12px!important}
.v38-benefits .benefit-card{border:1px solid var(--sc-line)!important;border-radius:16px!important;box-shadow:none!important;background:#fff!important;min-height:96px!important;padding:18px!important}
.v38-benefits .benefit-card:before{display:none!important}.v38-benefits .benefit-icon{background:var(--sc-soft)!important;color:var(--sc-ink)!important}.v38-benefits .benefit-card em{color:var(--sc-rose)!important;border:0!important}

@media(max-width:900px){.salam-footer .footer-trust{grid-template-columns:repeat(2,1fr)!important;padding:20px!important}.salam-footer .footer-trust>div{border:0!important;border-bottom:1px solid var(--sc-line)!important;padding:16px!important}.salam-footer .footer-grid{grid-template-columns:1.2fr 1fr!important;gap:32px!important;padding:34px 20px!important}.salam-footer .copy{margin:0 20px!important}.v38-benefits{grid-template-columns:1fr!important;margin-inline:18px!important}}
@media(max-width:600px){.salam-footer{margin-top:38px!important}.salam-footer .footer-trust{grid-template-columns:1fr!important}.salam-footer .footer-grid{grid-template-columns:1fr!important;gap:28px!important}.salam-footer .footer-brand{padding-left:0!important}}

/* V4 - footer typography & contrast hotfix */
.salam-footer{font-family:"Cairo",Tahoma,Arial,sans-serif!important}
.salam-footer .footer-trust b{color:#0f1f46!important;font-size:16px!important;font-weight:800!important;line-height:1.55!important}
.salam-footer .footer-trust small{color:#526079!important;font-size:12.5px!important;font-weight:600!important;line-height:1.8!important}
.salam-footer .footer-grid h3{color:#0f1f46!important;font-size:16px!important;font-weight:800!important;line-height:1.5!important}
.salam-footer .footer-grid a{color:#44516a!important;font-size:13px!important;font-weight:600!important;line-height:2.25!important}
.salam-footer .footer-grid p{color:#526079!important;font-size:12.5px!important;font-weight:500!important;line-height:2!important}
.salam-footer .footer-logo b{color:#0f1f46!important;font-size:18px!important;font-weight:800!important}
.salam-footer .footer-logo small{font-size:11px!important;font-weight:800!important;color:#b72f60!important;background:#fff0f5!important}
.salam-footer .footer-social a{font-size:12.5px!important;font-weight:800!important}
.salam-footer .copy{color:#5f6b80!important;font-size:11.5px!important;font-weight:600!important}
.salam-footer .footer-grid a:hover{color:#c93f70!important}
@media(max-width:600px){.salam-footer .footer-trust b{font-size:15px!important}.salam-footer .footer-trust small,.salam-footer .footer-grid p{font-size:12px!important}.salam-footer .footer-grid a{font-size:13px!important}}
