/* ==================== Main ==================== */
body {
  background: center center/100% #fff;
  background-image: url(https://i.ibb.co/hLk6jbm/2.png) !important;
}
h1 {
  color: var(--color-primary) !important;
}
.s-block__title h2,
.s-slider-block__title h2 {
  color: var(--color-primary);
  padding-inline-start: 15px;
}
.s-block__title h2::before,
.s-slider-block__title h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 125%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  border-radius: 4px;
  background-color: var(--color-primary);
}
.s-product-card-content-title a {
  color: var(--color-primary);
}
salla-button .s-button-btn,
.btn--outline-primary {
  border-radius: 50px!important;
}
.s-button-primary,
.s-button-primary-outline:hover {
  color: #fff;
}
.page-single h1 {
  color: var(--color-primary);
}
/* ========== Header ========== */
.header-components:not(.fixed-header) {
  background-color: transparent;
}
@media (max-width: 1024px) {
  .store-header {
    box-shadow: 0 0 10px rgba(0,0,0,.2);
  }
}
/* ========== Fix Offer PopUp Styling Issue ========== */
.s-offer-modal-slider .swiper-wrapper {
  justify-content: start;
}
.s-offer-modal-slider .s-offer-modal-slider-item {
  height: auto;
  max-width: initial;
  flex-grow: 0;
  width: 140px;
  box-sizing: content-box;
}
.s-offer-modal-product-name {
  width: auto;
  white-space: normal;
}
/* ========== Products Cards ========== */
.s-product-card-entry {
  background: linear-gradient(357deg,rgb(255 207 220),rgb(255 207 220 / 53%),rgb(255 207 220 / 0%),rgb(255 255 255 / 0%),rgb(255 255 255 / 0%));
  border-radius: 16px;
  border: none;
}
.s-product-card-promotion-title,
.promotion-badge {
  border-radius: 14px !important;
  padding: 0 8px 3px;
  font-size: 0.8rem;
  right: auto!important;
  left: 5%!important;
  color: #fff;
  line-height: 1rem;
}
.s-product-card-promotion-title.has-discount,
.promotion-badge.has-discount {
  background-color: var(--color-primary);
}
.s-product-card-promotion-title::before,
.promotion-badge::before {
  content: '';
  position: absolute;
  left: 50%;
  top:50%;
  transform: translate(-50%,-50%);
  height: 100%;
  width: 100%;
  background-color: var(--color-primary);
  background-color: color-mix(in srgb, var(--color-primary) 75%, transparent);
  border-radius: 14px;
  animation: 2s infinite pigging
}
@keyframes pigging {
  100%,75% {
    transform: translate(-50%,-50%) scale(1.4);
    opacity: 0;
  }
}
.s-product-card-vertical .s-product-card-image {
  height: auto;
  flex: initial !important;
}
.s-product-card-image {
  background-color: transparent;
}
.s-product-card-content {
  flex-grow: 1;
}
.s-product-card-content-sub {
  margin-top: auto;
}
.s-product-card-rating {
  display: none;
}
.s-product-card-content-footer {
  margin-top: 0;
}

/*ahmed-border*/
@keyframes gradientBG {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse-ring {
  0%,100% { transform: scale(0.95); opacity: 0.6; }
  50%      { transform: scale(1.02); opacity: 1; }
}

.cus-countdown {
  background: linear-gradient(135deg, #8c1a35 0%, #c4385a 35%, #f96d8c 70%, #8c1a35 100%);
  background-size: 300% 300%;
  animation: gradientBG 8s ease infinite;
  border-radius: 20px;
  padding: clamp(1.2rem, 4vw, 2rem) 1rem;
  margin: 1rem auto;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 32px rgba(249,109,140,0.3), 0 2px 8px rgba(140,26,53,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  direction: ltr;
}
.cus-countdown__badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.cus-countdown__dot {
  background: #fff;
  animation: pulse-ring 1.2s ease-in-out infinite;
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
}

.cus-countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cus-countdown__title {
  color: #ffffff;
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 700;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.cus-countdown__timer {
  display: flex;
  align-items: flex-end;
  gap: clamp(6px, 2vw, 14px);
}

.cus-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: clamp(8px, 2vw, 14px) clamp(12px, 3vw, 22px);
  min-width: clamp(54px, 12vw, 76px);
}

.cus-countdown__num {
  font-size: clamp(26px, 6vw, 38px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cus-countdown__label {
  font-size: clamp(10px, 2vw, 12px);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.cus-countdown__sep {
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 800;
  color: rgba(255,255,255,0.5);
  margin-bottom: 22px;
  line-height: 1;
}



/* ===== Products Cards Discount Percentage ===== */
.s-product-card-sale-price {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: .25rem;
}
.s-product-card-sale-price > * {
  margin: 0 !important;
}
.s-product-card-sale-price div {
  width: 100%;
  color: #ef4444;
}
/* ========== Testimonials ========== */
.s-block--testimonials h2,
.s-block--testimonials h4 {
  color: var(--color-primary);
}
.s-block--testimonials .swiper-slide > div {
  -webkit-box-shadow: 10px 10px 5px -3px #f952793d;
  -moz-box-shadow: 10px 10px 5px 0 rgba(0,0,0,.75);
  height: 97%;
  padding: 20px;
  background-color: #d01f5614;
  margin: 0 10px;
  border-radius: 30px
}
.s-block--testimonials img {
  content: url(https://i.ibb.co/dfRbmKf/Dating-1.gif);
  border-radius: 0;
}
.sicon-quote-open {
  display: none;
}
/* ========== WhatsApp Icon ========== */
.float-wa {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 21px;
  right: 25px;
  z-index: 11;
  color: #fff;
}
.hidden-msg span,
.hidden-msg .hide-msg-btn {
  display: none;
}
.float-wa a {
  width: 100%;
  height: 100%;
  box-shadow: rgb(136, 136, 136) 0px 1px 7px;
  background-color: #4dc247;
  border-radius: 50px;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.float-wa span {
  content: "يا هلا👋 عندك سؤال؟ تواصل معنا";
  position: absolute;
  width: 170px;
  box-shadow: rgb(136, 136, 136) 0px 1px 7px;
  border: 1px solid rgb(226, 226, 226);
  border-radius: 5px;
  background: white;
  color: #000;
  text-align: center;
  padding: 7px 10px;
  line-height: 16px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16.24px;
  right: 51px;
  visibility: hidden;
  opacity: 0;
  animation: waSpn 0.64s cubic-bezier(0.23, 1, 0.32, 1) 120s forwards;
}
@keyframes waSpn {
  0% {
    visibility: visible;
  }
  100% {
    visibility: visible;
    opacity: 1;
    right: 81px;
  }
}
.float-wa span::after {
  content: "";
  top: 50%;
  position: absolute;
  background: white;
  border-bottom: 1px solid rgb(226, 226, 226);
  border-right: 1px solid rgb(226, 226, 226);
  margin-top: -4px;
  width: 8px;
  height: 8px;
  z-index: 1;
  transform: rotate(-45deg);
  right: -5px;
}
.hide-msg-btn {
  position: absolute;
  background: #ef4444;
  width: 0;
  height: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  visibility: hidden;
  animation: waBtn 0.32s cubic-bezier(0.23, 1, 0.32, 1) 125s forwards;
}
@keyframes waBtn {
  0% {
    right: 250px;
    top: 6px;
    visibility: visible;
  }
  100% {
    width: 24px;
    height: 24px;
    right: 238px;
    top: -6px;
    visibility: visible;
  }
}
@media(max-width: 1024px) {
  .float-wa {
    bottom: 60px;
  }
}
@media(min-width: 1024px) {
  .product-single .float-wa {
    bottom: 86px;
  }
}
/* ========== Footer ========== */
.store-footer {
  background: transparent !important;
  border-top: 1px solid #e5e7eb99;
}
.store-footer .s-social-link a {
  height: 3rem;
  width: 3rem;
}
.store-footer .s-social-link a svg {
  height: 1.25rem;
  width: 1.25rem;
}

/* ==================== Home Page ==================== */
.store-header + .s-block--fixed-banner {
  margin-top: 0;
}
/* ========== Static Cards ========== */
.s-product-card-horizontal {
  flex-direction: column;
}
.s-product-card-horizontal .s-product-card-content {
  text-align: center !important;
}
.s-product-card-horizontal .s-product-card-image {
  width: 100%;
}
.s-product-card-horizontal .s-product-card-content {
  position: initial;
}
.s-product-card-horizontal .s-product-card-content-title a {
  display: block;
}
.s-product-card-horizontal .s-product-card-content-sub {
  justify-content: center;
}
.s-product-card-horizontal .s-product-card-wishlist-btn {
  position: absolute;
}
.s-product-card-horizontal .s-product-card-wishlist-btn:not(:hover) {
  opacity: 0.75;
}
.s-product-card-horizontal .s-button-btn {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 360px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: .625rem;
  }
}
@media (360px <= width <= 520px) {
  .s-product-card-horizontal .s-product-card-content {
    padding: 10px;
  }
  .s-product-card-horizontal .s-product-card-content-sub {
    margin-bottom: 10px;
  } 
  .s-product-card-horizontal .s-product-card-sale-price span {
    margin: 0 !important;
  }
}
@media (min-width: 768px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 0 0.625rem;
  }
}
@media (min-width: 1024px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ========== Categories Banners ========== */
.categories-banners {
  margin-bottom: 3rem;
}
.categories-banners > .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.categories-banners .banner-entry {
  background-color: unset !important;
  height: initial;
  padding: 0;
}
.categories-banners a {
  padding: 0;
  position: relative;
}
.categories-banners a:before {
  display: none;
}
.categories-banners img:first-of-type {
  width: 25%;
  position: absolute;
  top: 3%;
  right: 37.5%;
}
@media (min-width: 640px) {
  .categories-banners {
    margin-bottom: 6rem;
  }
}
/* ========== Social Banners ========== */
.s-block--fixed-banner:has(+.social-banners) a {
  pointer-events: none;
}
.social-banners {
  margin-top: 1rem;
}
.social-banners > .grid {
  justify-content: center;
  gap: 5px;
  display: flex;
}
.social-banners .banner-entry {
  background-color: unset !important;
  height: initial;
  padding: 0;
  width: 20%;
}
.social-banners a {
  padding: 0;
  position: relative;
}
.social-banners a:before {
  display: none;
}
@media (min-width: 640px) {
  .social-banners {
    margin-top: 2rem;
  }
}
/* ========== App Banner ========== */
.s-block--fixed-banner:not(:has(a)) {
  display: none;
}
.app-banner .container {
  position: relative !important;
}
.app-banner a:first-child {
  pointer-events: none;
}
.app-banner a:not(:first-child) {
  position: absolute;
  top: 71%;
  width: 20%;
}
.app-banner a:nth-child(2) {
  right: calc(12.5% + 10px);
}
.app-banner a:last-child {
  right: calc(35.5% + 10px);
}
.app-banner a:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  height: 100%;
  width: 100%;
  background: rgb(0 0 0 / 65%);
  border-radius: 4px;
  animation: 2s infinite appsPigging;
}
@media (min-width: 768px) {
  .app-banner a:not(:first-child)::before {
    border-radius: 8px;
  }
}
@media (min-width: 1024px) {
  .app-banner a:not(:first-child)::before {
    border-radius: 12px;
  }
}
@keyframes appsPigging {
  100%,75% {
    transform: translate(-50%,-50%) scale(1.1, 1.4);
    opacity: 0
  }
}

/* ==================== Categories Page ==================== */
.product-index .page-header.has-overlay--before::before {
  display: none;
}

/* ==================== Product Page ==================== */
.sort-cont > * {
  margin-top: .875rem;
}
/* ========== sale Amount Tag ========== */
:not(.no-sale-amount) .price_is_on_sale {
  display: flex;
  align-items: end;
}
.no-sale-amount .sale-amount-wrap,
.price_is_on_sale + .starting-or-normal-price {
  display: none;
}
.sale-amount-wrap svg{max-width:20px;position:relative}.sale-amount-wrap svg path:first-child{animation-name:svg-1;animation-duration:1.5s;animation-timing-function:ease-out;animation-iteration-count:infinite;transform-origin:bottom center}.sale-amount-wrap svg path:last-child{animation-name:svg-2;animation-duration:1.5s;animation-timing-function:ease-out;animation-iteration-count:infinite;transform-origin:bottom;fill:#fff}
@keyframes svg-1{0%{transform:scale(0.7)}50%{transform:scale(1)}100%{transform:scale(0.65)}}@keyframes svg-2{0%{transform:rotateY(60deg)}50%{transform:rotateY(-60deg)}100%{transform:rotateY(60deg)}}
.sale-amount-wrap {
  margin-inline-start: .75rem !important;
  display: inline-flex;
  align-items: center;
  border: 1px solid #f87171;
  border-radius: 5px;
}
.sale-amount-wrap svg {
  padding: 5px;
  border-block: border-width;
  box-sizing: content-box;
  border-inline-end: 2px dotted red;
}
.sale-amount-wrap span {
  padding: 5px;
  line-height: 1rem;
  font-size: 13px;
  font-weight: bold;
}
/* ========== Copy Disc Edit ========== */
/* .copy-disc {
  cursor: pointer;
  border: 2px dashed var(--color-primary);
  border-radius: 22px;
  padding: 2px 12px 5px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  width: fit-content;
  margin-bottom: 15px;
  animation: copy-disc-color 1s linear infinite;
}
.copy-disc::before {
  position: absolute;
  content: '';
  background-color: var(--color-primary);
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  top: -5px;
  right: -5px;
  border-radius: 22px;
  opacity: 0;
  animation: copy-disc-bg 1s linear infinite;
  z-index: -1;
}
.copy-disc i {
  font-size: 20px;
}
.copy-disc span {
  font-weight: bold;
  font-size: 16px;
}
@keyframes copy-disc-color {
  0%, 49.99% {
    border-color: var(--color-primary);
    color: var(--color-primary);
  }
  50%, 100% {
    border-color: white;
    color: white;
  }
}
@keyframes copy-disc-bg {
  0%, 49.99% {
    opacity: 0;
  }
  50%, 100% {
    opacity: 1;
  }
} */
/* ========== Details ========== */
.product-tabs {
  margin-top: 0;
  border: none;
}
.product-tabs .tabs {
  display: none;
}
.product-tabs .tabs__item {
  padding-right: 0;
  padding-left: 0;
}
#product-details-tab {
  padding-top: 0;
}
#product-details-tab,
.product__description {
  font-size: 1rem;
}
#product-details-tab ul,
#product-details-tab ol {
  padding-right: 20px;
}
#product-details-tab ul,
#product-details-tab ul li {
  list-style: disc;
}
#product-details-tab ol,
#product-details-tab ol li {
  list-style: decimal;
}
.article--main.read-more-close {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.article--main.read-more-close::after {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  background: #fff;
  background: linear-gradient(0deg,rgb(255,255,255) 0%,rgba(255,255,255,0) 100%);
  position: absolute;
  bottom: 0;
  right: 0;
}
.read-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.read-more-wrap:before,
.read-more-wrap:after {
  content: "";
  display: inline-block;
  flex: 1;
  background: #f5f7f9;
  background: #dedede;
  height: 1px;
}
.read-more-btn {
  padding: 8px 15px;
  border: 1px solid #ccc;
  margin: 0 15px;
  border-radius: 50px;
  color: #333;
  background-color: #ddd;
}
#product-comments-tab {
  display: block;
  padding-top: 2rem;
}
.s-comment-form-action salla-button,
.s-comment-form-action salla-button button {
  width: 100%;
}
/* ========== Offer Section ========== */
.s-offer-wrapper h2::before,
.s-offer-wrapper .s-slider-block__title-nav {
  display: none;
}
.s-offer-wrapper h2 {
  font-weight: bold;
}
/* ========== Fixed Bar ========== */
.product-fixed-bar div:has(>salla-quantity-input) {
  display: none
}
.s-add-product-button-main .s-add-product-button-mini-checkout {
  --salla-fast-checkout-button-border-radius: 50px!important;
}
@media(max-width: 1024px) {
  .product-single .main-content > div:has(.starting-or-normal-price) {
    display: flex;
  }
  .product-fixed-bar .product-form>div:first-child {
    display:none;
  }
  .product-fixed-bar .product-form>div:last-child {
    flex-grow: 1;
  }
}