@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/*
 * Spice Drop — Selia / Salla
 * Replace the PREVIOUS custom CSS with this entire file.
 * Reviewed against the public store and Figma Desktop - 1, 10 Sep 2026.
 * Keeps the existing section order, content, product data and images.
 * Mobile styling is a responsive adaptation of the desktop reference.
 */

body {
  --sd-orange: #d96a1d;
  --sd-orange-dark: #a35016;
  --sd-brown: #4c250a;
  --sd-cream: #fbf0e8;
  --sd-radius: 12px;
  --sd-shadow: 0 2px 8px rgb(76 37 10 / 10%);
  --sd-gutter: clamp(24px, 5.5556vw, 80px);
  --sd-section-gap: clamp(64px, 7.7778vw, 112px);
  --main-color: var(--sd-orange);
  --font-main: 'IBM Plex Sans Arabic';
  --color-primary: var(--sd-orange);
  --color-primary-dark: var(--sd-orange-dark);
  --color-primary-reverse: #fff;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: var(--sd-cream) !important;
}

body .app-inner.bg-storeBG {
  background: var(--sd-cream) !important;
}

/* Page spacing: 1440px reference, 1280px content. */
body.index .s-block.container,
body.index .s-block .container,
.store-header .container,
.store-footer .container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--sd-gutter);
}

body.index .s-block {
  margin-top: var(--sd-section-gap) !important;
}

/* Header: retain the theme's transparent hero and sticky behaviour. */
.store-header .top-navbar {
  border: 0;
  margin-bottom: 0;
}

.store-header .main-menu-row {
  padding-top: 16px;
}

body.index .main-nav-container:not(.fixed-header) .inner,
body.index .main-menu-row {
  background: transparent !important;
}

body:not(.index) .main-nav-container .inner,
body:not(.index) .main-menu-row {
  background: var(--sd-orange) !important;
}

.store-header .header-btn,
.store-header .header-btn__icon,
.store-header .s-cart-summary-wrapper,
.store-header .sicon-menu,
.store-header .menu-label {
  color: #fff !important;
}

.store-header .s-cart-summary-count {
  background: var(--sd-orange) !important;
  color: #fff !important;
}

body.index .main-nav-container.fixed-header .inner {
  background: var(--sd-cream) !important;
  /* backdrop-filter: none;
  -webkit-backdrop-filter: none; */
  box-shadow: 0 2px 8px rgb(76 37 10 / 8%);
}

body.index .main-nav-container.fixed-header .header-btn,
body.index .main-nav-container.fixed-header .header-btn__icon,
body.index .main-nav-container.fixed-header .s-cart-summary-wrapper,
body.index .main-nav-container.fixed-header .sicon-menu,
body.index .main-nav-container.fixed-header .menu-label {
  color: var(--sd-brown) !important;
}

@media (min-width: 1024px) {
  .store-header .main-menu > li > a {
    color: #fff !important;
    font-size: 16px;
    font-weight: 400 !important;
    line-height: 1.5;
    transition: opacity 180ms ease;
  }

  .store-header .main-menu > li > a:hover {
    opacity: .8;
  }
}

@media (max-width: 1023px) {
  .mobile-menu .main-menu__link {
    color: var(--sd-brown) !important;
    font-size: 16px;
  }
}

/* Section headings. Never target all text utility classes globally. */
body.index .s-block .home-block-line,
body.index .s-block .custom-products__line {
  display: none !important;
}

body.index .s-block .home-block-title {
  margin-bottom: 32px;
  text-align: center;
}

body.index .s-block .home-block-title h2,
body.index .s-block .custom-products__title,
body.index .s-block .s-slider-block__title h2,
body.index .s-block--special-products-slider .box-title h2,
body.index .s-block--special-products-slider.reversed .box-title h2,
body.index .s-block--compare .box-title h2

{
  color: var(--sd-orange) !important;
  font-size: clamp(28px, 2.7778vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0;
}

body.index .s-block--special-products-slider .box-title h2,
body.index .s-block--special-products-slider.reversed .box-title h2 {
  text-align: center;
  margin-bottom: 20px
}

body.index .s-block .home-block-title p,
body.index .s-block .custom-products__subtitle,
body.index .s-block--compare .box-title p {
  color: var(--sd-brown) !important;
  font-size: 18px;
  line-height: 30px;
  margin: 8px 0 0;
}

body.index .s-block .s-slider-block__title {
  border: 0 !important;
}

/* Five categories, centred even if the theme grid has six columns. */
body.index .s-block--square-links .square-links__grid.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  width: calc(100% - var(--sd-gutter) * 2);
  max-width: 878px;
  margin-inline: auto;
  padding: 0;
}

body.index .square-links__item {
  flex: 0 1 calc((100% - 128px) / 5);
  max-width: 150px;
  min-width: 0;
}

body.index .square-links__item > a {
  display: block;
}

body.index .square-links__image-wrap,
body.index .square-links__image-wrap img {
  border-radius: 50%;
}

body.index .square-links__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transform: none !important;
}

body.index .square-links__item .square-links__item-title {
  color: var(--sd-orange-dark) !important;
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

/* Product cards; scoped to homepage blocks, not cart or checkout. */
body.index .s-block .product-card--vertical {
  --product-bg: var(--sd-cream);
  --product-border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
  min-width: 0;
  padding: 4px;
  border: 0 !important;
  border-radius: var(--sd-radius) !important;
  background: var(--sd-cream) !important;
  box-shadow: var(--sd-shadow);
  overflow: hidden;
  transition: box-shadow 180ms ease;
}

body.index .s-block .product-card--vertical .product-card__image {
  flex: 0 0 auto;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 8px !important;
  overflow: hidden;
}

body.index .s-block .product-card--vertical .product-card__image > a {
  display: block;
  width: 100%;
  height: 100%;
}

body.index .s-block .product-card--vertical .product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

body.index .s-block .product-card--vertical .product-card__content {
  flex: 1 1 auto;
  width: 100%;
  margin: 0 !important;
  padding: 12px 8px 16px !important;
  background: transparent;
  text-align: center;
}

body.index .s-block .product-card--vertical .product-card__title {
  height: auto !important;
  min-height: 56px;
  margin: 0 0 8px;
}

body.index .s-block .product-card--vertical .product-card__title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: auto !important;
  max-height: 56px;
  white-space: normal !important;
  color: var(--sd-brown) !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

body.index .s-block .product-card__price {
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

body.index .s-block .product-card__price .price_is_on_sale {
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
}

body.index .s-block .product-card__price .total-price {
  color: var(--sd-orange) !important;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

body.index .s-block .product-card__price .before-price {
  color: var(--sd-orange-dark) !important;
  font-size: 14px;
  font-weight: 400;
}

body.index .s-block .product-card__promotion,
body.index .s-block .product-card__out-label {
  border-radius: 8px;
}

/* Style only genuine purchase buttons. Keep disabled/loading states. */
body.index .s-block .product-card__addToCart__btn salla-button,
body.index .s-block .product-card__mini-cart__btn salla-button {
  border-radius: 8px;
}

body.index .s-block .product-card__addToCart__btn .s-button-element,
body.index .s-block .product-card__mini-cart__btn .s-button-element {
  width: 100%;
  min-height: 48px;
  border-radius: 8px !important;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.5;
}

body.index .s-block .product-card__addToCart__btn .s-button-element:not(:disabled),
body.index .s-block .product-card__mini-cart__btn .s-button-element:not(:disabled) {
  color: #fff !important;
  background: var(--sd-orange) !important;
  border-color: var(--sd-orange) !important;
}

body.index .s-block .product-card__addToCart__btn .s-button-text,
body.index .s-block .product-card__mini-cart__btn .s-button-text {
  justify-content: center;
  gap: 8px;
  font-size: inherit;
}

body.index .s-block .product-card__addToCart__btn salla-button {
  height: auto;
  min-height: 48px;
  background: transparent;
}

body.index .s-block .product-card__addToCart__btn salla-button::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  body.index .s-block .product-card--vertical:hover {
    box-shadow: 0 4px 12px rgb(76 37 10 / 14%);
  }
}

body.index .s-block .product-card--vertical:focus-within .product-card__addToCart {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Selia's observed sliders size slides through CSS (no inline widths).
 * Do not override Swiper transforms, gaps or calculated positions.
 */
body.index .s-block--custom-products salla-products-slider .s-slider-container {
  margin-inline: -16px;
  padding-block: 8px 12px;
}

body.index .s-block--custom-products salla-products-slider .s-products-slider-card {
  box-sizing: border-box;
  width: 25%;
  max-width: none;
  height: auto;
  padding-inline: 16px;
}

/* Alternating banner/product blocks; retain current ordering and headings. */
body.index .s-block--special-products-slider .special-products-slider__inner {
  min-height: 0;
  gap: 24px;
}

body.index .s-block--special-products-slider .special-products-slider__inner > * {
  margin: 0 !important;
  min-width: 0;
}

body.index .s-block--special-products-slider .special-slider__media {
  flex: 0 0 35.5556%;
  width: 35.5556%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 512 / 650;
  align-self: flex-start;
}

body.index .s-block--special-products-slider .special-slider__media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none !important;
  object-fit: cover;
}

body.index .s-block--special-products-slider .special-slider__content {
  justify-content: flex-end;
  padding: 20px;
}

body.index .s-block--special-products-slider .special-products-slider__title {
  max-width: 100%;
  margin: 0;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgb(28 14 5 / 70%);
  color: #fff;
  font-size: clamp(18px, 1.6667vw, 24px);
  line-height: 1.5 !important;
}

body.index .s-block--special-products-slider .slider-wrap {
  flex: 1 1 0%;
  width: 0;
  padding: 40px 0 72px;
}

body.index .s-block--special-products-slider .s-slider-container {
  margin-bottom: 0;
  padding-block: 8px 12px;
}

body.index .s-block--special-products-slider .s-products-slider-card {
  box-sizing: border-box;
  width: 33.333333%;
  max-width: none;
  padding-inline: 12px;
}

body.index .s-block--special-products-slider .s-slider-nav-arrow {
  background: transparent !important;
  color: var(--sd-orange) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Image comparison: works even when the section number changes. */
body.index .s-block--compare .box-title {
  margin-bottom: 32px;
  text-align: center;
}

body.index .s-block--compare img-comparison-slider {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--sd-radius);
  --divider-width: 3px;
  --divider-color: #fff;
  --default-handle-color: #fff;
}

body.index .s-block--compare figure {
  margin: 0;
}

body.index .s-block--compare img {
  display: block;
  width: 100%;
  height: auto;
}

/* Feature cards. */
body.index .s-block--enhanced-features .enhanced-features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

body.index .s-block--enhanced-features .s-block--enhanced-features__item {
  grid-column: auto !important;
  justify-content: center;
  min-width: 0;
  min-height: 168px;
  padding: 24px 12px !important;
  border: 0;
  border-radius: var(--sd-radius);
  background: #fff;
  box-shadow: var(--sd-shadow);
  transform: none !important;
}

body.index .s-block--enhanced-features .s-block--enhanced-features__item > .absolute {
  display: none;
}

body.index .s-block--enhanced-features .feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

body.index .s-block--enhanced-features .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.index .s-block--enhanced-features .s-block--enhanced-features__item h2 {
  color: var(--sd-brown);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* About stays in its current position near the bottom of the page. */
body.index .s-block--about {
  padding-block: 0;
  background: transparent !important;
}

body.index .s-block--about .about__row {
  flex-direction: row-reverse;
  gap: 32px;
  align-items: center;
}

body.index .s-block--about .about__content,
body.index .s-block--about .about__media {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
}

body.index .s-block--about .about__subtitle,
body.index .s-block--about .about__title {
  margin: 0 0 12px;
  color: var(--sd-orange-dark) !important;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 1;
}

body.index .s-block--about .about__title:empty {
  display: none;
}

body.index .s-block--about .about__description {
  color: var(--sd-brown) !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin: 0;
}

body.index .s-block--about .about__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2;
  object-fit: cover;
  border-radius: var(--sd-radius);
}

body.index .s-block--about [data-selia='about-button'] {
  min-height: 64px;
  height: auto;
  margin-top: 16px;
  padding: 12px 32px !important;
  border: 0;
  border-radius: var(--sd-radius) !important;
  background: var(--sd-orange) !important;
  color: #fff !important;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

body.index .s-block--about [data-selia='about-button'] > i {
  display: none;
}

/* One continuous footer background, instead of restarting it twice. */
body.index .store-footer {
  margin-top: var(--sd-section-gap);
}

body.footer-is-custom .store-footer {
  background: #241306 url('https://i.ibb.co/xSdpJc4P/Frame-2147223935.png') center / cover no-repeat !important;
  color: #fff;
}

body.footer-is-custom .store-footer .store-footer__inner,
body.footer-is-custom .store-footer .footer-bottom {
  background: transparent !important;
  border: 0;
}

body.footer-is-custom .store-footer .store-footer__inner {
  padding-block: 48px 24px;
}

.store-footer .footer-title {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}

.store-footer .store-footer__brand p,
.store-footer .store-footer__menu-link,
.store-footer .links-contact {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

.store-footer .store-footer__brand p {
  max-width: 440px;
}

.store-footer .links-icon.contact-icon {
  border: 0;
}

.store-footer .footer-rights p,
.store-footer .footer-rights a {
  color: #fff;
}

/* Tablet and mobile: visual adaptation, no changes to section order. */
@media (max-width: 1023px) {
  body.index .s-block--custom-products salla-products-slider .s-products-slider-card {
    width: 33.333333%;
    padding-inline: 10px;
  }

  body.index .s-block--custom-products salla-products-slider .s-slider-container {
    margin-inline: -10px;
  }

  body.index .s-block--special-products-slider .special-products-slider__inner {
    flex-direction: column;
    gap: 24px;
  }

  body.index .s-block--special-products-slider .special-slider__media {
    flex: none;
    width: min(100%, 512px);
    margin-inline: auto !important;
    align-self: center;
  }

  body.index .s-block--special-products-slider .slider-wrap {
    flex: none;
    width: 100%;
    padding: 0 var(--sd-gutter) 56px;
  }

  body.index .s-block--enhanced-features .enhanced-features__grid {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  body {
    --sd-gutter: 16px;
    --sd-section-gap: 48px;
  }

  body.index .s-block .home-block-title,
  body.index .s-block--compare .box-title {
    margin-bottom: 24px;
  }

  body.index .s-block .home-block-title h2,
  body.index .s-block .custom-products__title,
  body.index .s-block .s-slider-block__title h2,
  body.index .s-block--compare .box-title h2 {
    font-size: 28px;
  }

  body.index .s-block .home-block-title p,
  body.index .s-block .custom-products__subtitle {
    font-size: 16px;
    line-height: 26px;
  }

  body.index .s-block--square-links .square-links__grid.container {
    max-width: 420px;
    gap: 20px 16px;
  }

  body.index .square-links__item {
    flex-basis: calc((100% - 32px) / 3);
    max-width: 120px;
  }

  body.index .square-links__item .square-links__item-title {
    margin-top: 10px;
    font-size: 18px;
  }

  body.index .s-block--custom-products salla-products-slider .s-products-slider-card {
    width: 50%;
    padding-inline: 6px;
  }

  body.index .s-block--custom-products salla-products-slider .s-slider-container {
    margin-inline: -6px;
  }

  body.index .s-block--special-products-slider .s-products-slider-card {
    width: 50%;
    padding-inline: 6px;
  }

  body.index .s-block .product-card--vertical .product-card__content {
    padding: 10px 4px 12px !important;
  }

  body.index .s-block .product-card--vertical .product-card__title {
    min-height: 48px;
    margin-bottom: 6px;
  }

  body.index .s-block .product-card--vertical .product-card__title a {
    font-size: 16px;
    line-height: 24px;
    max-height: 48px;
  }

  body.index .s-block .product-card__price .total-price {
    font-size: 20px;
  }

  body.index .s-block .product-card__price .before-price {
    font-size: 12px;
  }

  body.index .s-block .product-card__mini-cart__btn .s-button-element {
    min-height: 44px;
    padding-inline: 4px;
    font-size: 14px;
  }

  body.index .s-block--enhanced-features .enhanced-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.index .s-block--enhanced-features .s-block--enhanced-features__item {
    min-height: 148px;
    padding: 16px 8px !important;
  }

  body.index .s-block--enhanced-features .s-block--enhanced-features__item h2 {
    font-size: 15px;
  }

  body.index .s-block--about .about__row {
    flex-direction: column;
    gap: 24px;
  }

  body.index .s-block--about .about__content,
  body.index .s-block--about .about__media {
    flex: none;
    width: 100%;
  }

  body.index .s-block--about .about__subtitle,
  body.index .s-block--about .about__title {
    font-size: 28px;
  }

  body.index .s-block--about .about__description {
    font-size: 16px;
    line-height: 28px;
  }

  body.index .s-block--about [data-selia='about-button'] {
    min-height: 48px;
    padding: 10px 24px !important;
    font-size: 18px;
  }

  body.footer-is-custom .store-footer .store-footer__inner {
    padding-block: 32px 16px;
  }

  .store-footer .store-footer__grid {
    gap: 24px 16px;
  }

  .store-footer .store-footer__brand p {
    margin-inline: auto;
    text-align: center;
  }

  .store-footer .footer-title {
    font-size: 20px;
  }

  .store-footer .store-footer__brand p,
  .store-footer .store-footer__menu-link,
  .store-footer .links-contact {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.index .s-block .product-card--vertical,
  body.index .s-block .product-card__addToCart,
  .store-header .main-menu > li > a {
    transition: none !important;
  }
  
}

@media (max-width: 767px) {
  .store-header .navbar-brand img {
    height: 65px !important;
    max-height: 65px !important;
    width: auto !important;
  }
}

.s-infinite-scroll-last {
  display: none
}

body.index .main-nav-container.fixed-pinned.animated.fixed-header > div {
    background: transparent !important;

}

.main-menu-row {
    display: none
}
.s-block--special-products-slider > .box-title{
    display: none
  }
@media(min-width: 1130px){
  .special-products-slider__inner .box-title{
  display: none
  
}
  .s-block--special-products-slider > .box-title {
    display: block
  }
}

.s-advertisement {
    position: fixed;
    width: 100%;
    z-index: 1111111;
}

body.index .main-nav-container.fixed-pinned.animated.fixed-header > div {
    margin-top: 45px; 
}

body.index .main-nav-container:not(.fixed-header) .inner, body.index .main-menu-row {
    margin-top: 55px;
}