/* ============================================================
   Al-Mashad Int'l Est. — Tools e-commerce design system
   Palette derived from logo: amber/gold gear, blue wrench, red screwdriver
   ============================================================ */

:root {
  --amber:       #E89400;
  --amber-600:   #D38200;
  --amber-700:   #B86E00;
  --amber-050:   #FFF4E0;
  --blue:        #1F62C2;
  --blue-700:    #184E9C;
  --red:         #DC3F00;
  --red-700:     #BC3500;
  --red-050:     #FCEBE3;

  --ink:         #2b2a28;
  --ink-2:       #514f4b;
  --muted:       #8d8a85;
  --line:        #e9e7e3;
  --line-2:      #f0eeea;
  --bg:          #f3f2f0;
  --card:        #ffffff;
  --chip:        #4b4a47;

  --ok:          #2c8a4a;

  --radius:      10px;
  --radius-sm:   7px;
  --shadow:      0 1px 2px rgba(40,38,34,.05), 0 6px 18px rgba(40,38,34,.05);
  --shadow-hover:0 4px 10px rgba(40,38,34,.08), 0 14px 34px rgba(40,38,34,.10);
  --maxw:        1240px;

  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --brandfont: "Baloo 2", "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Utility (top) bar ---------- */
.utility {
  background: #efedea;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.utility nav { display: flex; gap: 22px; }
.utility a:hover { color: var(--amber-600); }
.utility .util-right { display: flex; gap: 22px; align-items: center; }
.util-lang { font-weight: 600; }

/* ---------- Masthead ---------- */
.masthead { background: var(--card); }
.masthead .wrap { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .mark { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; border-radius: 6px; }
.brand .word {
  font-family: var(--brandfont);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -.01em;
  line-height: 1;
  color: var(--ink);
}
.brand .word b { color: var(--amber); font-weight: 800; }
.brand .word .al { color: var(--red); }
.brand .word .est { display: block; font-family: var(--font); font-size: 10px; font-weight: 600;
  letter-spacing: .22em; color: var(--muted); margin-top: 3px; }

.searchbar {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 50px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.searchbar select {
  border: none; background: #f6f5f3; padding: 0 14px; font-family: inherit;
  font-size: 13px; color: var(--ink-2); border-right: 1px solid var(--line);
  outline: none; cursor: pointer; max-width: 160px;
}
.searchbar input { flex: 1; border: none; outline: none; padding: 0 16px; font-size: 14px; min-width: 0; }
.searchbar .search-btn { width: 50px; background: var(--amber); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.searchbar .search-btn:hover { background: var(--amber-600); }

.masthead-tools { flex-shrink: 0; opacity: .5; }
@media (max-width: 940px) { .masthead-tools { display: none; } }

/* ---------- Primary nav ---------- */
.primary {
  background: var(--amber);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 8px rgba(184,110,0,.18);
}
.primary .wrap { display: flex; align-items: center; gap: 8px; height: 56px; }
.shopby {
  display: flex; align-items: center; gap: 12px;
  background: var(--chip); color: #fff; font-weight: 600; font-size: 14.5px;
  padding: 0 18px; height: 40px; border-radius: var(--radius-sm); flex-shrink: 0;
}
.shopby:hover { background: #3b3a37; }
.shopby .bars { display: inline-grid; gap: 3px; }
.shopby .bars i { width: 17px; height: 2px; background: #fff; display: block; border-radius: 2px; }
.primary nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.primary nav a {
  font-weight: 600; font-size: 14.5px; padding: 9px 15px; border-radius: 7px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.primary nav a:hover, .primary nav a.active { background: rgba(255,255,255,.16); }
.primary .nav-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; position: relative; color: #fff; }
.icon-btn:hover { background: rgba(255,255,255,.16); }
.cart-count {
  position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; border-radius: 9px;
  display: grid; place-items: center; line-height: 1;
}
.hamburger { display: none; }

@media (max-width: 980px) {
  .primary nav { display: none; }
  .shopby:not(.hamburger) { display: none; }
  .hamburger { display: grid; gap: 4px; }
  .primary .wrap { gap: 6px; }
}

/* Drawer: main nav links above the category list */
.drawer-nav { padding: 6px 0; border-bottom: 1px solid var(--line); }
.drawer-nav a { display: flex; align-items: center; gap: 11px; padding: 12px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink); border-bottom: none; }
.drawer-nav a.active { color: var(--amber-600); }
.drawer-nav a svg { color: var(--muted); flex-shrink: 0; }
.drawer-section { padding: 12px 20px 6px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Section header ---------- */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-head h2 {
  font-size: 21px; font-weight: 700; margin: 0; padding-left: 13px; position: relative; white-space: nowrap;
}
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 3px; background: var(--red);
}
.section-head .rule { flex: 1; height: 1px; background: var(--line); }
.section-head .arrows { display: flex; gap: 6px; }
.section-head .arrows button {
  width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
  color: var(--ink-2); display: grid; place-items: center;
}
.section-head .arrows button:hover { background: var(--amber); color: #fff; border-color: var(--amber); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumb a:hover { color: var(--amber-600); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb .here { color: var(--ink-2); font-weight: 600; }

/* ---------- Product card ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-products > * { min-width: 0; }
@media (max-width: 1080px) { .grid-products { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px)  { .grid-products { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.pcard:hover { box-shadow: var(--shadow-hover); border-color: #ddd9d3; transform: translateY(-2px); }
.pcard .flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.flag { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 4px; color: #fff; text-transform: uppercase; }
.flag.sale { background: var(--red); }
.flag.new  { background: var(--blue); }
.flag.express { background: var(--amber); }
.pcard .expand { position: absolute; top: 12px; right: 12px; color: #cfccc6; z-index: 2; background: none; }
.pcard:hover .expand { color: var(--amber); }

.pthumb {
  height: 170px; border-radius: var(--radius-sm); margin-bottom: 12px;
  display: grid; place-items: center; overflow: hidden; position: relative; background: #fff;
}
.pthumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pbrand { height: 17px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; gap: 8px; }
.pbrand .blogo { font-weight: 800; font-size: 12px; letter-spacing: .02em; color: var(--ink); opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbrand .pcode { font-size: 11px; color: var(--muted); font-family: ui-monospace, monospace; white-space: nowrap; flex-shrink: 0; }
.pname {
  font-size: 13.5px; line-height: 1.35; color: var(--ink-2); margin: 0 0 10px;
  min-height: 37px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pname:hover { color: var(--amber-600); }
.pprice { display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px; margin-top: auto; flex-wrap: wrap; }
.pprice .now { color: var(--amber-600); font-weight: 800; font-size: 16px; white-space: nowrap; }
.pprice .was { color: var(--muted); font-size: 13px; text-decoration: line-through; white-space: nowrap; }

.cartrow { display: flex; gap: 9px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; flex-shrink: 0; }
.stepper button { width: 30px; height: 36px; color: var(--ink-2); font-size: 16px; display: grid; place-items: center; }
.stepper button:hover { background: var(--amber-050); color: var(--amber-600); }
.stepper input { width: 34px; height: 36px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-family: inherit; font-size: 14px; outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-cart {
  flex: 1; background: var(--amber); color: #fff; font-weight: 700; font-size: 13px; border-radius: 7px;
  display: grid; place-items: center; min-height: 36px; transition: background .15s;
}
.btn-cart:hover { background: var(--amber-600); }
.btn-cart.added { background: var(--ok); }
.oos {
  flex: 1; background: var(--chip); color: #fff; font-weight: 700; font-size: 13px; border-radius: 7px;
  display: grid; place-items: center; min-height: 36px; letter-spacing: .02em; opacity: .92; cursor: not-allowed;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 8px; transition: .15s;
}
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-600); }
.btn-ghost { border: 1.5px solid #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }

/* ---------- Footer ---------- */
.tool-divider { background: #fff; padding: 26px 0; text-align: center; border-top: 1px solid var(--line); }
.tool-divider svg { opacity: .4; }
footer.site { background: #fff; padding: 52px 0 26px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 48px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; gap: 34px; } }
.foot-grid h4 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.foot-about p { font-size: 13.5px; line-height: 1.6; margin: 0 0 18px; max-width: 320px; }
.foot-about .footlogo { margin-bottom: 14px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 11px; }
.foot-contact svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.foot-contact a:hover { color: var(--amber-600); }
.foot-links li { margin-bottom: 11px; font-size: 13.5px; }
.foot-links a:hover { color: var(--amber-600); }
.foot-news p { font-size: 13.5px; line-height: 1.6; margin: 0 0 16px; }
.news-form { display: flex; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; max-width: 360px; }
.news-form input { flex: 1; border: none; outline: none; padding: 11px 14px; font-size: 13.5px; }
.news-form button { background: var(--amber); color: #fff; font-weight: 700; padding: 0 20px; font-size: 13.5px; }
.news-form button:hover { background: var(--amber-600); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.pay { display: flex; gap: 10px; align-items: center; margin-top: 20px; opacity: .8; }
.pay span { font-weight: 800; font-size: 13px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-2); }
.copyright { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- Floating ---------- */
.fab-whatsapp { position: fixed; left: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; color: #fff; z-index: 60; box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.fab-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--amber); display: grid; place-items: center; color: #fff; z-index: 60; box-shadow: var(--shadow-hover); border: none; }
.fab-top:hover { background: var(--amber-600); }

/* ---------- Mobile category drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 290px; max-width: 84vw; background: #fff; z-index: 81;
  transform: translateX(-100%); transition: transform .25s; overflow-y: auto; box-shadow: 4px 0 30px rgba(0,0,0,.2);
}
.drawer.open { transform: none; }
.drawer-head { background: var(--amber); color: #fff; padding: 18px 20px; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; }
.drawer a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.drawer a:hover { background: var(--amber-050); color: var(--amber-600); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
  z-index: 100; transition: transform .3s cubic-bezier(.2,.9,.3,1.2); display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-hover);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { color: #57d97c; }
.toast.error svg { color: #ff7a6b; }

/* ---- Home ---- */
.hero-row { display: grid; grid-template-columns: 246px 1fr; gap: 18px; padding-top: 22px; }
@media (max-width: 900px){ .hero-row { grid-template-columns: 1fr; } .side-cats { display:none; } }
.side-cats { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; align-self:start; }
.side-cats a { display:flex; align-items:center; justify-content:space-between; padding:11.5px 18px; font-size:14px; font-weight:600; color:var(--ink-2); border-bottom:1px solid var(--line-2); }
.side-cats a:last-child{ border-bottom:none; }
.side-cats a:hover { background:var(--amber-050); color:var(--amber-600); }
.side-cats a svg { color:#c8c5bf; flex-shrink: 0; }
.side-cats a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 326px;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(31,98,194,.0) 0%, rgba(31,98,194,.12) 60%),
    linear-gradient(120deg, #1f3a5c 0%, #234b78 48%, #2c6aa6 100%);
  display: grid; align-items: center; color:#fff;
}
.hero-slide-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; opacity:.5; }
.hero .hero-pad { padding: 46px 52px; max-width: 560px; position: relative; z-index: 2; }
.hero .eyebrow { display:inline-flex; gap:8px; align-items:center; font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#ffd58a; margin-bottom:16px; }
.hero h1 { font-family: var(--brandfont); font-size: 41px; line-height: 1.04; margin: 0 0 16px; font-weight: 800; letter-spacing:-.01em; }
.hero h1 span { color: var(--amber); }
.hero p { font-size: 15.5px; line-height: 1.55; color: #d6e2f0; margin: 0 0 26px; max-width: 420px; }
.hero-cta { display:flex; gap:12px; flex-wrap:wrap; }
.hero-deco {
  position:absolute; right:0; top:0; bottom:0; width:46%; z-index:1; opacity:.9;
  background: repeating-linear-gradient(135deg, rgba(232,148,0,.0) 0 26px, rgba(232,148,0,.14) 26px 52px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 40%);
          mask: linear-gradient(90deg, transparent, #000 40%);
  display:grid; place-items:center;
}
.hero-dots { position:absolute; bottom:16px; left:52px; display:flex; gap:7px; z-index:3; }
.hero-dots i { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.45); display:block; cursor:pointer; }
.hero-dots i.on { background: var(--amber); width:22px; border-radius:5px; }

/* category circles */
.cat-circles { display:flex; gap:10px; overflow-x:auto; padding: 26px 0 10px; }
.cat-circle { flex:0 0 auto; width:118px; text-align:center; }
.cat-circle .ring {
  width:96px; height:96px; margin:0 auto 9px; border-radius:50%; border:2px solid var(--line);
  display:grid; place-items:center; background:#fff; transition:.18s; overflow:hidden;
}
.cat-circle .ring img { width: 100%; height: 100%; object-fit: cover; }
.cat-circle:hover .ring { border-color: var(--amber); box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-circle span.lbl { font-size:12.5px; font-weight:600; color:var(--ink-2); display:block; line-height: 1.3; }

/* promo banner */
.promo {
  border-radius: var(--radius); overflow:hidden; color:#fff; position:relative;
  display:flex; align-items:center; justify-content:space-between; padding: 34px 52px; gap: 24px;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.08) 22px 44px), linear-gradient(100deg, var(--red), var(--red-700));
}
.promo .ptext { display:flex; align-items:center; gap:22px; }
.promo .ph-icon { width:88px; height:88px; border-radius:12px; display:grid; place-items:center; background:rgba(255,255,255,.16); flex-shrink:0; }
.promo .ph-icon svg { width: 46px; height: 46px; }
.promo h3 { font-family:var(--brandfont); font-size:34px; font-weight:800; margin:0; line-height:1; }
.promo .disc { background:#fff; color:var(--red); border-radius:50%; width:118px; height:118px; display:grid; place-items:center; text-align:center; flex-shrink:0; }
.promo .disc small { display:block; font-size:12px; font-weight:700; color:var(--ink-2); }
.promo .disc b { font-size:38px; font-weight:800; line-height:.9; }
@media (max-width:680px){ .promo { flex-direction:column; text-align:center; padding:30px 24px; } .promo .ptext{flex-direction:column;} }

/* brand strip */
.brand-strip { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; display:flex; gap:14px; align-items:center; overflow-x:auto; }
.brand-strip .bchip { flex:0 0 auto; min-width:104px; height:46px; border:1px solid var(--line-2); border-radius:8px; display:grid; place-items:center;
  font-weight:800; font-size:13px; letter-spacing:.04em; color:var(--ink-2); opacity:.7; padding: 0 14px; white-space: nowrap; }
.brand-strip .bchip:hover { opacity:1; border-color:var(--amber); }

/* trust badges */
.trust { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:760px){ .trust { grid-template-columns:repeat(2,1fr);} }
.trust .t { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; display:flex; gap:14px; align-items:center; }
.trust .t .ic { width:42px; height:42px; border-radius:9px; background:var(--red-050); color:var(--red); display:grid; place-items:center; flex-shrink:0; }
.trust .t b { display:block; font-size:14.5px; }
.trust .t span { font-size:12.5px; color:var(--muted); }

/* new arrivals list */
.arrivals { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:880px){ .arrivals{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .arrivals{ grid-template-columns:1fr;} }
.arr { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:12px; display:flex; gap:13px; align-items:center; position:relative; transition:.18s; }
.arr:hover{ box-shadow:var(--shadow-hover); transform:translateY(-2px); }
.arr .athumb { width:64px; height:64px; flex-shrink:0; border-radius:8px; background:#fff; border:1px solid var(--line-2); overflow:hidden; }
.arr .athumb img { width:100%; height:100%; object-fit:contain; padding:4px; }
.arr .flag.new{ position:absolute; top:10px; right:10px; }
.arr . abody { min-width: 0; }
.arr .aname{ font-size:13.5px; font-weight:600; color:var(--ink-2); line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.arr .acode{ font-size:11.5px; color:var(--muted); font-family:ui-monospace,monospace; margin:3px 0 6px; }
.arr .aprice{ color:var(--amber-600); font-weight:800; font-size:14.5px; }

/* mini-columns */
.minis { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:860px){ .minis{ grid-template-columns:1fr; } }
.mini-list .mrow { display:flex; gap:12px; padding:13px 0; border-bottom:1px solid var(--line-2); align-items:center; }
.mini-list .mrow:last-child{ border-bottom:none; }
.mini-list .mthumb{ width:56px; height:56px; flex-shrink:0; border-radius:7px; background:#fff; border:1px solid var(--line-2); overflow:hidden; position:relative; }
.mini-list .mthumb img { width:100%; height:100%; object-fit:contain; padding:3px; }
.mini-list .mname{ font-size:13px; font-weight:600; color:var(--ink-2); line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mini-list .mcode{ font-size:11px; color:var(--muted); font-family:ui-monospace,monospace; }
.mini-list .mprice{ margin-top:4px; }
.mini-list .mprice .now{ color:var(--amber-600); font-weight:800; font-size:13.5px; }
.mini-list .mprice .was{ color:var(--muted); font-size:11.5px; text-decoration:line-through; margin-left:6px; }
.section-head.compact h2{ font-size:17px; }

/* split category banner */
.cat-banner { border-radius:var(--radius); overflow:hidden; color:#fff; display:flex; align-items:center; padding:30px 48px; gap:30px;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.06) 22px 44px), linear-gradient(100deg,var(--blue),var(--blue-700)); }
.cat-banner .ph-icon{ width:130px; height:90px; border-radius:12px; background:rgba(255,255,255,.14); display:grid; place-items:center; flex-shrink:0; overflow:hidden; }
.cat-banner .ph-icon img { width:100%; height:100%; object-fit:cover; }
.cat-banner h3{ font-family:var(--brandfont); font-size:34px; font-weight:800; margin:0; }
.cat-banner p{ margin:6px 0 0; color:#cfe0f4; }
@media (max-width:680px){ .cat-banner { flex-direction:column; text-align:center; padding:26px; } }

/* ============================================================
   RTL
   ============================================================ */
html[dir="rtl"] body { font-family: "Cairo","Tajawal",var(--font); }
html[dir="rtl"] .section-head h2 { padding-left: 0; padding-right: 13px; }
html[dir="rtl"] .section-head h2::before { left: auto; right: 0; }
html[dir="rtl"] .pcard .flags { left: auto; right: 10px; }
html[dir="rtl"] .pcard .expand { right: auto; left: 12px; }
html[dir="rtl"] .cart-count { right: auto; left: 3px; }
html[dir="rtl"] .arr .flag.new { right: auto; left: 10px; }
html[dir="rtl"] .drawer { left: auto; right: 0; transform: translateX(100%); }
html[dir="rtl"] .drawer.open { transform: none; }
html[dir="rtl"] .fab-whatsapp { left: auto; right: 22px; }
html[dir="rtl"] .fab-top { right: auto; left: 22px; }
html[dir="rtl"] .hero-dots { left: auto; right: 52px; }
html[dir="rtl"] .searchbar select { border-right: none; border-left: 1px solid var(--line); }

/* ============================================================
   Inner pages
   ============================================================ */
.page { padding: 8px 0 40px; }
.page-title { font-family: var(--brandfont); font-size: 30px; font-weight: 800; margin: 14px 0 4px; color: var(--ink); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:48px 20px; text-align:center; color:var(--muted); font-weight:600; }

.field { margin-bottom: 16px; }
.field label, .field-label { display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:7px; }
.field input, .field textarea, .field select,
.inp { width:100%; border:1.5px solid var(--line); border-radius:8px; padding:11px 14px; font-family:inherit; font-size:14px; color:var(--ink); background:#fff; outline:none; transition:border-color .15s; }
.field input:focus, .field textarea:focus, .field select:focus, .inp:focus { border-color: var(--amber); }
.field textarea { resize: vertical; min-height: 110px; }

.alert { border-radius:8px; padding:12px 16px; font-size:14px; font-weight:600; margin-bottom:18px; }
.alert.error { background:var(--red-050); color:var(--red-700); border:1px solid #f2cbbb; }
.alert.success { background:#e7f6ec; color:#1d7a3e; border:1px solid #bfe6cb; }

/* Shop */
.shop-layout { display:grid; grid-template-columns: 270px 1fr; gap:22px; align-items:start; }
@media (max-width: 900px){ .shop-layout { grid-template-columns:1fr; } }
.filters-scrim { position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:89; opacity:0; pointer-events:none; transition:opacity .25s; }
.filters-scrim.open { opacity:1; pointer-events:auto; }
.filters { position: sticky; top: 72px; }
.filter-group { border-bottom:1px solid var(--line-2); }
.filter-group:last-child { border-bottom:none; }
.filter-head { width:100%; display:flex; align-items:center; justify-content:space-between; padding:15px 18px; font-size:15px; font-weight:700; color:var(--ink); background:none; }
.filter-head svg { transition: transform .2s; color: var(--muted); }
.filter-group.collapsed .filter-head svg { transform: rotate(-90deg); }
.filter-body { padding:0 18px 16px; }
.filter-group.collapsed .filter-body { display:none; }
.filter-list { max-height: 260px; overflow-y:auto; padding-right:6px; }
.filter-list::-webkit-scrollbar { width:5px; }
.filter-list::-webkit-scrollbar-thumb { background:#d8d5cf; border-radius:6px; }
.filter-opt { display:flex; align-items:flex-start; gap:9px; padding:6px 0; font-size:13.5px; color:var(--ink-2); cursor:pointer; line-height:1.35; }
.filter-opt input { margin-top:2px; accent-color: var(--amber); flex-shrink:0; }
.filter-opt .stars { color:#f3a712; letter-spacing:1px; }
.price-range { padding-top:6px; }
.price-range input[type=range]{ width:100%; accent-color: var(--amber); }
.price-vals { display:flex; justify-content:space-between; font-size:13px; color:var(--ink-2); margin-top:8px; font-weight:600; }
.filter-clear { display:block; width:calc(100% - 36px); margin:14px 18px 18px; }
.shop-toolbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:12px 16px; margin-bottom:18px; }
.shop-toolbar .count { font-size:14px; color:var(--ink-2); }
.shop-toolbar .count b { color:var(--ink); }
.shop-toolbar .spacer { flex:1; }
.shop-toolbar select { border:1px solid var(--line); border-radius:7px; padding:8px 12px; font-family:inherit; font-size:13.5px; color:var(--ink-2); background:#fff; outline:none; cursor:pointer; }
.filter-toggle { display:none; }
.pager { display:flex; justify-content:center; gap:6px; margin-top:30px; flex-wrap:wrap; }
.pager button { min-width:38px; height:38px; padding:0 12px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--ink); font-weight:700; font-size:13px; }
.pager button.active, .pager button:hover:not(:disabled) { background:var(--amber); border-color:var(--amber); color:#fff; }
.pager button:disabled { opacity:.45; cursor:default; }
@media (max-width: 900px){
  .filters { position: fixed; inset:0 auto 0 0; width:min(86vw,330px); background:#fff; z-index:90; transform:translateX(-100%); transition:transform .25s; overflow-y:auto; box-shadow:6px 0 30px rgba(0,0,0,.18); border-radius:0; }
  .filters.open { transform:none; }
  .filter-toggle { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--amber); color:var(--amber-600); font-weight:700; border-radius:8px; padding:10px 16px; }
  .filters-scrim { position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:89; opacity:0; pointer-events:none; transition:opacity .25s; }
  .filters-scrim.open { opacity:1; pointer-events:auto; }
  .filters-close { display:flex; }
}
.filters-close { display:none; align-items:center; justify-content:space-between; background:var(--amber); color:#fff; padding:14px 18px; font-weight:700; }
.filters-close button { color:#fff; }
html[dir="rtl"] .filters { inset:0 0 0 auto; transform:translateX(100%); }
html[dir="rtl"] .filters.open { transform:none; }

/* Product detail */
.pdp { display:grid; grid-template-columns: 1fr 1fr; gap:34px; padding-top:18px; }
@media (max-width: 860px){ .pdp { grid-template-columns:1fr; gap:22px; } }
.pdp-gallery { position: sticky; top: 74px; }
.pdp-main { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; display:grid; place-items:center; }
.pdp-main img { width:100%; height:100%; object-fit:contain; padding:18px; }
.pdp-thumbs { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.pdp-thumbs button { width:74px; height:74px; border:1.5px solid var(--line); border-radius:8px; overflow:hidden; background:#fff; padding:0; }
.pdp-thumbs button.active { border-color:var(--amber); }
.pdp-thumbs img { width:100%; height:100%; object-fit:contain; padding:5px; }
.pdp-brandline { display:flex; align-items:center; gap:10px; margin-bottom:10px; font-size:12.5px; }
.pdp-brandline .b { font-weight:800; color:var(--ink); }
.pdp-brandline .c { color:var(--muted); font-family:ui-monospace,monospace; }
.pdp-title { font-family:var(--brandfont); font-size:27px; font-weight:800; line-height:1.15; color:var(--ink); margin:0 0 12px; }
.pdp-rating { display:flex; align-items:center; gap:8px; margin-bottom:16px; color:#f3a712; font-size:15px; }
.pdp-rating .num { color:var(--ink-2); font-size:13px; font-weight:600; }
.pdp-price { display:flex; align-items:baseline; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.pdp-price .now { color:var(--amber-600); font-weight:800; font-size:30px; }
.pdp-price .was { color:var(--muted); font-size:17px; text-decoration:line-through; }
.pdp-price .off { background:var(--red-050); color:var(--red); font-weight:800; font-size:12px; padding:4px 9px; border-radius:5px; }
.pdp-actions { display:flex; gap:12px; align-items:stretch; flex-wrap:wrap; margin-bottom:18px; }
.pdp-actions .stepper { height:48px; }
.pdp-actions .stepper button { height:46px; width:38px; font-size:18px; }
.pdp-actions .stepper input { height:46px; width:46px; font-size:15px; }
.pdp-actions .btn-cart { flex:1; min-width:170px; min-height:48px; font-size:15px; }
.pdp-actions .btn { min-height:48px; }
.pdp-meta { display:flex; gap:18px; flex-wrap:wrap; margin-bottom:20px; font-size:13.5px; }
.pdp-meta a { display:inline-flex; align-items:center; gap:7px; color:var(--ink-2); font-weight:600; }
.pdp-meta a:hover { color:var(--amber-600); }
.pdp-meta svg { color:var(--amber); }
.pdp-trust { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.pdp-trust .t { display:flex; gap:10px; align-items:center; background:#faf9f7; border:1px solid var(--line-2); border-radius:8px; padding:11px 13px; font-size:12.5px; color:var(--ink-2); }
.pdp-trust .t svg { color:var(--amber); flex-shrink:0; }
.pdp-section { margin-top:36px; }
.pdp-section h3 { font-size:18px; font-weight:700; color:var(--ink); padding-left:13px; position:relative; margin:0 0 16px; }
.pdp-section h3::before { content:""; position:absolute; left:0; top:2px; bottom:2px; width:4px; border-radius:3px; background:var(--red); }
.pdp-desc { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px 24px; color:var(--ink-2); font-size:14px; line-height:1.7; }
.pdp-desc p { margin:0 0 10px; }
.pdp-desc ul, .pdp-desc ol { margin:0 0 12px; padding-inline-start:22px; }
.pdp-desc h2,.pdp-desc h3,.pdp-desc h4 { color:var(--ink); margin:14px 0 8px; }
html[dir="rtl"] .pdp-section h3 { padding-left:0; padding-right:13px; }
html[dir="rtl"] .pdp-section h3::before { left:auto; right:0; }

/* Cart */
.cart-grid { display:grid; grid-template-columns: 1fr 340px; gap:24px; align-items:start; padding-top:14px; }
@media (max-width: 860px){ .cart-grid { grid-template-columns:1fr; } }
.cart-list { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.cart-item { display:grid; grid-template-columns: 84px 1fr auto; gap:16px; padding:16px 18px; border-bottom:1px solid var(--line-2); align-items:center; }
.cart-item:last-child { border-bottom:none; }
.cart-item .ci-thumb { width:84px; height:84px; border:1px solid var(--line-2); border-radius:8px; overflow:hidden; background:#fff; }
.cart-item .ci-thumb img { width:100%; height:100%; object-fit:contain; padding:6px; }
.cart-item .ci-name { font-size:14.5px; font-weight:600; color:var(--ink); line-height:1.35; }
.cart-item .ci-price { color:var(--muted); font-size:13px; margin-top:4px; }
.cart-item .ci-right { display:flex; align-items:center; gap:14px; }
.cart-item .ci-line { font-weight:800; color:var(--amber-600); font-size:16px; white-space:nowrap; }
.cart-item .ci-remove { color:var(--muted); width:34px; height:34px; display:grid; place-items:center; border-radius:7px; }
.cart-item .ci-remove:hover { background:var(--red-050); color:var(--red); }
@media (max-width:560px){ .cart-item { grid-template-columns:64px 1fr; } .cart-item .ci-right { grid-column:1/-1; justify-content:space-between; } }
.cart-summary { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; position:sticky; top:74px; }
.cart-summary h3 { font-size:17px; font-weight:700; margin:0 0 16px; color:var(--ink); }
.summary-row { display:flex; justify-content:space-between; align-items:center; padding:9px 0; font-size:14px; color:var(--ink-2); }
.summary-row .v { font-weight:700; color:var(--ink); }
.summary-row.total { border-top:1px solid var(--line); margin-top:8px; padding-top:14px; font-size:16px; font-weight:800; color:var(--ink); }
.summary-row.total .v { color:var(--amber-600); font-size:18px; }
.coupon-form { display:flex; gap:8px; margin:14px 0; }
.coupon-form input { flex:1; border:1.5px solid var(--line); border-radius:8px; padding:10px 12px; font-size:13.5px; outline:none; }
.coupon-form input:focus { border-color:var(--amber); }
.coupon-form button { background:var(--ink); color:#fff; font-weight:700; padding:0 18px; border-radius:8px; font-size:13px; }
.cart-summary .btn { width:100%; justify-content:center; margin-top:10px; }

/* Checkout */
.checkout-grid { display:grid; grid-template-columns: 1fr 380px; gap:24px; align-items:start; padding-top:14px; }
@media (max-width: 900px){ .checkout-grid { grid-template-columns:1fr; } }
.co-box { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; margin-bottom:18px; }
.co-box h3 { font-size:16px; font-weight:700; margin:0 0 16px; color:var(--ink); display:flex; align-items:center; gap:9px; }
.co-box h3 .n { width:24px; height:24px; border-radius:50%; background:var(--amber); color:#fff; display:grid; place-items:center; font-size:13px; font-weight:800; }
.co-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:560px){ .co-row { grid-template-columns:1fr; } }
.pay-opts { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:560px){ .pay-opts { grid-template-columns:1fr; } }
.pay-opt { display:flex; align-items:center; gap:10px; border:1.5px solid var(--line); border-radius:9px; padding:13px 15px; cursor:pointer; font-weight:600; font-size:14px; }
.pay-opt input { accent-color:var(--amber); }
.pay-opt:has(input:checked) { border-color:var(--amber); background:var(--amber-050); }
.co-summary { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px; position:sticky; top:74px; }
.co-summary h3 { font-size:17px; font-weight:700; margin:0 0 14px; }
.co-items { max-height:280px; overflow-y:auto; margin-bottom:14px; }
.co-item { display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--line-2); align-items:center; }
.co-item:last-child { border-bottom:none; }
.co-item img { width:48px; height:48px; object-fit:contain; border:1px solid var(--line-2); border-radius:7px; background:#fff; padding:4px; }
.co-item .nm { font-size:13px; font-weight:600; color:var(--ink-2); line-height:1.3; }
.co-item .qt { font-size:12px; color:var(--muted); }
.co-item .tot { margin-left:auto; font-weight:800; color:var(--amber-600); font-size:13.5px; white-space:nowrap; }
html[dir="rtl"] .co-item .tot { margin-left:0; margin-right:auto; }
.co-success { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:46px 30px; text-align:center; max-width:560px; margin:20px auto; }
.co-success .ic { width:72px; height:72px; border-radius:50%; background:#e7f6ec; color:#1d7a3e; display:grid; place-items:center; margin:0 auto 18px; }
.co-success h2 { font-family:var(--brandfont); font-size:26px; margin:0 0 8px; }
.co-success p { color:var(--ink-2); margin:0 0 8px; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 1.3fr 1fr; gap:26px; align-items:start; padding-top:14px; }
@media (max-width: 820px){ .contact-grid { grid-template-columns:1fr; } }
.contact-cards { display:grid; gap:14px; }
.contact-card { display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; }
.contact-card .ic { width:44px; height:44px; border-radius:10px; background:var(--amber-050); color:var(--amber-600); display:grid; place-items:center; flex-shrink:0; }
.contact-card b { display:block; font-size:14px; color:var(--ink); margin-bottom:3px; }
.contact-card span, .contact-card a { font-size:13.5px; color:var(--ink-2); }
.contact-card a:hover { color:var(--amber-600); }
.contact-map { margin-top:24px; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); height:320px; }
.contact-map iframe { width:100%; height:100%; border:0; display:block; }

/* About */
.about-hero { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0) 0 22px, rgba(255,255,255,.06) 22px 44px), linear-gradient(120deg,#1f3a5c,#2c6aa6); color:#fff; border-radius:var(--radius); padding:46px 52px; margin-top:14px; }
.about-hero h1 { font-family:var(--brandfont); font-size:34px; font-weight:800; margin:0 0 12px; }
.about-hero p { color:#d6e2f0; max-width:620px; line-height:1.6; margin:0; }
.about-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:26px 0; }
@media (max-width:760px){ .about-stats { grid-template-columns:repeat(2,1fr); } }
.about-stat { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; text-align:center; }
.about-stat b { display:block; font-family:var(--brandfont); font-size:32px; color:var(--amber-600); line-height:1; }
.about-stat span { font-size:13px; color:var(--muted); margin-top:6px; display:block; }
.about-prose { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 30px; color:var(--ink-2); line-height:1.7; font-size:14.5px; }
.about-prose p { margin:0 0 12px; }
.about-services { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:26px; }
@media (max-width:760px){ .about-services { grid-template-columns:1fr; } }
.about-service { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; text-align:center; }
.about-service .ic { width:56px; height:56px; border-radius:14px; background:var(--amber-050); color:var(--amber-600); display:grid; place-items:center; margin:0 auto 14px; }
.about-service b { display:block; font-size:16px; color:var(--ink); margin-bottom:6px; }
.about-service span { font-size:13px; color:var(--muted); }

.grid-products .pcell { display:flex; }
.grid-products .pcell > .pcard { flex:1 1 auto; width:100%; }
.grid-products .pcell[hidden] { display:none; }

/* ============================================================
   Mobile refinements
   ============================================================ */

/* Utility bar: tighter on small screens */
@media (max-width: 640px) {
  .utility { font-size: 12px; }
  .utility .wrap { height: auto; min-height: 34px; padding-top: 5px; padding-bottom: 5px; gap: 8px; }
  .utility nav { gap: 14px; }
  .utility .util-right { gap: 12px; }
  .utility .util-right a:not(.util-lang) { display: none; } /* hide long email, keep language */
}

/* Masthead: brand row + full-width search row */
@media (max-width: 720px) {
  .masthead .wrap { flex-wrap: wrap; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
  .brand { gap: 9px; }
  .brand .mark { width: 40px; height: 40px; }
  .brand .word { font-size: 21px; }
  .brand .word .est { font-size: 9px; letter-spacing: .16em; }
  .searchbar { order: 3; flex: 1 0 100%; min-height: 46px; }
  .searchbar select { display: none; }
}

/* Primary bar: single compact hamburger */
@media (max-width: 720px) {
  .primary .wrap { height: 52px; }
  .shopby.hamburger { padding: 0 13px; height: 38px; }
  .primary .nav-right { gap: 2px; }
}

/* Section spacing tighter */
@media (max-width: 640px) {
  .section { padding: 22px 0; }
  .section-head { gap: 10px; margin-bottom: 16px; }
  .section-head h2 { font-size: 18px; }
  .hero-row { padding-top: 14px; }
  .hero { min-height: 240px; }
  .hero .hero-pad { padding: 28px 24px; }
  .hero h1 { font-size: 27px; }
  .hero p { font-size: 13.5px; margin-bottom: 18px; }
  .hero-dots { left: 24px; bottom: 12px; }
}
html[dir="rtl"] .hero-dots { left: auto; right: 24px; }

/* Product cards: stack stepper + add-to-cart so nothing overflows */
@media (max-width: 760px) {
  .grid-products { gap: 12px; }
  .pcard { padding: 10px; }
  .pthumb { height: 130px; margin-bottom: 10px; }
  .pcard .flags { top: 8px; left: 8px; }
  .pbrand { margin-bottom: 5px; }
  .pbrand .blogo { min-width: 0; font-size: 11px; }
  .pbrand .pcode { font-size: 10px; }
  .pname { font-size: 12.5px; min-height: 34px; margin-bottom: 8px; }
  .pprice { margin-bottom: 10px; }
  .pprice .now { font-size: 15px; }
  .cartrow { flex-direction: column; gap: 7px; }
  .cartrow .stepper { width: 100%; justify-content: space-between; }
  .cartrow .stepper input { flex: 1; width: auto; }
  .cartrow .btn-cart { width: 100%; }
}
html[dir="rtl"] .pcard .flags { left: auto; right: 8px; }

/* Very small phones: keep 2 columns but ultra-compact */
@media (max-width: 380px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pthumb { height: 112px; }
  .pname { font-size: 12px; }
  .btn-cart { font-size: 12px; }
}

/* Promo banner */
@media (max-width: 640px) {
  .promo { padding: 24px 20px; gap: 16px; }
  .promo h3 { font-size: 26px; }
  .promo .ph-icon { width: 64px; height: 64px; }
  .promo .ph-icon svg { width: 34px; height: 34px; }
  .promo .disc { width: 92px; height: 92px; }
  .promo .disc b { font-size: 30px; }
}

/* Category circles */
@media (max-width: 640px) {
  .cat-circles { gap: 8px; padding: 18px 0 6px; }
  .cat-circle { width: 92px; }
  .cat-circle .ring { width: 76px; height: 76px; }
  .cat-circle span.lbl { font-size: 11.5px; }
}

/* Trust badges + arrivals + minis */
@media (max-width: 640px) {
  .trust .t { padding: 14px 15px; gap: 11px; }
  .trust .t .ic { width: 38px; height: 38px; }
  .trust .t b { font-size: 13.5px; }
  .cat-banner { padding: 22px; }
  .cat-banner h3 { font-size: 26px; }
}

/* Category banner icon smaller on mobile */
@media (max-width: 500px) {
  .cat-banner .ph-icon { width: 90px; height: 70px; }
}

/* Footer tighter */
@media (max-width: 640px) {
  footer.site { padding: 36px 0 20px; }
  .foot-grid { gap: 28px; }
  .tool-divider { padding: 20px 0; }
}

/* ============================================================
   Horizontal-overflow guards (mobile)
   ============================================================ */
html, body { overflow-x: clip; max-width: 100%; }

/* Let all card grids shrink below content width */
.pcard, .pcell, .arr, .co-item, .cart-item { min-width: 0; }
.pcard > *, .pbrand, .pname, .pprice { min-width: 0; }
.pbrand { overflow: hidden; }
.pbrand .blogo { min-width: 0; }

/* Other product-ish grids use shrinkable columns too */
.arrivals { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width:880px){ .arrivals { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:560px){ .arrivals { grid-template-columns: minmax(0,1fr); } }
.trust { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width:760px){ .trust { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.about-stats { grid-template-columns: repeat(4, minmax(0,1fr)); }
.about-services { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width:760px){ .about-services { grid-template-columns: minmax(0,1fr); } }

/* Small-phone product grid */
@media (max-width: 380px) {
  .grid-products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Ensure arrivals/mini rows don't force width */
.arr .abody, .co-item > div, .cart-item > div { min-width: 0; }
.arr .aname, .mini-list .mname, .co-item .nm, .cart-item .ci-name { overflow-wrap: anywhere; }
