@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600&family=Cormorant+Garamond:wght@500;600&display=swap');

/* ERTH | إرث — brand layer for Salla Raed theme */
:root{
  --erth-burgundy:#4B1F2A; --erth-cream:#F2EADF; --erth-cream-2:#F7F1E8; --erth-stone:#D1C2AE;
  --erth-charcoal:#24201E; --erth-copper:#AD8C5B; --erth-gold:#CEA251;
  --erth-ar:'El Messiri','Tajawal',sans-serif; --erth-en:'Cormorant Garamond','El Messiri',serif;
  --erth-wa:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.437%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.413Z%27%2F%3E%3C%2Fsvg%3E");
}

/* Typography */
body, body *:not([class^="sicon"]):not([class*=" sicon"]):not(i){font-family:var(--erth-ar) !important;}
body{background:var(--erth-cream) !important;color:var(--erth-charcoal) !important;font-weight:400;}
h1,h2,h3,.s-block__title h2{font-weight:500 !important;letter-spacing:0;}

/* Top bar */
.top-navbar{background:var(--erth-burgundy) !important;color:var(--erth-cream) !important;border:0 !important;}
.top-navbar a,.top-navbar span,.top-navbar .s-menu-topnav-item{color:rgba(242,234,223,.85) !important;font-size:13px !important;}
.top-navbar a:hover{color:#fff !important;}
.top-navbar input,.top-navbar .s-search-input{background:rgba(242,234,223,.10) !important;border-color:transparent !important;color:var(--erth-cream) !important;}

/* Header */
.main-nav-container{background:var(--erth-cream-2) !important;box-shadow:none !important;border-bottom:1px solid var(--erth-stone);}
.main-nav-container a,.main-nav-container .main-menu a{color:var(--erth-charcoal) !important;font-size:16px !important;font-weight:500 !important;}
.main-nav-container .main-menu a:hover{color:var(--erth-burgundy) !important;}
.navbar-brand img{height:64px !important;width:auto !important;max-height:64px !important;}
.main-nav-container .s-button-element,.main-nav-container .header-btn{border-color:var(--erth-stone) !important;background:transparent !important;}

/* Hero */
.s-block--hero-slider{padding-top:0 !important;margin-top:0 !important;}
.s-block--hero-slider h2{font-weight:500 !important;font-size:clamp(30px,4.2vw,54px) !important;line-height:1.35 !important;color:var(--erth-cream) !important;text-shadow:0 2px 18px rgba(36,32,30,.35);}
.s-block--hero-slider h2::after{content:"";display:block;width:72px;height:1px;margin:22px auto 0;background:var(--erth-copper);}

/* Section titles */
.s-block__title{justify-content:center !important;text-align:center;margin-bottom:36px !important;}
.s-block__title .right-side{width:100%;text-align:center;}
.s-block__title h2{font-size:clamp(24px,2.4vw,32px) !important;color:var(--erth-burgundy) !important;}
.s-block__title h2::after{content:"";display:block;width:56px;height:1px;margin:14px auto 0;background:var(--erth-copper);}
.s-block{padding-top:24px;}

/* Product cards */
.s-product-card-entry{background:var(--erth-cream-2) !important;border:1px solid var(--erth-stone) !important;border-radius:4px !important;box-shadow:none !important;overflow:hidden;transition:transform .35s ease,border-color .35s ease;}
.s-product-card-entry:hover{transform:translateY(-3px);border-color:var(--erth-copper) !important;}
.s-product-card-image{border-radius:0 !important;background:var(--erth-cream) !important;}
.s-product-card-image img{transition:transform .6s ease;}
.s-product-card-entry:hover .s-product-card-image img{transform:scale(1.03);}
.s-product-card-content{padding:18px 18px 20px !important;text-align:center;}
.s-product-card-content-main,.s-product-card-content-sub{justify-content:center !important;text-align:center !important;}
.s-product-card-content-title,.s-product-card-content-title a{font-size:18px !important;font-weight:500 !important;color:var(--erth-charcoal) !important;}
.s-product-card-price{font-size:15px !important;font-weight:600 !important;color:var(--erth-burgundy) !important;}
.s-product-card-wishlist-btn.s-button-element{background:rgba(247,241,232,.9) !important;border:0 !important;color:var(--erth-burgundy) !important;}

/* Buttons */
.s-button-primary-outline,.s-button-primary,.s-button-solid.s-button-primary{background:var(--erth-burgundy) !important;color:var(--erth-cream) !important;border:1px solid var(--erth-burgundy) !important;border-radius:2px !important;font-weight:500 !important;letter-spacing:.2px;transition:background .3s ease,color .3s ease;}
.s-button-primary-outline:hover,.s-button-primary:hover{background:var(--erth-charcoal) !important;border-color:var(--erth-charcoal) !important;color:var(--erth-cream) !important;}
.s-button-primary-outline i,.s-button-primary-outline span{color:inherit !important;}

/* Features */
.s-block--features__item{background:transparent !important;box-shadow:none !important;border:0 !important;border-top:1px solid var(--erth-stone) !important;border-radius:0 !important;padding-top:28px !important;}
.s-block--features .feature-icon{background:transparent !important;border:1px solid var(--erth-copper) !important;color:var(--erth-burgundy) !important;}
.s-block--features .feature-icon i{color:var(--erth-burgundy) !important;}
.s-block--features h2{color:var(--erth-burgundy) !important;font-size:17px !important;}
.s-block--features p{color:#6b5f55 !important;}

/* Footer */
.store-footer,.store-footer__inner{background:var(--erth-burgundy) !important;color:rgba(242,234,223,.82) !important;}
.store-footer h3,.store-footer .s-contacts-title{color:var(--erth-cream) !important;font-weight:500 !important;}
.store-footer a,.store-footer p,.store-footer span,.store-footer div{color:rgba(242,234,223,.82) !important;}
.store-footer a:hover{color:var(--erth-gold) !important;}
.store-footer .s-social-icon{border-color:rgba(242,234,223,.3) !important;background:transparent !important;}
.store-footer .s-social-icon svg,.store-footer .s-social-icon i{fill:var(--erth-cream) !important;color:var(--erth-cream) !important;}
.store-footer .lg\:col-span-2 > a h3{font-family:var(--erth-en) !important;font-size:30px !important;letter-spacing:6px;}

/* Contacts: hide 90055305, WhatsApp icon on 55042115 */
.s-contacts-item[href*="90055305"],a[href*="90055305"]{display:none !important;}
.s-contacts-item[href*="55042115"] .s-contacts-icon svg,.s-contacts-item[href*="55042115"] .s-contacts-icon i{display:none !important;}
.s-contacts-item[href*="55042115"] .s-contacts-icon::before,.s-contacts-topnav-link[href*="55042115"]::before{content:"";display:inline-block;width:16px;height:16px;background:currentColor;vertical-align:middle;-webkit-mask:var(--erth-wa) center/contain no-repeat;mask:var(--erth-wa) center/contain no-repeat;}
.s-contacts-topnav-link[href*="55042115"]{display:inline-flex !important;align-items:center;gap:6px;}
.s-contacts-topnav-link[href*="55042115"] span:first-child{display:none !important;}

/* Mobile: keep "أضف إلى السلة" on one line inside narrow cards */
@media (max-width: 640px){
  .s-product-card-content{padding:14px 10px 16px !important;}
  .s-product-card-entry .s-button-element.s-button-btn{font-size:13px !important;padding-left:6px !important;padding-right:6px !important;letter-spacing:0 !important;white-space:nowrap !important;}

  .s-product-card-content-title,.s-product-card-content-title a{font-size:16px !important;}
}

/* Product card button: text only, no cart icon (owner choice) */
.s-product-card-entry .s-button-element.s-button-btn i{display:none !important;}
/* Hero slides: keep product in frame when cropped (mobile) */
.s-block--hero-slider [style*="cd0416d3"]{background-position:22% center !important;}
.s-block--hero-slider [style*="cb51df55"]{background-position:80% center !important;}