/* ===== Brands strip — fix skew + oversized white frame ===== */
.s-block--logos-slider{ background:var(--at-ivory) !important; padding-bottom:2.75rem !important; }
.s-block--logos-slider .grid{ display:flex !important; flex-wrap:wrap !important; justify-content:center !important; gap:24px !important; }
.s-block--logos-slider .brand-item{
  background:var(--at-ivory-soft) !important;
  border:var(--at-stitch) !important;
  border-radius:20px !important;
  box-shadow:var(--at-shadow) !important;
  flex:0 0 clamp(200px,22vw,280px) !important;
  height:clamp(170px,17vw,220px) !important;
  padding:12px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  transition:transform .25s ease, box-shadow .25s ease;
}
.s-block--logos-slider .brand-item:hover{
  transform:translateY(-4px) rotate(-1deg);
  box-shadow:var(--at-shadow-lift) !important;
}
.s-block--logos-slider .brand-item img,
.brand-item img.max-h-full{
  object-fit:contain !important;
  width:100% !important; height:100% !important;
  max-height:100% !important; max-width:100% !important;
  border-radius:10px;
}
/* footer inner wrapper carries its own dark background */
.store-footer .store-footer__inner,
.store-footer__inner,
body.footer-is-dark .store-footer__inner{
  background:transparent !important; background-color:transparent !important;
}
.store-footer span{ color:var(--at-rose-soft) !important; }

/* add-to-cart buttons inside product web components */
salla-add-product-button::part(button){
  background:var(--at-rose-soft) !important; color:var(--at-crimson-deep) !important;
  border:none !important; border-radius:999px !important; font-family:'Changa',sans-serif !important;
}
salla-add-product-button::part(button):hover{
  background:var(--at-crimson) !important; color:var(--at-ivory) !important;
}
/* ===== Atelier interim skin — صنع بحب ===== */
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@400;600;700&family=Marhey:wght@500;600&display=swap');

:root{
  --at-ivory:#F4EFDF; --at-ivory-soft:#FAF7EC;
  --at-rose:#D2A0A0; --at-rose-soft:#E9CFCF;
  --at-crimson:#972C2E; --at-crimson-deep:#7A2224;
  --at-sage-soft:#DCEAD8; --at-butter:#F2D291; --at-butter-soft:#FAEBC9;
  --at-ink:#4A3436;
  --at-stitch:1.5px dashed rgba(151,44,46,.35);
  --at-shadow:0 6px 24px rgba(74,52,54,.08);
  --at-shadow-lift:0 14px 40px rgba(74,52,54,.14);
  --color-primary:#972C2E !important;
  --color-primary-dark:#7A2224 !important;
  --color-primary-light:#D2A0A0 !important;
  --color-primary-reverse:#F4EFDF !important;
}

body{ background:var(--at-ivory) !important; color:var(--at-ink); }
h1,h2,h3,h4,.s-block__title h2{ font-family:'Changa',sans-serif !important; color:var(--at-crimson) !important; }

.top-navbar{ background:var(--at-crimson) !important; }
.top-navbar,.top-navbar a,.top-navbar span,.top-navbar i,.top-navbar button{ color:var(--at-ivory) !important; }

.store-header,.main-nav-container{ background:var(--at-ivory-soft) !important; box-shadow:none !important; border-bottom:var(--at-stitch); }
.main-nav-container a{ color:var(--at-ink) !important; }
.main-nav-container a:hover{ color:var(--at-crimson) !important; }

custom-salla-product-card,salla-product-card,.product-entry{
  background:#fff !important; border:none !important; border-radius:18px !important;
  box-shadow:var(--at-shadow) !important; overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;
}
custom-salla-product-card:hover,salla-product-card:hover,.product-entry:hover{
  transform:translateY(-6px) rotate(-.5deg); box-shadow:var(--at-shadow-lift) !important;
}

.btn--primary,salla-button::part(button){
  background:var(--at-crimson) !important; color:var(--at-ivory) !important;
  border:none !important; border-radius:999px !important; font-family:'Changa',sans-serif !important;
}

.s-block--features .feature-item,.store-features .feature-item{
  background:var(--at-ivory-soft) !important; border:var(--at-stitch) !important;
  border-radius:22px !important; box-shadow:var(--at-shadow) !important;
}
.s-block--features .feature-item i,.store-features .feature-item i{
  background:var(--at-sage-soft) !important; color:var(--at-crimson-deep) !important;
}
.s-block--features .feature-item:nth-child(2) i{ background:var(--at-rose-soft) !important; }
.s-block--features .feature-item:nth-child(3) i{ background:var(--at-butter-soft) !important; }

.store-footer{ background:var(--at-crimson-deep) !important; }
.store-footer h3,.store-footer h4,.store-footer .footer-title{ color:var(--at-butter) !important; font-family:'Changa',sans-serif !important; }
.store-footer,.store-footer p,.store-footer a{ color:var(--at-rose-soft) !important; }
.store-footer a:hover{ color:var(--at-ivory) !important; }

.s-product-card-price,.product-entry__price,.total-price{ font-family:'Marhey',cursive !important; color:var(--at-crimson) !important; }
::selection{ background:var(--at-butter); color:var(--at-crimson-deep); }

/* ===== Homepage layout order: brands strip first ===== */
body.index #main-content{ display:grid; grid-template-columns:minmax(0,1fr); }
body.index #main-content > .s-block--logos-slider{ order:-1; }
body.index #main-content > salla-hook:first-child{ order:-2; }