/*==========================================
  1. الهيكل العام للموقع
==========================================*/
body {
    max-width: 1440px;
    margin: 0 auto !important;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1510px) and (min-width: 1200px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/*==========================================
  2. القوائم والهيدر
==========================================*/
a.mburger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

a.mburger .menu-label {
    font-size: 13px !important;
}

a.mburger i {
    font-size: 13px !important;
    line-height: 16px !important;
}

.store-header.centered_logo {
    height: 78px !important;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.store-header.centered_logo .inner {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.store-header.centered_logo .flex.items-center.flex-col {
    flex-direction: row !important;
    align-items: center !important;
}

.main-nav-container {
    background-color: var(--header-bg);
    color: var(--header-text-color);
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
}

.store-header.centered_logo .header-btn__icon,
.store-header.centered_logo .s-cart-summary-icon,
.store-header.centered_logo .sicon-search,
.store-header.centered_logo .sicon-user,
.store-header.centered_logo .sicon-cart {
    height: 18px !important;
    width: 18px !important;
    font-size: 18px !important;
    line-height: 18px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* مسافة بين الأيقونات في الهيدر */
.store-header.centered_logo [class*="w-1/3"][class*="flex"] {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
}

/*==========================================
  3. صفحات المنتجات
==========================================*/
.product-single__info,
.product-single__slider {
    width: 100% !important;
}

@media (min-width: 1024px) {
    .product-single__info {
        width: 41.666667% !important; /* 5/12 */
    }
    .product-single__slider {
        width: 58.333333% !important; /* 7/12 */
    }
}

.product-single__info .product-entry__sub-title {
    font-weight: 500 !important; /* Medium */
}

/*==========================================
  4. بطاقات المنتجات
==========================================*/
.product-card__content,
.product-card__content * {
    text-align: right !important;
    direction: rtl !important;
}

/* محاذاة السعر داخل البطاقة */
.product-card__content .product-card__price {
    justify-content: flex-start !important;
}

.product-card__content .product-card__price * {
    text-align: right !important;
    direction: rtl !important;
}

.product-card__content .price_is_on_sale {
    justify-content: flex-end !important;
}

/* إخفاء أزرار البطاقة */
.product-card__content .product-card__buttons {
    display: none !important;
}

/* حجم اسم المنتج والسعر */
.product-card__content .product-card__title a {
    font-size: 14px !important;
    font-weight: 400 !important; /* Regular */
}

.product-card__content .product-card__price .total-price,
.product-card__content .product-card__price .before-price {
    font-size: 12px !important;
    font-weight: 400 !important; /* Light */
}

/*==========================================
  5. أقسام About
==========================================*/
/* إزالة المسافات بين النصوص لجميع أقسام About */
#about-1 h3, #about-1 h2, #about-1 p, #about-1 a.btn,
#about-3 h3, #about-3 h2, #about-3 p, #about-3 a.btn,
#about-6 h3, #about-6 h2, #about-6 p, #about-6 a.btn,
#about-9 h3, #about-9 h2, #about-9 p, #about-9 a.btn,
#about-11 h3, #about-11 h2, #about-11 p, #about-11 a.btn {
    margin: 0 !important;
    padding: 0 !important;
}

/* نصوص وأزرار داخل أقسام About */
.flex-col-reverse > div > h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.flex-col-reverse > div > p {
    font-size: 12px !important;
    font-weight: normal !important;
}

.flex-col-reverse a.btn {
    background: none !important;
    box-shadow: none !important;
    color: var(--store-text-primary, #000) !important;
    font-size: 12px !important;
    font-weight: normal !important;
    text-decoration: underline !important;
}

.flex-col-reverse a.btn span {
    font-weight: normal !important;
    text-decoration: underline !important;
}

.flex-col-reverse a.btn i {
    display: none !important;
}

/* تعديل عرض العنصر داخل About-11 للتوضع على اليمين */
#about-11 .w-full.md\:w-2\/3.mx-auto {
    text-align: right !important;
    margin-right: 0 !important;
    margin-left: auto !important;
}

#about-11 .w-full.md\:w-2\/3.mx-auto h3,
#about-11 .w-full.md\:w-2\/3.mx-auto h2,
#about-11 .w-full.md\:w-2\/3.mx-auto p {
    text-align: right !important;
}

#about-2 .promo-code{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  display: inline-block;
  line-height: 1;
}

/*==========================================
  6. قوائم الفوتر
==========================================*/
.footer-list.enhanced_links {
    column-count: 1;
}

.footer-list a {
    font-size: 1rem;
    line-height: 0.75rem;
    margin-bottom: 5px; /* المسافة المطلوبة */
}

/*==========================================
  7. Bannner / Promotion
==========================================*/
/* إيقاف الحركة فقط داخل قسم animated-text */
.animated-text *,
.animated-text *::before,
.animated-text *::after {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* توسيط المحتوى داخل القسم فقط */
.animated-text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

/* تنظيف القائمة داخل القسم فقط */
.animated-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* إخفاء كل العناصر داخل هذا القسم */
.animated-text li {
  display: none;
}

/* إظهار عنصر واحد فقط داخل هذا القسم */
.animated-text li:first-child {
  display: block;
}

/* الحاوية العمودية */
.animated-text .text-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* النص الأساسي */
.animated-text .main-text {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

/* رابط معرفة المزيد */
.animated-text .more-link {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  text-decoration: underline;
}






.promotion-banner li:not(:first-child) {
    display: none !important;
}

.promotion-banner li:first-child {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    white-space: normal !important;
}

.promotion-banner__inner ul {
    animation: none !important;
    transform: none !important;
    overflow: hidden !important;
    width: 100% !important;
}

.promotion-banner__inner,
.promotion-banner li,
.promotion-banner a {
    text-align: center !important;
    display: block !important;
}

.animated-text ul,
.promotion-banner ul {
    justify-content: center;
}

/*==========================================
  8. إخفاء عناوين Best Offers
==========================================*/
#best-offers-4-slider .text-center.mb-8,
#best-offers-7-slider .text-center.mb-8,
#best-offers-10-slider .text-center.mb-8 {
    display: none !important;
}

/* إخفاء عنوان القسم فقط داخل best-offers-11-slider */
#best-offers-11-slider > .lg\:mx-0 {
  display: none !important;
}
#best-offers-8-slider > .lg\:mx-0 {
  display: none !important;
}
#best-offers-5-slider > .lg\:mx-0 {
  display: none !important;
}


/*==========================================
  9. تعديلات S-block عامة
==========================================*/
@media (min-width: 768px) {
    .md\:w-2\/3 {
        width: 550px;
    }
}

@media (min-width: 640px) {
    .s-block {
        margin-top: 0px;
    }
}

.s-block {
    margin-top: 0px;
}

/*==========================================
  10. RTL Fixes
==========================================*/
.s-cart-summary-count:where([dir=rtl],[dir=rtl] *) {
    right: 0.575rem;
}

.s-cart-summary-count {
    top: -0.625rem;
}

.rtl\:mr-4:where([dir=rtl],[dir=rtl] *) {
    margin-right: 0rem;
}

@media (min-width: 768px) {
    .rtl\:md\:mr-4:where([dir=rtl],[dir=rtl] *) {
        margin-right: 0rem;
    }
}

/* =========================
   Testimonials – Clean Layout
   Right: avatar + name + stars
   Left: comment
========================= */

.s-block--testimonials .home-block-title h2{
  font-size:16px !important;
  line-height:1.4;
}

.s-block--testimonials .home-block-line{
  display: none !important;
}

/* Remove any card feeling */
.s-block--testimonials .testimonials-item{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Main layout */
.s-block--testimonials .testimonials-item .p-2\.5,
.s-block--testimonials .testimonials-item .md\:p-5{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 8px !important;
  text-align: right !important;
}

/* Right side (profile) */
.s-block--testimonials header{
  justify-content: flex-end !important;
  margin-bottom: 6px !important;
}

.s-block--testimonials .testimonials-item img{
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px;
  border: 0 !important;
}

/* Name + stars container */
.s-block--testimonials .testimonials-item .text-center{
  text-align: right !important;
}

.s-block--testimonials .testimonials-item .font-bold{
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4;
}

.s-block--testimonials .testimonial__rating{
  margin-top: 4px !important;
}

/* Left side (comment) */
.s-block--testimonials #item-text{
  flex: 1;
  text-align: right;
}

.s-block--testimonials #item-text p{
  font-size: 14px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
  opacity: .9;
}

/* Make slider spacing elegant */
.s-block--testimonials .swiper-slide{
  padding: 6px 0 !important;
}

/* Mobile: stack nicely */
@media (max-width: 768px){
  .s-block--testimonials .testimonials-item .p-2\.5,
  .s-block--testimonials .testimonials-item .md\:p-5{
    flex-direction: column;
    gap: 12px;
  }

  .s-block--testimonials #item-text{
    text-align: right;
  }
}