/* ===== Clean Store Header ===== */

.wd-content-layout {
    padding-inline: 0px !important;
}

.wcfmmp-store-header-clean {
  direction: rtl; /* عربي */
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

#wcfmmp-store {
    box-shadow: none !important;
}

#wcfmmp-store a{
    font-size: 16px;
}

#wcfmmp-store #wcfm_mystore_header {
    background: transparent !important;
}

.wcfmmp-store-header-clean .store-card {
  background: #F7F7F7;
  border-radius: 12px;
  padding: 20px;
}

.wcfmmp-store-header-clean .store-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0px;
}

/* LEFT */
.wcfmmp-store-header-clean .store-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wcfmmp-store-header-clean .store-logo img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
}

.wcfmmp-store-header-clean .store-title {
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 700;
  color: #111827;
}

.wcfmmp-store-header-clean .store-short-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* RIGHT */
.wcfmmp-store-header-clean .store-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wcfmmp-store-header-clean .store-actions {
  display: flex;
  gap: 10px;
}

.wcfmmp-store-header-clean .store-actions a,
.wcfmmp-store-header-clean .store-actions button {
  padding: 8px 14px;
  background: #2563eb;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}
.wcfmmp-store-header-clean .store-actions a:hover,
.wcfmmp-store-header-clean .store-actions button:hover {
  background: #1d4ed8;
}

.wcfmmp-store-header-clean .store-socials a {
  color: #6b7280;
  font-size: 18px;
  margin-right: 8px;
}
.wcfmmp-store-header-clean .store-socials a:hover {
  color: #2563eb;
}

/* CONTACTS */
.wcfmmp-store-header-clean .store-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.wcfmmp-store-header-clean .contact-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3f4f6;
  border-radius: 16px;
  font-size: 14px;
  color: #374151;
}

.wcfmmp-store-header-clean .contact-chip a {
  color: inherit;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .wcfmmp-store-header-clean .store-card-inner {
    flex-direction: column;
  }
  .wcfmmp-store-header-clean .store-right {
    align-items: flex-start;
  }
  .wcfm_banner_area {
      display: none;
  }
}

/*------------------------------------------*/
/* الأساسيات */
#wcfmmp-store .left_side {
  background: #fff;
  border-radius: 10px;
}

/* الكاتيجوريز */
#wcfmmp-store .widget_wcfmmp-store-category ul {
  display: flex;
  flex-wrap: nowrap;         /* سطر واحد */
  overflow-x: auto;          /* Scroll أفقي */
  scrollbar-width: thin;     /* للفايرفوكس */
  scrollbar-color: #ccc transparent;
  margin: 0;
  padding: 10px 0;
  gap: 10px;
}

#wcfmmp-store .widget_wcfmmp-store-category ul::-webkit-scrollbar {
  height: 6px;               /* سمك السكروول */
}

#wcfmmp-store .widget_wcfmmp-store-category ul::-webkit-scrollbar-thumb {
  background: #0073e6;
  border-radius: 3px;
}

#wcfmmp-store .widget_wcfmmp-store-category li {
  list-style: none;
}

#wcfmmp-store .widget_wcfmmp-store-category li a {
  display: inline-block;
  white-space: nowrap;       /* يمنع الكسر للسطر */
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 6px 14px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

#wcfmmp-store .widget_wcfmmp-store-category li a:hover {
  background: #0073e6;
  color: #fff;
}

/* موبايل: السايد بار يطلع فوق */
@media (max-width: 768px) {
  #wcfmmp-store .body_area {
    display: flex;
    flex-direction: column;
  }
  
  .store-search-box {
    margin: 5px 10px 0px 10px;
  }
  
  #wcfmmp-store a{
    font-size: 14px;
}

  #wcfmmp-store .left_side {
    order: -1; /* يطلع فوق */
    margin-top: 0 !important;
    margin-bottom: 15px;
  }

  #wcfmmp-store .right_side {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .categories_list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* للفايرفوكس */
    scrollbar-color: #E55134 transparent;
  }
  
  #wcfmmp-store .tab_area .tab_links{
      display: flex !important;
  }
  #wcfmmp-store .tab_area .tab_links li a {
      padding: 10px 10px 10px 5px !important;
  }
  #wcfmmp-store .left_side, #wcfmmp-stores-lists .left_side {
        background: white !important;
        position: sticky;
        top: -55px;
        z-index: 390;
  }

  .categories_list ul {
    display: flex;
    flex-wrap: nowrap;
    padding: 8px 5px;
    margin: 0;
    list-style: none;
  }

  .categories_list ul li {
    flex: 0 0 auto; /* يخليهم في صف واحد */
  }

  .categories_list ul li a {
    display: inline-block;
    white-space: nowrap;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #E55134;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .categories_list ul li a:hover {
    color: #fff;
    border-color: #E55134;
  }

  /* Scrollbar ستايل */
  .categories_list::-webkit-scrollbar {
    height: 6px;
  }

  .categories_list::-webkit-scrollbar-track {
    background: transparent;
  }

  .categories_list::-webkit-scrollbar-thumb {
    background: #E55134;
    border-radius: 3px;
  }

  .categories_list::-webkit-scrollbar-thumb:hover {
    background: #E55134;
  }
}

