/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
* ===== الشريط - الوضع العادي (سطح المكتب) ===== */
.wd-toolbar.wd-toolbar-label-show {
  background: transparent; /* أو اللون الأصلي */
  position: static; /* يرجع مكانو العادي */
  height: auto;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* ===== الشريط - الموبايل بس ===== */
@media (max-width: 768px) {
  .wd-toolbar.wd-toolbar-label-show {
    background: #fff;
    position: fixed;
    bottom: 5px;
    left: 12px;
    right: 12px;
    height: 55px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;

    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: visible;
    padding: 0 10px;
  }

/* ===== العناصر ===== */
.wd-toolbar.wd-toolbar-label-show .wd-tools-element {
  flex: 1;
  text-align: center;
  position: relative;
}

.wd-toolbar.wd-toolbar-label-show .wd-tools-element a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #777;
}

/* ===== الأيقونات العادية ===== */
.wd-toolbar .wd-tools-icon {
  font-size: 18px;  /* أصغر */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 2px;
  transition: all 0.3s ease;
  color: #666;
}

/* ===== النصوص ===== */
.wd-toolbar .wd-toolbar-label {
  font-size: 10px;  /* أصغر */
  font-weight: 500;
  color: #555;
  line-height: 1.2;
  transition: all 0.3s ease;
}

/* ===== الزر الأوسط (بارز أصغر) ===== */
.wd-toolbar.wd-toolbar-label-show .wd-tools-element:nth-child(3) .wd-tools-icon {
  background: var(--wd-primary-color);
  color: #fff !important;
  position: absolute;
  top: -18px; /* يطلع لفوق */
  left: 50%;
  transform: translateX(-50%);
  width: 44px; /* أصغر */
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  z-index: 10;
}

.wd-toolbar.wd-toolbar-label-show .wd-tools-element:nth-child(3) .wd-toolbar-label {
  margin-top: 32px;
  color: var(--wd-primary-color);
  font-weight: 600;
}

/* ===== عداد الكارت ===== */
.wd-cart-number.wd-tools-count {
  background: var(--wd-alternative-color);
  color: #fff;
  font-size: 9px;
  border-radius: 50%;
  padding: 1px 4px;
  position: absolute;
  top: -5px;
  left: 0%;
  box-shadow: 0 0 4px rgba(0,0,0,0.25);
}