/* LoveMe Beauty – draft product and category polish */
html{scroll-behavior:smooth;scroll-padding-top:110px}
custom-salla-product-card{border-radius:14px!important;overflow:hidden;background:#fff!important;border-color:#eadfe9!important}
custom-salla-product-card .s-product-card-image{background:#fff;aspect-ratio:1;overflow:hidden}
custom-salla-product-card .s-product-card-image img{object-fit:contain!important;width:100%;height:100%}
custom-salla-product-card .s-product-card-content{padding:14px!important;gap:10px}
custom-salla-product-card .s-product-card-content-title{font-size:14px!important;line-height:1.7!important;min-height:3.4em}
custom-salla-product-card .s-product-card-price{color:#863940!important;font-weight:700}
custom-salla-product-card .s-product-card-rating{background:#fff8e9!important;color:#75561a!important;border-radius:20px;padding:4px 8px;font-size:13px}
custom-salla-product-card:has(.s-product-card-discount) .s-product-card-promotion-title{display:none!important}
custom-salla-product-card .s-product-card-discount{background:#863940!important;border-radius:0 0 8px 0}
custom-salla-product-card .s-button-primary{background:#863940!important;border-color:#863940!important;min-height:40px;border-radius:8px}
/* Preserve original catalog titles, including on the homepage. */
body:has(.lm-home) custom-salla-product-card .s-product-card-content-title a{font-size:14px!important;color:#53283d!important;line-height:1.7!important}
body:has(.lm-home) custom-salla-product-card .s-product-card-content-title a:after{content:none!important;display:none!important}
[id^="product-"]>.main-content h1{font-size:24px;line-height:1.65;color:#53283d}
[id^="product-"] .product-form{display:flex;flex-direction:column;gap:16px}
.product-form>#product-tabs-options{order:0;margin:0;padding:16px;background:#f7f1f8;border:1px solid #eadfe9;border-radius:14px}
.product-form>#product-tabs-options:not(:has(salla-product-options)){display:none}
.product-form>.sticky-product-bar{order:1;margin-top:0}
.product-form>salla-installment{order:2}
.product-form>.product-sku-wrapper{order:3;font-size:13px;color:#796776}
.product-form>#product-tabs{order:4;margin:0;padding:22px;border:1px solid #eadfe9;border-radius:14px;background:white}
.product-form>#product-tabs-faqs{order:5;margin:8px 0 0;padding:24px;background:#f7f1f8;border:1px solid #e5d8e8;border-radius:16px;scroll-margin-top:110px}
.product-form>#product-tabs-faqs:before{content:"تقييمات العميلات";display:block;font-size:23px;font-weight:700;color:#863940;margin-bottom:20px}
#product-tabs-details{line-height:1.95;font-size:15px}
#product-tabs-details p:empty{display:none}
#product-tabs-details h3{margin:24px 0 12px;color:#863940}
.product-form salla-comments .s-comments-item{background:#fff;border:1px solid #eadfe9;padding:18px;border-radius:12px;margin-bottom:14px}
[id^="product-"]>.main-content>div:has(>salla-rating-stars){margin-bottom:12px}
[id^="product-"] salla-bought-together{display:none!important}
body:has(.product-form) salla-products-slider[source="related"]{display:none!important}
.sticky-product-bar{border:1px solid #e7dbe5!important;border-radius:14px!important;box-shadow:0 -3px 18px #53283d0b}
#subcat-slider{padding:20px 0}
#subcat-slider a{font-weight:600;color:#53283d}
#subcat-slider a img{object-fit:contain!important;background:#f1e7f4;padding:8px;border-radius:40%!important}
@media(max-width:767px){[id^="product-"]>.main-content h1{font-size:19px;line-height:1.7}.product-form>#product-tabs,.product-form>#product-tabs-faqs{padding:18px}.product-form>#product-tabs-faqs:before{font-size:21px}.s-product-card-content-title{font-size:13px!important}.sticky-product-bar{padding:12px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Keep the description and genuine reviews easy to read. */
.product-form>#product-tabs-options:has(salla-product-options:empty){display:none!important}
.product-form>salla-cashback-banner{order:3}
.product-form>.sku{order:3}
[id^="product-"]>.main-content>salla-rating-stars[reviews]{background:#fff7e6;border:1px solid #ecdfc2;border-radius:24px;padding:8px 14px;margin:12px 0;max-width:100%}
[id^="product-"]>.main-content>salla-rating-stars .s-rating-stars-reviews{font-weight:600;color:#73551b}
.product-reviews:not(:has(.s-comments-item)):after{content:"لا توجد تقييمات بعد لهذا المنتج";display:block;padding:16px 0;color:#766375;font-size:14px}
body:has(.product-form) .container:has(>salla-products-slider[source="related"]){display:none!important}
/* More comfortable category banners on mobile. */
@media(max-width:767px){body:has(#page-main-title) img[src*="ab80b268-c2f2-48ef-87ca-c38ae982cc85"]{content:url("https://cdn.files.salla.network/other/527492400/70d2476f-7aa4-418d-a6b6-5cfd07f9906b-original.png")}body:has(#page-main-title) img[src*="9b48c017-cadf-4d37-ba7c-a328775518be"]{content:url("https://cdn.files.salla.network/other/527492400/7c887578-4a5a-4f6d-b907-cd66a41447b5-original.png")}body:has(#page-main-title) img[src*="7de67740-b131-47d5-81f0-1c1724281024"]{content:url("https://cdn.files.salla.network/other/527492400/373a7843-a138-4d5d-8ea1-ddf571ec468e-original.png")}}














/* Keep genuine product ratings visible while browsing on phones. */
@media(max-width:767px){custom-salla-product-card .s-product-card-image{position:relative!important}custom-salla-product-card .s-product-card-rating{display:flex!important;visibility:visible!important;opacity:1!important;position:absolute!important;top:auto!important;bottom:10px!important;left:8px!important;right:auto!important;z-index:6!important;transform:none!important;gap:4px!important;align-items:center!important;background:#fff8e8!important;color:#795719!important;border:1px solid #eadab4!important;border-radius:20px!important;padding:5px 9px!important;min-height:27px!important;font-size:13px!important;line-height:1.2!important;box-shadow:0 1px 4px #53283d12}custom-salla-product-card .s-product-card-rating i{color:#d5a335!important;font-size:14px!important}custom-salla-product-card .s-product-card-rating span{display:inline!important;font-weight:600!important}}