/* =========================================================
   Abonaif Salla Custom CSS - Radar Agency
   ========================================================= */

/* ===== Header ===== */
.main-nav-container {
  min-height: auto;
  height: auto !important;
}

.main-nav-container .inner {
  backdrop-filter: blur(40px);
}

header .sicon-cart,
header .sicon-search {
  font-size: 0;
}

header .sicon-cart::after {
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  background: url('https://media.zid.store/eeebe6f0-dc0e-46e7-a4fb-56c7c4f3196f/94a0043f-6907-4b60-862f-9ae8d5e79dea.svg') no-repeat center / cover;
}

header .sicon-search::after {
  content: '';
  display: block;
  width: 23px;
  height: 23px;
  background: url('https://media.zid.store/eeebe6f0-dc0e-46e7-a4fb-56c7c4f3196f/709e3f9b-0de8-4f1a-b896-6ac4aa272199.svg') no-repeat center / cover;
}

.s-cart-summary-count {
  background: transparent;
  color: #e54d3a;
}

.icon-box {
  color: #fff !important;
}

/* ===== Mobile Menu Color ===== */
.mm-spn.mm-spn--light,
.mm-spn.mm-spn--navbar::after {
  color: var(--color-primary) !important
}

/* ===== Bundle Features Marquee ===== */
.s-block--bundle-features-marquee,
.s-block--bundle-features-marquee [component-name='features-marquee'] {
  margin: 0;
}

/* ===== Product Card Base ===== */
.product-card {
  background-color: transparent;
}

.product-card__normal-cart {
  display: none;
}

.product-card__title a {
  font-size: 1rem !important;
  font-weight: 300;
}

.product-card__price .total-price {
  font-family: auto;
}

.product-card__enhanced-mini-cart__btn--inner {
  gap: 0.5rem;
  flex-direction: row-reverse;
}

.product-card__enhanced-mini-cart__btn--inner span {
  margin: 0 !important;
}

.product-card__enhanced-mini-cart button.s-button-element {
  padding: 10px;
  border-radius: 4px;
  font-weight: 300;
}

.product-card__enhanced-mini-cart button.s-button-element i {
  margin: 0;
  content: url('https://media.zid.store/cdn-cgi/image/q=85,f=auto/https://media.zid.store/fa20946e-2304-4805-831c-43631cd1a5a4/302583dc-2ef0-44d8-a618-a7074fb4c60a.svg');
}

.product-card__discount {
  position: absolute;
  top: 1rem;
  left: 0;
  padding: 4px 15px;
  color: #fff;
  background-color: #E64D3B;
  border-radius: 0 0 24px 0;
}

.product-card__discount span {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 300;
}

.product-card__content {
  position: static;
}

.mini_top_promotion .simplified-products .product-card.product-card--simplified .product-card__promotion {
  left: unset;
  padding: 8px 20px 9px;
  font-weight: 300;
  background-color: #252525;
  border-radius: 0 8px 0 10px;
}

.s-add-product-toast__actions salla-button .s-button-btn.s-button-gray-outline {
  color: var(--header-text-color);
  border-color: var(--header-text-color);
}

@media (min-width: 991px) {
  .product-card__enhanced-mini-cart {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .product-card__discount {
    top: 0;
  }
}

/* ===== Product Cards Grid + Compression Fix ===== */
@media (min-width: 768px) {
  .s-products-list-wrapper,
  :is(.s-block--tabs-produtcs, .s-block--tabs-products) .s-products-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  custom-salla-product-card,
  :is(.s-block--tabs-produtcs, .s-block--tabs-products) custom-salla-product-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-card {
    height: 100% !important;
    overflow: hidden;
    border-radius: 8px !important;
  }

  .product-card__image,
  .product-card__image a,
  .product-card__image img,
  .product-card__image .product-card__image-link {
    max-height: 280px !important;
  }

  .product-card__image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 767px) {
  .s-products-list-wrapper,
  :is(.s-block--tabs-produtcs, .s-block--tabs-products) .s-products-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-card__image img {
    height: 170px !important;
    object-fit: contain !important;
  }
}

/* ===== Sections General ===== */
div.flex span.h-px.bg-gray-200.flex-1.block,
div.flex .sicon-keyboard_arrow_left {
  background: transparent;
}

.home-block-line {
  display: none;
}

div.flex .btn.btn--outline-primary {
  padding-inline: 1rem !important;
  border-radius: 25px !important;
}

/* ===== Countdown ===== */
.s-block--offer-countdown {
  font-weight: 500;
}

/* ===== FAQ ===== */
.s-block--faq {
  padding-inline: 1rem;
}

.s-block--faq .home-block-title p.mt-2.text-lg.leading-8.text-store-text-secondary {
  margin: 0 0 1rem;
  color: #000;
  font-size: 1rem;
}

.s-block--faq .single-faq {
  background-color: transparent;
  border-color: var(--bottom-footer-bg);
  border-radius: 0;
}

.s-block--faq .single-faq p {
  color: var(--bottom-footer-bg);
}

/* ===== Reviews + Testimonials ===== */
.s-block--custom-reviews .review > div {
  flex-direction: column-reverse;
  padding: 0.875rem;
  border: 1px solid #252525;
  box-shadow: none;
}

.s-block--custom-reviews .review > div img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.s-block--custom-reviews .review > div .flex.items-center.mt-6.-mx-2 {
  flex-direction: column;
  margin: 0;
  aspect-ratio: 2/1
}

.s-block--custom-reviews .review > div div.mx-2 {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.s-block--custom-reviews .review > div .comment__rating {
  width: auto;
}

.s-block--custom-reviews .review > div p.text-store-text-primary {
  margin: 0;
}

.s-block--testimonials {
  padding: 2rem 0;
  margin-top: 2rem;
}

.s-block--testimonials.enhanced::before {
  display: none;
}

.s-block--testimonials .flex.flex-col.justify-between {
  flex-direction: column-reverse;
  align-items: flex-start;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(214, 214, 214, 0.6);
  box-shadow: none;
}

.s-block--testimonials div#item-text,
.s-block--testimonials p.text-base.mb-2.text-store-text-primary {
  text-align: center;
}

.s-block--testimonials .flex.items-center.mt-6.-mx-2 {
  justify-content: center;
  margin: 0;
}

/* ===== About ===== */
.s-block--about {
  padding: 0;
}

.s-block--about .container {
  padding-inline: 1rem;
}

.s-block--about h2 {
  margin: 0;
  padding-bottom: 1rem;
  color: var(--store-text-primary);
  font-weight: 300;
}

.s-block--about h3 {
  color: #000;
  font-size: 1rem;
  text-align: center;
  opacity: 1;
}

.s-block--about a {
  width: fit-content;
  margin-top: 0.5rem;
  padding: 0.4rem 1.5rem !important;
  border-radius: 8px !important;
}

/* ===== Videos Gallery ===== */
.s-block--videos-gallery {
  margin-top: 2rem;
}

.s-block--videos-gallery .swiper-slide {
  width: 180px !important;
}

@media (min-width: 768px) {
  .s-block--videos-gallery .swiper-slide {
    width: 220px !important;
  }
}

/* ===== Product Page ===== */
.s-comments-item {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(214, 214, 214, 0.6);
  box-shadow: none;
}

.product-single__info h1.text-store-text-primary {
  font-size: 1.4rem;
  font-weight: 500;
}

.product-single > * {
  font-weight: 500;
}
/* ===== Footer ===== */
footer svg.absolute,
.store-footer a.anime-item {
  display: none;
}

.store-footer .flex.items-center.justify-center.flex-wrap.gap-2.md\:gap-5 {
  gap: 0;
}

.store-footer__inner {
  padding-bottom: 0;
  border: none;
  border-radius: 16px 16px 0 0;
}

.store-footer__inner::after {
  content: 'تواصل معنا';
  display: block;
  padding-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

/* English Footer Text */
html[lang^='en'] .store-footer__inner::after,
html[dir='ltr'] .store-footer__inner::after,
body[dir='ltr'] .store-footer__inner::after,
body.en .store-footer__inner::after,
html.en .store-footer__inner::after {
  content: 'Contact Us';
}

.store-footer__contacts-row {
  padding-top: 0;
  border: 0;
}

.store-footer__contacts-row a {
  border: none;
}

.store-footer__contacts-row i {
  font-size: 1.125rem;
}

.store-footer__contacts-row .text-unicode {
  display: none;
}

.store-footer ul.flex.items-center.justify-center.flex-wrap.gap-5.mt-4 {
  gap: 5px;
  margin: 0;
}

.s-social-link a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-description {
  margin-bottom: 10px;
}

.footer-description + p {
  font-size: 0.75rem;
}

.store-footer .social-link {
  border: none;
  opacity: 1 !important;
}

.flex.rtl\:space-x-reverse.space-x-2.items-end.justify-center.anime-item {
  margin-top: 10px;
}

footer .flex.items-center.justify-center.mt-5.anime-item {
  margin: 0;
}

@media (min-width: 767px) {
  [data-selia='footer-brand-column'] {
    order: -1;
    grid-column: auto;
    margin-top: 0;
  }

  footer .grid.container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-footer:not(.basic-footer) .enhanced_links li {
    margin-bottom: 0;
  }
}

/* ===== Mobile Blocks ===== */
@media (max-width: 767px) {
  .s-block--square-links .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
  }

  .index.mobile_small_blocks_titles .home-block-title h2 {
    font-size: 1.8rem;
    font-weight: 300;
  }

  .product-card__price .total-price {
    font-size: 1.2rem;
  }
}

/* =========================================================
   Products Tabs
   Supports both class names:
   - .s-block--tabs-produtcs  old typo used in previous code
   - .s-block--tabs-products  actual/correct class used by Salla
   ========================================================= */
:is(.s-block--tabs-produtcs, .s-block--tabs-products).abn-tabs-section {
  padding-top: 12px !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products).abn-tabs-section > .container {
  max-width: 520px;
  padding-inline: 9px;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-container {
  width: 100%;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #eee;
  border-radius: 22px;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-images {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  border-radius: 22px;
  transition: opacity 0.15s ease;
  
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-images.is-changing {
  opacity: 0.65;
}

@media (max-width: 767px) {
  :is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-images {
    background-image: var(--mobile-bg);
  }
}

@media (min-width: 768px) {
  :is(.s-block--tabs-produtcs, .s-block--tabs-products).abn-tabs-section > .container {
    max-width: 100%;
  }

  :is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-wrapper {
    height: 552px;
  }

  :is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-images {
    background-image: var(--desktop-bg);
  }
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #f6e6c8 0%, #f9eed8 20%, #f6e6c8 30%);
  background-size: 200% 100%;
  opacity: 0;
  animation: abn-skeleton-loading 1.2s infinite;
  transition: opacity 0.3s ease;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-skeleton.active {
  opacity: 1;
}

@keyframes abn-skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs {
  position: absolute !important;
  bottom: 0;
  left: 50%;
  z-index: 20;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 45rem;
  padding: 6px 10px !important;
  margin: 0 0 5px !important;
  overflow: visible !important;
  border: 0 !important;
  transform: translateX(-50%);
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger {
  position: relative !important;
  z-index: 2;
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger > button,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger button.s-button-element {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #181818 !important;
  background: rgba(130, 84, 39, 0.32) !important;
  border: 1px solid #202020 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: none !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active > button,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active button.s-button-element,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger > button.abn-active,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger button.s-button-element.abn-active {
  z-index: 30 !important;
  color: #111 !important;
  background: #fff !important;
  border-color: #fff !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger button::before,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger button::after {
  display: none !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .s-button-text {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  color: inherit !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .tab-icon {
  position: relative !important;
  z-index: 2;
  display: block !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .tab-label {
  display: none !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .circles-container {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  pointer-events: none !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .circles-container::before,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .circles-container::after {
  content: none !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active::after {
  position: absolute;
  bottom: -60px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 140px;
  pointer-events: none;
  content: '';
  background: #fff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active .circles-container::before,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active .circles-container::after {
  position: absolute !important;
  bottom: -13px !important;
  z-index: 3 !important;
  width: 24px !important;
  height: 24px !important;
  content: '' !important;
  background: transparent !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active .circles-container::before {
  left: -24px !important;
  border-bottom-right-radius: 20px !important;
  box-shadow: 10px 10px 0 #fff !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger.abn-active .circles-container::after {
  right: -24px !important;
  border-bottom-left-radius: 20px !important;
  box-shadow: -10px 10px 0 #fff !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger::after,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .circles-container::before,
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger .circles-container::after {
  transition: none !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-products-title {
  padding: 1.25rem 0;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-wrapper {
  position: relative;
  z-index: 3;
  margin-top: 0 !important;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs__item {
  display: none;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs__item.is-active {
  display: block;
}

/* ===== Dynamic Banner Visibility Fix ===== */
.dynamic-banner-light.\!hidden {
  display: none !important;
}

.dynamic-banner-light.block {
  display: block !important;
}

@media (min-width: 640px) {
  .dynamic-banner-light.sm\:\!block {
    display: block !important;
  }

  .dynamic-banner-light.sm\:\!hidden {
    display: none !important;
  }
}

/* ===== Thank You Page ===== */
body.thank-you .bg-storeBG h1 {
  font-size: 0;
}

body.thank-you .bg-storeBG h1::after {
  content: 'شكراً لطلبك معنا';
  font-size: 1.25rem;
}

body.thank-you div:has(> img.thanks-item) {
  position: relative;
  width: 160px;
  height: 160px;
  transform: none;
}

body.thank-you img.thanks-item {
  visibility: hidden;
}

body.thank-you div:has(> img.thanks-item)::after {
  position: absolute;
  inset: 0;
  content: '';
  background: url('https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/zpeWx/y3HkXIOXxSuGQxkOgJrMGFeJsSxCm4GzG4L8kGeg.png') center / contain no-repeat;
}

/* ===== Abonaif Branches Seamless Marquee ===== */
.abn-branches-images-section {
  display: block !important;
  padding: 56px 0 44px;
  overflow: hidden;
  text-align: center;
  background: #fff;
}

.abn-branches-images-section * {
  box-sizing: border-box;
}

.abn-branches-images-title {
  margin: 0;
  color: #202020;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  font-weight: 300;
  line-height: 1.15;
}

.abn-branches-images-description {
  margin: 10px auto 34px;
  color: #666;
  font-size: clamp(1rem, 3.4vw, 1.45rem);
  font-weight: 300;
}

.abn-branches-images-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
}

.abn-branches-images-marquee::before,
.abn-branches-images-marquee::after {
  position: absolute;
  top: 0;
  z-index: 3;
  width: 90px;
  height: 100%;
  pointer-events: none;
  content: '';
}

.abn-branches-images-marquee::before {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.abn-branches-images-marquee::after {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.abn-branches-images-track {
  display: flex;
  width: max-content;
  animation: abn-branches-seamless 28s linear infinite;
  will-change: transform;
}

.abn-branches-images-marquee:hover .abn-branches-images-track {
  animation-play-state: paused;
}

.abn-branches-images-group {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding-inline-end: 18px;
}

.abn-branches-image-card {
  flex: 0 0 auto;
  width: 240px;
  height: 168px;
  padding: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(32, 32, 32, 0.22);
  border-radius: 16px;
}

.abn-branches-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transform: scale(1.12);
  transition: 0.25s ease;
}

.abn-branches-image-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.16);
}

@keyframes abn-branches-seamless {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 767px) {
  .abn-branches-images-section {
    padding: 44px 0 34px;
  }

  .abn-branches-images-description {
    margin-bottom: 26px;
  }

  .abn-branches-images-track {
    animation-duration: 22s;
  }

  .abn-branches-images-group {
    gap: 14px;
    padding-inline-end: 14px;
  }

  .abn-branches-image-card {
    width: 168px;
    height: 124px;
    padding: 5px;
    border-radius: 13px;
  }

  .abn-branches-images-marquee::before,
  .abn-branches-images-marquee::after {
    width: 48px;
  }
}
/* ===== Fix Active Tab Sharp Corners ===== */
.s-block--tabs-produtcs .tabs salla-button.tab-trigger,
.s-block--tabs-products .tabs salla-button.tab-trigger {
  border-radius: 16px !important;
}

.s-block--tabs-produtcs .tabs salla-button.tab-trigger > button,
.s-block--tabs-produtcs .tabs salla-button.tab-trigger button.s-button-element,
.s-block--tabs-products .tabs salla-button.tab-trigger > button,
.s-block--tabs-products .tabs salla-button.tab-trigger button.s-button-element {
  border-radius: 16px !important;
}

.s-block--tabs-produtcs .tabs salla-button.tab-trigger.abn-active::after,
.s-block--tabs-products .tabs salla-button.tab-trigger.abn-active::after {
  top: 0 !important;
  bottom: -60px !important;
  height: auto !important;
  border-radius: 16px 16px 0 0 !important;
}

.s-block--tabs-produtcs .tabs salla-button.tab-trigger.abn-active > button,
.s-block--tabs-produtcs .tabs salla-button.tab-trigger.abn-active button.s-button-element,
.s-block--tabs-products .tabs salla-button.tab-trigger.abn-active > button,
.s-block--tabs-products .tabs salla-button.tab-trigger.abn-active button.s-button-element {
  border-radius: 16px !important;
}
/* ===== SAUDI NATIONAL DAY STYLE ===== */
:root {
  --color-primary: #008d53 !important;
}
header .sicon-search::after, header .sicon-cart::after {
filter: brightness(0) invert(1);
}

.s-cart-summary-count{
  color: #fff !important
}


.s-block.s-block-tabs.s-block--tabs-produtcs{
  margin-top: 0
}
.navbar-brand .logo-normal {
  content: url('https://cdn.files.salla.network/other/2036151465/c2f5453a-1f20-4b80-bb61-9eba33086c18-original.webp');
  width: auto;
  object-fit: contain;
}

:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger:not(.abn-active) .tab-icon{
    filter: brightness(0) invert(1);
}
:is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger > button, :is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs salla-button.tab-trigger button.s-button-element {
  background: rgba(0, 1, 1, 0.4) !important;
}

.mini_top_promotion .simplified-products .product-card.product-card--simplified .product-card__promotion, .product-card__discount, .s-block--about a, .s-block--faq .single-faq i {
  background-color:var(--header-bg);
} 
.s-block--faq .single-faq p , .s-block--faq .single-faq{
  color: var(--header-bg);
}
.s-block--faq .single-faq {
  border-color: var(--header-bg);
}

.s-block--offer-countdown .inner-wrapper {
  justify-content: center;
}

.s-block--offer-countdown .offer-countdown-content {
  display: grid !important;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 2rem;
  row-gap: .3rem;
  align-items: center;
  direction: rtl;
}

.s-block--offer-countdown .offer-countdown-title {
  grid-column: 1;
  grid-row: 1;
  width: 160px;
  height: 75px;
  font-size: 0 !important;
  background: url('https://cdn.gea.gov.sa/ND-2026/brand/brand-emblem.png') no-repeat right center;
  background-size: contain;
}

.s-block--offer-countdown .offer-countdown-description {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #fff;
  white-space: nowrap;
  text-align: right;
}

.s-block--offer-countdown .offer-countdown-timer {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.s-block--offer-countdown .offer-countdown-cta {
  display: none;
}

.s-block--offer-countdown salla-count-down .s-count-down-list {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.s-block--offer-countdown salla-count-down .s-count-down-list .s-count-down-item {
  padding: 0 !important;
  flex: initial;
  color: #fff;
  background: #008D53 !important;
  box-shadow: none !important;
  border-radius: 4px;
}
.s-block--offer-countdown{
  position: relative
}

.s-block--offer-countdown::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  background-image: url('https://cdn.gea.gov.sa/ND-2026/assets/celebrate/green-vector-mobile.png');
  background-repeat: repeat;
  background-position: left center;
  background-size: auto 47%;
  opacity: .35;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 40%, rgba(0,0,0,.7) 65%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 40%, rgba(0,0,0,.7) 65%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}


.s-block--offer-countdown .s-count-down-item-label {
  margin-top: 0 !important;
  color: #fff;
  font-size: .525rem !important;
  line-height: 1rem !important;
}

@media (min-width: 768px) {
  .s-block--offer-countdown .offer-countdown-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .s-block--offer-countdown {
    overflow: visible;
  }

  .s-block--offer-countdown.s-block--has-media
  .offer-countdown-bg-wrapper
  .offer-countdown-bg-media {
    height: 112% !important;
  }
  .s-count-down-item-value {
      font-size: 1rem;
      line-height: 1;
    }
  .s-block--offer-countdown .offer-countdown-container {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .s-block--offer-countdown .offer-countdown-content {
    grid-template-columns: auto auto;
    column-gap: 1rem;
    width: 100%;
    justify-content: space-between !important;
  }

  .s-block--offer-countdown .offer-countdown-title {
    width: 115px;
    height: 52px;
    margin: auti
  }

  .s-block--offer-countdown .offer-countdown-description {
    font-size: .7rem;
  }
  .s-block--offer-countdown salla-count-down .s-count-down-list .s-count-down-item {
    width: auto !important;
    min-width: 2.5rem;
    height: 2.5rem;

  }
  :is(.s-block--tabs-produtcs, .s-block--tabs-products) .tabs-bg-wrapper{
    height: 418px;
  }
}
@media only screen and (min-width: 1024px) {
    .main-menu li>a:hover {
        color: inherit;
    }
}
.animated-text{
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}
/* ===== SAUDI NATIONAL DAY STYLE ===== */