/* أمة – Ummah brand overrides for BeauTen template (Arabic RTL) */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --primary: #FDF2F6;
  --primary-two: #E591AC;
  --secondary: #E8F5EE;
  --thardary: #F5EBE2;
  --ummah-green: #2F6B48;
  --ummah-green-light: #4A9070;
}

html {
  direction: rtl;
}

body,
.main-menu ul,
h1, h2, h3, h4, h5, h6,
p, a, button, input, select, textarea {
  font-family: 'Tajawal', sans-serif !important;
}

.header__logo img,
.offset-logo img,
.header-inner__logo img {
  height: 66px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

/* Hide dropdown caret arrows in main menu */
.main-menu li.menu-item-has-children > a:after {
  display: none !important;
}

.footer1-widget__logo img,
.footer2-widget__logo img,
.footer3-widget__logo img {
  height: 72px !important;
  width: auto !important;
}

.rr-btn-button,
.rr-btn-button2,
.rr-btn-button3,
.rr-btn-button4,
.rr-btn-button5 {
  background-color: var(--primary-two) !important;
  border-color: var(--primary-two) !important;
  color: #fff !important;
}

.rr-btn-button .text,
.rr-btn-button2 .text,
.rr-btn-button3 .text,
.rr-btn-button4 .text,
.rr-btn-button5 .text {
  color: #fff !important;
}

.rr-btn-button:hover,
.rr-btn-button:focus,
.rr-btn-button:focus-visible,
.rr-btn-button2:hover,
.rr-btn-button2:focus,
.rr-btn-button2:focus-visible,
.rr-btn-button3:hover,
.rr-btn-button3:focus,
.rr-btn-button3:focus-visible,
.rr-btn-button4:hover,
.rr-btn-button4:focus,
.rr-btn-button4:focus-visible,
.rr-btn-button5:hover,
.rr-btn-button5:focus,
.rr-btn-button5:focus-visible {
  background-color: var(--ummah-green) !important;
  border-color: var(--ummah-green) !important;
  color: #fff !important;
}

.rr-btn-button:hover .text,
.rr-btn-button:focus .text,
.rr-btn-button2:hover .text,
.rr-btn-button2:focus .text,
.rr-btn-button3:hover .text,
.rr-btn-button3:focus .text,
.rr-btn-button4:hover .text,
.rr-btn-button4:focus .text,
.rr-btn-button5:hover .text,
.rr-btn-button5:focus .text {
  color: #fff !important;
}

.section-heading__title,
.intro1__content-title {
  letter-spacing: 0;
}

.intro1__content-subtext,
.category1-item__offer,
.trending-product-card__thumb-offer {
  font-family: 'Tajawal', sans-serif !important;
}

.trending-product-card__content-dollar,
.best-selling-product-card__content-dollar {
  direction: rtl;
}

/* ===== Latest products – equal card heights ===== */
.trending-product-wrapper .row { align-items: stretch; }
.trending-product-wrapper .row > [class*="col-"] { display: flex; }
.trending-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.trending-product-card__thumb { overflow: hidden; }
.trending-product-card__thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.trending-product-card__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.trending-product-card__content-title { min-height: 2.6em; }
@media (max-width: 575px) {
  .trending-product-card__thumb img { height: 240px; }
}

.main-menu .dp-menu {
  text-align: right;
}

.search-input::placeholder {
  text-align: right;
}

.footer1-widget__nav-link,
.footer1-widget__contact-link {
  text-align: right;
}

/* RTL icon flips for arrows in buttons */
html[dir="rtl"] .rr-btn-button .icon svg path,
html[dir="rtl"] .rr-btn-button2 .icon svg path {
  transform: scaleX(-1);
  transform-origin: center;
}

html[dir="rtl"] .swiper-button-next {
  left: 10px;
  right: auto;
}

html[dir="rtl"] .swiper-button-prev {
  right: 10px;
  left: auto;
}

html[dir="rtl"] .text-xl-end {
  text-align: left !important;
}

html[dir="rtl"] .text-xl-start {
  text-align: right !important;
}

html[dir="rtl"] .ps-xl-5 {
  padding-right: 3rem !important;
  padding-left: 0 !important;
}

html[dir="rtl"] .ms-xl-5 {
  margin-right: 3rem !important;
  margin-left: 0 !important;
}

.breadcrumb-area__title,
.breadcrumb-area__nav {
  text-align: right;
}

/* ===== Hero / Intro fixes ===== */
.intro1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 60px !important;
}
.intro1 > .container { width: 100%; }

/* Large brand watermark like template "BeauTen" */
.intro1__bg-text {
  font-size: 360px !important;
  font-weight: 900 !important;
  font-family: 'Tajawal', sans-serif !important;
  color: rgba(47, 107, 72, 0.07) !important;
  opacity: 1 !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  line-height: 1;
}
@media (max-width: 1399px) { .intro1__bg-text { font-size: 300px !important; } }
@media (max-width: 1199px) { .intro1__bg-text { font-size: 240px !important; } }
@media (max-width: 991px)  { .intro1__bg-text { font-size: 180px !important; } }
@media (max-width: 767px)  { .intro1__bg-text { font-size: 120px !important; } }

/* Transparent PNG hero – no rectangle, no overlap */
.intro1__thumb {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  text-align: center;
}
.intro1__thumb .main-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 24px 40px rgba(47, 107, 72, 0.18));
}
/* Nudge the hero image toward the left edge */
.intro1__thumb--left {
  margin-right: -6%;
  margin-left: -4%;
}
@media (max-width: 991px) {
  .intro1__thumb--left { margin-right: 0; margin-left: 0; }
}
.intro1__video {
  position: relative;
  z-index: 3;
}
.intro1__video-thumb {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.intro1__video-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
@media (max-width: 991px) {
  .intro1 { min-height: auto; padding: 90px 0 50px !important; }
  .intro1__thumb .main-img { max-height: 420px; }
}

/* ===== Categories – equal heights ===== */
.category1 .row { align-items: stretch; }
.category1 .row > [class*="col-"] { display: flex; }
.category1-item {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
}
.category1-item__thumb {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}
.category1-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category1-item:hover .category1-item__thumb img { transform: scale(1.07); }
.category1-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 74, 49, 0.78) 0%, rgba(30, 74, 49, 0.15) 45%, transparent 75%);
  border-radius: 20px;
  z-index: 1;
}
.category1-item__content1,
.category1-item__content2,
.category1-item__content3 {
  position: absolute;
  top: auto !important;
  bottom: 28px !important;
  right: 28px !important;
  left: 28px !important;
  width: auto !important;
  z-index: 2;
}
.category1-item__content1-decs,
.category1-item__content2-decs,
.category1-item__content3-decs {
  color: var(--primary-two);
  font-weight: 700;
  margin-bottom: 6px;
}
.category1-item__content1-title a,
.category1-item__content2-title a,
.category1-item__content3-title a {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}
.category1-item__offer {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-two);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 0 0 16px 0;
}
.category1-item__button { margin-top: 14px; }
@media (max-width: 767px) {
  .category1-item { height: 320px; }
}

/* ===== Offer banner ===== */
.offer1-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  padding: 70px 56px;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.offer1-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(47, 107, 72, 0.92) 0%, rgba(47, 107, 72, 0.55) 55%, rgba(47, 107, 72, 0.1) 100%);
  z-index: 1;
}
.offer1__content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  text-align: right;
}
.offer1__content-text {
  color: var(--primary-two);
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}
.offer1__content-title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 14px;
}
.offer1__content-title .subtitle { color: var(--primary-two); }
.offer1__content-subtext {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 26px;
  line-height: 1.9;
}

/* ===== Testimonials ===== */
.testimonial1-card {
  border-radius: 20px;
  min-height: 280px;
  height: 100%;
}
.testimonial1-card__author-thumb img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-two);
}
.testimonial1-card__author-name { font-weight: 800; }
.testimonial1-card__text { line-height: 1.9; }

/* ===== Blog ===== */
.blog1-card__thumb {
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
}
.blog1-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog1-card:hover .blog1-card__thumb img { transform: scale(1.07); }
.blog1-card__content-title a { font-weight: 800; line-height: 1.7; }
.blog1-card__content-tipsitems { color: var(--primary-two); font-weight: 700; }

/* ===== Footer ===== */
.footer1,
.footer2,
.footer3 {
  position: relative;
  background-image: none !important;
  background: linear-gradient(135deg, #1E4A31 0%, #2F6B48 100%) !important;
}
.footer1__overlay,
.footer2__overlay,
.footer3__overlay { display: none; }
.footer1-widget__text,
.footer2-widget__text,
.footer3-widget__text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  text-align: right;
}
.footer1-widget__title,
.footer2-widget__title,
.footer3-widget__title { color: #fff; }
.footer1-widget__logo img,
.footer2-widget__logo img,
.footer3-widget__logo img {
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 18px;
  border-radius: 14px;
}
.footer1-widget__social-link a span,
.footer2-widget__social-link a span,
.footer3-widget__social-link a span {
  transition: all 0.3s ease;
}
.footer1-widget__social-link a:hover span,
.footer2-widget__social-link a:hover span,
.footer3-widget__social-link a:hover span {
  background: var(--primary-two);
  color: #fff;
}

/* Nav \"New\" tag (e.g. Bundles) */
.main-menu > ul > li > a.ummah-nav-item--tagged,
.side-info .mobile-menu .mobile-nav > li > a.ummah-nav-item--tagged {
  position: relative;
}
.ummah-nav-new {
  position: absolute;
  top: -0.55rem;
  inset-inline-end: -0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.05rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: var(--primary-two);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(229, 145, 172, 0.35);
  pointer-events: none;
}
.ummah-nav-tag {
  position: absolute;
  top: -0.55rem;
  inset-inline-end: -0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.05rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  animation: ummah-nav-tag-pulse 2.4s ease-in-out infinite;
}
.ummah-nav-tag--olive {
  background: linear-gradient(135deg, #2f6b48 0%, #3f855c 100%);
  box-shadow: 0 2px 8px rgba(47, 107, 72, 0.35);
}
.ummah-nav-tag--pink {
  background: linear-gradient(135deg, #e591ac 0%, #d97a98 100%);
  box-shadow: 0 2px 8px rgba(229, 145, 172, 0.4);
}
@keyframes ummah-nav-tag-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
.side-info .mobile-menu .mobile-nav > li > a.ummah-nav-item--tagged {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.side-info .mobile-menu .mobile-nav .ummah-nav-new,
.side-info .mobile-menu .mobile-nav .ummah-nav-tag {
  position: static;
  inset: auto;
  transform: none;
  animation: none;
}

.ummah-header-cart-count {
  position: absolute;
  top: -0.35rem;
  inset-inline-end: -0.35rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
}

/* Center header nav in the space between logo and actions (desktop) */
@media (min-width: 1200px) {
  .header-area.header-layoutone .header-main-row {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
    min-height: 4.5rem;
  }
  .header-area.header-layoutone .header-nav-center {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    flex: none !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 2;
    pointer-events: auto;
    min-width: 0;
  }
  .header-area.header-layoutone .header-nav-center .main-menu {
    max-width: 100%;
  }
  .header-area.header-layoutone .header-nav-center .main-menu > ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(0.85rem, 1.6vw, 2.25rem);
  }
  .header-area.header-layoutone .header__logo,
  .header-area.header-layoutone .header-right {
    position: relative;
    z-index: 3;
  }
  .header-area.header-layoutone .ummah-header-search {
    min-width: 0;
    width: clamp(9.5rem, 14vw, 13.5rem);
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .header-area.header-layoutone .header-nav-center .main-menu > ul > li > a {
    font-size: 0.92rem;
  }
  .header-area.header-layoutone .ummah-header-search {
    width: 10.5rem;
  }
}

@media (max-width: 1199.98px) {
  .header-area.header-layoutone .header-main-row {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
}
