/* Add custom CSS styles below */
/* Add custom CSS styles below */
/* =========================================================
   Base / Fonts
   ========================================================= */
/* Add custom CSS styles below */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap");

body:not(i, span) {
  font-family: "Cairo", sans-serif;
}
body.index {
  background-color: var(--white-color) !important;
}

/* =========================================================
   CSS Variables (Colors / Shadows / Gradients)
   ========================================================= */
:root {
  /* Core palette */
  --color-primary: #744ea7;
  --main-color: #744ea7; /* kept for theme compatibility */
  --white-color: #fff;
  --black-color: #fff;

  /* Shadows */
  --normal-box-shadow: rgba(0, 0, 0, 0.3) 1px 2px 3px;

  /* Unified gradients */
  --gradient-primary: linear-gradient(#744ea7, #6978e1);
  --gradient-alt: linear-gradient(
    #744ea7,
    #6978e1
  ); /* used to replace close hues */
}

/* =========================================================
   Header / Main Nav
   ========================================================= */
div#mainnav,
.inner.bg-inherit {
  background: #fff;
  box-shadow: none;
}

.main-menu li.root-level > a {
  font-size: 15px;
}

i.sicon-menu {
  padding: 8px;
  border-radius: 50px;
}

i.header-btn__icon.sicon-user-circle,
i.header-btn__icon.icon.sicon-shopping-bag,
i.sicon-menu {
  color: var(--black-color) !important;
  background: var(--gradient-primary) !important;
  border: 0;
}

/* =========================================================
   Top Navbar
   ========================================================= */
.top-navbar {
  background: var(--gradient-primary) !important;
  color: var(--black-color);
}
.top-navbar .s-search-input {
  border: 1px solid var(--black-color);
}

/* =========================================================
   Fixed Banner
   ========================================================= */
section.s-block.s-block--fixed-banner.wide-placeholder {
  margin-top: 0;
}
section.s-block.s-block--fixed-banner.wide-placeholder > .container {
  padding: 0 !important;
  width: 100% !important;
  max-width: unset;
}
.banner--fixed img {
  background-color: transparent;
  border-radius: 0 !important;
}
.s-block--hero-slider .swiper-slide .overlay-bg:after {
  background: transparent !important;
}

.s-slider-thumbs .s-slider-thumbs-container .swiper-slide {
  width: 185px !important;
}

@media (min-width: 1200px) {
  .swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-rtl.swiper-watch-progress.swiper-backface-hidden {
    height: 790px;
  }
  .overlay-bg.bg-cover.bg-center.absolute.inset-0 {
    height: 780px;
  }
}
@media (max-width: 767px) {
  @media (max-width: 767px) {
    .swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-watch-progress.swiper-backface-hidden {
      height: 180px;
    }
  }
  .overlay-bg.bg-cover.bg-center.absolute.inset-0 {
    height: 180px;
  }
}

button.s-slider-prev.s-slider-nav-arrow {
  background: transparent;
}

button.s-slider-next.s-slider-nav-arrow {
  background: transparent;
}

/* =========================================================
   Product Cards / Swiper
   ========================================================= */
.s-product-card-entry * {
  text-align: center;
  justify-content: center;
}
.swiper .swiper-wrapper > div {
  padding-bottom: 35px !important;
  padding-top: 35px !important;
}
.s-product-card-entry {
  border: none;
  border-radius: 15px !important;
  box-shadow: var(--normal-box-shadow);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}
.swiper-wrapper .s-product-card-entry .s-product-card-entry {
  width: 300px !important;
}
@media (max-width: 1200px) {
  .swiper-wrapper .s-product-card-entry {
    width: 238px !important;
  }
}
@media (min-width: 1200px) {
  .s-product-card-entry:hover {
    transform: scale(1.05);
  }
}
.s-slider-thumbs .s-slider-thumbs-container .swiper-slide * {
  pointer-events: none;
  object-fit: contain;
  background: white;
}

.s-product-card-content {
  padding: 12px;
}
.s-product-card-image img {
  background: #fff;
}

.s-slider-horizontal .s-slider-thumbs *,
:after,
:before {
  box-sizing: revert !important;
}
@media (min-width: 1200px) {
  .s-slider-thumbs .s-slider-thumbs-container .swiper-slide {
    padding-block: 5px !important;
    height: 145px;
  }
}

/* =========================================================
   Buttons (Unified styling)
   ========================================================= */
button.s-button-btn.s-button-outline.s-button-primary-outline {
  border: 0;
  border-radius: 10px;
  box-shadow: var(--normal-box-shadow);
  background: var(--gradient-alt);
  color: var(--black-color);
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
  color: var(--black-color);
  background: var(--gradient-primary);
}

button.s-infinite-scroll-btn.s-button-btn.s-button-primary {
  color: var(--black-color);
  background: var(--gradient-primary);
}

.s-slider-block__display-all {
  background: var(--gradient-primary);
  padding: 5px 13px;
  border-radius: 15px;
  color: var(--black-color) !important;
  transition: all 0.3s ease-in-out;
  /* NOTE: if plain CSS (no preprocessor), convert &:hover below to .s-slider-block__display-all:hover */
  &:hover {
    background-color: var(--main-color);
    color: var(--main-color);
  }
}

button.s-slider-nav-arrow {
  background: var(--gradient-primary);
  color: var(--black-color);
  opacity: 1;
  border: 0;
}
button.s-slider-nav-arrow svg {
  fill: var(--black-color);
}

/* =========================================================
   Section Titles / Headings
   ========================================================= */
.s-block__title h2,
.main-menu li.root-level > a {
  position: relative;
  margin-right: 7px !important;
}

body.index .s-block__title h2,
body.index .s-reviews-header,
body.index .s-slider-block__title h2 {
  color: var(--main-color);
}

.s-block__title h2:before,
.s-slider-block__title h2:before {
  position: absolute;
  content: "";
  height: 5px;
  width: 20%;
  border-radius: 5px;
  background: var(--gradient-primary);
  bottom: -10px;
  transform: translateX(0%);
  transition: all 0.5s;
  z-index: -1;
}
.s-block__title h2:hover {
  color: var(--main-color);
}
.s-block__title h2:hover:before,
.s-slider-block__title h2:hover:before {
  width: 100%;
  transition: all 0.5s;
}

.s-block__display-all,
.s-reviews-display-all {
  background-color: var(--main-color);
  color: var(--black-color);
  opacity: 1;
  padding: 7px;
  border-radius: 50px;
  font-size: 12px;
}

/* =========================================================
   Sticky Main Nav Container
   ========================================================= */
.main-nav-container.fixed-pinned .inner {
  padding: 15px;
  border-radius: 0 0 50px 50px;
  box-shadow: var(--normal-box-shadow);
}

/* =========================================================
   Footer
   ========================================================= */
footer.store-footer {
  background: transparent !important;
}

.store-footer__inner {
  color: var(--black-color);
  border-radius: 100px 100px 0 0;
  background: var(--gradient-primary) !important;
  position: relative;
}

.store-footer h3 {
  background-color: #fff;
  color: var(--main-color);
  border-radius: 15px;
  padding: 6px 20px;
  text-align: center !important;
}

.copyright-text p {
  color: var(--main-color);
}

/* =========================================================
   Features Block
   ========================================================= */
section.s-block.s-block--features .s-block--features__item {
  background-color: transparent !important;
  row-gap: 5px;
  box-shadow: none !important;
  position: relative;
  padding: 0;
}
@media (min-width: 1024px) {
  section.s-block.s-block--features
    .s-block--features__item:not(:last-of-type):before {
    position: absolute;
    content: "";
    width: 3px;
    height: 30px;
    background: var(--main-color) !important;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}
.s-block--features__item h2 {
  font-size: 17px;
  color: var(--main-color);
}
.s-block--features__item p {
  display: none;
}

.s-block--features__item .feature-icon {
  background: var(--gradient-primary);
  height: 8rem;
  width: 8rem;
}
.s-block--features__item .feature-icon i:before {
  content: "";
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}
.s-block--features__item .feature-icon .sicon-store2:before {
  background-image: url(https://i.ibb.co/3Y4zf2Hh/image.png);
}
.s-block--features__item .feature-icon .sicon-shipping-fast:before {
  background-image: url(https://i.ibb.co/SwrF613d/image.png);
}
.s-block--features__item .feature-icon .sicon-fire:before {
  background-image: url(https://i.ibb.co/7x5jCC20/image.png);
}

@media (max-width: 767px) {
  .s-block--features__item .feature-icon i:before {
    width: 65px !important;
  }

  .s-block--features__item .feature-icon {
    height: 5rem;
    width: 5rem;
  }
}
/* =========================================================
   Social Links
   ========================================================= */
.s-social-link a {
  color: var(--black-color);
  border: 0;
  transition: all 0.5s;
}
.s-social-link a:hover {
  transform: translateY(-10px);
  transition: all 0.5s;
}

a[href*="instagram"] {
  background: linear-gradient(
    45deg,
    #f09433 0,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
a[href*="tiktok"] {
  background: linear-gradient(120deg, #69c9d0, #000, #ee1d52);
}
a[href*="facebook"] {
  background: linear-gradient(45deg, #3776f2, #00b1f7);
}
a[href*="youtube"] {
  background-color: #c4302b;
}
a[href*="snapchat"] {
  background-color: yellow;
  color: black;
}
a[href="https://twitter.com/bahriatna1"]
{
  background-color: black;
}

/* =========================================================
   Misc: Icons / Logo / Mini Checkout
   ========================================================= */
.s-contacts-icon {
  border: 0;
  background-color: var(--black-color);
  color: var(--main-color);
}

.navbar-brand img {
  max-height: 5rem !important;
}
@media (max-width: 767px) {
  .navbar-brand img {
    max-height: 50px !important;
  }
}
salla-mini-checkout-widget.s-add-product-button-mini-checkout.s-mini-checkout {
  background-color: green;
  border-radius: 10px;
}
salla-mini-checkout-widget.s-add-product-button-mini-checkout.s-mini-checkout
  * {
  color: #fff;
}

/* =========================================================
   Mobile / Responsive
   ========================================================= */
@media (max-width: 992px) {
  section.s-block.s-block--features .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .s-block--features__item:first-child {
    grid-column: span 1 / span 1;
  }
  .s-block--features__item h2 {
    font-size: 15px;
    color: var(--main-color);
  }
  .store-footer__inner * {
    text-align: center;
    justify-content: center;
  }
  nav#mobile-menu {
    background: var(--gradient-primary);
    color: var(--black-color) !important;
  }
}
.mm-spn li a,
.mm-spn li > span {
  align-items: center;
  display: flex;
  color: var(--black-color);
  gap: 1rem;
  padding: 18px;
}
/* =========================================================
   Display-All Buttons (gradient variant)
   ========================================================= */
/* =========================================================
   Page Overlay (Index Intro)
   ========================================================= */
body.index:before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15)
    url(https://i.ibb.co/zYd6CXF/rafeeq-logo.png);
  position: fixed;
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 99999999999999999 !important;
  transform: scale(0);
  background-size: 200px !important;
  background-repeat: no-repeat;
  background-position: center !important;
  animation-name: logobg;
  animation-duration: 2s;
}

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes logobg {
  0%,
  20%,
  78% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

a.banner-entry.lazy.h-lg-banner.entered.loaded {
  height: 405px !important;
  border-radius: 20px;
  padding: 10px;
  transition: 0.3s;
}
a.banner-entry.lazy.h-lg-banner.entered.loaded:hover {
  transform: translateY(-12px);
}

@media (min-width: 1200px) {
  salla-slider#main-links-6 {
    left: -16%;
  }
}
a.slide--cat-entry {
  border: 2px solid #eee;
}
.slide--cat-entry i {
  color: white;
  background: #6d28d8;
  padding: 15px;
  border-radius: 63px;
}

#rfiq-section {
  padding: 3rem 1rem;
  background: #fff;
  text-align: center;
}
#rfiq-section .rfiq-title {
  color: #7e22ce;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
#rfiq-section .rfiq-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
  line-height: 1.7;
}
#rfiq-section .rfiq-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 2rem;
}
#rfiq-section .rfiq-box h3 {
  color: #7e22ce;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
#rfiq-section .rfiq-box p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}
#rfiq-section .rfiq-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
#rfiq-section .rfiq-icons div {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
}
#rfiq-section .rfiq-icons span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #f3e8ff;
  color: #7e22ce;
  border-radius: 50%;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

section.s-block.s-block--categories.merge-with-top-component.merged-has-no-title {
  margin-top: -30px !important;
}

.active h3 {
  color: #7e22ce;
}
@media (max-width: 1200px) {
  a.banner-entry.lazy.h-lg-banner.entered.loaded {
    height: 220px !important;
    margin-block: 12px;
  }
}
@media (max-width: 767px) {
  h2.rfiq-title {
    line-height: 1.5;
  }
}

/* الشريط الأساسي */
#rfiq-marquee {
  background: linear-gradient(#6d28d9, #7e22ce);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.6rem 0;
  direction: rtl;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  z-index: 10;
}

/* المسار المتحرك */
#rfiq-marquee .rfiq-marquee__track {
  display: inline-flex;
  gap: 2rem;
  animation: rfiq-scroll 25s linear infinite;
}

/* كل عنصر داخل الشريط */
#rfiq-marquee .rfiq-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* الحركة */
@keyframes rfiq-scroll {
  from {
    transform: translateX(40%);
  }
  to {
    transform: translateX(-0%);
  }
}

/*** grid ***/

section.s-block.s-block--banners.container > .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

section.s-block.s-block--banners.container .two-row .banner-entry:first-child {
  grid-area: 1/1/1/1 !important;
}

section.s-block.s-block--banners.container > .grid a.banner-entry {
  background-size: contain !important;
  background-color: transparent !important;
  height: 400px;
  transition: 0.3s;
}
@media (min-width: 1200px) {
  section.s-block.s-block--banners.container > .grid a.banner-entry:hover {
    transform: translateY(-10px);
  }
}
@media (max-width: 992px) {
  section.s-block.s-block--banners.container > .grid a.banner-entry {
    height: 115px;
  }
}