:root{
  --espresso:#2A1810;
  --espresso-2:#3D2418;
  --cream:#FBF3E7;
  --paper:#FFFBF4;
  --gold:#C68F41;
  --gold-deep:#9C6B26;
  --clay:#B4472F;
  --sage:#5F7A52;
  --sage-light:#E8EEE1;
  --send:#3F7D4F;
  --line:rgba(42,24,16,.12);
  --shadow:0 20px 50px rgba(42,24,16,.18);
  --header-h:72px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(198,143,65,.10), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(95,122,82,.08), transparent 45%),
    #EFE7D8;
  font-family:'Cairo',sans-serif;
  color:var(--espresso);
}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
:focus-visible{outline:2.5px solid var(--clay);outline-offset:2px}

.wrap{
  max-width:1400px;
  margin:0 auto;
  padding:0 20px;
}

/* ===== هيدر ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:40;
  height:var(--header-h);
  display:flex;
  align-items:center;
  background:rgba(239,231,216,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}
.brandmark{display:flex; align-items:center; gap:10px}
.brand-logo{width:38px;height:38px;border-radius:50%;object-fit:cover;box-shadow:0 4px 14px rgba(42,24,16,.10)}
.ring{
  width:34px;height:34px;border-radius:50%;
  border:2.5px solid var(--gold);
  position:relative;
  flex-shrink:0;
}
.ring::after{
  content:"";
  position:absolute; inset:6px;
  border-radius:50%;
  border:2px solid var(--clay);
  opacity:.55;
}
.brand-name{
  font-family:'Reem Kufi',sans-serif;
  font-size:24px;
  line-height:1;
}
.brand-name span{color:var(--gold-deep)}
.icon-btn{
  width:38px;height:38px;border-radius:50%;
  background:var(--paper);
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;
  color:var(--espresso);
  transition:background .15s ease, transform .15s ease;
}
.icon-btn:hover{background:var(--cream)}
.icon-btn:active{transform:scale(.94)}
#menuToggle{position:relative}
.header-badge{
  position:absolute;
  top:-4px; left:-4px;
  background:var(--clay);
  color:#fff;
  font-size:10px;
  font-weight:800;
  min-width:17px;
  height:17px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 3px;
}

/* ===== تخطيط الصفحة ===== */
.page-grid{
  padding-top:28px;
  padding-bottom:140px;
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:start;
}

/* ===== هيرو ===== */
.hero{padding:6px 0 4px}
.hero h1{
  font-family:'Reem Kufi',sans-serif;
  font-size:26px;
  margin:0 0 6px;
}
.hero p{
  margin:0;
  font-size:14px;
  color:var(--espresso-2);
  opacity:.72;
}

/* ===== بحث ===== */
.search{
  margin:16px 0 6px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 16px;
  display:flex;
  align-items:center;
  gap:8px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.search:focus-within{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(198,143,65,.18);
}
.search input{
  border:0;
  background:transparent;
  outline:0;
  font-family:inherit;
  font-size:14px;
  color:var(--espresso);
  width:100%;
}
.search input::placeholder{color:var(--espresso-2); opacity:.55}

/* ===== تصنيفات ===== */
.cats{
  display:flex;
  gap:8px;
  padding:16px 0 4px;
  overflow-x:auto;
  scrollbar-width:none;
}
.cats::-webkit-scrollbar{display:none}
.cat{
  flex-shrink:0;
  padding:9px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--espresso-2);
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.cat:hover{border-color:var(--gold)}
.cat.active{
  background:var(--espresso);
  color:var(--cream);
  border-color:var(--espresso);
}

/* ===== شبكة المنتجات ===== */
.menu{
  padding:14px 0 4px;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}
.empty-state{
  text-align:center;
  color:var(--espresso-2);
  opacity:.6;
  font-size:14px;
  padding:40px 0;
}
.card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  position:relative;
  display:flex;
  flex-direction:column;
}
.thumb{
  height:88px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  margin-bottom:10px;
}
.thumb.t1{background:linear-gradient(160deg,#E7C48A,#C68F41)}
.thumb.t2{background:linear-gradient(160deg,#F2C9BC,#B4472F)}
.thumb.t3{background:linear-gradient(160deg,#DCE6D4,#5F7A52)}
.thumb.t4{background:linear-gradient(160deg,#E9DEC9,#8C6A3F)}
.thumb.t5{background:linear-gradient(160deg,#EAD9C4,#9C6B26)}
.card h3{
  font-size:14px;
  margin:0 0 3px;
  font-weight:700;
}
.card .desc{
  font-size:12px;
  color:var(--espresso-2);
  opacity:.62;
  margin:0 0 10px;
  line-height:1.4;
  min-height:2.6em;
}
.sizes{display:flex; gap:6px; flex-wrap:wrap; margin-top:auto}
.size{
  font-size:12px;
  font-weight:700;
  background:var(--sage-light);
  color:var(--sage);
  padding:6px 11px;
  border-radius:999px;
  border:1px solid transparent;
  position:relative;
  transition:background .15s ease, color .15s ease, transform .1s ease;
}
.size:hover{transform:translateY(-1px)}
.size:active{transform:translateY(0)}
.size.picked{
  background:var(--espresso);
  color:var(--cream);
}
.size .qty-pill{
  position:absolute;
  top:-8px;
  left:-8px;
  background:var(--clay);
  color:#fff;
  font-size:10px;
  font-weight:800;
  min-width:18px;
  height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 3px;
}
.badge{
  position:absolute; top:10px; left:10px;
  background:var(--clay);
  color:#fff;
  font-size:10px;
  font-weight:700;
  padding:4px 8px;
  border-radius:999px;
  z-index:2;
}

/* ===== شريط السلة العائم ===== */
.cartbar{
  position:fixed;
  bottom:16px;
  right:16px; left:16px;
  max-width:1360px;
  margin:0 auto;
  background:var(--espresso);
  border:0;
  border-radius:20px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  box-shadow:0 12px 26px rgba(0,0,0,.28);
  z-index:45;
  animation:riseIn .2s ease;
}
@keyframes riseIn{from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:translateY(0)}}
.cartbar .left{display:flex; flex-direction:column; gap:2px; align-items:flex-start}
.cartbar .count{font-size:11px; color:var(--gold); font-weight:700}
.cartbar .total{font-size:17px; color:var(--cream); font-weight:800; font-family:'Reem Kufi',sans-serif}
.cartbar .send-btn{
  background:var(--send);
  color:#fff;
  border-radius:14px;
  padding:11px 18px;
  font-size:13px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:6px;
}

/* ===== عمود / لوحة السلة ===== */
.cart-col{ display:none; }
.cart-panel{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px 20px 20px;
  box-shadow:var(--shadow);
}
.sheet-head{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:14px;border-bottom:1px dashed var(--line);
}
.sheet-head h2{font-family:'Reem Kufi',sans-serif;font-size:19px;margin:0}

.cart-items{max-height:220px; overflow-y:auto}
.cart-empty{
  text-align:center;
  font-size:13px;
  color:var(--espresso-2);
  opacity:.6;
  padding:26px 0;
}
.line-item{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 0;border-bottom:1px solid var(--line);
}
.line-item .info{flex:1; padding:0 12px; min-width:0}
.line-item .info h4{margin:0 0 3px;font-size:13px}
.line-item .info span{display:block;font-size:11px;color:var(--espresso-2);opacity:.6}
.line-item .info small{display:block;font-size:9px;color:var(--espresso-2);opacity:.52;margin-top:2px}
.price-col{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.price-col strong{font-size:13px}
.price-col small{font-size:9px;font-weight:600;color:var(--espresso-2);opacity:.55;white-space:nowrap}
.qty{
  display:flex;align-items:center;gap:10px;
  background:var(--cream);border:1px solid var(--line);
  border-radius:999px;padding:5px 8px;font-size:13px;font-weight:700;
  flex-shrink:0;
}
.qty button{
  border:0;background:transparent;color:var(--espresso);
  font-size:14px;width:18px;height:18px;line-height:1;font-weight:800;
}
.price-col{font-size:13px;font-weight:800;color:var(--gold-deep);flex-shrink:0;min-width:72px;text-align:left}

.notes-label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:var(--espresso-2);
  margin:16px 0 6px;
}
.notes-input{
  width:100%;
  resize:vertical;
  min-height:56px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 12px;
  font-family:inherit;
  font-size:13px;
  color:var(--espresso);
  background:var(--cream);
}
.notes-input:focus-visible{border-color:var(--gold)}

.ticket{
  margin-top:16px;
  background:var(--espresso);
  border-radius:18px;
  padding:18px 18px 20px;
  position:relative;
}
.ticket::before{
  content:"";
  position:absolute; top:-9px; right:16px; left:16px; height:18px;
  background-image:radial-gradient(circle at center, var(--cream) 0 5px, transparent 6px);
  background-size:18px 18px;
  background-repeat:repeat-x;
  background-position:0 -9px;
}
.ticket .row{
  display:flex;justify-content:space-between;
  font-size:12px;color:var(--cream);opacity:.7;margin-bottom:6px;
}
.ticket .row.total{
  opacity:1;font-size:17px;font-weight:800;color:var(--gold);
  font-family:'Reem Kufi',sans-serif;margin:10px 0 14px;
}
.whats-btn{
  width:100%;
  border:0;
  background:var(--send);color:#fff;border-radius:14px;
  padding:14px;text-align:center;font-weight:700;font-size:14px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  transition:filter .15s ease, transform .1s ease;
}
.whats-btn:hover{filter:brightness(1.06)}
.whats-btn:active{transform:scale(.98)}
.whats-btn:disabled{opacity:.55; filter:none}

.scrim{
  position:fixed; inset:0;
  background:rgba(42,24,16,.45);
  z-index:44;
}

/* ===== طبقات صغيرة الشاشة (السلة كشيت سفلي) ===== */
@media (max-width:979.98px){
  .cart-col.open{
    display:flex;
    position:fixed;
    inset:auto 0 0 0;
    z-index:46;
    max-height:88vh;
  }
  .cart-col.open .cart-panel{
    width:100%;
    border-radius:24px 24px 0 0;
    box-shadow:0 -14px 34px rgba(0,0,0,.28);
    max-height:88vh;
    overflow-y:auto;
  }
}

/* ===== تابلت وما فوق ===== */
@media (min-width:640px){
  .menu{grid-template-columns:repeat(3, 1fr)}
}

/* ===== شاشات كبيرة: السلة عمود ثابت ===== */
@media (min-width:980px){
  .wrap{padding:0 32px}
  .page-grid{
    grid-template-columns:minmax(0,1fr) 390px;
    gap:48px;
    padding-top:40px;
  }
  .hero h1{font-size:32px}
  .menu{grid-template-columns:repeat(3, 1fr)}
  .cart-col{
    display:block;
    position:sticky;
    top:calc(var(--header-h) + 24px);
  }
  .cartbar{display:none !important}
  .scrim{display:none !important}
  .sheet-head #cartCloseBtn{display:none}
  #menuToggle{display:none}
}

@media (min-width:1180px){
  .menu{grid-template-columns:repeat(4, 1fr)}
}

@media (min-width:1380px){
  .menu{grid-template-columns:repeat(4, minmax(0, 1fr))}
  .page-grid{padding-top:44px}
  .hero h1{font-size:40px}
}

/* ===== موبايل صغير جدًا ===== */
@media (max-width:380px){
  .wrap{padding:0 14px}
  .menu{gap:10px}
  .thumb{height:76px; font-size:26px}
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; transition-duration:.001ms !important}
}

/* ===== Professional dynamic store additions ===== */
body{-webkit-font-smoothing:antialiased}.brandmark{text-decoration:none;color:inherit}.hero-kicker,.section-kicker{font-size:11px;font-weight:800;color:var(--gold-deep);display:flex;align-items:center;gap:7px}.hero-kicker span{width:18px;height:2px;background:var(--gold)}.hero h1{font-size:30px}.offers-section{margin:18px 0 24px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.section-head h2{font-family:'Reem Kufi',sans-serif;font-size:22px;margin:2px 0 0}.offer-dot{font-size:10px;font-weight:800;color:var(--sage);background:var(--sage-light);border-radius:999px;padding:7px 10px}.offers-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(285px,84%);gap:12px;overflow:auto;padding:2px 2px 8px;scroll-snap-type:x mandatory;scrollbar-width:none}.offers-track::-webkit-scrollbar{display:none}.offer-card{scroll-snap-align:start;display:grid;grid-template-columns:92px 1fr;gap:12px;background:linear-gradient(135deg,var(--espresso),var(--espresso-2));color:var(--cream);border-radius:20px;padding:12px;box-shadow:var(--shadow);overflow:hidden}.offer-media{min-height:130px;border-radius:14px;overflow:hidden;background:linear-gradient(160deg,#E7C48A,#C68F41);display:flex;align-items:center;justify-content:center;font-size:34px}.offer-media img{width:100%;height:100%;object-fit:cover}.offer-body{min-width:0}.offer-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.offer-meta strong{color:var(--gold);font-family:'Reem Kufi',sans-serif;font-size:17px}.badge-inline{font-size:9px;font-weight:800;color:#fff;background:var(--clay);border-radius:999px;padding:4px 7px}.offer-body h3{font-size:15px;margin:8px 0 3px}.offer-body p{font-size:11px;opacity:.68;margin:0 0 7px;line-height:1.6}.offer-items{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:9px}.offer-items span{font-size:9px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.05);border-radius:999px;padding:3px 6px}.add-offer{border:0;background:var(--gold);color:var(--espresso);font-size:11px;font-weight:800;padding:8px 10px;border-radius:10px;display:inline-flex;align-items:center;gap:7px}.card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(42,24,16,.10);border-color:rgba(198,143,65,.28)}.thumb{height:112px;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.card:hover .thumb img{transform:scale(1.035)}.card-copy small{display:block;font-size:9px;font-weight:700;color:var(--gold-deep);margin-bottom:2px}.size{display:inline-flex;align-items:center;gap:5px}.size b{font-size:10px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:5px}.empty-state span{font-size:28px}.empty-state strong{font-size:14px}.empty-state small{font-size:11px;opacity:.58}.initial-empty{background:rgba(255,251,244,.45);border:1px dashed var(--line);border-radius:20px}.notes-label{font-size:11px;font-weight:700;color:var(--espresso-2)}.notes-label span{font-weight:400;opacity:.5}.order-feedback{font-size:10px;color:#fff;margin:9px 0 0;text-align:center;opacity:.85}.toast{position:fixed;top:88px;left:50%;transform:translateX(-50%);z-index:60;background:var(--espresso);color:var(--cream);padding:10px 14px;border-radius:999px;display:flex;align-items:center;gap:8px;box-shadow:var(--shadow);max-width:calc(100% - 28px)}.toast span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--sage);font-size:10px}.toast p{font-size:10px;font-weight:700;margin:0}.store-footer{padding:55px 0 10px;text-align:center;font-size:11px;color:var(--espresso-2);opacity:.62}.reveal-on-scroll{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s ease}.reveal-on-scroll.is-visible{opacity:1;transform:none}
@media(min-width:640px){.offers-track{grid-auto-columns:minmax(320px,52%)}}
@media(min-width:980px){.offers-track{grid-auto-flow:unset;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.offer-card{grid-template-columns:105px 1fr}.hero h1{font-size:36px}}
@media(max-width:440px){.offer-card{grid-template-columns:82px 1fr}.offer-media{min-height:122px}}
@media(prefers-reduced-motion:reduce){.reveal-on-scroll{opacity:1;transform:none}}

/* ===== Grouped category menu ===== */
.menu-sections{
  display:flex;
  flex-direction:column;
  gap:30px;
  padding:22px 0 8px;
}
.category-section{
  background:rgba(255,251,244,.58);
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
  box-shadow:0 10px 30px rgba(42,24,16,.055);
}
.category-section[hidden]{display:none !important}
.category-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
  padding-bottom:15px;
  border-bottom:1px solid rgba(42,24,16,.08);
}
.category-title-wrap{display:flex;align-items:center;gap:13px;min-width:0}
.category-accent{
  width:5px;
  height:44px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--gold),var(--clay));
  flex:0 0 auto;
}
.category-eyebrow{
  display:block;
  margin-bottom:2px;
  color:var(--gold-deep);
  font-size:11px;
  font-weight:800;
}
.category-heading h2{
  margin:0;
  font-family:'Reem Kufi','Cairo',sans-serif;
  font-size:27px;
  line-height:1.15;
  color:var(--espresso);
}
.category-count{
  flex:0 0 auto;
  padding:7px 11px;
  border-radius:999px;
  background:var(--sage-light);
  color:var(--sage);
  font-size:11px;
  font-weight:800;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
}
.product-grid .card[hidden]{display:none !important}
.product-grid .card{min-width:0;padding:14px;border-radius:20px}
.product-grid .card h3{font-size:16px;line-height:1.4;margin-top:1px}
.product-grid .card-copy small{font-size:10px}
.product-grid .thumb{height:130px;border-radius:15px}
.product-grid .size{padding:8px 12px;font-size:12px;justify-content:space-between}
.product-grid .size b{font-size:11px}

@media(min-width:640px){
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-heading h2{font-size:30px}
}
@media(min-width:1180px){
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
  .category-section{padding:25px}
  .category-heading h2{font-size:32px}
  .product-grid .thumb{height:145px}
}
@media(min-width:1380px){
  .category-section{padding:28px}
  .category-heading{margin-bottom:24px;padding-bottom:18px}
  .category-heading h2{font-size:34px}
  .product-grid .card h3{font-size:17px}
}
@media(max-width:520px){
  .menu-sections{gap:20px;padding-top:16px}
  .category-section{padding:14px;border-radius:21px}
  .category-heading{align-items:flex-end;margin-bottom:14px}
  .category-heading h2{font-size:23px}
  .category-count{font-size:9px;padding:6px 8px}
  .category-eyebrow{font-size:9px}
  .category-accent{height:36px;width:4px}
  .product-grid{gap:10px}
  .product-grid .card{padding:10px;border-radius:16px}
  .product-grid .thumb{height:100px}
  .product-grid .card h3{font-size:14px}
  .product-grid .size{padding:7px 8px;font-size:10px}
  .product-grid .size b{font-size:9px}
}


/* ===== v5 performance & responsive hardening ===== */
html { scroll-behavior: auto; }
body { overscroll-behavior-y: auto; }
* { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.reveal-on-scroll { will-change: auto !important; }

.pro-footer{
  direction:ltr;
  margin-top:56px;
  min-height:150px;
  padding:34px 42px;
  border-top:1px solid rgba(198,143,65,.22);
  background:#17100d;
  color:#bfb4aa;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
  border-radius:26px 26px 0 0;
}
.footer-copy{font-size:14px;letter-spacing:.01em}.footer-copy strong{color:#d59a47;font-weight:800}
.footer-social{display:flex;align-items:center;justify-content:center;gap:12px}
.footer-social a{width:42px;height:42px;border:1px solid rgba(255,255,255,.12);border-radius:13px;display:grid;place-items:center;color:#d8cec6;text-decoration:none;font-weight:800;font-size:13px;transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease}
.footer-social a:hover{transform:translateY(-2px);border-color:#c68f41;color:#fff;background:rgba(198,143,65,.12)}
.footer-credit{justify-self:end;display:flex;align-items:center;gap:16px;color:#bfb4aa;text-decoration:none;font-size:18px}
.footer-credit b{width:46px;height:46px;border:1px solid rgba(198,143,65,.35);border-radius:14px;display:grid;place-items:center;color:#d59a47;font-size:17px}

@media (max-width: 1100px){
  .pro-footer{grid-template-columns:1fr auto;padding:30px 26px}.footer-social{order:3;grid-column:1/-1}.footer-credit{justify-self:end}
}
@media (max-width: 760px){
  .pro-footer{display:flex;flex-direction:column;text-align:center;gap:20px;padding:30px 18px;border-radius:20px 20px 0 0}.footer-credit{justify-self:auto;font-size:16px}.footer-social{order:0}.footer-copy{order:2}
}
@media (max-width: 560px){
  .wrap{padding-inline:12px!important}.product-grid{grid-template-columns:1fr!important}.category-head{align-items:flex-start!important}.category-count{font-size:11px}.cats{margin-inline:-2px}.cat{padding:9px 14px}.search{min-height:52px}.card{border-radius:16px}.thumb{height:150px}.pro-footer{margin-inline:-12px}
}
@media (min-width: 561px) and (max-width: 900px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (min-width: 901px) and (max-width: 1250px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* ===== v6 mobile cart, full-width variants & footer refinement ===== */
body.cart-open{overflow:hidden;touch-action:none}

/* Every product choice fills the product card width. */
.product-grid .sizes{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  width:100%;
}
.product-grid .size{
  width:100%;
  min-height:42px;
  border-radius:13px;
  justify-content:space-between;
  padding:10px 12px;
}
.product-grid .size span:first-child{font-weight:800}
.product-grid .size b{margin-inline-start:auto}

/* Footer is its own full-width section, not trapped inside the products column. */
.rashfa-footer{
  width:100%;
  margin-top:58px;
  background:linear-gradient(180deg,#f7eedf 0%,#efe1ca 100%);
  border-top:1px solid rgba(198,143,65,.25);
  color:var(--espresso-2);
}
.rashfa-footer-inner{
  min-height:150px;
  padding-top:30px;
  padding-bottom:30px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:28px;
  direction:ltr;
}
.rashfa-footer .footer-copy{font-size:14px;color:var(--espresso-2);opacity:.78}
.rashfa-footer .footer-copy strong{color:var(--gold-deep);font-weight:800}
.rashfa-footer .footer-social{display:flex;align-items:center;justify-content:center;gap:10px}
.rashfa-footer .footer-social a{
  width:42px;height:42px;border-radius:13px;
  border:1px solid rgba(42,24,16,.12);
  background:rgba(255,251,244,.72);
  color:var(--espresso);
  display:grid;place-items:center;
  text-decoration:none;font-size:12px;font-weight:900;
  box-shadow:0 6px 18px rgba(42,24,16,.04);
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.rashfa-footer .footer-social a:hover{transform:translateY(-2px);border-color:var(--gold);background:var(--paper)}
.rashfa-footer .footer-credit{
  justify-self:end;display:flex;align-items:center;gap:14px;
  color:var(--espresso-2);text-decoration:none;font-size:16px;opacity:.8;
}
.rashfa-footer .footer-credit b{
  width:44px;height:44px;border-radius:13px;display:grid;place-items:center;
  border:1px solid rgba(198,143,65,.35);background:var(--paper);
  color:var(--gold-deep);font-size:14px;
}

/* Phone and tablet: cart is a real viewport-wide sheet. */
@media (max-width:979.98px){
  .cart-col.open{
    display:flex !important;
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    max-width:none !important;
    height:100dvh !important;
    max-height:none !important;
    align-items:flex-end;
    z-index:1002 !important;
    padding:0 !important;
    margin:0 !important;
    transform:none !important;
  }
  .cart-col.open .cart-panel{
    width:100vw !important;
    max-width:none !important;
    max-height:min(92dvh,760px) !important;
    margin:0 !important;
    border-radius:24px 24px 0 0 !important;
    padding:18px 16px calc(18px + env(safe-area-inset-bottom)) !important;
    overflow:auto;
    overscroll-behavior:contain;
    box-shadow:0 -18px 50px rgba(42,24,16,.28);
  }
  .scrim{z-index:1001 !important;background:rgba(42,24,16,.48)}
  .sheet-head{position:sticky;top:-18px;background:var(--paper);z-index:2;padding-top:8px}
  .cart-items{max-height:40dvh}
  .line-item{gap:8px;flex-wrap:wrap}
  .line-item .info{padding-inline:4px;min-width:120px}
  .qty{order:3}
  .price-col{min-width:66px}
  .cartbar{right:10px;left:10px;bottom:10px;padding:11px 12px;border-radius:16px}
}

@media (max-width:560px){
  .page-grid{display:block !important}
  .menu-col{width:100%;min-width:0}
  .product-grid{grid-template-columns:1fr !important}
  .product-grid .card{width:100%;min-width:0}
  .product-grid .thumb{height:180px}
  .product-grid .size{min-height:46px;font-size:12px;padding:11px 13px}
  .product-grid .size b{font-size:12px}
  .rashfa-footer{margin-top:36px}
  .rashfa-footer-inner{
    display:flex;flex-direction:column;gap:18px;text-align:center;
    padding-top:26px;padding-bottom:26px;
  }
  .rashfa-footer .footer-credit{justify-self:auto;font-size:15px}
  .rashfa-footer .footer-copy{order:3;font-size:12px}
  .rashfa-footer .footer-social{order:1;flex-wrap:wrap}
  .rashfa-footer .footer-credit{order:2}
}

@media (min-width:561px) and (max-width:900px){
  .rashfa-footer-inner{grid-template-columns:1fr auto;}
  .rashfa-footer .footer-social{grid-column:1/-1;order:3}
}


/* ===== v8 dynamic footer ===== */
.rashfa-footer .footer-extra{grid-column:1/-1;margin:0;text-align:center;color:var(--espresso-2);opacity:.65;font-size:12px;line-height:1.8}
.rashfa-footer-inner:has(.footer-copy:only-child){grid-template-columns:1fr;justify-items:center;text-align:center}
@media(max-width:760px){.rashfa-footer .footer-extra{order:4;max-width:560px}}

/* ===== v9 dynamic developer image ===== */
.rashfa-footer .footer-credit-image-wrap{
  width:58px;
  height:58px;
  border-radius:14px;
  border:1px solid rgba(198,143,65,.30);
  background:rgba(255,251,244,.9);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
  padding:5px;
}
.rashfa-footer .footer-credit-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:560px){
  .rashfa-footer .footer-credit{width:100%;justify-content:center;flex-wrap:wrap}
  .rashfa-footer .footer-credit-image-wrap{width:54px;height:54px}
}

/* Dynamic store footer */
.rashfa-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px;align-items:start}.footer-about,.footer-dynamic-links,.footer-social-dynamic{display:flex;flex-direction:column;gap:9px}.footer-about h3,.footer-dynamic-links h4{margin:0 0 6px}.footer-about p{margin:0}.footer-about a,.footer-about span,.footer-dynamic-links a,.footer-social-dynamic a{text-decoration:none;color:inherit}.footer-hours{white-space:normal}.rashfa-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14)}@media(max-width:760px){.rashfa-footer-grid{grid-template-columns:1fr;gap:22px}.rashfa-footer-bottom{flex-direction:column;align-items:flex-start}}

/* ===== v10 polished footer + icon links ===== */
.rashfa-footer{margin-top:64px;background:linear-gradient(180deg,#f7ecda 0%,#efe0c7 100%);border-top:1px solid rgba(117,78,43,.12);color:#4c3024;opacity:1}
.rashfa-footer-main{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(150px,.75fr) auto;gap:48px;padding-top:42px;padding-bottom:32px;align-items:start}
.rashfa-footer-main .footer-about{display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:right}
.rashfa-footer-main .footer-about h3{font-size:22px;font-weight:900;color:#321d15;margin:0}
.rashfa-footer-main .footer-description{max-width:560px;line-height:1.9;color:#6d5042;font-size:14px}
.footer-contact-list{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.footer-contact-list a,.footer-contact-static{display:flex;align-items:flex-start;gap:9px;color:#5a3b2e;text-decoration:none;font-size:14px;line-height:1.7}
.footer-contact-list a:hover{color:#0b9f6b}
.footer-contact-list span:first-child,.footer-contact-static i{width:20px;display:inline-flex;justify-content:center;font-style:normal;color:#b97839;font-weight:800}
.footer-dynamic-links{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.footer-dynamic-links h4,.footer-social-block h4{font-size:14px;margin:0 0 4px;color:#321d15;font-weight:900}
.footer-dynamic-links a{font-size:13px;color:#65483a;text-decoration:none}.footer-dynamic-links a:hover{color:#0b9f6b}
.footer-social-block{display:flex;flex-direction:column;gap:12px;align-items:flex-start;min-width:190px}
.footer-social-icons{display:flex;align-items:center;justify-content:flex-start;gap:10px;flex-wrap:wrap}
.footer-social-icons a{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fffaf2;border:1px solid rgba(117,78,43,.13);color:#43291e;text-decoration:none;box-shadow:0 5px 18px rgba(80,49,32,.06);transition:.18s ease}
.footer-social-icons a:hover{transform:translateY(-2px);background:#0b9f6b;color:#fff;border-color:#0b9f6b;box-shadow:0 8px 22px rgba(11,159,107,.18)}
.footer-social-icons svg{width:20px;height:20px;fill:currentColor;display:block}
.rashfa-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:22px;padding-bottom:24px;border-top:1px solid rgba(117,78,43,.13);margin-top:0;direction:rtl}
.rashfa-footer .footer-copy{font-size:13px;color:#705446;opacity:1;white-space:normal}.rashfa-footer .footer-copy strong{color:#9a672f}
.rashfa-footer .footer-credit{display:flex;align-items:center;gap:12px;color:#61463a;text-decoration:none;font-size:14px;opacity:1;flex:0 0 auto}
.rashfa-footer .footer-credit:hover{color:#0b9f6b}
.footer-credit-copy{white-space:nowrap}
.footer-credit-logo{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:#fffaf2;border:1px solid rgba(117,78,43,.13);padding:5px;flex:0 0 auto}
.footer-credit-logo img{width:100%;height:100%;object-fit:contain;display:block}
.footer-credit-logo b{display:grid;place-items:center;width:100%;height:100%;font-size:14px;color:#a56e34}
.rashfa-footer .footer-extra{padding-bottom:22px;color:#76594b;opacity:.8}
@media(max-width:900px){.rashfa-footer-main{grid-template-columns:1fr 1fr;gap:28px}.footer-about{grid-column:1/-1}.footer-social-block{min-width:0}.rashfa-footer-bottom{align-items:center}}
@media(max-width:620px){.rashfa-footer{margin-top:38px}.rashfa-footer-main{grid-template-columns:1fr;gap:24px;padding-top:30px;padding-bottom:24px}.rashfa-footer-main .footer-about,.footer-dynamic-links,.footer-social-block{align-items:center;text-align:center}.footer-contact-list{align-items:center}.footer-contact-list a,.footer-contact-static{text-align:center;justify-content:center}.footer-social-icons{justify-content:center}.rashfa-footer-bottom{flex-direction:column;justify-content:center;text-align:center;padding-top:20px;padding-bottom:24px}.rashfa-footer .footer-credit{flex-direction:column-reverse;justify-content:center}.footer-credit-copy{white-space:normal}.footer-credit-logo{width:60px;height:60px}}


/* ============================================================
   RASHFA STOREFRONT REFERENCE DESIGN v4
   ============================================================ */
:root{
  --espresso:#2a1810;
  --espresso-2:#4a3429;
  --cream:#f7efe2;
  --paper:#fffdf8;
  --gold:#c89142;
  --gold-deep:#9e6c28;
  --clay:#b4472f;
  --sage:#5f7a52;
  --sage-light:#edf3e7;
  --send:#3f8a53;
  --line:rgba(42,24,16,.10);
  --shadow:0 14px 36px rgba(42,24,16,.12);
}
body{background:#f0e7d7!important;color:var(--espresso)!important}
.wrap{max-width:1440px!important}
.topbar{height:66px!important;background:rgba(247,239,226,.96)!important;border-bottom:1px solid #e2d5c3!important;backdrop-filter:blur(12px)!important}
.brand-name{font-size:22px!important;letter-spacing:.5px}.brand-logo{width:34px!important;height:34px!important}
.page-grid{grid-template-columns:minmax(0,1fr) 360px!important;gap:42px!important;padding-top:32px!important;align-items:start!important}
.hero{background:transparent!important;padding:10px 0 2px!important}.hero-kicker{color:#aa711f!important}.hero h1{font-size:40px!important;line-height:1.2!important;margin:7px 0 7px!important}.hero p{color:#7d7065!important}
.offers-section{margin:30px 0 22px!important}.section-head{margin-bottom:13px!important}.section-head h2{font-size:26px!important}.offers-track{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;overflow:visible!important}.offer-card{background:#32180d!important;color:#fff!important;border-radius:20px!important;border:0!important;box-shadow:0 18px 34px rgba(50,24,13,.18)!important}.offer-body h3,.offer-body p{color:#fff!important}.offer-body p{opacity:.7}.offer-items span{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important}.add-offer{background:#d49a3e!important;color:#29170e!important;border-radius:10px!important;font-weight:800!important}.offer-media{background:#dba75b!important;border-radius:15px!important}
.search{background:#fffdf8!important;border-color:#e4d7c6!important;border-radius:13px!important;box-shadow:none!important}
.store-cat-carousel{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:9px;align-items:center;margin:12px 0 22px;padding:8px;background:#eee3d2;border-radius:16px}
.cats{padding:0!important;gap:9px!important;overflow-x:auto!important;scroll-behavior:smooth!important}
.cat{background:#fffdf8!important;border:1px solid #e3d8ca!important;color:#3f2d24!important;padding:10px 19px!important;box-shadow:0 3px 8px rgba(42,24,16,.025)!important}
.cat.active{background:#2a1810!important;border-color:#2a1810!important;color:#fff!important}
.store-cat-nav{width:44px;height:44px;border-radius:12px;border:1px solid #ded2c0;background:#fffdf8;color:#21140d;font-size:31px;line-height:1;display:grid;place-items:center;box-shadow:0 5px 12px rgba(42,24,16,.08);padding:0}
.store-cat-nav:hover{background:#fff8ee}.store-cat-nav:active{transform:scale(.96)}
.category-section{background:#fbf6ed!important;border:1px solid #e7d9c7!important;border-radius:22px!important;padding:22px!important;margin-bottom:20px!important}
.category-heading{border-bottom:1px solid #e7ddcf!important;padding-bottom:14px!important;margin-bottom:18px!important}.category-heading h2{font-size:28px!important}.category-count{background:#e8f0df!important;color:#5f7a52!important;border-radius:999px!important}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.card{background:#fffdf8!important;border:1px solid #e5dacb!important;border-radius:16px!important;box-shadow:0 6px 16px rgba(42,24,16,.045)!important;transition:.18s ease!important}.card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(42,24,16,.09)!important}
.thumb{height:145px!important;background:#f3eadc!important;border-radius:12px!important;overflow:hidden!important}.thumb img{width:100%;height:100%;object-fit:cover}.card-copy small{color:#b28a58!important}.card h3{font-size:16px!important}.sizes{margin-top:10px!important;gap:7px!important}.size{background:#f1eee9!important;color:#503b30!important;border:1px solid #e8dfd4!important;border-radius:9px!important;padding:7px 10px!important}.size.picked{background:#2a1810!important;color:#fff!important}
.cart-col{display:block!important;position:sticky!important;top:88px!important}.cart-panel{background:#fffdf8!important;border:1px solid #e5d8c7!important;border-radius:22px!important;box-shadow:0 17px 34px rgba(42,24,16,.13)!important;padding:20px!important}.sheet-head{border-bottom:1px solid #eadfce!important}.sheet-head h2{font-size:22px!important}.notes-input{background:#fbf5eb!important;border-color:#e7dac8!important}.ticket{background:#2d170d!important;border-radius:17px!important}.whats-btn{background:#3f8a53!important;border-radius:12px!important}
.rashfa-footer{background:#e8dcc8!important;border-top:1px solid #dacbb5!important}
.footer-credit-logo{background:#fff8ed!important}

@media(max-width:1180px){
  .page-grid{grid-template-columns:minmax(0,1fr) 330px!important;gap:24px!important}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:979.98px){
  .page-grid{grid-template-columns:1fr!important;padding-top:20px!important}
  .cart-col{display:none!important}.cart-col.open{display:flex!important}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .offers-track{grid-template-columns:1fr!important}
  .hero h1{font-size:31px!important}
}
@media(max-width:600px){
  .wrap{padding:0 12px!important}
  .store-cat-carousel{grid-template-columns:40px minmax(0,1fr) 40px;padding:6px;gap:5px}
  .store-cat-nav{width:38px;height:38px;font-size:27px}
  .cat{padding:8px 13px!important;font-size:12px!important}
  .category-section{padding:14px!important;border-radius:16px!important}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .thumb{height:105px!important}
}

/* ===== Rashfa 2026 storefront redesign — reference-inspired premium coffee shop ===== */
body{background:#f4ecdf;color:#3a1f12}.topbar{height:82px;background:rgba(255,250,242,.94);box-shadow:0 8px 30px rgba(64,34,18,.07);border-bottom:1px solid rgba(75,42,24,.08)}.topbar-in{gap:26px}.brand-logo{width:58px;height:58px;border-radius:0;object-fit:contain;box-shadow:none}.brand-name{font-size:28px;font-weight:800}.desktop-nav{display:flex;align-items:center;gap:26px;margin-inline:auto}.desktop-nav a{color:#4b2a18;text-decoration:none;font-weight:700;font-size:14px;position:relative}.desktop-nav a:first-child:after{content:"";position:absolute;right:0;left:0;bottom:-13px;height:2px;background:#9b6a46}.header-actions{display:flex;align-items:center;gap:10px}.header-search-jump{width:240px;height:42px;border:1px solid rgba(70,39,22,.1);border-radius:999px;background:#fff;display:flex;align-items:center;gap:10px;padding:0 16px;color:#7e685a}.header-search-jump span{font-size:12px}.page-grid{padding-top:22px}.rashfa-showcase{min-height:350px;border-radius:24px;overflow:hidden;background:linear-gradient(100deg,#ead3b8 0%,#f6e8d5 46%,#c7b493 100%);display:grid;grid-template-columns:43% 57%;padding:0!important;box-shadow:0 18px 50px rgba(69,38,20,.13)}.hero-copy{padding:55px 48px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.hero-copy h1{font-size:40px;line-height:1.35;margin:8px 0 10px;color:#351a0e}.hero-copy p{font-size:15px;line-height:1.9;max-width:390px}.hero-shop-btn{margin-top:20px;background:#402113;color:#fff;text-decoration:none;border-radius:11px;padding:12px 24px;font-weight:800;display:inline-flex;gap:18px;align-items:center}.hero-visual{min-height:350px;background-size:cover;background-position:center;position:relative}.hero-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f2dfc8 0%,rgba(242,223,200,.15) 35%,rgba(30,16,8,.06))}.hero-script{position:absolute;top:40px;right:36px;color:#fff;font-family:'Reem Kufi',sans-serif;font-size:26px;line-height:1.5;transform:rotate(-5deg);text-shadow:0 2px 12px rgba(0,0,0,.3)}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#fffaf3;border:1px solid rgba(74,39,20,.08);border-radius:18px;margin:16px 0 22px;padding:16px 20px;box-shadow:0 8px 25px rgba(67,37,20,.05)}.trust-strip>div{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-items:center;border-left:1px solid rgba(74,39,20,.08);padding:0 18px;font-size:20px}.trust-strip>div:last-child{border-left:0}.trust-strip b{font-size:12px}.trust-strip small{font-size:10px;color:#8a7567}.offers-section,.category-section{background:transparent}.section-head h2,.category-heading h2{font-size:25px}.offers-track{grid-auto-columns:minmax(250px,330px)}.offer-card,.card{border-radius:14px;background:#fff;border:1px solid rgba(71,38,20,.09);box-shadow:0 8px 22px rgba(70,39,20,.06)}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.card{padding:9px}.thumb{height:160px;background:#f5eee5;border-radius:10px;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.card-copy small{color:#a27654}.card h3{font-size:15px}.size{border-radius:8px;background:#4b2818;color:#fff;display:flex;justify-content:space-between;gap:7px;flex:1}.search{max-width:650px;margin:20px auto 12px}.store-cat-carousel{background:#fffaf3;border-radius:16px;padding:5px 8px;border:1px solid rgba(74,39,20,.07)}.cat{background:transparent;border:0}.cat.active{background:#472516}.rashfa-footer{background:#2d180f;color:#f7eadc}.rashfa-footer a{color:#f7eadc}
@media(max-width:900px){.desktop-nav,.header-search-jump{display:none}.rashfa-showcase{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:30px 24px}.hero-copy h1{font-size:30px}.hero-visual{min-height:240px}.trust-strip{grid-template-columns:repeat(2,1fr)}.trust-strip>div{border-left:0;border-bottom:1px solid rgba(74,39,20,.08);padding:10px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.topbar{height:66px}.brand-logo{width:44px;height:44px}.brand-name{font-size:21px}.wrap{padding:0 12px}.page-grid{padding-top:12px}.rashfa-showcase{border-radius:15px}.hero-copy{padding:24px 18px}.hero-copy h1{font-size:26px}.hero-visual{min-height:200px}.trust-strip{padding:8px}.trust-strip>div{padding:8px;font-size:16px}.thumb{height:120px}.product-grid{gap:9px}.card{padding:7px}.desktop-nav{display:none}}

/* ============================================================
   RASHFA v1.0.17 — reference storefront final override
   ============================================================ */
.store-shell{background:#fffaf3!important;color:#32190d!important;min-height:100vh!important}
.wrap{width:min(1400px,calc(100% - 48px))!important;max-width:1400px!important;margin-inline:auto!important}
.topbar{height:92px!important;background:rgba(255,252,247,.97)!important;position:sticky!important;top:0!important;z-index:50!important}
.topbar-in{height:100%!important;display:grid!important;grid-template-columns:230px 1fr 310px!important;align-items:center!important;gap:22px!important}
.brandmark{justify-self:start!important}.brand-logo{width:88px!important;height:70px!important;object-fit:contain!important}.brand-name{font-size:24px!important;color:#2f160b!important}
.desktop-nav{justify-self:center!important;gap:42px!important}.desktop-nav a{font-size:15px!important}.header-actions{justify-self:end!important}.header-search-jump{width:250px!important}.icon-btn{background:transparent!important;border:0!important;font-size:22px!important}
.page-grid{display:block!important;padding-top:12px!important}.menu-col{width:100%!important;min-width:0!important}
.cart-col{display:none!important;position:fixed!important;inset:0 0 0 auto!important;width:min(420px,94vw)!important;z-index:90!important;background:#fffaf4!important;padding:18px!important;overflow:auto!important;box-shadow:-18px 0 50px rgba(40,20,10,.18)!important}
.cart-col.open{display:block!important}.cart-panel{position:static!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important}
.rashfa-showcase{min-height:365px!important;border-radius:0!important;margin-inline:calc(50% - 50vw)!important;width:100vw!important;display:grid!important;grid-template-columns:42% 58%!important;background:#ead2b6!important;box-shadow:none!important}
.hero-copy{padding:54px max(42px,calc((100vw - 1400px)/2 + 32px))!important;padding-left:40px!important;align-items:flex-start!important}.hero-copy h1{font-size:48px!important;max-width:520px!important;line-height:1.25!important}.hero-copy p{font-size:18px!important}.hero-visual{min-height:365px!important;background-position:center!important}.hero-script{font-size:28px!important}
.trust-strip{margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;padding:18px 4%!important}
.search{max-width:760px!important;margin:22px auto 12px!important}.store-cat-carousel{max-width:1000px!important;margin:0 auto 28px!important}
.category-heading{margin-bottom:14px!important}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.card{padding:10px!important}.thumb{height:180px!important}.card h3{font-size:16px!important}.sizes{margin-top:auto!important}.size{min-height:38px!important}
.offers-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:unset!important;overflow:visible!important}.offer-card{min-height:180px!important}
.cartbar{z-index:70!important}
.rashfa-mobile-bottom{display:none}
@media(max-width:900px){
 .wrap{width:min(100% - 28px,900px)!important}.topbar{height:76px!important}.topbar-in{display:flex!important;justify-content:space-between!important}.brand-logo{width:66px!important;height:56px!important}.brand-name{display:none!important}.desktop-nav,.header-search-jump{display:none!important}
 .rashfa-showcase{width:100%!important;margin:0!important;border-radius:18px!important;grid-template-columns:1fr!important}.hero-copy{padding:28px 24px!important}.hero-copy h1{font-size:34px!important}.hero-visual{min-height:260px!important}.trust-strip{border-radius:16px!important;margin:12px 0 18px!important}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.offers-track{grid-template-columns:1fr!important}.thumb{height:160px!important}
 .rashfa-mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;height:70px;background:#fffdf9;border-top:1px solid #eadfce;z-index:65;align-items:center;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -8px 25px rgba(50,25,12,.08)}
 .rashfa-mobile-bottom a,.rashfa-mobile-bottom button{border:0;background:transparent;color:#3b2114;text-decoration:none;font-family:inherit;font-size:12px;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:4px}.rashfa-mobile-bottom i{font-style:normal;font-size:22px}.store-shell{padding-bottom:74px}
}
@media(max-width:520px){
 .wrap{width:calc(100% - 20px)!important}.topbar{height:70px!important}.brand-logo{width:60px!important;height:52px!important}.header-actions{gap:2px!important}
 .rashfa-showcase{border-radius:16px!important}.hero-copy{padding:22px 18px!important}.hero-copy h1{font-size:29px!important}.hero-copy p{font-size:14px!important}.hero-visual{min-height:220px!important}.hero-script{font-size:21px!important;right:18px!important;top:22px!important}
 .trust-strip{grid-template-columns:repeat(4,1fr)!important;padding:10px 4px!important}.trust-strip>div{display:flex!important;flex-direction:column!important;text-align:center!important;gap:3px!important;padding:5px!important;font-size:18px!important}.trust-strip b{font-size:10px!important}.trust-strip small{font-size:8px!important}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.thumb{height:130px!important}.card{padding:7px!important}.card h3{font-size:14px!important}.size{font-size:10px!important;padding:8px!important}.offers-track{grid-template-columns:1fr!important}
}

/* ============================================================
   RASHFA v1.0.18 — approved reference layout
   ============================================================ */
body{background:#fffaf4!important}.store-shell{background:#fffaf4!important}.topbar{height:100px!important;background:#fffdf9!important}.topbar-in{grid-template-columns:250px 1fr 430px!important}
.rashfa-wordmark{position:relative;display:grid!important;grid-template-columns:auto;justify-items:center;gap:0!important;text-decoration:none;color:#32190d!important;width:125px}.rashfa-wordmark .wordmark-cup{font-size:20px;height:18px;line-height:1}.rashfa-wordmark strong{font-family:'Reem Kufi',sans-serif;font-size:36px;line-height:1;font-weight:800}.rashfa-wordmark small{font:700 8px/1.2 Arial,sans-serif;letter-spacing:5px;margin-top:7px}.store-user{font-size:25px;color:#35190c}.cart-header-btn{font-size:28px!important;position:relative!important}.header-whatsapp{background:#4a2817;color:#fff!important;text-decoration:none;padding:13px 22px;border-radius:13px;font-size:13px;font-weight:800;white-space:nowrap}.header-actions{gap:16px!important}.header-search-jump{display:none!important}
.rashfa-showcase{height:365px!important;min-height:365px!important;grid-template-columns:42% 58%!important}.hero-copy{background:linear-gradient(110deg,#efd6b8,#f8e9d8)!important}.hero-kicker{font-size:12px!important;color:#b57a32!important}.hero-copy h1{font-size:47px!important;font-weight:800!important}.hero-shop-btn{min-width:190px!important;justify-content:center!important}.hero-visual{background-size:cover!important;background-position:center!important}.hero-visual:before{background:linear-gradient(90deg,#efd8bd 0%,rgba(239,216,189,.04) 24%,rgba(0,0,0,.02))!important}
.trust-strip{max-width:1400px!important;margin:0 auto 18px!important;background:#fffdf9!important}.featured-showcase{margin:12px 0 24px}.featured-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.featured-head h2{font-size:27px;margin:0;font-weight:800}.featured-head h2 i{display:inline-block;width:4px;height:27px;background:#b8642b;border-radius:9px;vertical-align:middle;margin-right:9px}.featured-head a{color:#a14f22;text-decoration:none;font-weight:700;font-size:13px}.featured-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.featured-card{background:#fff;border:1px solid #eadfD2;border-radius:13px;padding:10px;box-shadow:0 5px 15px rgba(57,29,13,.05)}.featured-image{height:160px;border-radius:9px;background:#f4ede5;overflow:hidden;position:relative}.featured-image img{width:100%;height:100%;object-fit:cover}.featured-image>span{display:grid;place-items:center;height:100%;font-size:46px}.featured-image b{position:absolute;top:7px;left:7px;width:27px;height:27px;border-radius:7px;background:#fff;display:grid;place-items:center;font-size:20px}.featured-card h3{font-size:15px;margin:9px 2px 3px}.featured-price{font-size:16px;color:#b8501e;font-weight:900;margin:2px 2px 8px}.featured-card button{width:100%;border:0;border-radius:8px;background:#5a2d17;color:#fff;padding:10px 8px;font-family:inherit;font-weight:700}
.search{max-width:820px!important}.store-cat-carousel{max-width:1100px!important}.category-section{background:#fffaf4!important;border:0!important;padding:10px 0!important}.category-heading{border-bottom:0!important}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.card{background:#fff!important}.thumb{height:170px!important}.size{background:#5a2d17!important;color:#fff!important;border:0!important}
.cart-col{display:none!important;right:0!important;left:auto!important;top:0!important;height:100vh!important;width:min(430px,95vw)!important;background:#fffaf4!important;z-index:100!important}.cart-col.open{display:block!important}.scrim{position:fixed!important;inset:0!important;background:rgba(31,16,8,.42)!important;z-index:85!important;backdrop-filter:blur(2px)}.cart-panel{background:#fff!important;border-radius:18px!important;padding:18px!important;min-height:calc(100vh - 36px)!important}.sheet-head{display:flex!important;justify-content:space-between!important;align-items:center!important}.ticket{margin-top:16px!important}
@media(max-width:900px){.topbar-in{display:flex!important}.header-whatsapp,.store-user{display:none!important}.rashfa-wordmark{width:95px}.rashfa-wordmark strong{font-size:30px}.rashfa-showcase{height:auto!important;min-height:0!important;grid-template-columns:1fr!important}.hero-copy{order:2!important}.hero-visual{order:1!important;min-height:280px!important}.featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-image{height:150px!important}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.topbar{height:78px!important}.rashfa-wordmark strong{font-size:28px}.rashfa-wordmark small{font-size:6px;letter-spacing:3px}.hero-visual{min-height:240px!important}.hero-copy h1{font-size:31px!important}.hero-copy{padding:22px 18px!important}.featured-grid{gap:9px}.featured-image{height:125px!important}.featured-card{padding:7px}.featured-card h3{font-size:13px}.featured-card button{font-size:11px;padding:9px 5px}.thumb{height:130px!important}}


/* ============================================================
   v1.0.19 FINAL STORE — reference hero + classic catalog/cart
   ============================================================ */
.rashfa-home-hero{width:100%;background:#fffaf4;border-top:1px solid #eadfce;border-bottom:1px solid #eadfce}
.rashfa-home-hero-inner{width:100%;height:430px;display:grid;grid-template-columns:42% 58%;direction:rtl;overflow:hidden}
.rashfa-home-copy{background:linear-gradient(110deg,#f8ead8,#f0d6b8);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:55px clamp(36px,7vw,120px);text-align:right}
.rashfa-home-copy h1{font-size:58px;line-height:1.28;margin:0 0 18px;color:#2f160b;font-weight:900;letter-spacing:-1px}
.rashfa-home-copy p{font-size:20px;color:#745e50;margin:0;line-height:1.8}
.rashfa-home-cta{margin-top:28px;min-width:210px;padding:15px 26px;border-radius:999px;background:#3b1d0e;color:#fff!important;text-decoration:none!important;font-size:17px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:24px;box-shadow:0 9px 22px rgba(59,29,14,.18)}
.rashfa-home-image{position:relative;background-size:cover;background-position:center;min-width:0}
.rashfa-home-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,12,5,.04),transparent 45%)}
.rashfa-home-script{position:absolute;z-index:2;top:88px;left:9%;color:#fff;font-size:31px;font-weight:700;transform:rotate(-12deg);text-shadow:0 3px 16px rgba(0,0,0,.42)}
/* Rest of page: cart LEFT, catalog RIGHT */
.page-grid{display:grid!important;grid-template-columns:360px minmax(0,1fr)!important;grid-template-areas:"cart menu"!important;gap:42px!important;align-items:start!important;direction:ltr!important;padding-top:34px!important;max-width:1400px!important}
.page-grid>.menu-col{grid-area:menu!important;direction:rtl!important;min-width:0!important;width:auto!important}
.page-grid>.cart-col{grid-area:cart!important;display:block!important;position:sticky!important;top:100px!important;inset:auto!important;width:auto!important;height:auto!important;z-index:5!important;background:transparent!important;padding:0!important;overflow:visible!important;box-shadow:none!important;direction:rtl!important}
.page-grid>.cart-col .cart-panel{position:static!important;min-height:0!important;background:#fffdf8!important;border:1px solid #e5d8c7!important;border-radius:22px!important;box-shadow:0 15px 34px rgba(42,24,16,.10)!important;padding:20px!important}
.page-grid .search{max-width:none!important;margin:0 0 14px!important}
.page-grid .store-cat-carousel{margin-bottom:28px!important}
.page-grid .category-section{background:#fffaf4!important;border:1px solid #e6d8c5!important;border-radius:22px!important;padding:22px!important;margin-bottom:24px!important}
.page-grid .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
#cartCloseBtn{display:none!important}
@media(max-width:1100px){
 .rashfa-home-hero-inner{height:390px;grid-template-columns:45% 55%}.rashfa-home-copy h1{font-size:45px}.rashfa-home-copy p{font-size:17px}
 .page-grid{grid-template-columns:310px minmax(0,1fr)!important;gap:22px!important}.page-grid .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
 .rashfa-home-hero-inner{height:auto;grid-template-columns:1fr}.rashfa-home-copy{order:2;padding:30px 24px}.rashfa-home-image{order:1;min-height:300px}.rashfa-home-copy h1{font-size:38px}.rashfa-home-script{font-size:24px;top:45px}
 .page-grid{display:block!important;padding-top:20px!important}.page-grid>.cart-col{display:none!important;position:fixed!important;top:0!important;right:0!important;left:auto!important;width:min(420px,94vw)!important;height:100vh!important;background:#fffaf4!important;padding:18px!important;overflow:auto!important;z-index:100!important;box-shadow:-18px 0 50px rgba(40,20,10,.18)!important}.page-grid>.cart-col.open{display:block!important}.page-grid>.cart-col .cart-panel{min-height:calc(100vh - 36px)!important}.page-grid .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}#cartCloseBtn{display:inline-grid!important}
}
@media(max-width:520px){.rashfa-home-image{min-height:245px}.rashfa-home-copy{padding:24px 18px}.rashfa-home-copy h1{font-size:32px}.rashfa-home-copy p{font-size:14px}.rashfa-home-cta{min-width:170px;padding:12px 20px}.page-grid .category-section{padding:12px!important}.page-grid .product-grid{gap:9px!important}}


/* ============================================================
   RASHFA v1.0.20 — seamless hero + reference footer
   ============================================================ */
.rashfa-home-hero-inner{background:#f3ddc2!important}
.rashfa-home-copy{position:relative;z-index:2;background:#f3ddc2!important}
.rashfa-home-image{position:relative;z-index:1}
.rashfa-home-image:after{
  content:""!important;position:absolute!important;z-index:3!important;
  top:0!important;right:-2px!important;bottom:0!important;width:34%!important;
  background:linear-gradient(90deg,rgba(243,221,194,0) 0%,rgba(243,221,194,.16) 25%,rgba(243,221,194,.72) 72%,#f3ddc2 100%)!important;
  pointer-events:none!important;
}
.rashfa-home-image:before{
  content:"";position:absolute;z-index:2;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.02),transparent 68%);
  pointer-events:none;
}

.rashfa-footer-reference{position:relative;overflow:hidden;margin-top:64px!important;background:linear-gradient(105deg,#f8eddc 0%,#f4e4cc 48%,#f8eddd 100%)!important;border-top:1px solid rgba(114,73,38,.12)!important;color:#3c2419!important}
.rashfa-footer-reference-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr 1fr 1.05fr;align-items:center;gap:0;padding-top:48px;padding-bottom:42px;direction:rtl}
.footer-contact-ref,.footer-social-ref,.footer-brand-ref{min-height:180px;padding:0 48px;display:flex;flex-direction:column;justify-content:center}
.footer-social-ref{align-items:center;text-align:center;border-inline:1px solid rgba(122,82,48,.18)}
.footer-contact-ref{align-items:flex-start;text-align:right;gap:12px}.footer-contact-ref h3,.footer-social-ref h3{font-size:22px;margin:0 0 8px;font-weight:900;color:#351d13}.footer-contact-ref a,.footer-contact-ref p{margin:0;color:#4c3327;text-decoration:none;display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.8}.footer-contact-ref a span,.footer-contact-ref p span{color:#a56b2c}.footer-slogan{color:#a26827;font-size:16px;margin-top:9px;display:flex;align-items:center;gap:14px}.footer-slogan:after{content:"";width:46px;height:1px;background:#b98a55}
.footer-social-ref-icons{display:flex;gap:13px;justify-content:center;margin:4px 0 12px;direction:ltr}.social-ref{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fffaf2;border:1px solid rgba(105,66,34,.12);box-shadow:0 5px 15px rgba(62,36,19,.08);text-decoration:none;font:900 22px/1 Arial;color:#3c2419;transition:.18s}.social-ref:hover{transform:translateY(-3px)}.social-ref.is-facebook{color:#1877f2}.social-ref.is-instagram{color:#e1306c}.social-ref.is-whatsapp{color:#25d366}.social-ref.is-tiktok{color:#111}.footer-social-ref p{margin:0;color:#755d50;line-height:1.8;font-size:14px}
.footer-brand-ref{align-items:center;text-align:center}.footer-rashfa-logo{display:grid;justify-items:center;color:#32190d;text-decoration:none}.footer-rashfa-logo>span{font-size:30px;height:30px;line-height:1}.footer-rashfa-logo>strong{font-family:'Reem Kufi',sans-serif;font-size:46px;line-height:1;font-weight:800}.footer-rashfa-logo>small{font:700 10px/1 Arial,sans-serif;letter-spacing:6px;margin-top:8px}.footer-brand-ref p{font-size:17px;margin:18px 0 0;color:#6d5547}
.footer-reference-bottom{position:relative;z-index:2;border-top:1px solid rgba(122,82,48,.16);padding-top:22px;padding-bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#62483a;font-size:13px;direction:rtl}.footer-reference-bottom strong{color:#9a6127}.footer-credit-ref{display:flex;align-items:center;gap:12px;color:#62483a;text-decoration:none;direction:ltr}.footer-credit-ref b{width:46px;height:46px;border-radius:10px;background:#fffaf2;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(122,82,48,.12)}.footer-credit-ref img{width:100%;height:100%;object-fit:contain;padding:4px}
.footer-decor{position:absolute;z-index:1;opacity:.13;color:#9b6b3b;pointer-events:none}.footer-decor-left{left:-8px;bottom:35px;font-size:130px;transform:rotate(-15deg)}.footer-decor-right{right:-12px;top:15px;font-size:150px;transform:rotate(20deg)}
@media(max-width:900px){.rashfa-home-image:after{right:0!important;left:0!important;top:auto!important;height:30%!important;width:auto!important;background:linear-gradient(180deg,rgba(243,221,194,0),#f3ddc2)!important}.rashfa-footer-reference-grid{grid-template-columns:1fr;gap:28px}.footer-contact-ref,.footer-social-ref,.footer-brand-ref{min-height:0;padding:0 24px;align-items:center;text-align:center}.footer-social-ref{border:0;border-block:1px solid rgba(122,82,48,.15);padding-block:28px}.footer-contact-ref a,.footer-contact-ref p{justify-content:center;text-align:center}.footer-reference-bottom{flex-direction:column;text-align:center}.footer-slogan:after{display:none}}


/* Rashfa v1.0.21 — footer presentation fix */
.rashfa-footer,
.store-footer,
footer.site-footer {
    overflow: hidden;
}
.rashfa-footer img,
.store-footer img,
footer.site-footer img {
    max-width: 100%;
    height: auto;
}
.rashfa-footer .developer-credit,
.store-footer .developer-credit,
footer.site-footer .developer-credit {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    direction: rtl;
    white-space: nowrap;
}
.rashfa-footer .developer-credit img,
.store-footer .developer-credit img,
footer.site-footer .developer-credit img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border: 0;
    outline: 0;
}


/* =========================================================
   RASHFA v1.0.22 — FINAL REFERENCE FOOTER FIX
   ========================================================= */
.rashfa-footer-reference{
  margin-top:64px!important;
  background:linear-gradient(105deg,#f8eddc 0%,#f3e2c9 50%,#f8eddd 100%)!important;
  color:#3b2115!important;
  opacity:1!important;
}
.rashfa-footer-reference-grid{
  max-width:1400px!important;
  margin:0 auto!important;
  padding:52px 28px 42px!important;
  grid-template-columns:1.05fr 1fr 1.05fr!important;
}
.rashfa-footer-reference .footer-contact-ref,
.rashfa-footer-reference .footer-social-ref,
.rashfa-footer-reference .footer-brand-ref{
  color:#3b2115!important;
  opacity:1!important;
}
.rashfa-footer-reference .footer-rashfa-logo{
  color:#32190d!important;
  opacity:1!important;
  text-shadow:none!important;
}
.rashfa-footer-reference .footer-logo-steam{
  color:#6d351c!important;
  font-size:31px!important;
  line-height:.8!important;
  height:auto!important;
  margin-bottom:4px!important;
}
.rashfa-footer-reference .footer-rashfa-logo strong{
  color:#32190d!important;
  font-size:48px!important;
  font-weight:900!important;
  line-height:1!important;
  opacity:1!important;
}
.rashfa-footer-reference .footer-rashfa-logo small{
  color:#32190d!important;
  opacity:1!important;
  font-weight:800!important;
}
.rashfa-footer-reference .footer-brand-ref p{
  color:#6d5547!important;
  opacity:1!important;
  font-size:17px!important;
}
.rashfa-footer-reference .footer-social-ref h3,
.rashfa-footer-reference .footer-contact-ref h3{
  color:#351d13!important;
  opacity:1!important;
}
.rashfa-footer-reference .footer-social-ref p,
.rashfa-footer-reference .footer-contact-ref a,
.rashfa-footer-reference .footer-contact-ref p{
  color:#62483a!important;
  opacity:1!important;
}
.rashfa-footer-reference .footer-social-ref-icons{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  min-height:54px!important;
}
.rashfa-footer-reference .social-ref{
  display:grid!important;
  place-items:center!important;
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  border-radius:50%!important;
  background:#fffaf2!important;
  opacity:1!important;
  visibility:visible!important;
  border:1px solid rgba(105,66,34,.12)!important;
  box-shadow:0 5px 15px rgba(62,36,19,.08)!important;
  text-decoration:none!important;
}
.rashfa-footer-reference .social-ref.is-facebook{color:#1877f2!important}
.rashfa-footer-reference .social-ref.is-instagram{color:#e1306c!important}
.rashfa-footer-reference .social-ref.is-whatsapp{color:#25d366!important}
.rashfa-footer-reference .social-ref.is-tiktok{color:#111!important}
.rashfa-footer-reference .footer-reference-bottom{
  max-width:1400px!important;
  margin:0 auto!important;
  padding:24px 28px 28px!important;
  color:#62483a!important;
  opacity:1!important;
}
.rashfa-footer-reference .footer-credit-ref{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  color:#62483a!important;
  opacity:1!important;
  visibility:visible!important;
  direction:rtl!important;
  text-decoration:none!important;
  font-size:14px!important;
}
.rashfa-footer-reference .footer-credit-ref>span{
  display:inline-block!important;
  color:#62483a!important;
  opacity:1!important;
  visibility:visible!important;
  white-space:nowrap!important;
}
.rashfa-footer-reference .footer-credit-ref b{
  width:46px!important;
  height:46px!important;
  flex:0 0 46px!important;
  background:#fffaf2!important;
  border:1px solid rgba(122,82,48,.12)!important;
}
.rashfa-footer-reference .footer-credit-ref img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  opacity:1!important;
}
@media(max-width:900px){
  .rashfa-footer-reference-grid{
    grid-template-columns:1fr!important;
    padding:36px 20px 30px!important;
  }
  .rashfa-footer-reference .footer-reference-bottom{
    padding:22px 20px 26px!important;
  }
}

/* RASHFA v1.0.23 — real dynamic social brand icons */
.rashfa-footer-reference .social-ref svg{width:24px!important;height:24px!important;display:block!important}
.rashfa-footer-reference .social-ref svg path{fill:currentColor!important;stroke:none!important}
.rashfa-footer-reference .social-ref.is-instagram svg rect,.rashfa-footer-reference .social-ref.is-instagram svg circle:not(.svg-fill){fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
.rashfa-footer-reference .social-ref.is-instagram svg .svg-fill{fill:currentColor!important;stroke:none!important}
.rashfa-footer-reference .social-ref:hover{transform:translateY(-2px)!important;box-shadow:0 8px 20px rgba(62,36,19,.13)!important}


/* ============================================================
   RASHFA v1.0.24 — full responsive storefront + mobile cart
   ============================================================ */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video{max-width:100%}
.page-grid,.page-grid>.menu-col,.category-section,.product-grid,.card{min-width:0}

/* Large desktop */
@media (min-width:1400px){
  .page-grid{grid-template-columns:360px minmax(0,1fr)!important;gap:42px!important}
  .page-grid .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* Laptop / small desktop */
@media (min-width:1101px) and (max-width:1399px){
  .page-grid{grid-template-columns:320px minmax(0,1fr)!important;gap:24px!important;padding-inline:20px!important}
  .page-grid .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Tablet: catalog full width, cart becomes drawer */
@media (max-width:1100px){
  .page-grid{display:block!important;width:100%!important;max-width:100%!important;padding:20px clamp(14px,3vw,28px) 0!important}
  .page-grid>.menu-col{width:100%!important}
  .page-grid>.cart-col{
    display:none!important;position:fixed!important;inset:0 0 0 auto!important;
    width:min(430px,92vw)!important;height:100dvh!important;max-height:100dvh!important;
    padding:14px!important;background:#f8efe2!important;z-index:1000!important;
    overflow:hidden!important;box-shadow:-18px 0 50px rgba(40,20,10,.22)!important
  }
  .page-grid>.cart-col.open{display:flex!important}
  .page-grid>.cart-col .cart-panel{
    display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;
    min-height:0!important;max-height:100%!important;padding:18px!important;border-radius:20px!important;
    overflow:hidden!important;background:#fffdf8!important
  }
  .page-grid>.cart-col .sheet-head{flex:0 0 auto!important}
  .page-grid>.cart-col .cart-items{flex:1 1 auto!important;max-height:none!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding-inline-end:3px}
  .page-grid>.cart-col .notes-label,.page-grid>.cart-col .notes-input,.page-grid>.cart-col .ticket{flex:0 0 auto}
  #cartCloseBtn{display:inline-grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:50%!important}
  .scrim{z-index:999!important}
  .cartbar{display:flex!important;position:fixed!important;right:14px!important;left:14px!important;bottom:14px!important;width:auto!important;z-index:80!important}
  .rashfa-mobile-bottom~.cartbar{bottom:78px!important}
}

/* Tablet product layout */
@media (min-width:701px) and (max-width:1100px){
  .page-grid .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .rashfa-home-hero-inner{grid-template-columns:1fr!important;height:auto!important}
  .rashfa-home-image{min-height:330px!important}
  .rashfa-home-copy{padding:34px 32px!important}
}

/* Phones */
@media (max-width:700px){
  .wrap{width:100%!important;max-width:100%!important;padding-inline:12px!important}
  .page-grid{padding:12px 10px 0!important}
  .page-grid .category-section{padding:12px!important;border-radius:17px!important;margin-bottom:16px!important}
  .page-grid .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .card{padding:7px!important;border-radius:14px!important}
  .thumb{height:128px!important;border-radius:11px!important}
  .card h3{font-size:14px!important;line-height:1.35!important;overflow-wrap:anywhere}
  .variant-btn,.single-product-btn{min-width:0!important;font-size:11px!important}
  .store-cat-carousel{max-width:100%!important;overflow:hidden!important}
  .cats{max-width:100%!important;overflow-x:auto!important;scrollbar-width:none}
  .cats::-webkit-scrollbar{display:none}
  .cat{flex:0 0 auto!important;white-space:nowrap!important}
  .rashfa-home-hero-inner{grid-template-columns:1fr!important;height:auto!important}
  .rashfa-home-image{min-height:245px!important}
  .rashfa-home-copy{padding:24px 18px!important}
  .rashfa-home-copy h1{font-size:clamp(29px,9vw,38px)!important;line-height:1.22!important}
  .rashfa-home-copy p{font-size:14px!important}
  .rashfa-home-script{font-size:20px!important;left:6%!important;top:34px!important}
  .rashfa-footer-reference{margin-top:42px!important}
}

/* Small phones */
@media (max-width:430px){
  .page-grid{padding-inline:8px!important}
  .page-grid .category-section{padding:9px!important}
  .page-grid .product-grid{gap:7px!important}
  .thumb{height:112px!important}
  .card h3{font-size:13px!important}
  .page-grid>.cart-col{width:100vw!important;padding:0!important}
  .page-grid>.cart-col .cart-panel{border-radius:0!important;border:0!important;padding:15px 13px calc(15px + env(safe-area-inset-bottom))!important}
  .sheet-head h2{font-size:21px!important}
  .cart-items{font-size:13px!important}
  .notes-input{min-height:72px!important}
  .ticket{padding:14px!important;border-radius:15px!important}
  .whats-btn{min-height:48px!important;font-size:14px!important}
  .cartbar{right:8px!important;left:8px!important;bottom:72px!important;border-radius:15px!important}
}

/* Very narrow phones: keep usable product cards instead of horizontal overflow */
@media (max-width:340px){
  .page-grid .product-grid{grid-template-columns:1fr!important}
  .thumb{height:180px!important}
}

/* Safe areas on modern phones */
@supports (padding: max(0px)){
  @media(max-width:1100px){
    .page-grid>.cart-col{padding-top:max(14px,env(safe-area-inset-top))!important}
    .cartbar{left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important}
  }
}


/* ============================================================
   RASHFA v1.0.25 — iPad header fix
   - keep header content inside viewport
   - hide floating success/check badge
   ============================================================ */
@media (min-width:701px) and (max-width:1100px){
  .store-header .wrap,
  .store-header-inner,
  .rashfa-store-header .wrap,
  .rashfa-store-header-inner{
    width:100%!important;
    max-width:100%!important;
    padding-inline:22px!important;
    box-sizing:border-box!important;
  }

  .store-header nav,
  .store-nav,
  .rashfa-store-nav{
    gap:clamp(18px,3vw,34px)!important;
    flex-wrap:nowrap!important;
  }

  .store-header a,
  .store-nav a,
  .rashfa-store-nav a{
    white-space:nowrap!important;
  }

  .store-header .whatsapp-btn,
  .store-header .order-whatsapp,
  .order-whatsapp-btn{
    max-width:190px!important;
    padding-inline:15px!important;
    font-size:13px!important;
    white-space:nowrap!important;
  }
}

/* Remove the floating green check/toast from the storefront */
.store-toast,
.store-toast.show,
.rashfa-toast,
.rashfa-toast.show,
.toast-message,
.toast-message.show,
.cart-toast,
.cart-toast.show,
.added-toast,
.added-toast.show{
  display:none!important;
}


/* ============================================================
   RASHFA v1.0.26 — REAL iPad header fix
   Actual markup: .topbar-in / .desktop-nav / .header-actions
   ============================================================ */

/* The floating green ✓ is the real .toast element */
.toast,
#storeToast{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* iPad portrait / landscape and similar tablet widths */
@media (min-width:901px) and (max-width:1100px){
  .topbar{
    height:86px!important;
  }

  .topbar .wrap{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    padding:0!important;
    margin-inline:auto!important;
  }

  .topbar-in{
    width:100%!important;
    height:100%!important;
    display:grid!important;
    grid-template-columns:120px minmax(0,1fr) 105px!important;
    gap:12px!important;
    align-items:center!important;
  }

  .rashfa-wordmark{
    width:100px!important;
    justify-self:start!important;
  }

  .rashfa-wordmark .wordmark-cup{
    font-size:15px!important;
    height:14px!important;
  }

  .rashfa-wordmark strong{
    font-size:29px!important;
  }

  .rashfa-wordmark small{
    font-size:6px!important;
    letter-spacing:3px!important;
    margin-top:5px!important;
  }

  .desktop-nav{
    display:flex!important;
    justify-self:center!important;
    align-items:center!important;
    justify-content:center!important;
    gap:clamp(18px,3.2vw,34px)!important;
    min-width:0!important;
    margin:0!important;
  }

  .desktop-nav a{
    font-size:13px!important;
    line-height:1.35!important;
    white-space:nowrap!important;
  }

  .header-actions{
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    min-width:0!important;
  }

  /* WhatsApp CTA is too wide for iPad header; cart stays available */
  .header-whatsapp,
  .header-search-jump{
    display:none!important;
  }

  .store-user{
    display:inline-block!important;
    font-size:21px!important;
  }

  .cart-header-btn{
    display:flex!important;
    width:40px!important;
    height:40px!important;
    font-size:23px!important;
    flex:0 0 40px!important;
  }
}
