:root{--brand:#4A93CF;--brand-dark:#102341;--brand-soft:#E8F1F9}
.s-block__title h2,.s-block__title h3,.s-block-title{color:var(--brand-dark);font-weight:800}
custom-salla-product-card{display:block;height:100%}
.prestige-card{height:100%;background:#fff;border:1px solid #E8EEF3;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(16,35,65,.05);transition:transform .25s,box-shadow .25s}
.prestige-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(16,35,65,.12)}
.prestige-card>a{display:block}
.prestige-card .img{aspect-ratio:1/1;width:100%;overflow:hidden;background:#fff;border-radius:0}
.prestige-card .img img{width:100%;height:100%;object-fit:cover;border-radius:0}
.prestige-card>div.flex-col{flex:1;margin-top:0;padding:12px}
.prestige-card h5{color:var(--brand-dark);font-weight:700;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3em;margin:0 0 8px}
.prestige-card>div.flex-col>span.text-sm{margin-top:auto}
.prestige-card .s-product-card-price{color:var(--brand);font-weight:800}
.s-product-card-quick-view-btn,.prestige-product-card-content-icon{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
.s-button-primary{background:var(--brand);border-color:var(--brand);color:#fff;border-radius:10px}
.s-button-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}

/* Categories */
.prestige-main-links .swiper-slide{padding:0 6px;margin:0!important}
.prestige-main-links .aspect-square{border-radius:16px;overflow:hidden;box-shadow:0 6px 18px rgba(16,35,65,.12);isolation:isolate}
.prestige-main-links .aspect-square img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.prestige-main-links .aspect-square:hover img{transform:scale(1.07)}
.prestige-main-links .aspect-square::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(16,35,65,.18) 0%,rgba(16,35,65,.35) 40%,rgba(16,35,65,.88) 100%)}
.prestige-main-links .text{top:auto!important;bottom:0;transform:none!important;z-index:2;padding:0 12px 16px}
.prestige-main-links .text h3{color:#fff!important;font-size:1.05rem;font-weight:700;line-height:1.4;text-shadow:0 1px 6px rgba(0,0,0,.35)}
.prestige-main-links .text h3::after{content:"";display:block;width:30px;height:3px;border-radius:2px;background:var(--brand);margin:8px auto 0;transition:width .3s}
.prestige-main-links .aspect-square:hover .text h3::after{width:56px}
.prestige-main-links::before{content:"تسوقي حسب التصنيف";display:block;text-align:center;color:var(--brand-dark);font-size:1.6rem;font-weight:800;margin-bottom:6px}
.prestige-main-links::after{content:"";display:block;width:56px;height:4px;border-radius:3px;background:var(--brand);margin:0 auto 22px}
.prestige-main-links .text h3{font-size:1.15rem;text-shadow:0 2px 8px rgba(0,0,0,.6)}
.s-block--categories{background:#fff;padding-bottom:24px}
.prestige-main-links{background:#fff!important;max-width:100%!important;padding:28px 16px 24px!important}/* keep a single lens product in the featured grid */
custom-salla-product-card:has(a[href*="عدسات"]) ~ custom-salla-product-card:has(a[href*="عدسات"]){display:none!important}/* Hero slider: shorter, responsive height */
.s-block--hero-slider .swiper-slide,.s-block--hero-slider .swiper-slide>div{min-height:300px!important;height:300px!important}
@media(min-width:1024px){.s-block--hero-slider .swiper-slide,.s-block--hero-slider .swiper-slide>div{min-height:400px!important;height:400px!important}}
.s-block--hero-slider .swiper-slide img{height:100%;object-fit:cover}
.s-block--hero-slider,.s-block--hero-slider salla-slider,.s-block--hero-slider .s-slider-container,.s-block--hero-slider .s-slider-swiper-wrapper{height:auto!important;min-height:0!important}
.s-block--categories{margin-top:0!important}/* Hero slider: mobile = text on top, photo strip below */
@media(max-width:767px){
.s-block--hero-slider .swiper-slide,.s-block--hero-slider .swiper-slide>div{min-height:380px!important;height:380px!important}
.s-block--hero-slider .swiper-slide{background:#F5F7F9}
.s-block--hero-slider .prestige-image{background-size:min(150%,600px) auto!important;background-position:right bottom!important;background-repeat:no-repeat!important;-webkit-mask-image:linear-gradient(to bottom,transparent 46%,#000 68%);mask-image:linear-gradient(to bottom,transparent 46%,#000 68%)}
.s-block--hero-slider .swiper-slide>div.absolute{inset:0 0 auto 0!important;height:auto!important;min-height:0!important;justify-content:flex-start!important;padding:18px 16px 0!important;z-index:2}
.s-block--hero-slider .prestige-enhanced-slider-text{width:92%!important}
.s-block--hero-slider .prestige-enhanced-slider-text h3{font-size:1.45rem!important;line-height:1.3;margin-bottom:.35rem!important}
.s-block--hero-slider .prestige-description{font-size:.82rem!important;width:100%!important;margin-bottom:.55rem}
.s-block--hero-slider .prestige-button{padding:.35rem 1rem!important;font-size:.85rem}
}
@media(max-width:480px){.s-block--hero-slider .prestige-image{background-size:128vw auto!important;background-position:-46vw bottom!important}}
/* Hero slider (phones): hair-care slide - more gap under the button, photo centered */
@media(max-width:480px){.s-block--hero-slider .swiper-slide:first-child .prestige-image{background-size:118vw auto!important;background-position:-37vw calc(100% - 10px)!important}}
/* hero: show whole product image, no cropping */
.s-block--hero-slider .swiper-slide{background-color:#F5F7F9}
.s-block--hero-slider .swiper-slide .prestige-image{background-repeat:no-repeat!important}
@media(max-width:767px){
.s-block--hero-slider .swiper-slide{height:400px!important;min-height:400px!important}
.s-block--hero-slider .swiper-slide .prestige-image,.s-block--hero-slider .swiper-slide:first-child .prestige-image{background-size:contain!important;background-position:center calc(100% - 10px)!important;-webkit-mask-image:none!important;mask-image:none!important}
}
@media(min-width:768px){
.s-block--hero-slider .swiper-slide .prestige-image{background-size:contain!important;background-position:center bottom!important}
}
/* desktop: push skin-care photo away from the text */
@media(min-width:768px){.s-block--hero-slider .swiper-slide:nth-child(2) .prestige-image{background-position:right 3% bottom!important}}

/* Footer - brand */
footer{--color-footer-main:#102341;--color-footer-text:#fff;background:#102341!important;color:rgba(255,255,255,.86)!important;border-top:4px solid #FFFFFF}
footer p,footer li,footer a,footer span,footer .info{color:rgba(255,255,255,.86)!important}
footer a:hover{color:#FFFFFF!important}
footer h1,footer h2,footer h3,footer h4,footer h5{color:#fff!important;position:relative;padding-bottom:10px}
footer h1::after,footer h2::after,footer h3::after,footer h4::after,footer h5::after{content:"";position:absolute;bottom:0;right:0;width:36px;height:3px;border-radius:2px;background:#4A93CF}
footer .logo{background:#fff;border-radius:14px;padding:10px 14px;width:9rem}
footer .border-b,footer hr,footer [class*="border-t"],footer [class*="border-b"]{border-color:rgba(255,255,255,.16)!important}
footer [class*="rounded-full"]{border-color:#FFFFFF!important;color:#FFFFFF!important;background:rgba(255,255,255,.12)}
footer svg,footer i{color:#FFFFFF}
footer [class*="rounded-full"]:hover{background:#FFFFFF;color:#fff!important}

.copyright{background:#0A1630!important;border-top:1px solid rgba(255,255,255,.1);padding:14px 16px!important}
.copyright p,.copyright span,.copyright a{color:rgba(255,255,255,.7)!important;margin:0!important}
/* Header - one row on desktop: logo | menu | icons */
@media(min-width:1024px){
.store-header nav>div{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:16px;max-width:1600px;margin:0 auto;padding:0 28px;min-height:76px}
.store-header .prestige-header{display:contents!important}
.store-header .prestige-header>a{order:1;flex:none}
.store-header .navbar-mobile-menu{order:2;flex:1 1 auto;min-width:0;width:auto!important;padding:0!important;margin:0!important;display:flex;justify-content:center}
.store-header .prestige-header>div:first-child{order:3;flex:none}
.store-header .prestige-header>div:last-child{order:4;flex:none}
.store-header .prestige-logo{width:88px!important;height:auto!important}
.store-header .prestige-header>a{height:auto!important;width:auto!important}
  footer li:has(img[alt="mahally_customer_wallet"]){display:none!important}
.store-header .mobile-menu,.store-header .main-menu{width:auto!important;max-width:100%;height:auto!important}
.store-header .main-menu{flex-wrap:nowrap!important;justify-content:center;gap:2px;white-space:nowrap}
.store-header .main-menu>li.root-level>a{font-size:.95rem;font-weight:700;padding:8px 10px;color:#102341}
.store-header .main-menu>li.root-level>a:hover{color:#4A93CF}
.store-header .main-menu>li:nth-child(n+14){display:none!important}
}
@media(min-width:1024px) and (max-width:1279px){.store-header .main-menu>li:nth-child(n+12){display:none!important}}
/* Palette: navy #102341 · royal blue #4A93CF · deep blue #2F78B5 · white */
.s-product-card-sale-price h4,.s-product-card-price,.s-product-card-price *{color:#102341!important}
.s-product-card-sale-price del,.s-product-card-sale-price span{color:#8a93a6!important}
.s-product-card-promotion-title,.s-product-card-badge{background:#4A93CF!important;color:#fff!important}
.header-btn__icon,.sicon-shopping-bag{color:#102341}
.s-cart-summary-count,salla-cart-summary .s-cart-summary-count{background:#4A93CF!important;color:#fff!important}
/* Theme colour variables -> business-card palette */
html:root{--color-primary:#4A93CF;--color-primary-dark:#2F78B5;--color-primary-light:#5FA1D7;--color-primary-reverse:#FFFFFF;--color-breadcrumbs:#4A93CF;--color-text-breadcrumbs:#102341;--main-text-color:#102341;--brand:#4A93CF;--brand-dark:#102341;--brand-soft:#E8F1F9}
/* Top announcement + scrolling bar */
.salla-advertisement{background:#4A93CF!important}
.salla-advertisement,.salla-advertisement *{color:#fff!important}
.prestige-text{background:#102341!important}
.prestige-text,.prestige-text *{color:#fff!important;font-weight:700}
/* Premium banner section */
.prestige-banner_rectangle,.s-block--banners{background:#fff!important}
.prestige-banner_rectangle{padding-top:48px!important;padding-bottom:48px!important}
.prestige-banner_rectangle a,.prestige-banner_rectangle img{border-radius:22px}
.prestige-banner_rectangle a{display:block;overflow:hidden;box-shadow:0 18px 40px -18px rgba(16,35,65,.45);transition:transform .35s ease,box-shadow .35s ease}
.prestige-banner_rectangle a:hover{transform:translateY(-4px);box-shadow:0 26px 50px -18px rgba(74,147,207,.5)}
.prestige-banner_rectangle img{display:block;width:100%;height:auto}
@media(min-width:768px){.prestige-banner_rectangle .grid,.prestige-banner_rectangle>div>div{gap:28px!important}}
/* Premium "why us" section */
.prestige-features{background:linear-gradient(180deg,#fff 0%,#F3F8FC 100%)!important;padding:36px 0 44px}
.prestige-features h3{color:#102341;font-weight:800;position:relative;padding-bottom:14px;margin-bottom:6px}
.prestige-features h3::after{content:"";display:block;width:56px;height:4px;border-radius:4px;background:#4A93CF;margin:12px auto 0}
.prestige-features .mb-5 p{color:#102341;opacity:.75}
.prestige-features .swiper-slide{background:#fff;border:1px solid #D9E7F4;border-radius:24px;padding:30px 22px;width:270px!important;max-width:270px!important;box-shadow:0 14px 34px -20px rgba(16,35,65,.45);transition:transform .3s ease,box-shadow .3s ease,background .3s ease}
.prestige-features .swiper-slide:hover{transform:translateY(-6px);box-shadow:0 22px 44px -20px rgba(74,147,207,.5)}
.prestige-features .swiper-slide>span{width:68px;height:68px;border-radius:20px;background:linear-gradient(135deg,#102341,#2F78B5);color:#fff!important;font-size:30px!important;box-shadow:0 10px 22px -10px rgba(16,35,65,.7);transition:background .3s ease}
.prestige-features .swiper-slide:hover>span{background:linear-gradient(135deg,#4A93CF,#2F78B5)}
.prestige-features .swiper-slide h6{color:#102341;font-weight:800;padding-top:10px}
.prestige-features .swiper-slide p{color:#102341}

.prestige-features .swiper-slide{align-items:center!important;text-align:center!important}
.prestige-features .swiper-slide>span{margin-left:auto;margin-right:auto;display:flex!important;align-items:center;justify-content:center}

/* why-us: stack cards vertically on mobile/tablet */
@media(max-width:767px){
.prestige-features .swiper-wrapper{flex-direction:column!important;transform:none!important;gap:16px;height:auto!important;padding:0 16px}
.prestige-features .swiper-slide{width:100%!important;max-width:100%!important;margin:0!important;height:auto!important}
.prestige-features .swiper-container,.prestige-features .swiper{overflow:visible}
}
/* WhatsApp floating button */
.wa-float{position:fixed;bottom:84px;left:16px;z-index:60;display:flex;align-items:center;gap:8px;background:#25D366;color:#fff!important;padding:12px 16px;border-radius:999px;font-weight:700;font-size:14px;box-shadow:0 12px 26px -10px rgba(16,35,65,.55);transition:transform .25s ease}
.wa-float:hover{transform:translateY(-3px)}
.wa-float span{line-height:1}
@media(max-width:640px){.wa-float span{display:none}.wa-float{padding:13px;bottom:88px}}
@media(min-width:1024px){.wa-float{bottom:24px}}
/* why-us: one row from tablet up */
@media(min-width:768px){
.prestige-features .swiper-wrapper{flex-direction:row!important;flex-wrap:nowrap!important;transform:none!important;justify-content:center;gap:16px;padding:0 12px}
.prestige-features .swiper-slide{width:calc(25% - 12px)!important;max-width:calc(25% - 12px)!important;margin:0!important;padding:26px 14px}
}
/* hero: on desktop push the product image to the right, away from the text */
@media(min-width:768px){.s-block--hero-slider .swiper-slide .prestige-image{background-position:right -9vw bottom!important}}
@media(min-width:768px){.s-block--hero-slider .swiper-slide:nth-child(n) .prestige-image{background-position:right -9vw bottom!important}}

/* MA-FIX-1: product card action buttons, categories spacing */
salla-button.s-product-card-quick-view-btn,salla-add-product-button.prestige-product-card-content-icon{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
button.s-product-card-quick-view-btn,.prestige-product-card-content-icon .s-button-element{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important}
.prestige-main-links{padding-top:48px!important}
.prestige-main-links::before{margin-bottom:22px!important}
/* MA-FIX-2: hero slider image position + arrows */
@media(min-width:768px){.s-block--hero-slider .prestige-image{background-position:right 3% bottom!important}}
.s-block--hero-slider .s-slider-nav-arrow{background:#fff!important;border:1px solid rgba(20,35,63,.18)!important;box-shadow:0 4px 14px rgba(20,35,63,.2)!important}
/* MA-FIX-3: hair slide on phones (image v6 has content on the left) */
@media(max-width:767px){.s-block--hero-slider .swiper-slide:first-child .prestige-image{background-size:min(92vw,360px) auto!important;background-position:calc(50vw - min(27.6vw,108px)) calc(100% - 8px)!important}}
/* MA-FIX-4: skin slide on phones (same layout as hair slide) */
@media(max-width:767px){.s-block--hero-slider .swiper-slide:nth-child(2) .prestige-image{background-size:min(92vw,360px) auto!important;background-position:calc(50vw - min(27.6vw,108px)) calc(100% - 8px)!important}}
/* MA-FIX-5: remove empty 80px mobile-menu block under the logo (mobile/tablet only) */
@media(max-width:1023px){.navbar-mobile-menu{height:0!important;min-height:0!important;padding:0!important}}

/* testimonials: space between quote icon and text */
.prestige-custom-testimonials .testimonial__text{padding-top:36px}
@media(max-width:640px){.prestige-custom-testimonials .testimonial__text{padding-top:30px}}

/* hero section: remove double top margin from the html-content wrappers */
.s-block--bundle-html-content:has(#sbh),.s-block-html-content:has(#sbh){margin-top:0!important}