/*
Theme Name: Sara Shop Concept 01 V4.7
Theme URI: https://sara.com.ly/
Description: قالب متجر سارة V4 - واجهة خفيفة مستوحاة من أسلوب SleepyWear ومتوافقة مع WooCommerce.
Author: Sara Shop
Version: 4.7.0
Template: blocksy
Text Domain: sara-shop
*/
:root{--sara:#b51f49;--sara-hover:#98183c;--ink:#19171a;--muted:#746b70;--soft:#fff5f7;--line:#f0e2e6;--radius:18px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff;font-family:Tahoma,Arial,sans-serif}.sara-wrap{width:min(1180px,calc(100% - 36px));margin:auto}.sara-logo{justify-self:center;color:var(--sara);font-family:Georgia,serif;font-size:42px;font-style:italic;text-decoration:none;line-height:1}.sara-hero{padding:18px 0 6px}.sara-hero-box{min-height:405px;border-radius:22px;overflow:hidden;position:relative;background:#f8eceb center/cover no-repeat}.sara-hero-box:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,0) 12%,rgba(255,248,248,.16) 52%,rgba(255,248,248,.96) 86%)}.sara-hero-content{position:relative;z-index:2;max-width:500px;margin-left:auto;padding:78px 55px;text-align:right}.sara-kicker{color:var(--sara);font-weight:800;font-size:14px;margin-bottom:8px}.sara-hero h1{font-size:48px;line-height:1.2;margin:0 0 12px}.sara-hero p{font-size:17px;color:var(--muted);line-height:1.8;margin:0 0 20px}.sara-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--sara);color:#fff!important;text-decoration:none;border-radius:10px;padding:12px 24px;font-weight:800;transition:.2s}.sara-btn:hover{background:var(--sara-hover);transform:translateY(-1px)}.sara-section{padding:34px 0}.sara-section-head{position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:22px;min-height:38px}.sara-section-head h2{font-size:24px;margin:0;font-weight:800}.sara-section-head h2:before,.sara-section-head h2:after{content:"";display:inline-block;width:90px;height:1px;background:#e5a9ba;vertical-align:middle;margin:0 20px}.sara-more{position:absolute;left:0;color:var(--sara);text-decoration:none;font-weight:800;font-size:13px}.sara-carousel{position:relative}.sara-carousel-track{overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none}.sara-carousel-track::-webkit-scrollbar{display:none}.sara-arrow{position:absolute;top:44%;transform:translateY(-50%);z-index:5;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:28px;line-height:1;box-shadow:0 3px 14px rgba(0,0,0,.08);cursor:pointer}.sara-prev{right:-17px}.sara-next{left:-17px}.sara-cats{display:flex;gap:16px}.sara-cat{flex:0 0 calc((100% - 48px)/4);color:var(--ink);text-decoration:none;text-align:center;background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.sara-cat-image{aspect-ratio:4/3;overflow:hidden;background:var(--soft)}.sara-cat img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.sara-cat:hover img{transform:scale(1.025)}.sara-cat span{display:block;font-weight:800;font-size:16px;padding:12px}.sara-products .sara-carousel-track>.woocommerce{width:100%}.sara-products .sara-carousel-track>.woocommerce{display:block!important;width:100%!important;min-width:100%!important}.sara-products ul.products{display:flex!important;flex-wrap:nowrap!important;gap:16px!important;margin:0!important;width:100%!important;min-width:100%!important;overflow:visible!important}.sara-products ul.products:before,.sara-products ul.products:after{display:none!important}.sara-products ul.products li.product{flex:0 0 calc((100% - 48px)/4)!important;width:calc((100% - 48px)/4)!important;max-width:none!important;min-width:0!important;margin:0!important;float:none!important;border:1px solid var(--line);border-radius:15px;padding:8px 8px 14px;background:#fff;overflow:hidden;text-align:right;display:flex!important;flex-direction:column;position:relative}.sara-products .woocommerce-loop-product__link{display:block;text-decoration:none;position:relative;overflow:hidden;border-radius:11px}.sara-products li.product img{border-radius:11px!important;aspect-ratio:4/5;object-fit:cover;margin:0!important;transition:opacity .35s ease,transform .35s ease}.sara-products li.product .sara-hover-image{position:absolute!important;inset:0;width:100%!important;height:auto!important;opacity:0;z-index:2}.sara-products li.product:hover .woocommerce-loop-product__link>img:first-of-type{transform:scale(1.025)}.sara-products li.product:hover .sara-hover-image{opacity:1;transform:scale(1.025)}.sara-products .woocommerce-loop-product__title{font-size:15px!important;color:var(--ink);padding:10px 2px 4px!important}.sara-products .price{color:var(--sara)!important;font-weight:800!important;font-size:14px!important}.sara-products .button{display:flex!important;align-items:center;justify-content:center;width:100%;margin-top:auto!important;background:var(--sara)!important;color:#fff!important;border-radius:9px!important;padding:10px!important;font-weight:800!important;font-size:13px!important}.sara-product-sizes{display:flex;flex-wrap:wrap;gap:4px;margin:6px 2px}.sara-product-sizes span{min-width:26px;padding:2px 6px;border-radius:999px;background:var(--soft);border:1px solid var(--line);font-size:10px;text-align:center}.sara-offer-strip{padding-top:16px}.sara-promo{min-height:210px;border-radius:18px;overflow:hidden;background-size:cover;background-position:center;position:relative;display:flex;align-items:center;padding:32px 48px;color:#fff}.sara-promo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(130,13,47,.2),rgba(150,18,57,.92))}.sara-promo>div{position:relative;z-index:2;max-width:470px}.sara-promo span{font-size:13px}.sara-promo h2{font-size:34px;margin:4px 0}.sara-promo p{margin:0 0 16px}.sara-btn-light{background:#fff;color:var(--sara)!important}.sara-trust{padding:8px 0 20px}.sara-benefits{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.sara-benefit{display:flex;align-items:center;justify-content:center;gap:11px;padding:20px 10px}.sara-benefit+.sara-benefit{border-right:1px solid var(--line)}.sara-benefit svg{width:28px;color:var(--sara)}.sara-benefit strong,.sara-benefit small{display:block}.sara-benefit small{color:var(--muted);font-size:11px;margin-top:4px}.sara-empty{text-align:center;padding:30px;border:1px dashed var(--line);border-radius:16px}.sara-footer{background:#211b1e;color:#fff;margin-top:38px;padding:42px 0 20px}.sara-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.sara-footer p,.sara-footer a{color:#ddd}.sara-footer ul{list-style:none;padding:0;line-height:2}.sara-copy{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:18px;text-align:center;color:#aaa;font-size:12px}
@media(max-width:900px){.sara-logo{font-size:35px}.sara-hero-box{min-height:370px;background-position:30% center}.sara-hero-box:after{background:linear-gradient(0deg,rgba(255,248,248,.94) 8%,rgba(255,248,248,.3) 72%)}.sara-hero-content{padding:175px 26px 34px;max-width:100%;text-align:center}.sara-hero h1{font-size:38px}.sara-section-head h2:before,.sara-section-head h2:after{width:45px;margin:0 12px}.sara-cat{flex-basis:calc((100% - 16px)/2)}.sara-products ul.products li.product{flex:0 0 calc((100% - 16px)/2)!important;width:calc((100% - 16px)/2)!important;max-width:none!important}.sara-benefits{grid-template-columns:repeat(2,1fr)}.sara-benefit:nth-child(3){border-right:0;border-top:1px solid var(--line)}.sara-benefit:nth-child(4){border-top:1px solid var(--line)}}
@media(max-width:600px){.sara-wrap{width:min(100% - 24px,1180px)}.sara-logo{font-size:31px}.sara-hero{padding-top:10px}.sara-hero-box{min-height:350px;border-radius:16px}.sara-hero-content{padding:170px 18px 27px}.sara-hero h1{font-size:32px}.sara-hero p{font-size:14px;line-height:1.6}.sara-section{padding:25px 0}.sara-section-head{justify-content:flex-start;padding-left:65px}.sara-section-head h2{font-size:19px}.sara-section-head h2:before,.sara-section-head h2:after{display:none}.sara-more{font-size:11px}.sara-arrow{width:34px;height:34px}.sara-prev{right:-9px}.sara-next{left:-9px}.sara-cat{flex-basis:calc((100% - 10px)/2)}.sara-cats{gap:10px}.sara-cat span{font-size:13px;padding:9px}.sara-products ul.products{gap:10px!important}.sara-products ul.products li.product{flex:0 0 calc((100% - 10px)/2)!important;width:calc((100% - 10px)/2)!important;padding:6px 6px 11px}.sara-products .woocommerce-loop-product__title{font-size:12px!important}.sara-products .price{font-size:12px!important}.sara-products .button{font-size:11px!important;padding:9px 4px!important}.sara-promo{min-height:185px;padding:25px 22px}.sara-promo h2{font-size:28px}.sara-benefit{padding:14px 7px}.sara-benefit strong{font-size:12px}.sara-benefit small{font-size:9px}.sara-footer-grid{grid-template-columns:1fr}}/* V4.2: compact section titles + popup search */
@media(max-width:600px){}/* V4.3 — smaller section headings, no top strip, icon-only popup search */
.sara-section-head{min-height:30px;margin-bottom:18px}
.sara-section-head h2{font-size:18px!important;font-weight:700!important;line-height:1.35}
.sara-section-head h2:before,.sara-section-head h2:after{width:62px;margin:0 14px}/* Force the header search to stay icon-only until clicked. */
@media(max-width:600px){.sara-section-head h2{font-size:17px!important}.sara-section-head{margin-bottom:15px}}/* V4.4 — compact centered header + single footer */
/* Hide any Blocksy parent header/footer that may be injected by the parent theme. */ body > header#header{display:none!important}
body > #footer, body > .ct-footer, body > footer.ct-footer, #main-container > .ct-footer {display:none!important}
.sara-logo{justify-self:center!important;font-size:35px!important;white-space:nowrap}
.sara-footer{display:block!important;background:#211b1e!important;color:#fff!important;margin-top:34px!important}
.sara-footer .sara-logo{color:#fff!important;font-size:30px!important}
.sara-footer-grid{align-items:start}
.sara-section-head h2{font-size:18px!important}
@media(max-width:600px){
 .sara-logo{font-size:29px!important}
 .sara-section-head h2{font-size:16px!important}
}/* V4.5 — definitive header/footer and product hover */
.sara-logo{grid-area:logo!important;justify-self:center!important;font-family:Tahoma,Arial,sans-serif!important;font-style:normal!important;font-weight:800!important;font-size:28px!important;color:#171417!important;line-height:1!important}
.sara-section-head h2{font-size:18px!important}.sara-section-head h2:before,.sara-section-head h2:after{width:58px!important;margin:0 14px!important}/* Product image hover works regardless of Blocksy/Woo image wrappers. */

.sara-products li.product a.woocommerce-LoopProduct-link,.sara-products li.product a.woocommerce-loop-product__link,.sara-products li.product .ct-image-container{overflow:hidden!important;position:relative!important;display:block!important}
.sara-products li.product img{transition:transform .34s ease,opacity .34s ease!important;will-change:transform}
.sara-products li.product:hover img.sara-primary-product-image,.sara-products li.product:hover a.woocommerce-LoopProduct-link img:first-child,.sara-products li.product:hover a.woocommerce-loop-product__link img:first-child{transform:scale(1.035)!important}
.sara-products li.product img.sara-hover-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:0!important;z-index:3!important;margin:0!important}
.sara-products li.product:hover img.sara-hover-image{opacity:1!important;transform:scale(1.035)!important}/* One clean compact footer only. */

.sara-footer{background:#211b1e!important;margin-top:28px!important;padding:28px 0 14px!important}
.sara-footer-grid{grid-template-columns:1.4fr 1fr 1fr!important;gap:28px!important}.sara-footer .sara-logo{font-size:23px!important;color:#fff!important;justify-self:start!important}.sara-footer h3{font-size:15px!important;margin:0 0 8px!important}.sara-footer p,.sara-footer li,.sara-footer a{font-size:12px!important;line-height:1.75!important}.sara-footer ul{margin:0!important}.sara-copy{margin-top:18px!important;padding-top:12px!important}
@media(max-width:900px){.sara-logo{font-size:25px!important}.sara-footer-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:600px){.sara-logo{font-size:22px!important}.sara-section-head h2{font-size:16px!important}.sara-footer-grid{grid-template-columns:1fr!important}}/* V4.6 hard isolation */
.sara-products ul.products li.product .woocommerce-loop-product__link,.sara-products ul.products li.product .woocommerce-LoopProduct-link{overflow:hidden!important;position:relative!important}
.sara-products ul.products li.product .woocommerce-loop-product__link img,.sara-products ul.products li.product .woocommerce-LoopProduct-link img{transition:transform .32s ease,opacity .32s ease!important}
.sara-products ul.products li.product:hover .woocommerce-loop-product__link>img:not(.sara-hover-image),.sara-products ul.products li.product:hover .woocommerce-LoopProduct-link>img:not(.sara-hover-image){transform:scale(1.035)!important}
.sara-products ul.products li.product .sara-hover-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:0!important;z-index:4!important;margin:0!important}
.sara-products ul.products li.product:hover .sara-hover-image{opacity:1!important;transform:scale(1.035)!important}
