/* Home Scent — Raed draft 268616639. Native components only. 2026-09-11 */
:root{--color-primary:#b21f2d;--color-primary-dark:#921827;--color-primary-light:#f8e9eb;--hs-ink:#292321;--hs-cream:#fbf6ef}
body{color:var(--hs-ink)}
.s-block{margin-top:40px}
.s-slider-block__title h2{font-size:clamp(21px,2.2vw,30px);line-height:1.5;color:var(--hs-ink)}
/* Existing 960 x 720 image, fully visible, editable native caption. */
[data-testid="store-home-slider"]{background:var(--hs-cream);margin-top:0}
[data-testid="store-home-slider"] .swiper-slide{display:grid!important;grid-template-columns:1fr 1fr;align-items:center;min-height:0!important;height:auto!important;max-width:1200px;margin:auto;background:var(--hs-cream)}
[data-testid="store-home-slider"] .overlay-bg{position:relative!important;inset:auto!important;width:100%;aspect-ratio:4/3;background-size:contain!important;background-repeat:no-repeat;order:2}
[data-testid="store-home-slider"] .overlay-bg:after{display:none!important}
[data-testid="store-home-slider"] .home-slider__content{order:1;padding:32px;width:100%;height:auto;text-align:right}
[data-testid="store-home-slider"] .home-slider__content>div{width:100%;color:var(--hs-ink);text-align:right}
[data-testid="store-home-slider"] h2{font-size:clamp(28px,3.1vw,44px);line-height:1.4}
[data-testid="store-home-slider"] .description{display:block;-webkit-line-clamp:unset;overflow:visible;font-size:18px;line-height:1.9}
/* Native quick links: named links remain accessible; original category art is decorative. */
[data-testid="store-home-main-links"] .s-slider-swiper-wrapper{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;transform:none!important;height:auto}
[data-testid="store-home-main-links"] .swiper{overflow:visible;touch-action:pan-y}
[data-testid="store-home-main-links"] .swiper-slide{width:auto!important;margin:0!important;min-width:0}
[data-testid="store-home-main-links"] .slide--cat-entry{display:flex;flex-direction:column;align-items:center;width:100%;height:auto;padding:0;border:0;background:transparent;box-shadow:none}
[data-testid="store-home-main-links"] .slide--cat-entry>i{display:none}
[data-testid="store-home-main-links"] .slide--cat-entry:before{content:"";display:block;width:min(100%,150px);aspect-ratio:1;border-radius:50%;background:var(--hs-cream) var(--hs-category-image) center/contain no-repeat;border:1px solid #eedfd5;box-sizing:border-box;margin-bottom:12px}
[data-testid="store-home-main-links"] .slide--cat-entry h2{font-size:16px;font-weight:700;line-height:1.6;white-space:normal;text-align:center;margin:0;color:var(--hs-ink)}
/* Campaign backgrounds retain 4:3 space; captions sit below images. */
[data-testid="store-home-square-banners"] .banner-entry{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;height:auto!important;min-height:0;grid-column:auto;grid-row:auto;background-size:100% auto!important;background-position:center top!important;background-repeat:no-repeat;background-color:var(--hs-cream);border:1px solid #eedfd5;border-radius:18px;overflow:hidden}
[data-testid="store-home-square-banners"] .banner-entry:before{content:"";position:relative;inset:auto;display:block;width:100%;padding-top:75%;background:none;opacity:1}
[data-testid="store-home-square-banners"] .banner-entry:after{display:none}
[data-testid="store-home-square-banners"] .banner-entry__text{position:relative!important;inset:auto!important;transform:none!important;margin:0;padding:22px;max-width:none;width:100%;text-align:right;color:var(--hs-ink);border:0;background:var(--hs-cream)}
[data-testid="store-home-square-banners"] .banner__title{color:#b21f2d;font-size:23px;line-height:1.5}
[data-testid="store-home-square-banners"] .banner__description{display:block;opacity:1;font-size:15px;line-height:1.8;white-space:normal;color:var(--hs-ink)}
/* Preserve the original product options, pricing and purchase components. */
.s-product-card-entry{border-radius:14px;border:1px solid #eee4db;overflow:hidden}
.s-product-card-image img{object-fit:contain}
.s-product-card-content-title a{white-space:normal;line-height:1.6}
.s-product-card-content-footer{margin-top:auto}
.s-product-card-content-footer .s-button-primary{background:#b21f2d;border-color:#b21f2d;min-height:48px;color:white}
.store-footer{background:var(--hs-cream)}
@media(max-width:767px){
.s-block{margin-top:28px}
[data-testid="store-home-slider"]{margin-top:0}
[data-testid="store-home-slider"] .swiper-slide{grid-template-columns:1fr}
[data-testid="store-home-slider"] .home-slider__content{padding:24px 20px 12px}
[data-testid="store-home-slider"] .description{font-size:16px}
[data-testid="store-home-main-links"] .s-slider-swiper-wrapper{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 12px}
[data-testid="store-home-main-links"] .slide--cat-entry h2{font-size:13px}
[data-testid="store-home-square-banners"] .banner-entry__text{padding:20px}
}

[data-testid="store-home-main-links"] a[href*="/c609858084"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/70a98e46-6bec-4912-95f7-107377ecaeb8-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c965893409"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/1089ea9c-ac38-4f02-8762-41277f0b3a80-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c1699060515"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/7269ca45-0134-40dd-8f9f-5fe6c3e8dd2d-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c749799215"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/273b51e4-d68a-497c-9fcc-794d584056bb-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c149372921"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/e5f6d663-6a70-4ad4-a312-8a28551a3b71-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c1327890575"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/985990fd-96dd-4bc6-a5ff-4f7be4fbd07f-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c288949251"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/d4fa386a-d559-4f1b-83ed-9bc8e9ec4e08-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c203106236"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/9c0e304c-9a2b-439c-9b2f-0abfcb9cbaaa-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c1775791853"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/c7e4b714-3f99-4e09-8895-79deb081cdf7-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c1476871809"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/3b460a96-8ece-4d87-9d52-c55960e7b904-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c1340917805"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/549c9871-5593-46c9-a8b1-a5922341102b-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c1165169960"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/0c082492-2408-44c6-9843-017268731561-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c2035011623"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/1bf12b07-e058-442b-8659-c1db7a0cb82e-original.webp")}
[data-testid="store-home-main-links"] a[href*="/c536109003"]{--hs-category-image:url("https://cdn.files.salla.network/other/256653308/951e794a-6d18-48d5-942d-cc3cf5a69310-original.webp")}
:root{--font-main:"Tajawal"}body,input,select,textarea,button{font-family:var(--font-main),Arial,sans-serif}

/* Keep selected products on a quiet solid background. */
[data-testid="store-home-slider-products-header"]{background:var(--hs-cream);padding:24px 0}
[data-testid="store-home-slider-products-header"] .slider-bg{background-image:none!important;height:auto!important;min-height:0;color:var(--hs-ink)}
[data-testid="store-home-slider-products-header"] .slider-bg:before,[data-testid="store-home-slider-products-header"] .slider-bg:after{display:none}
[data-testid="store-home-slider-products-header"] .slider-bg>.container{padding-top:0}
[data-testid="store-home-slider-products-header"]>.container{margin-top:0!important}
[data-testid="store-home-slider-products-header"] h3{font-size:28px;color:var(--hs-ink)}
.s-product-card-content-subtitle,.s-product-card-rating,.s-product-card-wishlist-btn{display:none!important}
#karzoun-widget-send-button{position:fixed!important;left:20px!important;right:auto!important;bottom:20px!important}

/* Gate card purchase until actual Salla option data is known; no manual product list. */
custom-salla-product-card:not([data-hs-options-state="direct"]) .s-product-card-content-footer salla-add-product-button{display:none!important}
.hs-raed-options-link,.s-product-card-content-footer .s-button-element{display:flex;align-items:center;justify-content:center;min-height:48px;width:100%;border-radius:8px;background:#b21f2d!important;border-color:#b21f2d!important;color:#fff!important;font-size:15px;font-weight:700;text-decoration:none;position:relative;z-index:2}
.s-product-card-content-title{max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset;line-clamp:unset}

/* Native desktop banner titles are hover-only; keep editable campaign captions readable at rest. */
[data-testid="store-home-square-banners"] .banner__title{opacity:1!important;transform:none!important;transition:none!important;display:block}
[data-testid="store-home-square-banners"] .text-with-border:before,[data-testid="store-home-square-banners"] .text-with-border:after{display:none}
section[component-id="477315460"] .s-slider-swiper-wrapper{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:767px){section[component-id="477315460"] .s-slider-swiper-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Native hero caption CTA; preserve the original image and its 4:3 area. */
.hs-raed-discover{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-top:18px;padding:10px 26px;border-radius:8px;background:#b21f2d;color:#fff!important;font-weight:700;font-size:17px;text-decoration:none;position:relative;z-index:2}
.hs-raed-discover:focus-visible,.hs-raed-options-link:focus-visible{outline:3px solid #292321;outline-offset:3px}
#hs-raed-categories,#hs-product-options{scroll-margin-top:150px}
[data-testid="store-home-slider"] .home-slider__content>div{padding-bottom:0}
.s-product-card-content-footer{min-height:48px}
custom-salla-product-card[data-hs-options-state="pending"] .hs-raed-options-link{background:#645c57!important}
form.product-form salla-product-options{scroll-margin-top:150px}
#hs-product-options{display:block}
/* Round 3: keep native purchase labels and icons readable in two mobile columns. */
custom-salla-product-card .s-product-card-content-footer .s-button-element{padding-inline:6px!important}
custom-salla-product-card .s-product-card-content-footer .s-button-text{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;overflow:visible;text-overflow:clip;white-space:nowrap}
custom-salla-product-card .s-product-card-content-footer .s-button-text>i{flex:0 0 auto;margin:0!important}
custom-salla-product-card .s-product-card-content-footer .s-button-text>span{white-space:nowrap;overflow:visible;text-overflow:clip}
/* CLS correction: the six verified Miqrasa images are square. Lay out native
   pre-hydration slots as a gallery, instead of stacking every image vertically.
   No JS, no page hiding; hydrated native slider and controls remain unchanged. */
#details-slider-1059548100{display:block;position:relative}
#details-slider-1059548100>[slot="items"]{display:flex;align-items:stretch;width:100%;aspect-ratio:1;overflow:hidden}
#details-slider-1059548100>[slot="items"]>.swiper-slide{display:block;flex:0 0 100%;width:100%;min-width:0;aspect-ratio:1}
#details-slider-1059548100>[slot="items"]>.swiper-slide img{display:block;width:100%;height:100%;object-fit:contain}
#details-slider-1059548100>[slot="thumbs"]{display:flex;gap:10px;height:64px;margin-top:16px;overflow:hidden}
#details-slider-1059548100>[slot="thumbs"]>div{flex:0 0 20%;height:64px;min-width:0}
#details-slider-1059548100>[slot="thumbs"] img{width:100%;height:100%;object-fit:contain}
/* Pot 1881403821: five verified 900x900 images. Keep the native initial slots
   horizontal before hydration; thumbnails measured 64px high + 16px gap.
   Product-specific only. No image, player, purchase or tracking changes. */
#details-slider-1881403821{display:block;position:relative}
#details-slider-1881403821>[slot="items"]{display:flex;align-items:stretch;width:100%;aspect-ratio:1;overflow:hidden}
#details-slider-1881403821>[slot="items"]>.swiper-slide{display:block;flex:0 0 100%;width:100%;min-width:0;aspect-ratio:1}
#details-slider-1881403821>[slot="items"]>.swiper-slide img{display:block;width:100%;height:100%;object-fit:contain}
#details-slider-1881403821>[slot="thumbs"]{display:flex;gap:10px;height:64px;margin-top:16px;overflow:hidden}
#details-slider-1881403821>[slot="thumbs"]>div{flex:0 0 20%;height:64px;min-width:0}
#details-slider-1881403821>[slot="thumbs"] img{width:100%;height:100%;object-fit:contain}
/* Gallery CLS — 2026-09-11. Verified Raed type=thumbs markup only.
   First images in this scope are square. Keep native auto-height after Swiper
   initialization; do not change loading, zoom, slide links, or purchase code. */
:is(#details-slider-616899832,#details-slider-1289169697){display:block;position:relative;--hs-gallery-first-ratio:1;--hs-gallery-thumb-height:64px;--hs-gallery-initial-layout:slots-and-hydration-v1}
:is(#details-slider-616899832,#details-slider-1289169697)>[slot="items"]{display:flex;width:100%;aspect-ratio:var(--hs-gallery-first-ratio);overflow:hidden}
:is(#details-slider-616899832,#details-slider-1289169697) [slot="items"]>.swiper-slide{display:block;flex:0 0 100%;width:100%;min-width:0;aspect-ratio:var(--hs-gallery-first-ratio)}
:is(#details-slider-616899832,#details-slider-1289169697) [slot="items"]>.swiper-slide img{display:block;width:100%;height:100%;object-fit:contain}
:is(#details-slider-616899832,#details-slider-1289169697)>.s-slider-container:not(.swiper-initialized){display:block;width:100%;aspect-ratio:var(--hs-gallery-first-ratio);overflow:hidden}
:is(#details-slider-616899832,#details-slider-1289169697)>.s-slider-container:not(.swiper-initialized) [slot="items"]{display:flex;flex:0 0 100%;width:100%;min-width:0;height:100%;overflow:hidden}
:is(#details-slider-616899832,#details-slider-1289169697)>[slot="thumbs"],:is(#details-slider-616899832,#details-slider-1289169697)>.s-slider-thumbs{height:var(--hs-gallery-thumb-height);margin-top:16px}
:is(#details-slider-616899832,#details-slider-1289169697) [slot="thumbs"]{display:flex;gap:10px;overflow:hidden}
:is(#details-slider-616899832,#details-slider-1289169697)>.s-slider-thumbs [slot="thumbs"]{height:100%;margin-top:0}
:is(#details-slider-616899832,#details-slider-1289169697) [slot="thumbs"]>div{flex:0 0 20%;height:100%;min-width:0;padding:0}
:is(#details-slider-616899832,#details-slider-1289169697) [slot="thumbs"] img{width:100%;height:100%;object-fit:contain}
@media(min-width:768px){:is(#details-slider-616899832,#details-slider-1289169697){--hs-gallery-thumb-height:80px}}

/* Recorded transient x=132 -> x=10: neutralize generic carousel gutters only
   while these verified product galleries are not hydrated. */
:is(#details-slider-616899832,#details-slider-1289169697):not(.hydrated)>.s-slider-container,:is(#details-slider-616899832,#details-slider-1289169697):not(.hydrated) [slot="items"]{margin:0;padding:0}
:is(#details-slider-616899832,#details-slider-1289169697):not(.hydrated)>.s-slider-thumbs,:is(#details-slider-616899832,#details-slider-1289169697):not(.hydrated) [slot="thumbs"]{margin-left:0;margin-right:0;padding-left:0;padding-right:0}

/* Native intermediate DOM wraps each slot inside .swiper-wrapper. */
:is(#details-slider-616899832,#details-slider-1289169697) [slot="thumbs"]{flex:0 0 100%;width:100%;min-width:0}

/* Measured residual image x=5.67 -> 10.67: the native temporary wrapper
   also receives generic carousel padding. Reset only during hydration. */
:is(#details-slider-616899832,#details-slider-1289169697):not(.hydrated)>.s-slider-container>.swiper-wrapper{margin:0;padding:0}