﻿.dealoftheday-container {
  position: relative;
  margin-bottom: 40px;
}

.deal-carousel-container {
  position: relative;
  /* Full-bleed background: same block height as this container, stripe = viewport width */
  isolation: isolate;
}

.deal-carousel-container::before {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  z-index: -1;
  pointer-events: none;
}

.dealoftheday-container {
  /*background-position: -9999px !important;*/
  /*background: none !important;*/
}

  .dealoftheday-container .dealoftheday-content {
    padding: 0 0;
    padding-bottom: 33px;
    gap: 0;
  }

  .dealoftheday-container .deal-carousel-container .loader {
    position: relative;
    min-height: 0;
    width: 100%;
  }

  .dealoftheday-container .deal-carousel-container .loader::before {
    content: "";
    display: block;
    padding-top: 28%;
  }

  .dealoftheday-container .dealoftheday-leftadd {
    display: flex;
    justify-content: space-between;
    position: absolute;
    align-items: center;
    border-radius: 3px;
    flex-direction: column;
    gap: 10px;
  }

  .dealoftheday-container .container .dealoftheday-content .deals-products .title {
    text-align: center;
    padding: 8px 0;
    padding-top: 20px;
  }

  .dealoftheday-container .container .dealoftheday-content .deals-products .dealoftheday-leftadd {
    position: relative;
    justify-content: center;
    background: none;
    /*.carousel-countdown {
      top: -42px;
  }

  @media(min-width:992px) {
      position: relative;

      .carousel-countdown {
          top: -57px;
      }
  }*/
  }

    .dealoftheday-container .container .dealoftheday-content .deals-products .dealoftheday-leftadd .carousel-countdown > div {
      display: flex;
    }

  .dealoftheday-container .container .dealoftheday-content .deals-products .swiper-buttons {
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: row-reverse;
  }

    .dealoftheday-container .container .dealoftheday-content .deals-products .swiper-buttons div {
      position: relative;
      top: 0;
      /* background: var(--primary-color); */
      /* border-radius: 0; */
      /* height: 36px; */
      /* width: 36px; */
      inset-inline-end: 0;
    }

.dealoftheday-small-title {
  font-weight: 500;
  font-size: clamp(14px, 3vw, 18px);
  color: var(--black);
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-leftadd {
    position: relative;
    align-items: center;
    background: var(--white);
    flex-direction:row;
  }
}

@media (min-width: 1200px) {
  .dealoftheday-container .dealoftheday-leftadd {
  }
}

@media (min-width: 1600px) {
  .dealoftheday-container .dealoftheday-leftadd {
  }
}

.dealoftheday-container .dealoftheday-leftadd .deals-image {
  display: none;
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-leftadd .deals-image {
    display: block;
    width: 100%;
    position: absolute;
    /*bottom: 10px;*/
    /*left: 50%;
    transform: translateX(-50%);*/
    z-index: 10;
  }
}

.dealoftheday-container .dealoftheday-leftadd .deals-image .swiper-wrapper {
  align-items: center;
}

.dealoftheday-container .dealoftheday-leftadd .deals-image .slider-image {
  display: flex;
  justify-content: center;
}

.dealoftheday-container .dealoftheday-leftadd .icon-clock:before {
  padding-inline-end: 5px;
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-leftadd .icon-clock:before {
    font-size: 16px;
  }
}

/*.dealoftheday-container .dealoftheday-leftadd .carousel-countdown {
  padding: 5px 5px;
  color: var(--white);
  border-radius: 3px;
  display: flex;
  align-items: center;
  z-index: 20 !important;
}

  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown div {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    box-shadow: 0px 1px 3px 0px #0000001A;
  }

@media (min-width: 556px) {
  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown {
    padding: 9px 10px;
    padding-bottom: 7px;
    align-items: baseline;
  }
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 20%;
  }
}
@media (min-width: 1400px) {
  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 15%;
  }
}*/
.dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count {
  font-size: 14px;
  font-family: "Lato", sans-serif;
  color: #fff;
  font-weight: 600;
  margin-inline-end: 5px;
  white-space: nowrap;
  border-radius: 50px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-color);
}

/*  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count span {
    font-size: 12px;
    font-family: "Lato", sans-serif;
    color: #ffffff;
  }

  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count.day {
    background-color: #EB5757;
    padding: 5px;
    box-shadow: 0px 1px 3px 0px #0000001A;
  }

  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count.hours {
    background-color: #2F80ED;
    padding: 5px;
    box-shadow: 0px 1px 3px 0px #0000001A;
  }

  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count.min {
    background-color: #219653;
    padding: 5px;
    box-shadow: 0px 1px 3px 0px #0000001A;
  }

  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count.sec {
    background-color: #EF5DA8;
    padding: 5px;
    box-shadow: 0px 1px 3px 0px #0000001A;
  }*/

@media (min-width: 556px) {
  .dealoftheday-container .dealoftheday-leftadd .carousel-countdown .count span {
    font-size: 15px;
  }
}



.dealoftheday-container .dealoftheday-content {
  display: flex;
  position: relative;
  flex-wrap: wrap;
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content {
    padding: 0px 0;
    padding-bottom: 33px;
    gap: 0px;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .dealoftheday-container .dealoftheday-content .deals-products {
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .dealoftheday-container .dealoftheday-content .deals-products {
    width: 100%;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .see-more {
  padding: 2px 5px;
  border-radius: 3px;
  margin-top: 4px;
  display: inline-block;
  color: var(--primary-color);
}

  .dealoftheday-container .dealoftheday-content .deals-products .see-more::after {
    content: "...";
  }

.dealoftheday-container .dealoftheday-content .deals-products > .title {
  padding: 20px 0;
  text-align: start;
  display: flex;
  margin-bottom: 15px;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-between;
  margin: auto;
  margin-bottom: 20px;
  gap: 10px;
  font-family: var(--secondary-font);
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products > .title {
    padding: 0;
    padding-bottom: 35px;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products > .title strong {
  font-size: 24px;
  line-height: 21px;
  font-family: var(--secondary-font);
  letter-spacing: 0;
  text-align: start !important;
  color: var(--black);
  background: linear-gradient(to right, var(--primary-color), var(--secondery-color));
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  text-transform: uppercase;
}

@media (min-width: 556px) {
  .dealoftheday-container .dealoftheday-content .deals-products > .title strong {
    text-transform: uppercase;
    font-size: 26px;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .product-horizontal {
  position: static;
}

@media (min-width: 768px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .swiper-slide {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .swiper-slide {
    width: 33.3333%;
  }
}

@media (min-width: 1600px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .swiper-slide {
    width: 25%;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item {
  position: relative;
  align-items: center;
  margin-bottom: 0;
  border-radius: 0;
  margin-inline: -1px;
}

  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item:first-child {
    margin-bottom: -1px;
  }

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item {
    margin-bottom: 0;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .picture {
  width: 40%;
  position: static;
  z-index: 10;
  display: block;
}

.dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .buttons {
  inset-inline-end: 10px;
  top: 2px;
}

  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .buttons .quick-view-btn {
    display: none;
  }

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .buttons {
    top: 5px;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .details {
  width: 60%;
  position: unset;
}

  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .details .prices {
    min-height: 28px;
  }

  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .details .add-info .add-to-cart .add-to-cart-button {
    font-size: 12px;
    padding: 4px 9px;
  }

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .details .add-info .add-to-cart .add-to-cart-button {
    font-size: 10px;
    padding: 4px 3px;
  }
}

@media (min-width: 1200px) {
  .dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .details .add-info .add-to-cart .add-to-cart-button {
    font-size: 12px;
    padding: 4px 3px;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .product-horizontal .product-item .details .add-info .add-to-cart .add-to-cart-button:before {
  display: none;
}

.dealoftheday-container .dealoftheday-content .deals-products .swiper-button-next {
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .swiper-button-next {
    top: 20px;
    inset-inline-start: auto;
    inset-inline-end: 0;
    display: flex;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .swiper-button-next::after {
  display: none;
}

.dealoftheday-container .dealoftheday-content .deals-products .icon-left-arrow-2 {
  display: none;
  height: 30px;
  width: 30px;
  background: var(--white);
  border-radius: 100px;
  border: 1px solid var(--primary-green);
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .icon-left-arrow-2 {
    display: flex;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .icon-left-arrow-2:hover {
  background: var(--primary-green_dark);
  border: 1px solid var(--primary-green_dark);
}

  .dealoftheday-container .dealoftheday-content .deals-products .icon-left-arrow-2:hover::before {
    color: var(--white);
  }

.dealoftheday-container .dealoftheday-content .deals-products .icon-left-arrow-2::before {
  font-size: 11px;
  vertical-align: sub;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 20px;
  color: var(--primary-green);
}

.dealoftheday-container .dealoftheday-content .deals-products .icon-right-arrow-2 {
  font-size: 11px;
  vertical-align: sub;
  height: 30px;
  width: 30px;
  background: var(--primary-green);
  border-radius: 100px;
  display: none;
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .icon-right-arrow-2 {
    display: flex;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .icon-right-arrow-2:hover {
  background: var(--white);
  background: var(--primary-green_dark);
}

.dealoftheday-container .dealoftheday-content .deals-products .icon-right-arrow-2::before {
  font-size: 11px;
  vertical-align: sub;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 20px;
  color: var(--white);
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .swiper-button-prev {
    top: 20px;
    inset-inline-start: auto;
    inset-inline-end: 40px;
    display: flex;
  }
}

.dealoftheday-container .dealoftheday-content .deals-products .swiper-button-prev::after {
  display: none;
}

.dealoftheday-container .dealoftheday-content .deals-products .swiper-pagination-bullets-dynamic {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .pagination-mobile {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .dealoftheday-container .dealoftheday-content .deals-products .swiper-pagination-progressbar {
    margin-top: -8px;
  }
}

@media (min-width: 992px) {
  .dealoftheday-container.right .dealoftheday-content {
    flex-direction: row-reverse;
  }
}

/* Figma Frame 40346 — deal carousel pagination dots */
.dealoftheday-wrapper .deal-carousel-container .swiper-pagination,
.dealoftheday-wrapper .deal-carousel-container .swiper-pagination-bottom,
.deal-carousel-container .swiper-pagination,
.deal-carousel-container .swiper-pagination-bottom,
.deal-carousel-container .swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.deal-carousel-container .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  position: absolute;
  top: -40px;
  left: auto !important;
  right: auto !important;
  inset-inline-end: 78px;
  inset-inline-start: auto;
  bottom: auto;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 0;
  cursor: pointer;
  text-align: center;
  margin: 0;
}

.deal-carousel-container .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid var(--light-grey);
  background: transparent;
  opacity: 1;
  position: relative;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.deal-carousel-container .swiper-pagination-bullet-active {
  width: 18px;
  height: 18px;
  border: none;
  background: rgba(246, 53, 56, 0.2);
}

.deal-carousel-container .swiper-pagination-bullet-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

/* Mobile: pagination below carousel strip */
@media (max-width: 1000px) {
  .deal-carousel-container {
    padding-bottom: 40px;
  }

    .dealoftheday-wrapper .deal-carousel-container .swiper-pagination,
    .dealoftheday-wrapper .deal-carousel-container .swiper-pagination-bottom,
    .deal-carousel-container .swiper-pagination,
    .deal-carousel-container .swiper-pagination-bottom,
    .deal-carousel-container .swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
    .deal-carousel-container .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
      top: auto;
      bottom: 0;
      left: 50% !important;
      right: auto !important;
      inset-inline-end: auto;
      inset-inline-start: 50%;
      transform: translateX(-50%);
      margin-bottom: 18px;
    }
}

.dealoftheday-container .dealoftheday-content .deals-products .swiper-button-next,
.dealoftheday-container .dealoftheday-content .deals-products .swiper-button-prev {
  position: absolute;
  inset-inline-end: 0;
  top: 38px;
  inset-inline-start: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dealoftheday-container .dealoftheday-content .deals-products:hover .swiper-button-next,
.dealoftheday-container .dealoftheday-content .deals-products:hover .swiper-button-prev {
  position: absolute;
  inset-inline-end: 0;
  top: 38px;
  inset-inline-start: auto;
  opacity: 1;
}

.dealoftheday-container .dealoftheday-content .deals-products .swiper-button-prev {
  inset-inline-end: 38px;
}






@media (min-width: 992px) {
  .dealoftheday-container {
    background-position: 0 !important;
    margin-bottom: 80px;
  }
  .dealoftheday-wrapper .deal-carousel-container .swiper-pagination,
  .dealoftheday-wrapper .deal-carousel-container .swiper-pagination-bottom,
  .deal-carousel-container .swiper-pagination,
  .deal-carousel-container .swiper-pagination-bottom,
  .deal-carousel-container .swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
  .deal-carousel-container .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    display: none;
  }
}

@media (max-width: 1199px) {
  .dealoftheday-container .container .dealoftheday-content {
  }
}

.dealoftheday-container .container .dealoftheday-content .deals-products .deal-carousel-container .swiper .swiper-slide {
  padding: 0 8px;
}

.dealoftheday-container .container .dealoftheday-content .deals-products .deal-carousel-container .swiper {
  background: transparent;
  /* Standard Swiper clipping; full-bleed white comes from .deal-carousel-container::before */
  overflow: hidden;
  padding-top: 20px;
}

@media (min-width: 1200px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .deal-carousel-container .swiper {
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .title {
    text-align: start;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .title {
    margin-bottom: 20px;
    background: unset;
    align-items: center;
    gap: 10px;
    flex-direction: column;
  }
}

.dealoftheday-container .container .dealoftheday-content .deals-products .title strong {
  text-decoration: none;
  line-height: 45px;
}

@media (max-width: 768px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .title strong {
    line-height: 38px;
    font-size: 20px;
  }
}


@media (max-width: 992px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .dealoftheday-leftadd .carousel-countdown > div .count {
    height: 40px;
    width: 40px;
  }
}

@media (max-width: 992px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .swiper-buttons {
    display: none;
  }
}

@media (min-width: 768px) {
  .dealoftheday-container .container .dealoftheday-content .deals-products .swiper-buttons {
    inset-inline-end: 0;
  }
}

/* --- RTL (Tuwayq `html[dir="rtl"]`): physical gradient + background anchor; base rules use logical properties above --- */
[dir="rtl"] .dealoftheday-container .dealoftheday-content .deals-products > .title strong {
  background: linear-gradient(to left, var(--primary-color), var(--secondery-color));
}

@media (min-width: 992px) {
  [dir="rtl"] .dealoftheday-container {
    background-position: 100% !important;
  }
}

/* --- Ajax loader (Default.Ajax.cshtml): aspect-ratio placeholder + spinner --- */
@media (min-width: 992px) {
  .dealoftheday-container .deal-carousel-container .loader::before {
    padding-top: 36%;
  }
}

.dealoftheday-container .deal-carousel-container .loader .lds-facebook {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}

.dealoftheday-container .deal-carousel-container .loader .lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: var(--theme-color);
  animation: smart-deal-carousel-lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.dealoftheday-container .deal-carousel-container .loader .lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.2s;
}

.dealoftheday-container .deal-carousel-container .loader .lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.1s;
}

.dealoftheday-container .deal-carousel-container .loader .lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}

@keyframes smart-deal-carousel-lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }

  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}
