.tp-category-img-box {  
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  grid-template-rows: auto !important;
}.tp-category-img-box li:nth-child(2),
.tp-category-img-box li:first-child {
    grid-column: auto !important;
    grid-row: auto !important;
}

@media (max-width: 768px) {
    .tp-category-img-box li:nth-child(2), .tp-category-img-box li:nth-child(3), .tp-category-img-box li:nth-child(5), .tp-category-img-box li:nth-child(6) {
        width: 100%;
    }
}
span.preorder-badge.preorder-badge--product-card {
    background: #ebebeb !important;
}
@media (max-width: 768px) {
    .tp-shop-top .tp-shop-top-filter .tp-filter-btn {
        font-size: 18px;
        padding: 0;
        border: 0;
        background: unset;
        justify-content: center;
        color: white !important;
    }
}


.tp-footer-social a {

    background: transparent !important;

}
.tp-footer-copyright{display: none}
/**
 * tp-branches map overlay — CSS فقط
 * انسخ كله في: لوحة التحكم → تصميم المتجر → CSS مخصص
 * السكشن: section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"
 */

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"].tp-branches {
  --tp-header: 0px;          /* ارتفاع الهيدر الثابت لو موجود */
  --tp-overlap: 0px;         /* كام px تطلع فوق سكشن الفيديو اللي قبلها */
  --tp-map-h: calc(100dvh - var(--tp-header));
  --tp-nav-top: 10px;

  position: relative;
  padding-top: var(--tp-map-h);
  margin-top: calc(var(--tp-overlap) * -1);
  z-index: 3;
  overflow: visible;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  height: var(--tp-map-h);
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .tp-title-section:empty {
  display: none;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .tp-branches-tabs {
  position: relative;
  width: 100%;
  height: 100%;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .tab-content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .tab-pane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .tab-pane iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  border: 0 !important;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs {
  position: absolute;
  top: var(--tp-nav-top);
  left: 12px;
  right: 12px;
  z-index: 10;

  display: flex !important;
  flex-flow: row nowrap !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;

  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  scrollbar-width: none;

  margin: 0 !important;
  padding: 6px 8px !important;
  width: auto !important;
  max-width: none !important;
  border: none !important;
  border-bottom: none !important;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs .nav-item {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  scroll-snap-align: start;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs .nav-link {
  display: inline-block;
  white-space: nowrap !important;
  word-break: keep-all;
  border-radius: 8px !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  border: 1px solid transparent !important;
  margin: 0 !important;
}

[section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs .nav-link.active {
  font-weight: 600;
}

@media (max-width: 767px) {
  [section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"].tp-branches {
    --tp-map-h: calc(100dvh - var(--tp-header));
    --tp-nav-top: 8px;
    --tp-overlap: 0px;
  }

  [section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs {
    left: 8px;
    right: 8px;
    gap: 5px;
    padding: 5px 6px !important;
    border-radius: 10px;
  }

  [section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs .nav-link {
    font-size: 12px !important;
    padding: 0.42rem 0.72rem !important;
  }
}

[dir="rtl"] [section-id="620adfdf-b202-4142-a38a-cc88b6e7d7ed"] .nav-tabs {
  justify-content: flex-start;
}