/* =====================================================
  /home/echo10th.com/public_html/store/assets/css/store.css
===================================================== */
* {
  font-family: Cairo, sans-serif;
}

:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #0b4f6c;
  --brand2: #0ea5e9;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

html {
  scroll-padding-top: 90px;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

/* ================= TOPBAR ================= */
.topbar {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: min(1400px, 96%);
  margin: 0 auto;
  padding: 12px 16px;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 220px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo {
  width: 220px;
  height: 70px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-text b {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--brand);
}

.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.3;
}

.store-phone a {
  text-decoration: none;
  color: #64748b;
}

.search {
  flex: 1 1 auto;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.04);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 6px 10px;
  background: transparent;
  font-size: 14px;
  color: var(--text);
}

.search-btn {
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar-actions .chip {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  color: var(--text);
  white-space: nowrap;
}

/* ================= CART ICON ================= */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;

  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-decoration: none;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease;
  overflow: visible;
}

.cart-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.cart-icon {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.cart-text {
  display: none !important;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  z-index: 2;
}




/* ================= LAYOUT ================= */
.wrap {
  padding-top: 22px;
  padding-bottom: 24px;
}

.layout {
  max-width: min(1400px, 96%);
  margin: 0 auto;
}

/* ================= HERO ================= */
.hero-static {
  width: 100%;
  height: 340px;
  margin: 8px 0 20px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.hero-static a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.hero-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #fff;
  transition: 0.25s ease;
  height: 160px;
  display: block;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
}

.hero-card span {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  font-weight: 900;
  font-size: 15px;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* ================= SECTION HEAD ================= */
.section-head,
.content-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-head h2,
.content-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
}

.section-head p,
.content-head .muted {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ================= CATEGORIES ================= */
.store-cats-wrap {
  margin: 28px 0 34px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 180px;
  display: block;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.16);
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cat-card:hover img {
  transform: scale(1.06);
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
}

.cat-overlay h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
}

.cat-overlay span {
  font-size: 13px;
  opacity: 0.95;
}

/* ================= CONTENT ================= */
.content {
  margin: 34px 0;
}

.home-category-block {
  margin-top: 10px;
}

/* ================= BUTTONS ================= */
.btn.ghost,
.btn.ghost.sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn.ghost:hover,
.btn.ghost.sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ================= GRID ================= */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ================= CARDS ================= */
.card,
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
  transition: 0.25s ease;
  position: relative;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
}

.card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.14);
}

.card-media,
.product-card .card-media,
.product-card .image,
.product-card .thumb,
.product-card .product-image-wrap {
  width: 100%;
  height: 210px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.card-media img,
.product-card img,
.product-card .card-media img,
.product-card .image img,
.product-card .thumb img,
.product-card .product-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.35s ease;
}

.card:hover .card-media img,
.product-card:hover img {
  transform: scale(1.03);
}

.badge,
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 79, 108, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 5;
}

.card-body,
.product-card .card-body,
.product-card .content,
.product-card .details,
.product-card .info {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card h3,
.card h3 *,
.card p,
.card p *,
.card .title,
.card .title *,
.card .model,
.card .spec-line,
.product-card h3,
.product-card h3 *,
.product-card p,
.product-card p *,
.product-card .title,
.product-card .title *,
.product-card .model,
.product-card .spec-line {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.title,
.card h3,
.product-card h3,
.product-card .title {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  color: #0f172a;
}

.spec-line,
.card p,
.product-card p,
.product-card .specs,
.product-card .short-specs,
.product-card .meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.price,
.product-card .price {
  display: flex;
  gap: 10px;
  margin: 8px 0 0;
  align-items: center;
  flex-wrap: wrap;
}

.price .new,
.product-card .new,
.product-card .sale-price,
.product-card .price-new {
  color: #16a34a;
  font-weight: 900;
}

.price .old,
.product-card .old,
.product-card .old-price,
.product-card .price-old,
.product-card del {
  text-decoration: line-through !important;
  color: #ef4444 !important;
  font-weight: 800;
}

/* ================= CARD ACTIONS ================= */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.store-card-btn {
  flex: 1;
  min-height: 44px;
  border: none;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.store-card-btn-cart {
  background: #f97316;
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.22);
}

.store-card-btn-cart:hover {
  background: #ea580c;
  color: #fff;
  transform: translateY(-1px);
}

.store-card-btn-details {
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.store-card-btn-details:hover {
  background: #f8fafc;
}

/* ================= PAGER ================= */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 40px 0 20px;
}

.pager .btn {
  min-width: 120px;
  height: 44px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.pager .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: 0;
}

#pageText {
  font-weight: 900;
  font-size: 16px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--line);
  padding: 16px;
  background: transparent;
}

.footer-inner {
  max-width: min(1400px, 96%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* ================= WHATSAPP ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* ================= TOAST ================= */
.store-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  min-width: 220px;
  max-width: calc(100vw - 32px);
  padding: 14px 16px;
  border-radius: 14px;
  background: #00cb22;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.store-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .topbar-inner {
    gap: 10px;
  }

  .brand-logo-wrap {
    width: 180px;
    height: 58px;
  }

  .brand-logo {
    width: 180px;
    height: 58px;
  }

  .search {
    min-width: 160px;
  }

  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



@media (max-width: 520px) {
  .hero-cards {
    grid-template-columns: 1fr;
  }

  .hero-card {
    height: 180px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .cat-card {
    height: 150px;
    border-radius: 16px;
  }

  .cat-overlay {
    padding: 12px;
  }

  .cat-overlay h3 {
    font-size: 15px;
  }

  .cat-overlay span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .topbar-inner {
    padding: 12px 10px;
    gap: 8px;
  }

  .brand-wrap {
    gap: 8px;
  }

  .brand-logo-wrap {
    width: 160px;
    height: 52px;
  }

  .brand-logo {
    width: 160px;
    height: 52px;
    max-width: 160px;
  }

  .brand-text b {
    font-size: 13px;
  }

  .brand-text small {
    display: none;
  }

  .cart-link,
  .topbar-actions .chip {
    padding: 8px 9px;
  }

  .search {
    padding: 5px;
    border-radius: 14px;
  }

  .search input {
    font-size: 13px;
    padding: 7px 8px;
  }

  .search-btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card-media,
  .product-card .card-media,
  .product-card .image,
  .product-card .thumb,
  .product-card .product-image-wrap {
    height: 155px;
  }
}

@media (min-width: 1400px) {
  .grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Amazon Like Categories ===== */
.amazon-cats-section {
  background: #fff;
  border-radius: 22px;
  padding: 22px 18px;
  margin: 22px 0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f7;
}

.cats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cats-head h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  color: #111827;
}

.cats-head p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.cats-nav {
  display: flex;
  gap: 10px;
}

.cats-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all .2s ease;
}

.cats-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  border-color: #d1d5db;
}

.cats-slider-wrap {
  position: relative;
  overflow: hidden;
}

.amazon-cats-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 2px 10px;
  scrollbar-width: none;
}

.amazon-cats-track::-webkit-scrollbar {
  display: none;
}

.amazon-cat-item {
  min-width: 150px;
  max-width: 150px;
  flex: 0 0 150px;
  text-decoration: none;
  text-align: center;
  color: inherit;
  scroll-snap-align: start;
  transition: transform .2s ease;
}

.amazon-cat-item:hover {
  transform: translateY(-3px);
}

.amazon-cat-circle {
  width: 132px;
  height: 132px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe7a8 0%, #ffd36a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    0 8px 18px rgba(245, 158, 11, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}

.amazon-cat-item:hover .amazon-cat-circle {
  transform: scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 12px 24px rgba(245, 158, 11, .24);
}

.amazon-cat-circle img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.amazon-cat-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  line-height: 1.4;
  min-height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.amazon-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
}



.amazon-cats-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 2px 10px;
  scrollbar-width: none;
}

.amazon-cats-track::-webkit-scrollbar {
  display: none;
}

/* لما الفئات قليلة */
.amazon-cats-track.few-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 180px));
  justify-content: center;
  gap: 26px;
  overflow: visible;
}

.amazon-cats-track.few-cats .amazon-cat-item {
  min-width: unset;
  max-width: unset;
  flex: unset;
}

@media (max-width: 992px) {
  .amazon-cats-track.few-cats {
    grid-template-columns: repeat(2, minmax(140px, 180px));
  }
}

@media (max-width: 576px) {
  .amazon-cats-track.few-cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.store-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
}

.store-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding: 42px 28px 28px;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.footer-brand h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.footer-brand p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  max-width: 340px;
}

.footer-brand-link {
  text-decoration: none;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.footer-brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #1d4ed8;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: #60a5fa;
}

.footer-contact p {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.footer-contact span {
  color: #fff;
  font-weight: 700;
  margin-left: 6px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.store-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.03);
}

.store-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 992px) {
  .store-footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .store-footer {
    border-radius: 22px 22px 0 0;
  }

  .store-footer-top {
    grid-template-columns: 1fr;
    padding: 30px 18px 20px;
    gap: 22px;
  }

  .store-footer-bottom {
    padding: 14px 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand h3 {
    font-size: 21px;
  }
}

/* =====================================================
   PROFESSIONAL PRODUCT EXPERIENCE
   - hover image swap
   - thumbnails
   - quick view
   - wishlist
   - discount badge
   - enhanced skeleton
===================================================== */
.product-card {
  isolation: isolate;
}

.product-media-swap {
  position: relative;
  touch-action: pan-y;
}

.product-media-swap .product-img-main,
.product-media-swap .product-img-hover {
  transition: opacity .35s ease, transform .45s ease;
  will-change: opacity, transform;
}

.product-media-swap .product-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #fff;
}

 .product-media-swap.has-hover-image:hover .product-img-main {
  opacity: 0;
  transform: scale(1.015);
}

.product-media-swap.has-hover-image:hover .product-img-hover {
  opacity: 1;
  transform: scale(1);
}

.product-media-swap.no-hover-image:hover .product-img-main {
  opacity: 1 !important;
  transform: none !important;
}

.product-media-swap.no-hover-image .product-img-hover {
  display: none !important;
}

.product-thumbs {
  display: flex;
  gap: 7px;
  padding: 9px 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-thumbs::-webkit-scrollbar {
  display: none;
}

.product-thumb {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: .2s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: none !important;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--brand2);
  box-shadow: 0 6px 14px rgba(14, 165, 233, .18);
  transform: translateY(-1px);
}

.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(239, 68, 68, .22);
}

.wishlist-btn {
  position: absolute;
  top: 58px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  z-index: 7;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .94);
  color: #94a3b8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .12);
  transition: .2s ease;
}

.wishlist-btn:hover,
.wishlist-btn.active {
  color: #ef4444;
  transform: scale(1.08);
}

.store-card-btn-quick {
  background: #0f172a;
  color: #fff;
}

.store-card-btn-quick:hover {
  background: #1e293b;
  color: #fff;
  transform: translateY(-1px);
}

.product-skel,
.skel {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.06);
}

.product-skel::after,
.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: storeShimmer 1.15s infinite;
}

.skel .m {
  height: 210px;
  background: #eef2f7;
}

.skel .b {
  padding: 14px;
}

.skel .l {
  height: 14px;
  border-radius: 999px;
  background: #e5e7eb;
  margin-bottom: 10px;
}

.skel .l.s {
  width: 70%;
}

.skel .l.xs {
  width: 45%;
}

.skel-thumbs {
  display: flex;
  gap: 7px;
  margin: 12px 0;
}

.skel-thumbs span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #e5e7eb;
}

@keyframes storeShimmer {
  100% {
    transform: translateX(-100%);
  }
}

.quick-view-open {
  overflow: hidden;
}

.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.quick-view-modal.show {
  display: flex;
}

.quick-view-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(6px);
}

.quick-view-box {
  position: relative;
  z-index: 2;
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
  animation: quickPop .22s ease both;
}

@keyframes quickPop {
  from {
    transform: translateY(18px) scale(.98);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.quick-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.quick-view-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, .9fr);
  gap: 24px;
  padding: 24px;
  direction: rtl;
}

.quick-main-image {
  height: 420px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.quick-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.quick-thumb {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  padding: 3px;
  overflow: hidden;
}

.quick-thumb.active,
.quick-thumb:hover {
  border-color: var(--brand2);
  box-shadow: 0 8px 20px rgba(14, 165, 233, .18);
}

.quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.quick-brand {
  color: var(--brand);
  font-weight: 900;
}

.quick-info h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  color: #0f172a;
}

.quick-specs {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.quick-price {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.quick-price .new {
  color: #16a34a;
  font-weight: 900;
  font-size: 24px;
}

.quick-price .old {
  color: #ef4444;
  text-decoration: line-through;
  font-weight: 800;
}

.quick-discount {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 900;
}

.quick-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

@media (hover: none) {
  .product-card:hover .product-media-swap .product-img-main {
    opacity: 1;
  }

  .product-card:hover .product-media-swap .product-img-hover {
    opacity: 0;
  }
}



/* ===== Safe Search Suggestions Only ===== */
#searchForm {
  position: relative;
}

#searchSuggestBox.search-suggest-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  display: none;
  background: #ffffff;
  border: 1px solid #e5eef8;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .13);
  z-index: 99999;
  overflow: hidden;
  max-height: 390px;
  overflow-y: auto;
}

#searchSuggestBox .search-suggest-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

#searchSuggestBox .search-suggest-item:last-child {
  border-bottom: 0;
}

#searchSuggestBox .search-suggest-item:hover {
  background: #f8fbff;
}

#searchSuggestBox .search-suggest-item img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid #edf2f7;
}

#searchSuggestBox .search-suggest-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#searchSuggestBox .search-suggest-text strong {
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#searchSuggestBox .search-suggest-text em {
  font-style: normal;
  font-size: 11px;
  color: #64748b;
}

#searchSuggestBox .search-suggest-item b {
  color: #16a34a;
  font-size: 12px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  #searchSuggestBox.search-suggest-box {
    border-radius: 16px;
    max-height: 320px;
  }

  #searchSuggestBox .search-suggest-item {
    grid-template-columns: 46px 1fr;
  }

  #searchSuggestBox .search-suggest-item b {
    grid-column: 2;
  }

  #searchSuggestBox .search-suggest-item img {
    width: 46px;
    height: 46px;
  }
}

/* ضبط الصور الصغيرة داخل كارت المنتج */
.product-thumbs,
.card-thumbs,
.product-mini-images,
.product-gallery-thumbs {
  display: flex !important;
  flex-direction: row !important;
  gap: 7px !important;
  width: 100% !important;
  padding: 9px 12px 0 !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

.product-thumbs::-webkit-scrollbar,
.card-thumbs::-webkit-scrollbar,
.product-mini-images::-webkit-scrollbar,
.product-gallery-thumbs::-webkit-scrollbar {
  display: none !important;
}

.product-thumb,
.product-thumbs button,
.card-thumbs button,
.product-mini-images button,
.product-gallery-thumbs button,
.product-thumbs a,
.card-thumbs a,
.product-mini-images a,
.product-gallery-thumbs a {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  flex: 0 0 42px !important;
  padding: 2px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}

.product-thumbs img,
.card-thumbs img,
.product-mini-images img,
.product-gallery-thumbs img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}

 

/* لو الصور الصغيرة عبارة عن button أو a */
.product-thumbs button,
.card-thumbs button,
.product-mini-images button,
.product-gallery-thumbs button,
.product-thumbs a,
.card-thumbs a,
.product-mini-images a,
.product-gallery-thumbs a {
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.card-actions {
  display: none !important;
}

.product-card {
  position: relative;
}

.product-card .card-media {
  position: relative;
}

/* ==========================================================
   FIX: Product card actions - no overlap with price
   ========================================================== */

/* خلي الكارت يرتب المحتوى طبيعي بدون absolute */
.product-card .card-body {
  display: flex !important;
  flex-direction: column !important;
}

/* السعر لازم يفضل فوق الأزرار */
.product-card .price {
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 0 !important;
}

/* الأزرار تحت السعر في صف واحد */
.product-card .card-actions,
.product-card .card-actions-simple {
  position: static !important;
  inset: auto !important;
  transform: none !important;

  width: 100% !important;
  height: auto !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;

  z-index: 1 !important;
}

/* شكل حديث للأيقونات */
.product-card .icon-action {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;

  border: 1px solid rgba(226, 232, 240, .95) !important;
  border-radius: 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  margin: 0 !important;

  text-decoration: none !important;
  cursor: pointer !important;
  line-height: 1 !important;
  font-size: 0 !important;

  background: rgba(255, 255, 255, .92) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .09) !important;

  transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.product-card .icon-action svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.product-card .icon-cart {
  background: linear-gradient(135deg, #ff7a18, #ff9500) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.product-card .icon-quick {
  background: #071226 !important;
  border-color: transparent !important;
  color: #fff !important;
}

.product-card .icon-details {
  background: #fff !important;
  color: #0f172a !important;
}

.product-card .icon-action:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14) !important;
}

/* موبايل: صغر الأيقونات وامنع خروجها أو تغطيتها للسعر */
@media (max-width: 768px) {

  .product-card .card-actions,
  .product-card .card-actions-simple {
    gap: 7px !important;
    margin-top: 10px !important;
  }

  .product-card .icon-action {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 12px !important;
  }

  .product-card .icon-action svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* FIX ICONS */
.icon-action i,
.icon-action svg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 16px !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit !important;
  fill: currentColor !important;
}

/* لو مستخدم FontAwesome */
.icon-action .fa,
.icon-action .fas,
.icon-action .far,
.icon-action .fab {
  font-size: 16px !important;
  line-height: 1 !important;
  display: block !important;
}

/* مهم */
.icon-action {
  font-size: 16px !important;
}

.product-card .icon-action svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  fill: currentColor !important;
}

.product-card .icon-action {
  font-size: 0 !important;
}
.product-media-swap {
  position: relative;
  overflow: hidden;
}

.product-img-main,
.product-img-hover {
  transition: opacity .75s ease, transform .75s ease !important;
  will-change: opacity, transform;
}

.product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.product-media-swap.has-hover-image:hover .product-img-main {
  opacity: 0;
  transform: scale(1.015);
}

.product-media-swap.has-hover-image:hover .product-img-hover {
  opacity: 1;
  transform: scale(1);
}

.product-media-swap.no-hover-image:hover .product-img-main {
  opacity: 1 !important;
  transform: none !important;
}

.product-media-swap.no-hover-image .product-img-hover {
  display: none !important;
}

/* ================= HERO MAIN IMAGE FILL FIX ================= */

.hero-static {
  width: 100%;
  height: clamp(150px, 22vw, 340px);
  margin: 8px 0 20px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.hero-static a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-static img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
}

/* Desktop */
@media (min-width: 993px) {
  .hero-static {
    height: 340px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .hero-static {
    height: 230px;
    border-radius: 18px;
    margin: 10px 0 18px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-static {
    height: 135px;
    border-radius: 16px;
    margin: 10px 0 16px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
  }

  .hero-static img {
    object-fit: cover !important;
    object-position: center center;
  }
}

/* Very small mobile */
@media (max-width: 420px) {
  .hero-static {
    height: 125px;
  }
}
/* =====================================================
   FINAL HERO FIX — Works for all stores
   Main hero fills area + hero cards responsive
===================================================== */

/* Main Hero */
.hero-static {
  width: 100% !important;
  height: 340px !important;
  margin: 8px 0 20px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12) !important;
}

.hero-static a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-static img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Small hero cards */
.hero-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-bottom: 30px !important;
}

.hero-card {
  width: 100% !important;
  height: 160px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #fff !important;
  display: block !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10) !important;
}

.hero-card img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* Tablet */
@media (max-width: 992px) {
  .hero-static {
    height: 230px !important;
    border-radius: 18px !important;
    margin: 10px 0 18px !important;
  }

  .hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .hero-card {
    height: 145px !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .layout {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .hero-static {
    height: 135px !important;
    border-radius: 16px !important;
    margin: 10px 0 14px !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10) !important;
  }

  .hero-static img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-cards {
    display: flex !important;
    grid-template-columns: unset !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    padding: 0 2px 8px !important;
    margin-bottom: 22px !important;
    scrollbar-width: none !important;
  }

  .hero-cards::-webkit-scrollbar {
    display: none !important;
  }

  .hero-card {
    flex: 0 0 88% !important;
    width: 88% !important;
    min-width: 88% !important;
    height: 118px !important;
    border-radius: 16px !important;
    scroll-snap-align: start !important;
  }

  .hero-card img {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* Very small mobile */
@media (max-width: 420px) {
  .hero-static {
    height: 125px !important;
  }

  .hero-card {
    height: 112px !important;
  }
}
/* =====================================================
   CATEGORIES SECTION — ORANGE SECTION + YELLOW CIRCLES
===================================================== */

/* سكشن الفئات كله */
.amazon-cats-section {
  background: linear-gradient(135deg, #ff8a00 0%, #ff9f1c 45%, #ff7a00 100%) !important;
  border: 0 !important;
  box-shadow: 0 18px 45px rgba(249, 115, 22, 0.22) !important;
}

/* عنوان السكشن */
.amazon-cats-section .cats-head h2 {
  color: #ffffff !important;
}

.amazon-cats-section .cats-head p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* أزرار الأسهم */
.amazon-cats-section .cats-arrow {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #ea580c !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 8px 20px rgba(124, 45, 18, 0.18) !important;
}

.amazon-cats-section .cats-arrow:hover {
  background: #fff7ed !important;
  color: #c2410c !important;
}

/* دوائر الفئات صفراء */
.amazon-cat-circle {
  background: linear-gradient(180deg, #fff1a8 0%, #ffd84d 55%, #ffc107 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 24px rgba(120, 53, 15, 0.18) !important;
}

/* Hover الدوائر */
.amazon-cat-item:hover .amazon-cat-circle {
  transform: scale(1.05) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 32px rgba(120, 53, 15, 0.25) !important;
}

/* اسم الفئة */
.amazon-cat-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(124, 45, 18, 0.20) !important;
}

/* عدد المنتجات لو ظاهر */
.amazon-cat-count {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #c2410c !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  font-weight: 900 !important;
}

/* موبايل */
@media (max-width: 600px) {
  .amazon-cats-section {
    border-radius: 22px !important;
    padding: 20px 14px !important;
  }

  .amazon-cat-circle {
    width: 118px !important;
    height: 118px !important;
  }

  .amazon-cat-title {
    font-size: 14px !important;
  }
}
/* =====================================================
   ECHO STORE — GLOBAL HOME POLISH / MODERN SECTIONS
   ضعه في آخر store.css
===================================================== */

:root {
  --store-bg: #f6f7fb;
  --store-card: #ffffff;
  --store-text: #0f172a;
  --store-muted: #64748b;

  --store-blue: #0b4f6c;
  --store-blue2: #0ea5e9;

  --store-orange: #f97316;
  --store-orange2: #ff9f1c;
  --store-orange-soft: #fff7ed;

  --store-yellow: #ffd84d;
  --store-yellow2: #fff1a8;

  --store-line: #e2e8f0;
  --store-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

/* الخلفية العامة */
body {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%) !important;
}

/* المساحة العامة */
.wrap {
  padding-top: 22px !important;
}

.layout {
  max-width: min(1380px, 94%) !important;
}

/* =====================================================
   HERO + PROMO CARDS
===================================================== */

.hero-static {
  border-radius: 24px !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.11) !important;
}

.hero-cards {
  margin-top: 16px !important;
  margin-bottom: 28px !important;
}

.hero-card {
  border-radius: 18px !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

.hero-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.17) !important;
}

.hero-card::after {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.60),
    rgba(15, 23, 42, 0.06)
  ) !important;
}

/* =====================================================
   CATEGORY SECTION — ORANGE PREMIUM
===================================================== */

.amazon-cats-section {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #ff8a00 0%, #ff9f1c 45%, #f97316 100%) !important;
  border: 0 !important;
  border-radius: 26px !important;
  padding: 30px 24px 34px !important;
  margin: 30px 0 38px !important;
  box-shadow: 0 22px 52px rgba(249, 115, 22, 0.24) !important;
}

.amazon-cats-section::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.amazon-cats-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.amazon-cats-section .cats-head,
.amazon-cats-section .cats-slider-wrap {
  position: relative !important;
  z-index: 2 !important;
}

.amazon-cats-section .cats-head h2 {
  color: #ffffff !important;
  font-size: 30px !important;
  font-weight: 950 !important;
  letter-spacing: -0.5px !important;
}

.amazon-cats-section .cats-head p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 700 !important;
}

.amazon-cats-section .cats-arrow {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #ea580c !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.18) !important;
}

.amazon-cats-section .cats-arrow:hover {
  background: #fff7ed !important;
  color: #c2410c !important;
  transform: translateY(-2px) !important;
}

/* دوائر الفئات صفراء */
.amazon-cat-circle {
  background: linear-gradient(180deg, #fff3b0 0%, #ffd84d 55%, #ffc107 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 14px 28px rgba(120, 53, 15, 0.20) !important;
}

.amazon-cat-item:hover .amazon-cat-circle {
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 36px rgba(120, 53, 15, 0.28) !important;
}

.amazon-cat-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(124, 45, 18, 0.28) !important;
  font-weight: 950 !important;
}

.amazon-cat-count {
  background: rgba(255, 255, 255, 0.93) !important;
  color: #c2410c !important;
  border-color: rgba(255, 255, 255, 0.70) !important;
  font-weight: 900 !important;
}

/* =====================================================
   SECTION HEADERS — PRODUCTS / BEST SELLERS
===================================================== */

.section-head,
.content-head {
  margin: 38px 0 18px !important;
  padding: 0 4px !important;
}

.section-head h2,
.content-head h2 {
  position: relative !important;
  color: #0f172a !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  letter-spacing: -0.5px !important;
}

.section-head h2::after,
.content-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 8px;
  margin-right: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--store-orange), var(--store-blue2));
}

.section-head p,
.content-head .muted {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}


/* =====================================================
   OPTIONAL SECTIONS STYLE
   لو ضفت سكاشن جديدة بنفس الكلاسات دي هتشتغل مباشرة
===================================================== */

/* سكشن عروض اليوم */
.deals-section,
.today-deals-section {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%) !important;
  border: 1px solid #fed7aa !important;
  border-radius: 26px !important;
  padding: 26px 22px !important;
  margin: 36px 0 !important;
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.10) !important;
}

/* سكشن وصل حديثًا */
.new-arrivals-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 26px !important;
  padding: 26px 22px !important;
  margin: 36px 0 !important;
  box-shadow: var(--store-shadow) !important;
}

/* سكشن لماذا تختارنا */
.trust-section {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
  border: 1px solid #dbeafe !important;
  border-radius: 26px !important;
  padding: 24px !important;
  margin: 38px 0 !important;
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.08) !important;
}

.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.trust-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 18px !important;
  text-align: center !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

.trust-card .icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 10px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, var(--store-blue), var(--store-blue2)) !important;
  color: #fff !important;
  font-size: 22px !important;
}

.trust-card h3 {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  color: #0f172a !important;
}

.trust-card p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* =====================================================
   MOBILE POLISH
===================================================== */

@media (max-width: 768px) {
  .layout {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .amazon-cats-section {
    border-radius: 24px !important;
    padding: 22px 14px 26px !important;
    margin: 24px 0 30px !important;
  }

  .amazon-cats-section .cats-head {
    align-items: flex-start !important;
  }

  .amazon-cats-section .cats-head h2 {
    font-size: 25px !important;
  }

  .amazon-cat-circle {
    width: 112px !important;
    height: 112px !important;
  }

  .amazon-cat-title {
    font-size: 14px !important;
  }

  .section-head,
  .content-head {
    margin: 30px 0 16px !important;
  }

  .section-head h2,
  .content-head h2 {
    font-size: 24px !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .trust-card {
    padding: 15px 12px !important;
  }
}

@media (max-width: 480px) {
  .grid {
    gap: 12px !important;
  }

  .amazon-cat-circle {
    width: 104px !important;
    height: 104px !important;
  }

  .amazon-cat-title {
    font-size: 13px !important;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .trust-card h3 {
    font-size: 13px !important;
  }

  .trust-card p {
    font-size: 12px !important;
  }
}
/* =====================================================
   ECHO STORE — GLOBAL HOME POLISH / MODERN SECTIONS
   ضعه في آخر store.css
===================================================== */

:root {
  --store-bg: #f6f7fb;
  --store-card: #ffffff;
  --store-text: #0f172a;
  --store-muted: #64748b;

  --store-blue: #0b4f6c;
  --store-blue2: #0ea5e9;

  --store-orange: #f97316;
  --store-orange2: #ff9f1c;
  --store-orange-soft: #fff7ed;

  --store-yellow: #ffd84d;
  --store-yellow2: #fff1a8;

  --store-line: #e2e8f0;
  --store-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

/* الخلفية العامة */
body {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 32%),
    linear-gradient(180deg, #61faf761 0%, #73f3ff9d 100%) !important;
}

/* المساحة العامة */
.wrap {
  padding-top: 22px !important;
}

.layout {
  max-width: min(1380px, 94%) !important;
}

/* =====================================================
   HERO + PROMO CARDS
===================================================== */

.hero-static {
  border-radius: 24px !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.11) !important;
}

.hero-cards {
  margin-top: 16px !important;
  margin-bottom: 28px !important;
}

.hero-card {
  border-radius: 18px !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

.hero-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.17) !important;
}

.hero-card::after {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.60),
    rgba(15, 23, 42, 0.06)
  ) !important;
}

/* =====================================================
   CATEGORY SECTION — ORANGE PREMIUM
===================================================== */

.amazon-cats-section {
  position: relative !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #ff8a00 0%, #ff9f1c 45%, #f97316 100%) !important;
  border: 0 !important;
  border-radius: 26px !important;
  padding: 30px 24px 34px !important;
  margin: 30px 0 38px !important;
  box-shadow: 0 22px 52px rgba(249, 115, 22, 0.24) !important;
}

.amazon-cats-section::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.amazon-cats-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.amazon-cats-section .cats-head,
.amazon-cats-section .cats-slider-wrap {
  position: relative !important;
  z-index: 2 !important;
}

.amazon-cats-section .cats-head h2 {
  color: #ffffff !important;
  font-size: 30px !important;
  font-weight: 950 !important;
  letter-spacing: -0.5px !important;
}

.amazon-cats-section .cats-head p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 700 !important;
}

.amazon-cats-section .cats-arrow {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #ea580c !important;
  border: 1px solid rgba(255, 255, 255, 0.70) !important;
  box-shadow: 0 10px 24px rgba(124, 45, 18, 0.18) !important;
}

.amazon-cats-section .cats-arrow:hover {
  background: #fff7ed !important;
  color: #c2410c !important;
  transform: translateY(-2px) !important;
}

/* دوائر الفئات صفراء */
.amazon-cat-circle {
  background: linear-gradient(180deg, #fff3b0 0%, #ffd84d 55%, #ffc107 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 14px 28px rgba(120, 53, 15, 0.20) !important;
}

.amazon-cat-item:hover .amazon-cat-circle {
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 36px rgba(120, 53, 15, 0.28) !important;
}

.amazon-cat-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(124, 45, 18, 0.28) !important;
  font-weight: 950 !important;
}

.amazon-cat-count {
  background: rgba(255, 255, 255, 0.93) !important;
  color: #c2410c !important;
  border-color: rgba(255, 255, 255, 0.70) !important;
  font-weight: 900 !important;
}

/* =====================================================
   SECTION HEADERS — PRODUCTS / BEST SELLERS
===================================================== */

.section-head,
.content-head {
  margin: 38px 0 18px !important;
  padding: 0 4px !important;
}

.section-head h2,
.content-head h2 {
  position: relative !important;
  color: #0f172a !important;
  font-size: 28px !important;
  font-weight: 950 !important;
  letter-spacing: -0.5px !important;
}

.section-head h2::after,
.content-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 8px;
  margin-right: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--store-orange), var(--store-blue2));
}

.section-head p,
.content-head .muted {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* =====================================================
   PRODUCTS GRID — BETTER GLOBAL STORE LOOK
===================================================== */

.grid {
  gap: 18px !important;
}

.product-card,
.card {
  border-radius: 22px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.065) !important;
  background: #fff !important;
}

.product-card:hover,
.card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14) !important;
}

.product-card .card-media,
.card-media {
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.035), transparent 62%),
    #ffffff !important;
}

.product-card h3,
.product-card .title,
.card h3 {
  color: #0f172a !important;
  font-weight: 950 !important;
}

.product-card p,
.product-card .spec-line,
.product-card .meta,
.card p {
  color: #64748b !important;
}

.price .new,
.product-card .new,
.product-card .sale-price,
.product-card .price-new {
  color: #059669 !important;
  font-weight: 950 !important;
}

.price .old,
.product-card .old,
.product-card del {
  color: #ef4444 !important;
}

/* Badges */
.discount-badge {
  background: linear-gradient(135deg, #ef4444, #f97316) !important;
  box-shadow: 0 12px 26px rgba(239, 68, 68, 0.26) !important;
}

.badge,
.product-card .badge {
  background: rgba(11, 79, 108, 0.95) !important;
}

/* Buttons */
.product-card .icon-cart {
  background: linear-gradient(135deg, #ff7a18, #ff9500) !important;
}

.product-card .icon-quick {
  background: #071226 !important;
}

.product-card .icon-details {
  background: #fff !important;
}

/* =====================================================
   OPTIONAL SECTIONS STYLE
   لو ضفت سكاشن جديدة بنفس الكلاسات دي هتشتغل مباشرة
===================================================== */

/* سكشن عروض اليوم */
.deals-section,
.today-deals-section {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%) !important;
  border: 1px solid #fed7aa !important;
  border-radius: 26px !important;
  padding: 26px 22px !important;
  margin: 36px 0 !important;
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.10) !important;
}

/* سكشن وصل حديثًا */
.new-arrivals-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 26px !important;
  padding: 26px 22px !important;
  margin: 36px 0 !important;
  box-shadow: var(--store-shadow) !important;
}

/* سكشن لماذا تختارنا */
.trust-section {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%) !important;
  border: 1px solid #dbeafe !important;
  border-radius: 26px !important;
  padding: 24px !important;
  margin: 38px 0 !important;
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.08) !important;
}

.trust-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.trust-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 18px !important;
  text-align: center !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06) !important;
}

.trust-card .icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 10px !important;
  border-radius: 16px !important;
  display: grid !important;
  place-items: center !important;
  background: linear-gradient(135deg, var(--store-blue), var(--store-blue2)) !important;
  color: #fff !important;
  font-size: 22px !important;
}

.trust-card h3 {
  margin: 0 0 6px !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  color: #0f172a !important;
}

.trust-card p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* =====================================================
   MOBILE POLISH
===================================================== */

@media (max-width: 768px) {
  .layout {
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .amazon-cats-section {
    border-radius: 24px !important;
    padding: 22px 14px 26px !important;
    margin: 24px 0 30px !important;
  }

  .amazon-cats-section .cats-head {
    align-items: flex-start !important;
  }

  .amazon-cats-section .cats-head h2 {
    font-size: 25px !important;
  }

  .amazon-cat-circle {
    width: 112px !important;
    height: 112px !important;
  }

  .amazon-cat-title {
    font-size: 14px !important;
  }

  .section-head,
  .content-head {
    margin: 30px 0 16px !important;
  }

  .section-head h2,
  .content-head h2 {
    font-size: 24px !important;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .trust-card {
    padding: 15px 12px !important;
  }
}

@media (max-width: 480px) {
  .grid {
    gap: 12px !important;
  }

  .amazon-cat-circle {
    width: 104px !important;
    height: 104px !important;
  }

  .amazon-cat-title {
    font-size: 13px !important;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .trust-card h3 {
    font-size: 13px !important;
  }

  .trust-card p {
    font-size: 12px !important;
  }
}
/* =====================================================
   MOBILE FIX — PRODUCT THUMBNAILS INSIDE CARD
===================================================== */

@media (max-width: 600px) {

  /* صف الصور الصغيرة داخل الكارت */
  .product-card .product-thumbs {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;

    width: 100% !important;
    max-width: 100% !important;

    padding: 6px 7px 0 !important;
    margin: 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;

    align-items: center !important;
    justify-content: flex-start !important;
  }

  .product-card .product-thumbs::-webkit-scrollbar {
    display: none !important;
  }

  /* زر الصورة الصغيرة */
  .product-card .product-thumb {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    flex: 0 0 34px !important;

    padding: 2px !important;
    margin: 0 !important;

    border-radius: 9px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* الصورة نفسها */
  .product-card .product-thumb img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    aspect-ratio: auto !important;
    border-radius: 7px !important;

    display: block !important;
    transform: none !important;
  }

  /* منع أي hover أو scale على الصور الصغيرة */
  .product-card:hover .product-thumb img,
  .product-card:hover .product-thumbs img,
  .product-thumb:hover img,
  .product-thumb.active img {
    transform: none !important;
  }

  /* الصورة النشطة */
  .product-card .product-thumb.active {
    border-color: #0ea5e9 !important;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.22) !important;
  }
}
/* =====================================================
   HEADER PRICE FILTER UNDER SEARCH
===================================================== */

.store-search-zone {
  width: 100%;
  min-width: 0;
}

.store-search-zone .search {
  width: 100% !important;
  flex-wrap: wrap !important;
  border-radius: 22px !important;
  padding: 7px !important;
}

.store-search-zone .search > input[type="search"] {
  flex: 1 1 calc(100% - 75px) !important;
}

.store-search-zone .search .search-btn {
  flex: 0 0 auto !important;
}

.price-filter-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px 2px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 4px;
}

.price-field {
  flex: 1;
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0 10px;
}

.price-field span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.price-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  direction: ltr;
  text-align: right;
}

.price-filter-btn {
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: linear-gradient(135deg, #f97316, #ff9f1c);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.20);
}

/* Desktop: خلي البحث مايبقاش عالي زيادة */
@media (min-width: 992px) {
  .topbar-inner {
    align-items: center !important;
  }

  .store-search-zone .search {
    max-width: 760px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .price-filter-row {
    gap: 6px;
    padding-top: 7px;
  }

  .price-field {
    height: 36px;
    padding: 0 8px;
  }

  .price-field span {
    font-size: 11px;
  }

  .price-field input {
    font-size: 12px;
  }

  .price-filter-btn {
    height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .price-filter-row {
    flex-wrap: wrap;
  }

  .price-field {
    flex: 1 1 calc(50% - 4px);
  }

  .price-filter-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}
/* =====================================================
   MOBILE HEADER CLEAN FIX
   Header + Search + Price Filter
===================================================== */

@media (max-width: 768px) {

  .topbar {
    background: rgba(255,255,255,.96) !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 8px 24px rgba(15,23,42,.05) !important;
  }

  .topbar-inner {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 12px 12px !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand cart"
      "search search" !important;
    gap: 10px !important;
    align-items: center !important;
    min-height: auto !important;
  }

  .store-brand-area,
  .topbar-head {
    grid-area: brand !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .brand-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .brand-logo-wrap {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .brand-logo {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
  }

  .brand-text {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }

  .brand-text b {
    max-width: 145px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    color: #0b4f6c !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-text small {
    max-width: 145px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .brand-text small a {
    color: #64748b !important;
    text-decoration: none !important;
  }

  .store-actions,
  .topbar-actions {
    grid-area: cart !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .store-phone-pill {
    display: none !important;
  }

  .cart-link {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    border-radius: 15px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.08) !important;
  }

  .cart-icon {
    font-size: 21px !important;
  }

  .cart-badge {
    top: -6px !important;
    right: -6px !important;
    min-width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }

  .store-search-zone,
  .search {
    grid-area: search !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .search {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    padding: 8px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.06) !important;
  }

  .search > input[type="search"] {
    flex: 1 1 calc(100% - 58px) !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    background: #f8fafc !important;
    border-radius: 999px !important;
  }

  .search-btn {
    width: 50px !important;
    min-width: 50px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .price-filter-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    gap: 7px !important;
    padding: 7px 0 0 !important;
    margin: 0 !important;
    border-top: 1px dashed #e2e8f0 !important;
  }

  .price-field {
    height: 36px !important;
    min-width: 0 !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .price-field span {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: #64748b !important;
    white-space: nowrap !important;
  }

  .price-field input {
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    direction: ltr !important;
    text-align: right !important;
  }

  .price-filter-btn {
    height: 36px !important;
    min-width: 72px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #f97316, #ff9f1c) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    box-shadow: 0 8px 18px rgba(249,115,22,.20) !important;
  }
}

/* موبايل ضيق جدًا */
@media (max-width: 390px) {
  .topbar-inner {
    padding: 9px 10px 11px !important;
  }

  .brand-text b {
    max-width: 115px !important;
  }

  .brand-text small {
    max-width: 115px !important;
  }

  .price-filter-row {
    grid-template-columns: 1fr 1fr !important;
  }

  .price-filter-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}
/* ==========================================================
   ERP ECHO — Store Home Sections Public Styles
   Prefix: shs-
   ========================================================== */

.shs-root {
  direction: rtl;
  margin: 24px 0 28px;
}

.shs-section {
  margin: 28px 0;
}

.shs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin: 0 0 16px;
  padding: 0 4px;
}

.shs-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
  font-weight: 950;
  line-height: 1.35;
}

.shs-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.7;
}

.shs-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0b4f6c;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
  white-space: nowrap;
}

.shs-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
}

/* Promo Cards */
.shs-promo-section {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.shs-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shs-promo-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 16px;
  text-decoration: none;
  color: #0f172a;
  overflow: hidden;
  transition: .22s ease;
}

.shs-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.shs-promo-img {
  width: 100%;
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(14,165,233,.08), transparent 68%), #fff;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
}

.shs-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .25s ease;
}

.shs-promo-card:hover .shs-promo-img img {
  transform: scale(1.04);
}

.shs-promo-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #0b4f6c, #0ea5e9);
  color: #fff;
  font-size: 28px;
}

.shs-promo-info h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.35;
}

.shs-promo-info p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.7;
}

.shs-promo-info span {
  display: inline-flex;
  color: #0ea5e9;
  font-weight: 950;
  font-size: 13px;
}

/* Wide Banner */
.shs-wide-banner {
  position: relative;
  min-height: 250px;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(135deg, #0b4f6c, #0ea5e9);
  box-shadow: 0 22px 52px rgba(11, 79, 108, .18);
}

.shs-wide-banner img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.shs-banner-overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(to top, rgba(15,23,42,.62), rgba(15,23,42,.12));
}

.shs-banner-overlay h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 1000;
}

.shs-banner-overlay p {
  margin: 0 0 14px;
  max-width: 540px;
  color: rgba(255,255,255,.88);
  font-weight: 800;
  line-height: 1.8;
}

.shs-banner-overlay span {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0b4f6c;
  font-weight: 950;
}

/* Product Rows */
.shs-product-row-section,
.shs-price-deals {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.shs-price-deals {
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border-color: #fed7aa;
}

.shs-row-wrap {
  position: relative;
}

.shs-products-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 270px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.shs-products-row::-webkit-scrollbar {
  display: none;
}

.shs-products-row .product-card,
.shs-products-row .card {
  min-width: 0;
  scroll-snap-align: start;
}

.shs-row-arrow {
  position: absolute;
  top: 42%;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15,23,42,.12);
}

.shs-next { right: -8px; }
.shs-prev { left: -8px; }

/* Category Grid */
.shs-category-grid-section {
  background: linear-gradient(135deg, #ff8a00 0%, #ff9f1c 45%, #f97316 100%);
  border-radius: 28px;
  padding: 26px 22px;
  box-shadow: 0 22px 52px rgba(249, 115, 22, .22);
}

.shs-category-grid-section .shs-head h2,
.shs-category-grid-section .shs-head p {
  color: #fff;
}

.shs-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.shs-cat-card {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  padding: 12px;
  transition: .22s ease;
}

.shs-cat-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.12);
}

.shs-cat-img {
  width: 116px;
  height: 116px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff3b0 0%, #ffd84d 55%, #ffc107 100%);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(120, 53, 15, .22);
}

.shs-cat-img img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.shs-cat-card h3 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.45;
  color: #fff;
}

.shs-cat-card span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #c2410c;
  font-size: 11px;
  font-weight: 950;
}

/* Guides */
.shs-guide-section {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #dbeafe;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(14, 165, 233, .08);
}

.shs-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.shs-guide-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px;
  text-align: center;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  transition: .22s ease;
}

.shs-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
}

.shs-guide-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0b4f6c, #0ea5e9);
  color: #fff;
  font-size: 24px;
}

.shs-guide-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 950;
}

.shs-guide-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 750;
}

@media (max-width: 1100px) {
  .shs-promo-grid,
  .shs-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shs-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .shs-root {
    margin: 18px 0 22px;
  }

  .shs-section {
    margin: 22px 0;
  }

  .shs-head {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .shs-head h2 {
    font-size: 22px;
  }

  .shs-head p {
    font-size: 13px;
  }

  .shs-more {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .shs-promo-section,
  .shs-product-row-section,
  .shs-price-deals,
  .shs-guide-section,
  .shs-category-grid-section {
    border-radius: 22px;
    padding: 16px 12px;
  }

  .shs-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shs-promo-card {
    min-height: 210px;
    border-radius: 18px;
    padding: 12px;
  }

  .shs-promo-img {
    height: 104px;
    border-radius: 15px;
  }

  .shs-promo-info h3 {
    font-size: 14px;
  }

  .shs-promo-info p,
  .shs-promo-info span {
    font-size: 12px;
  }

  .shs-wide-banner,
  .shs-wide-banner img {
    min-height: 160px;
    border-radius: 20px;
  }

  .shs-banner-overlay {
    padding: 18px;
  }

  .shs-banner-overlay h2 {
    font-size: 22px;
  }

  .shs-products-row {
    grid-auto-columns: minmax(210px, 72vw);
  }

  .shs-row-arrow {
    display: none;
  }

  .shs-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shs-cat-img {
    width: 98px;
    height: 98px;
  }

  .shs-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .shs-guide-card {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .shs-guide-card h3 {
    font-size: 13px;
  }

  .shs-guide-card p {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .shs-promo-grid,
  .shs-guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shs-products-row {
    grid-auto-columns: minmax(190px, 78vw);
  }
}
