/* Rosya Cosmetics: readable Arabic and independent WhatsApp buttons. */
:root { --font-family: 'Almarai', Tahoma, Arial, sans-serif; --font-heading-family: 'Almarai', Tahoma, Arial, sans-serif; --font-subheading-family: 'Almarai', Tahoma, Arial, sans-serif; --font-button-family: 'Almarai', Tahoma, Arial, sans-serif; }
body { font-family: 'Almarai', Tahoma, Arial, sans-serif; font-size:16px; line-height:1.8; }
.heading,.subheading,.description,button,a,input,select,textarea { font-family:'Almarai',Tahoma,Arial,sans-serif; }
a[href^="https://wa.me/"][ui-slot="button"] { display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:10px; min-height:52px!important; padding:14px 24px!important; border:0!important; border-radius:14px!important; background:#168544!important; color:#fff!important; font-size:17px!important; font-weight:700!important; line-height:1.6!important; text-align:center; white-space:normal; text-decoration:none!important; box-sizing:border-box; }
a[href^="https://wa.me/"][ui-slot="button"]:hover { background:#106b35!important; }
a[href^="https://wa.me/"]:focus-visible { outline:3px solid #6b304b; outline-offset:4px; }
[ui-section="slideshow"] .description { font-size:17px!important; line-height:1.9!important; }
[ui-section="slideshow"] .subheading { font-size:16px!important; line-height:1.8!important; }
[ui-section="slideshow"] .heading { font-size:42px!important; line-height:1.5!important; }
[ui-section="faqs"] .description,[ui-section="faqs"] .items-area { font-size:16px; line-height:1.9; }
[ui-section="faqs"] .heading,[ui-section="product-tabs"] .heading { font-size:30px!important; line-height:1.6!important; }
.rosya-empty-products { grid-column:1/-1; width:100%; padding:28px 16px; border-radius:20px; background:#fff4f7; text-align:center; list-style:none; }
.rosya-empty-products p { margin-bottom:18px; }
@media(min-width:770px) {
 [ui-section="slideshow"] [ui-slot="carousel-item"] .content { left:0!important; right:auto!important; width:52%; align-items:center!important; text-align:center!important; padding:40px!important; color:#282020!important; }
 [ui-section="slideshow"] [ui-slot="carousel-item"] .content [ui-slot="head"] { text-align:center!important; }
}
@media(max-width:769px) {
 [ui-section="slideshow"] [ui-slot="carousel"] { padding-inline:16px!important; }
 [ui-section="slideshow"] [ui-slot="carousel-item"] .media { height:300px!important; }
 [ui-section="slideshow"] [ui-slot="carousel-item"] .media img { width:100%;height:100%;object-fit:cover;object-position:center 75%; }
 [ui-section="slideshow"] [ui-slot="carousel-item"] .content { position:static!important; height:auto!important; padding:24px 8px!important; align-items:center!important; text-align:center!important; color:#282020!important; }
 [ui-section="slideshow"] .heading { font-size:30px!important; }
 [ui-section="slideshow"] .description { font-size:16px!important; }
 [ui-section="slideshow"] .cta { margin-top:12px!important; width:100%!important; max-width:340px; }
 [ui-section="faqs"] { padding-inline:20px!important; gap:28px!important; }
 [ui-section="faqs"] .heading,[ui-section="product-tabs"] .heading { font-size:25px!important; }
 [ui-section="faqs"] .cta { width:100%!important; max-width:340px; }
 [ui-layout="navbar"] .name { font-size:17px!important; }
}

/* Soft pink storefront background. */
html, body, #app, #main { background-color:#FFF5F8!important; }
#main [ui-section], [ui-layout="navbar"], [ui-layout="footer"] { background-color:#FFF5F8!important; }

/* Explicit mobile surfaces, including the area below the hero image. */
@media (max-width: 1028px) {
 html body, body #app, body #main,
 body #app > .youcan-section, body #main > .youcan-section,
 body #main [ui-section], body [ui-layout="navbar"], body [ui-layout="footer"],
 body [ui-section="slideshow"] [ui-slot="carousel"],
 body [ui-section="slideshow"] [ui-slot="carousel-item"],
 body [ui-section="slideshow"] .content,
 body [ui-section="slideshow"] [ui-slot="head"],
 body [ui-section="faqs"] .content-area,
 body [ui-section="faqs"] .items-area {
   background-color: #FFF5F8 !important;
   background-image: none !important;
 }
}

/* Rosya final: readable logo, mobile layout, and WhatsApp ordering. */
[ui-layout="navbar"] .logo img, [ui-layout="footer"] .logo img { width:180px; max-width:100%; height:auto; }
[ui-layout="navbar"] { grid-template-columns:minmax(180px,1fr) 4fr 1fr; }
[ui-section="slideshow"] .subheading { direction:ltr; unicode-bidi:isolate; letter-spacing:2px; color:#6b304b; font-weight:700; }
[ui-block="description"] article { line-height:1.95; overflow-wrap:anywhere; }
[ui-block="description"] article p { margin-block:0 16px; }
[ui-block="controller"] { display:block!important; width:100%; }
.rosya-product-whatsapp { white-space:normal!important; }
ui-shop-bar { background:#FFF5F8!important; padding-bottom:max(10px,env(safe-area-inset-bottom)); }
ui-shop-bar .actions { min-width:250px; }
[ui-section="page"] { overflow-wrap:anywhere; }
@media(max-width:769px) {
 [ui-layout="navbar"] { grid-template-columns:1fr auto 1fr; padding-inline:16px; gap:10px; }
 [ui-layout="navbar"] .logo img,[ui-layout="footer"] .logo img { width:140px; max-width:140px; height:auto; }
 [ui-layout="footer"] .main-area { gap:28px; }
 [ui-section="slideshow"] .subheading { font-size:17px!important; letter-spacing:1.5px; }
 [ui-section="slideshow"] [ui-slot="carousel-item"] .media { height:clamp(220px,70vw,300px)!important; }
 [ui-section="single-product"] { padding-inline:16px; }
 [ui-block="title"] { overflow-wrap:anywhere; line-height:1.6!important; }
 ui-shop-bar { padding-inline:16px; }
 ui-shop-bar .actions { display:block!important; min-width:0; width:100%; }
 ui-shop-bar .actions > .rosya-product-whatsapp { min-width:0; width:100%; }
}
