/* V26.16: native review form, language switch and Arabic layout. */
.ms-customer-reviews{width:100%;max-width:1080px;box-sizing:border-box;margin:48px auto;padding:32px;background:#fafbf7;border:1px solid #d9e1d7;border-radius:22px;scroll-margin-top:110px}
.ms-customer-reviews .eyebrow{color:#54735d;margin-bottom:12px}
.ms-customer-reviews h2,.ms-customer-reviews .comment-reply-title{font-size:clamp(22px,2.5vw,30px);line-height:1.4;font-weight:400}
.ms-customer-reviews .woocommerce-Reviews-title{margin:0 0 20px}
.ms-customer-reviews #review_form_wrapper{border-top:1px solid #d9e1d7;margin-top:24px;padding-top:24px}
.ms-customer-reviews .comment-reply-title{display:block;margin-bottom:12px}
.ms-customer-reviews .comment-form{max-width:760px;width:100%;margin:0}
.ms-customer-reviews .comment-form p{margin:14px 0}
.ms-customer-reviews .comment-form label{display:block;font-size:14px;font-weight:500;line-height:1.6;margin-bottom:7px}
.ms-customer-reviews input[type=text],.ms-customer-reviews input[type=email],.ms-customer-reviews textarea,.ms-customer-reviews select{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:16px;line-height:1.6;border:1px solid #cbd5c8;background:#fff;color:#243329;border-radius:10px;padding:11px 13px}
.ms-customer-reviews textarea{min-height:142px;resize:vertical}
.ms-customer-reviews input:focus-visible,.ms-customer-reviews textarea:focus-visible,.ms-customer-reviews select:focus-visible,.ms-customer-reviews .stars a:focus-visible,.ms-language-switch a:focus-visible{outline:2px solid #365b47;outline-offset:3px}
.ms-customer-reviews .ms-review-policy{font-size:13px;line-height:1.75;color:#59645a;max-width:680px}
.ms-customer-reviews .comment-form-rating{margin-block:20px}
.ms-customer-reviews .stars{direction:ltr;text-align:start;display:inline-block;font-size:24px;line-height:1.5;min-height:40px}
.ms-customer-reviews .stars a{color:#42654d}
.ms-customer-reviews .star-rating{color:#42654d;direction:ltr;unicode-bidi:isolate}
.ms-customer-reviews .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:9px}
.ms-customer-reviews .comment-form-cookies-consent input{width:auto;flex:0 0 auto;min-height:20px;margin-top:3px}
.ms-customer-reviews .comment-form-cookies-consent label{font-weight:400;font-size:13px}
.ms-customer-reviews #submit{min-height:48px;background:#3f624c!important;color:#fff!important;font:600 15px/1.5 var(--font-body);padding:13px 27px!important;border:0!important;border-radius:999px!important;cursor:pointer}
.ms-customer-reviews #submit:hover{background:#2d4936!important}
.ms-customer-reviews ol.commentlist{list-style:none;padding:0;margin:0}
.ms-customer-reviews .commentlist>li{margin:16px 0;padding:18px;border-radius:14px;background:#fff;overflow-wrap:anywhere}
.ms-customer-reviews .woocommerce-noreviews{font-size:14px;color:#59645a}
.ms-language-switch{flex-shrink:0}
.ms-language-switch a{min-height:30px;display:inline-flex;align-items:center;justify-content:center}
.ms-language-switch a[aria-current=true]{background:#dfe8dc;color:#253c2b}
/* Never mirror product photographs or change the direction of numbers/identifiers. */
html[lang=ar]{--font-body:Tahoma,Arial,sans-serif;--font-heading:Tahoma,Arial,sans-serif}
body.ms-lang-ar{font-family:Tahoma,Arial,sans-serif;line-height:1.8}
body.ms-lang-ar h1,body.ms-lang-ar h2,body.ms-lang-ar h3,body.ms-lang-ar h4,body.ms-lang-ar .comment-reply-title{font-family:Tahoma,Arial,sans-serif;letter-spacing:0;line-height:1.5}
body.ms-lang-ar .eyebrow,body.ms-lang-ar .ms-kicker,body.ms-lang-ar .mattress-learning-kicker,body.ms-lang-ar .mattress-eyebrow{letter-spacing:0;line-height:1.8}
body.ms-lang-ar .brand{direction:ltr;unicode-bidi:isolate;flex-shrink:0}
body.ms-lang-ar .ms-language-switch{direction:ltr}
body.ms-lang-ar .product-information,body.ms-lang-ar .mattress-information,body.ms-lang-ar .ms-benefit-card,body.ms-lang-ar .ms-audience-card,body.ms-lang-ar .ms-faq,body.ms-lang-ar .product-related,body.ms-lang-ar .ms-customer-reviews,body.ms-lang-ar .mattress-section,body.ms-lang-ar .mattress-faq{direction:rtl;text-align:right}
body.ms-lang-ar .product-crumbs,body.ms-lang-ar .ms-section-head,body.ms-lang-ar .ms-compare-name,body.ms-lang-ar .carbon-section-heading{text-align:right}
body.ms-lang-ar .ms-compare-heading,body.ms-lang-ar .ms-compare-row{direction:rtl}
body.ms-lang-ar .ms-compare-value,body.ms-lang-ar .woocommerce-Price-amount,body.ms-lang-ar .ms-choice-price,body.ms-lang-ar .mattress-variant-size,body.ms-lang-ar .ms-compare-row-price{direction:ltr;unicode-bidi:isolate;display:inline-block}
body.ms-lang-ar .ms-v25-purchase .variations th,body.ms-lang-ar .ms-v25-purchase .mattress-variant-option{text-align:right}
body.ms-lang-ar .ms-v25-purchase .variations th{padding-inline:0 10px}
body.ms-lang-ar .ms-customer-reviews .comment-form label{text-align:right}
body.ms-lang-ar .ms-customer-reviews input[type=email],body.ms-lang-ar input[type=tel]{direction:ltr;text-align:right}
body.ms-lang-ar .ms-customer-reviews #comments ol.commentlist li img.avatar{left:auto;right:0}
body.ms-lang-ar .ms-customer-reviews #comments ol.commentlist li .comment-text{margin-left:0;margin-right:60px}
body.ms-lang-ar .ms-customer-reviews .star-rating{float:left}
body.ms-lang-ar .ms-customer-reviews .stars{text-align:left}
body.ms-lang-ar .hero h1{font-size:clamp(38px,6vw,82px);line-height:1.35}
body.ms-lang-ar .hero h1 em{font-style:normal}
body.ms-lang-ar .collection-copy,body.ms-lang-ar .footer-grid{text-align:right}
body.ms-lang-ar .ms-variation-card[aria-pressed=true]::after{right:auto;left:9px}
body.ms-lang-ar .comment-content,body.ms-lang-ar .description{overflow-wrap:anywhere}
@media(max-width:1023px){body.ms-lang-ar .carbon-section-nav{overflow-x:auto;justify-content:flex-start;max-width:100%}}
@media(max-width:600px){
 .ms-customer-reviews{padding:22px 16px;margin:30px 0;border-radius:16px;scroll-margin-top:100px}
 .ms-customer-reviews #submit{width:100%}
 .site-header .header-inner{gap:6px}
 .site-header .brand-mark{width:26px;height:26px;flex-basis:26px}
 .site-header .brand-wordmark{width:clamp(104px,32vw,164px)}
 .site-header .brand{gap:5px;min-width:0}
 .site-header .header-actions{gap:2px;flex-shrink:0}
 .site-header .header-actions .icon-button{width:32px;height:40px;padding:5px;flex:0 0 32px}
 .ms-language-switch{font-size:11px;gap:1px;padding:2px;line-height:1.5}
 .ms-language-switch a{padding:3px;min-height:32px}
 body.ms-lang-ar .product-page-title{font-size:29px!important;line-height:1.55!important}
 body.ms-lang-ar .ms-section-head h2,body.ms-lang-ar .product-related h2{font-size:25px!important}
 body.ms-lang-ar .product-crumbs{flex-wrap:wrap}
 body.ms-lang-ar .ms-customer-reviews h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.ms-customer-reviews *{scroll-behavior:auto!important;transition:none!important}}
