@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

/* GISSAH QA — CLEAN MASTER CSS */
:root{
  --g-burgundy:#b80d2f;
  --g-burgundy-dark:#920923;
  --g-black:#171816;
  --g-cream:#f4f0e5;
  --g-soft:#faf8f3;
  --g-gold:#9b8051;
  --g-text:#1c1c1c;
  --g-muted:#77736c;
  --g-border:#e5dfd3;
  --product-image-height:17rem;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0!important;background:#fff;color:var(--g-text);font-family:"Manrope","Tajawal",Arial,sans-serif!important}
html[dir="rtl"] body{font-family:"Tajawal",Arial,sans-serif!important}
button,input,select,textarea{font-family:inherit!important}
h1,h2,h3,h4,h5,h6{color:var(--g-black);font-family:inherit!important;font-weight:700!important}
p{line-height:1.7}
img{max-width:100%}

/* Preserve Salla icons */
[class^="sicon-"],[class*=" sicon-"],i[class^="sicon-"],i[class*=" sicon-"]{
  font-family:"sallaicons"!important;font-style:normal!important;font-weight:400!important;letter-spacing:normal!important;line-height:1!important
}

/* Header */
.store-header,header,.main-menu,.navbar,header nav{margin:0!important;padding-top:0!important;padding-bottom:0!important}
.main-menu a,.navbar a,header nav a{position:relative;padding-top:11px!important;padding-bottom:11px!important;color:var(--g-black)!important;font-size:13px!important;font-weight:600!important}
html[dir="rtl"] .main-menu a,html[dir="rtl"] .navbar a,html[dir="rtl"] header nav a{font-family:"Tajawal",Arial,sans-serif!important;font-size:15px!important;font-weight:600!important;letter-spacing:-.1px!important}
.main-menu a:hover,.navbar a:hover,header nav a:hover{color:var(--g-burgundy-dark)!important}

/* Global sections */
main{margin-top:0!important;padding-top:0!important}
section:empty,.s-block:empty{display:none!important}
.s-block__title{margin-top:0!important;margin-bottom:16px!important}
.s-block__title h2,.section-title,body.index main h2{font-size:clamp(27px,2.5vw,37px)!important;line-height:1.2!important;font-weight:700!important;color:var(--g-black)!important}
.s-block--products-slider,.s-block--categories,.s-block--features,.s-block--brands,.s-block--testimonials{padding-top:28px!important;padding-bottom:28px!important}

/* Homepage video */
body.index main video,
body.index main div:has(>video),
body.index .s-block--video,
body.index .video-section,
body.index .video-banner,
body.index .home-video,
body.index .main-video{
  width:100%!important;height:390px!important;min-height:0!important;max-height:390px!important;margin:0!important;padding:0!important;overflow:hidden!important
}
body.index main video,body.index .video-section video,body.index .video-banner video,body.index .home-video video{object-fit:cover!important;object-position:center!important}

/* Buttons and colors */
.btn-primary,.button-primary,.add-to-cart,.quick-add,salla-add-product-button button{
  min-height:42px!important;background:var(--g-burgundy)!important;border:1px solid var(--g-burgundy)!important;border-radius:0!important;color:#fff!important;font-size:12px!important;font-weight:600!important
}
.btn-primary:hover,.button-primary:hover,.add-to-cart:hover,.quick-add:hover,salla-add-product-button button:hover{background:var(--g-burgundy-dark)!important;border-color:var(--g-burgundy-dark)!important}
.product-price,.product-price-top,[class*="product-price"]{color:var(--g-burgundy)!important}
.buy-now,.buy-now-btn,.quick-buy,button[class*="buy-now"]{background:var(--g-black)!important;border-color:var(--g-black)!important;color:#fff!important}

/* One consistent Add to Cart label across product, cards and floating cart */
salla-add-product-button .s-button-element,
.product-form salla-add-product-button .s-button-element,
.sticky-product-bar salla-add-product-button .s-button-element,
.sticky-cart-single salla-add-product-button .s-button-element,
custom-salla-product-card salla-add-product-button .s-button-element{
  font-size:14px!important;line-height:1.2!important;font-weight:700!important
}

/* Product-card base — all listings */
custom-salla-product-card.product-card,.s-product-card-entry,.product-entry{
  position:relative;width:100%!important;max-width:none!important;overflow:hidden;background:#fff!important;border:1px solid transparent!important;transition:.3s ease!important
}
custom-salla-product-card.product-card:hover,.s-product-card-entry:hover,.product-entry:hover{
  background:var(--g-cream)!important;border-color:var(--g-border)!important;transform:translateY(-4px)!important;box-shadow:0 14px 30px rgba(0,0,0,.08)!important
}
custom-salla-product-card .product-card__image{width:100%!important;height:var(--product-image-height)!important;min-height:var(--product-image-height)!important;max-height:var(--product-image-height)!important;background:#fff!important}
custom-salla-product-card .product-card__image img{width:100%!important;height:100%!important;object-fit:contain!important;transition:transform .45s ease!important}
custom-salla-product-card:hover .product-card__image img{transform:scale(1.035)!important}
custom-salla-product-card .product-card__title,custom-salla-product-card .product-card__title a{color:var(--g-black)!important;font-size:14px!important;line-height:1.45!important;font-weight:600!important}

/* Homepage only: five compact products */
@media(min-width:1024px){
  body.index salla-products-slider .s-products-slider-card,
  body.index .s-products-slider-wrapper .s-products-slider-card{
    width:20%!important;max-width:255px!important;flex:0 0 20%!important;padding-inline:7px!important
  }
  body.index .s-products-slider-card custom-salla-product-card{width:100%!important;max-width:240px!important;margin-inline:auto!important}
  body.index custom-salla-product-card .product-card__image{height:210px!important;min-height:210px!important;max-height:210px!important}
  body.index custom-salla-product-card .product-card__content{min-height:88px!important;padding:13px 11px 11px!important}
  body.index custom-salla-product-card .product-card__title,body.index custom-salla-product-card .product-card__title a{font-size:13px!important}
}

/* Product page — native, stable two columns */
body.product-single .container--product-details{width:min(100% - 48px,1280px)!important;max-width:1280px!important;margin-inline:auto!important;padding-inline:10px!important;overflow:visible!important}
body.product-single .product-single,
body.product-single .product-single__layout,
body.product-single .product-single__inner,
body.product-single .product-single__columns{width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;overflow:visible!important}

@media(min-width:1024px){
  body.product-single .product-single__columns{display:flex!important;flex-wrap:wrap!important;gap:0!important;align-items:flex-start!important}
  body.product-single .product-single__slider,body.product-single .product-single__info{flex:0 0 50%!important;width:50%!important;max-width:50%!important;min-width:0!important;padding-inline:15px!important}
  body.product-single .product-single__slider{position:sticky!important;top:95px!important;height:auto!important}
  body.product-single .product-single__info{display:block!important;height:auto!important;overflow:visible!important}
  body.product-single .product-single__main-media{height:min(610px,calc(100vh - 125px))!important;min-height:500px!important;max-height:610px!important;overflow:hidden!important;background:#fff!important}
}
body.product-single .product-single__slide-image{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}

/* Keep the original Salla product-page order */
body.product-single .product-single__info>*{order:initial!important}

body.product-single .product-single__title{width:100%!important;max-width:none!important;margin:0 0 10px!important;padding:0!important;font-size:clamp(24px,2.1vw,34px)!important;line-height:1.35!important;text-align:start!important}
body.product-single .product-price-top,body.product-single .product-single__tax-note{justify-content:flex-start!important;text-align:start!important}
body.product-single .product-single-top-description,body.product-single .product-single-top-description article{width:100%!important;max-width:none!important;margin:22px auto!important;padding-inline:10px!important;overflow:visible!important;text-align:center!important}
body.product-single .product-single-top-description article p{width:100%!important;max-width:720px!important;margin:0 auto 10px!important;padding:0!important;font-size:15px!important;line-height:1.85!important;color:#33312d!important;text-align:center!important}
body.product-single .product-single-top-description article div,body.product-single .product-single-top-description article span,body.product-single .product-single-top-description article strong,body.product-single .product-single-top-description article h1,body.product-single .product-single-top-description article h2,body.product-single .product-single-top-description article h3,body.product-single .product-single-top-description article h4{max-width:720px!important;margin-inline:auto!important;text-align:center!important}
body.product-single .product-single-top-description article strong{color:var(--g-black)!important;font-weight:700!important}
body.product-single .product-single-top-description article p:empty,body.product-single .product-single-top-description article p:has(>br:only-child){display:none!important}
html[dir="rtl"] body.product-single .product-single__title{direction:rtl!important;text-align:right!important}
html[dir="ltr"] body.product-single .product-single__title{direction:ltr!important;text-align:left!important}
html[dir="rtl"] body.product-single .product-single-top-description,html[dir="rtl"] body.product-single .product-single-top-description article *{direction:rtl!important;text-align:center!important}
html[dir="ltr"] body.product-single .product-single-top-description,html[dir="ltr"] body.product-single .product-single-top-description article *{direction:ltr!important;text-align:center!important}

/* Product form and lower sections */
body.product-single .product-form,body.product-single .sticky-product-bar,body.product-single .product-features--wrapper,body.product-single .s-comments-product,body.product-single salla-comments{position:relative!important;clear:both!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.product-single .product-single__gifting--desktop,body.product-single .product-single__quick-order--desktop,body.product-single .product-single__gifting--mobile,body.product-single .product-single__quick-order--mobile,body.product-single .gift-product,body.product-single .send-as-gift{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;background:var(--g-soft)!important;border:1px solid var(--g-border)!important;border-radius:0!important;overflow:visible!important}
body.product-single .reviews,body.product-single .reviews-section,body.product-single .s-comments-product,body.product-single salla-comments{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin-block:20px!important;padding-block:28px 36px!important;background:#fff!important;overflow:visible!important}
body.product-single .container--product-details>*,body.product-single .product-single>*,body.product-single .product-single__layout>*,body.product-single .product-single__inner>*{max-height:none!important;overflow:visible!important}
body.product-single textarea{display:block!important;width:100%!important;min-height:120px!important;height:auto!important;padding:16px 18px!important;border:1px solid var(--g-border)!important;border-radius:0!important}

/* Footer */
footer,.site-footer{background:var(--g-black)!important;color:rgba(255,255,255,.75)!important}
footer h3,footer h4,.site-footer h3,.site-footer h4{color:#fff!important}
footer a,.site-footer a{color:rgba(255,255,255,.78)!important}
footer a:hover,.site-footer a:hover{color:#fff!important}

/* Product page — related/recently viewed cards and floating cart */
body.product-single custom-salla-product-card.product-card{
  height:auto!important;min-height:0!important;max-height:none!important;
  align-self:flex-start!important;justify-content:flex-start!important
}
body.product-single custom-salla-product-card .product-card__content{
  position:relative!important;inset:auto!important;height:auto!important;min-height:92px!important;
  margin:0!important;padding:13px 12px!important;visibility:visible!important;opacity:1!important;overflow:visible!important
}
body.product-single .s-products-slider-card,
body.product-single salla-slider .swiper-slide{
  height:auto!important;min-height:0!important;align-self:flex-start!important
}
body.product-single .sticky-cart-single.sticky{
  width:400px!important;max-width:calc(100vw - 32px)!important;height:auto!important;min-height:0!important;max-height:none!important;padding-block:15px!important;overflow:visible!important
}
body.product-single .sticky-cart-single .content,
body.product-single .sticky-cart-single .content-product,
body.product-single .sticky-cart-single .item-thumb{height:auto!important;min-height:0!important;overflow:visible!important}
body.product-single .sticky-cart-single .item-thumb img{
  width:90px!important;max-width:90px!important;height:115px!important;max-height:115px!important;
  object-fit:contain!important;object-position:center!important;transform:none!important;background:#fff!important
}
body.product-single .sticky-cart-single salla-add-product-button .s-button-element,
body.product-single .sticky-cart-single salla-add-product-button .s-button-text{
  min-width:125px!important;font-size:15px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important
}

/* Rating stars — keep native compact horizontal layout */
body.product-single .s-product-card-rating{display:block!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body.product-single .s-rating-stars-wrapper{display:inline-flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:0!important;background:transparent!important}
body.product-single .s-rating-stars-btn-star{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0 2px!important;background:transparent!important}
body.product-single .s-rating-stars-reviews{display:inline!important;width:auto!important;height:auto!important;min-height:0!important;margin-inline:7px!important;margin-block:0!important;padding:0!important;background:transparent!important}

/* Product recommendation section headings — one consistent scale */
body.product-single .s-slider-block__title h2,
body.product-single #viewed-section .s-block__title h2,
body.product-single #viewed-section .right-side h2{
  font-size:26px!important;line-height:1.35!important;font-weight:700!important;
  margin:0!important;padding:0!important
}
body.product-single .s-slider-block__title,
body.product-single #viewed-section .s-block__title{
  min-height:48px!important;align-items:center!important
}

/* Homepage — balanced typography */
body.index .s-block--enhanced-features__item h2{font-size:26px!important;line-height:1.3!important;font-weight:700!important;margin-bottom:10px!important}
body.index .s-block--enhanced-features__item p{font-size:16px!important;line-height:1.65!important;max-width:260px!important;margin-inline:auto!important}
body.index .products-lookbook__title--subheading{font-size:15px!important;line-height:1.6!important;margin-bottom:5px!important}
body.index .products-lookbook__title--mainheading{font-size:30px!important;line-height:1.3!important}
body.index .custom-products__view-all-wrap .btn--outline-primary{
  min-width:175px!important;min-height:42px!important;padding:10px 18px!important;
  background:var(--g-burgundy)!important;border-color:var(--g-burgundy)!important;
  color:#fff!important;font-size:14px!important;font-weight:700!important;
  box-shadow:0 7px 18px rgba(191,10,44,.18)!important
}
body.index .custom-products__view-all-wrap .btn--outline-primary:hover{
  background:var(--g-burgundy-dark)!important;border-color:var(--g-burgundy-dark)!important;
  color:#fff!important;transform:translateY(-1px)!important
}
body.index .custom-products__view-all-wrap .btn--outline-primary i,
body.index .custom-products__view-all-wrap .btn--outline-primary svg{color:#fff!important;fill:currentColor!important}

/* Tablet */
@media(min-width:640px) and (max-width:1023px){
  body.index .s-products-slider-card{width:33.333%!important;max-width:33.333%!important;flex:0 0 33.333%!important;padding-inline:6px!important}
  body.index custom-salla-product-card .product-card__image{height:220px!important;min-height:220px!important;max-height:220px!important}
  body.product-single .product-single__info{display:block!important}
}

/* Mobile */
@media(max-width:639px){
  body.index main video,body.index main div:has(>video),body.index .s-block--video,body.index .video-section,body.index .video-banner,body.index .home-video{height:300px!important;max-height:300px!important}
  body.index .s-products-slider-card{width:50%!important;max-width:50%!important;flex:0 0 50%!important;padding-inline:5px!important}
  body.index custom-salla-product-card .product-card__image{height:175px!important;min-height:175px!important;max-height:175px!important}
  body.index custom-salla-product-card .product-card__content{min-height:82px!important;padding:10px 8px!important}
  body.index custom-salla-product-card .product-card__title,body.index custom-salla-product-card .product-card__title a{font-size:12px!important}
  body.product-single .container--product-details{width:100%!important;padding-inline:14px!important}
  body.product-single .product-single__columns{display:flex!important;flex-direction:column!important;gap:12px!important}
  body.product-single .product-single__slider,body.product-single .product-single__info{width:100%!important;max-width:100%!important;padding:0!important;height:auto!important;overflow:visible!important}
  body.product-single .product-single__info{display:block!important}
  body.product-single .product-single__main-media{height:420px!important;min-height:0!important;max-height:70vh!important}
  body.product-single .product-single__title{margin-top:8px!important;font-size:23px!important;line-height:1.45!important}
  body.product-single .product-single-top-description article p{font-size:14px!important;line-height:1.8!important}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}