:root { 
--color-primary: #F2C949 !important;

}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px !important;
  }

  .bottom-nav-bar {
    display: flex !important;
    flex-direction: row-reverse;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #e8e0d0;
    height: 65px;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .bottom-nav-bar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #999;
    gap: 4px;
    transition: color 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
  }

  .bottom-nav-bar .nav-item svg {
    width: 22px;
    height: 22px;
  }

  .bottom-nav-bar .nav-item.active {
    color: #C8960C;
  }

  .bottom-nav-bar .nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2.5px;
    background: #C8960C;
    border-radius: 0 0 4px 4px;
  }

  .bottom-nav-bar .nav-item span {
    font-size: 10px;
    font-weight: 600;
  }
}

@media (min-width: 769px) {
  .bottom-nav-bar {
    display: none !important;
  }
}


/* ===== بطاقة المنتج ===== */
.product-card {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #e8d8a0 !important;
  overflow: hidden !important;
  transition: transform 0.2s !important;
}

.product-card:hover {
  transform: translateY(-3px) !important;
}

/* ===== صورة المنتج ===== */
.product-card img {
  width: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 1/1 !important;
}

/* ===== محتوى البطاقة ===== */
.product-card .product-card__content {
  padding: 10px 12px !important;
  text-align: right !important;
}

/* ===== اسم المنتج ===== */
.product-card .product-card__name {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2a1f0a !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ===== الوزن / التفاصيل ===== */
.product-card .product-card__subtitle,
.product-card .product-card__weight {
  font-size: 11px !important;
  color: #7a6a4a !important;
  margin-bottom: 6px !important;
}

/* ===== السعر ===== */
.product-card .product-card__price {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #2a1f0a !important;
}

/* ===== العملة ===== */
.product-card .product-card__currency {
  font-size: 11px !important;
  color: #7a6a4a !important;
  font-weight: 500 !important;
}

/* ===== زر السلة ===== */
.product-card .product-card__cart-btn,
.product-card .btn-add-to-cart {
  background: #C8960C !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.product-card .product-card__cart-btn:hover,
.product-card .btn-add-to-cart:hover {
  background: #9a6f08 !important;
}

/* ===== شارة (جديد / الأكثر طلباً) ===== */
.product-card .product-card__badge {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  background: #C8960C !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
}

/* ===== الشبكة على الجوال ===== */
@media (max-width: 768px) {
  .product-card {
    border-radius: 12px !important;
  }

  .product-card .product-card__name {
    font-size: 12px !important;
  }

  .product-card .product-card__price {
    font-size: 14px !important;
  }
}
/* ===== إزالة الخط الأزرق الافتراضي ===== */
.home-block-title::after,
.home-block-title *::after,
.home-block-title::before,
.home-block-title *::before {
  display: none !important;
}

/* ===== إزالة الخط الأزرق الافتراضي ===== */
.home-block-title::after,
.home-block-title *::after,
.home-block-title::before,
.home-block-title *::before {
  display: none !important;
}

.home-block-title,
.home-block-title *,
.home-block-title::before,
.home-block-title::after,
.home-block-title *::before,
.home-block-title *::after {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.home-block-title div {
  margin-left:0px !important;
  margin-right: 0px !important;
}


.home-block-line{
  display: none;
}


#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.s-block--square-links.square-links-1 > div > ul > li{
      background-color: black;
    border-radius: 1rem;
}

#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.s-block--square-links.square-links-1 > div > ul > li > a > h3 {
color: #fff;
}

#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.s-block--square-links {
      margin-top: -10%;
}

/* .navbar-brand{
  display: none !important;
} */

/* CSS */
.navbar-brand {
  position: sticky;
  top: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.navbar-brand.visible {
  opacity: 1;
  transform: translateY(0);
}
/* End CSS*/

.top-navbar {
  border: 0px !important;
}

.btn--outline-primary {
  background-color: black;
  border-radius: 20px !important;
  color:#ffffcc !important;
}

/* TESTING*/
/* ===== البطاقة ===== */
.product-card {
  background: #1a1209 !important;
  border-radius: 18px !important;
  border: none !important;
  overflow: hidden !important;
  transition: transform 0.2s !important;
  position: relative !important;
}

.product-card:hover {
  transform: translateY(-4px) !important;
}

/* ===== صورة المنتج ===== */
.product-card .product-card__image img {
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ===== المحتوى ===== */
.product-card .product-card__content {
  background: #1a1209 !important;
  padding: 12px 14px !important;
  text-align: right !important;
}

.product-card .product-card__content-wrapper {
  background: #1a1209 !important;
}

/* ===== اسم المنتج ===== */
.product-card .product-card__title a {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ===== السعر ===== */
.product-card .product-card__price .total-price {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: black !important;
}

.product-card .product-card__price .sicon-sar {
  font-size: 13px !important;
  color: #b0a080 !important;
}

/* ===== السعر قبل الخصم ===== */
.product-card .product-card__price .before-price {
  color: #7a6a4a !important;
  font-size: 12px !important;
}

/* ===== الشارات (جديد / الأكثر طلباً) ===== */
.product-card .product-card__image .badge,
.product-card .product-card__image [class*="badge"] {
  background: #C8960C !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
}

/* ===== أزرار المفضلة والعرض السريع ===== */
.product-card .product-card__actions .s-button-element,
.product-card .product-card__buttons .s-button-element {
  background: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 34px !important;
  height: 34px !important;
  color: #1a1209 !important;
}

/* ===== إخفاء نص إضافة للسلة وإبقاء الأيقونة ===== */
.product-card .s-button-text {
  font-size: 0 !important;
}

.product-card .s-button-text i {
  font-size: 16px !important;
}.product-card .product-card__price .total-price {
  color: balck !important;
}

/* ===== الجوال ===== */
@media (max-width: 768px) {
  #app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.s-block--square-links {
      margin-top: -15% !important;
}
  .product-card .product-card__title a {
    font-size: 13px !important;
  }

  .product-card .product-card__price .total-price {
    font-size: 16px !important;
  }
}
/* TESTING*/


.product-card__title a {
  color: #ffff !important;
  text-align: center;
}

.product-card .product-card__content, .product-card .product-card__info {
  background: #060604 !important;
}


.text-store-text-secondary {
    color: black !important;
    background-color: var(--bg-primary);
    padding-left: 8px !important;
    padding-right: 8px;
    border-radius: 10px;

}
.product-card__addToCart,
.product-card__addToCart.mobile {
  display: none !important;
}

/* إخفاء النص فقط من زر السلة الأصلي */
.product-card .product-card__addToCart .s-button-text {
  font-size: 0 !important;
}

.product-card .product-card__addToCart .s-button-text i {
  font-size: 16px !important;
}

.product-card .product-card__addToCart.mobile .s-button-text {
  font-size: 0 !important;
}

.product-card .product-card__addToCart.mobile .s-button-text i {
  font-size: 16px !important;
}

.s-button-text i {
  font-size: 16px !important;
}

.custom-title-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.custom-cart-icon-btn {
  background: transparent !important;
  border: 1.5px solid #C8960C !important;
  border-radius: 10px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #C8960C !important;
  transition: background 0.2s, color 0.2s !important;
  flex-shrink: 0 !important;
}

.custom-cart-icon-btn:hover {
  background: #C8960C !important;
  color: #fff !important;
}

.custom-cart-icon-btn svg {
  stroke: currentColor !important;
  width: 17px !important;
  height: 17px !important;
}


#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.s-block--enhanced-features > div > div > div.feature-icon.has-image > img{
  border-radius: 10px;
}


#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.container.fixed-products.fixed-products--2 > div.flex.items-center.gap-8.mt-5 > span:nth-child(3) ,
#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.container.fixed-products.fixed-products--2 > div.flex.items-center.gap-8.mt-5 > span:nth-child(1){
 background-color: var(--color-primary) !important;
}

#app > div.app-inner.flex.flex-col.min-h-full.bg-storeBG > main > section.s-block.s-block--square-links.square-links-1 > div > div > p{
  display: none !important;
}