/* ==================================================
   WARAQ PLUS | COMPLETE STORE CUSTOMIZATION
   Brand Colors: #3D1F59 / #F4D130
   Platform: Salla
   ================================================== */


/* 01. FONTS & BRAND SYSTEM
================================================== */


/* ==========================================
   WARAQ PLUS - TYPOGRAPHY UPDATE
   Arabic: ArbFONTS-eKalemTezyinat-Regular
   English: Damion
========================================== */

/* English Font */
@import url('https://fonts.googleapis.com/css2?family=Damion&display=swap');

/* Arabic Font */
@font-face {
  font-family: 'Hacen Liner Print-out';
  src: url('YOUR-ARABIC-FONT-URL') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Arabic - Main Typography */
body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
.s-block-title,
.s-product-card-content-title,
.s-product-card-price {
  font-family: 'Hacen Liner Print-out', sans-serif !important;
}

/* English Typography */
:lang(en),
[lang="en"],
.english-text,
.en-text {
  font-family: 'Damion', cursive !important;
}

/* English headings */
h1:lang(en),
h2:lang(en),
h3:lang(en) {
  font-family: 'Damion', cursive !important;
}

/* 02. HEADER
================================================== */

header,
.store-header {
  background: var(--wp-white) !important;
}

header .navbar,
.store-header .navbar {
  background: var(--wp-white) !important;
}

header a,
.store-header a {
  transition: color .25s ease;
}

header a:hover,
.store-header a:hover {
  color: var(--wp-primary) !important;
}

/* Header icons */
header svg,
.store-header svg {
  transition: transform .25s ease;
}

header a:hover svg,
.store-header a:hover svg {
  transform: scale(1.08);
}


/* 03. MAIN HERO / SLIDER
================================================== */

/* Slider container */
.s-slider-block,
.s-slider,
section.s-block .swiper {
  overflow: hidden;
}

.s-slider-block {
  margin-bottom: 28px !important;
}

/* Slider images */
.s-slider img,
.s-slider-block img,
.swiper-slide img {
  max-width: 100%;
}

/* Hero visual treatment */
.s-slider-block .swiper-slide,
.s-slider .swiper-slide {
  overflow: hidden;
  border-radius: 16px;
}

.s-slider-block .swiper-slide img,
.s-slider .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Slider navigation */
.swiper-button-next,
.swiper-button-prev {
  background: var(--wp-white);
  color: var(--wp-primary) !important;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: var(--wp-shadow);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 15px !important;
  font-weight: bold;
}

.swiper-pagination-bullet-active {
  background: var(--wp-primary) !important;
}


/* 04. SECTION HEADINGS
================================================== */

.s-block {
  margin-top: 35px;
  margin-bottom: 35px;
}

.s-block-title {
  color: var(--wp-primary) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  margin-bottom: 22px !important;
}

.s-block-title span {
  color: var(--wp-primary);
}


/* 05. PRODUCT CARDS
================================================== */

.s-product-card-entry {
  background: var(--wp-white) !important;
  border: 1px solid var(--wp-border) !important;
  border-radius: var(--wp-radius) !important;
  overflow: hidden;
  box-shadow: none !important;
  transition: transform .3s ease,
              box-shadow .3s ease;
}

.s-product-card-entry:hover {
  transform: translateY(-5px);
  box-shadow: var(--wp-shadow) !important;
}

.s-product-card-image {
  background: var(--wp-white);
  overflow: hidden;
}

.s-product-card-image img {
  object-fit: contain !important;
  transition: transform .35s ease;
}

.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(1.04);
}

.s-product-card-content {
  padding: 14px !important;
}

.s-product-card-content-title a {
  color: var(--wp-primary) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.s-product-card-price {
  color: var(--wp-primary) !important;
  font-weight: 700;
}

.s-product-card-sale-price {
  color: var(--wp-primary) !important;
  font-weight: 800;
}


/* 06. BUTTONS
================================================== */

.s-button-element,
button.s-button-element {
  border-radius: 10px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  transition: all .25s ease;
}

.s-button-primary,
.s-button-element:not(.s-button-outline) {
  background: var(--wp-primary) !important;
  border-color: var(--wp-primary) !important;
  color: var(--wp-white) !important;
}

.s-button-primary:hover,
.s-button-element:not(.s-button-outline):hover {
  background: #512B73 !important;
  border-color: #512B73 !important;
}

.s-button-outline {
  border: 1px solid var(--wp-primary) !important;
  color: var(--wp-primary) !important;
  background: transparent !important;
}

.s-button-outline:hover {
  background: var(--wp-primary) !important;
  color: var(--wp-white) !important;
}


/* 07. CATEGORY IMAGES
================================================== */

.s-block .swiper-slide {
  transition: transform .3s ease;
}

.s-block .swiper-slide:hover {
  transform: translateY(-3px);
}

.s-block img {
  border-radius: 12px;
}


/* 08. PROMOTIONAL BANNERS
================================================== */

.s-block img {
  max-width: 100%;
}

.s-block .banner,
.s-block .s-banner {
  overflow: hidden;
  border-radius: 14px;
}

.s-block .banner img,
.s-block .s-banner img {
  transition: transform .35s ease;
}

.s-block .banner:hover img,
.s-block .s-banner:hover img {
  transform: scale(1.015);
}


/* 09. RATINGS & REVIEWS
================================================== */

.s-product-card-rating,
.rating {
  color: var(--wp-secondary) !important;
}

.s-product-card-rating svg,
.rating svg {
  fill: var(--wp-secondary);
}


/* 10. FOOTER
================================================== */

footer {
  background: var(--wp-primary) !important;
  color: var(--wp-white) !important;
  margin-top: 45px;
}

footer h2,
footer h3,
footer h4,
footer a,
footer p,
footer span {
  color: var(--wp-white);
}

footer a:hover {
  color: var(--wp-secondary) !important;
}


/* 11. PRODUCT DETAILS
================================================== */

.product__description,
.product-description {
  line-height: 2;
  color: var(--wp-text);
}

.product__description h2,
.product__description h3 {
  color: var(--wp-primary);
}

.product__details,
.product-details {
  background: var(--wp-white);
  border-radius: var(--wp-radius);
}


/* 12. RESPONSIVE - TABLET
================================================== */

@media (max-width: 1024px) {

  .s-block {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .s-block-title {
    font-size: 21px !important;
  }

}


/* 13. RESPONSIVE - MOBILE
================================================== */

@media (max-width: 767px) {

  body {
    font-size: 14px;
  }

  .s-block {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .s-block-title {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }

  /* Product cards */
  .s-product-card-entry {
    border-radius: 12px !important;
  }

  .s-product-card-content {
    padding: 9px !important;
  }

  .s-product-card-content-title a {
    font-size: 12px;
  }

  /* Hero */
  .s-slider-block .swiper-slide,
  .s-slider .swiper-slide {
    border-radius: 10px;
  }

  /* Buttons */
  .s-button-element {
    font-size: 13px !important;
  }

  /* Footer */
  footer {
    margin-top: 25px;
  }

}


/* 14. SMALL MOBILE
================================================== */

@media (max-width: 380px) {

  .s-block-title {
    font-size: 17px !important;
  }

  .s-product-card-content {
    padding: 7px !important;
  }