.enhanced-title-border{display:none}

/* --------------------------- GENERAL FIXES --------------------------- */
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.product-container custom-salla-product-card,
.product-single salla-product-gallery,
.custom-product-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.product-container custom-salla-product-card > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.custom-product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  align-self: stretch;
  width: 100%;
  margin-top: 1rem;
}

.product-container .product-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.salla-product-gallery salla-gallery,
salla-product-gallery salla-gallery > div {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

salla-product-gallery salla-gallery img {
  object-fit: contain;
  max-height: 70vh;
  width: auto;
}

/* --------------------------- CART AND ICONS --------------------------- */
.cart-button .icon,
.cart-button .icon svg {
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  width: 28px;
  height: 28px;
}

[dir="rtl"] .cart-button .icon,
[dir="rtl"] .cart-button .icon svg {
  stroke: #fff;
}

.cart-button .count {
  background-color: #000;
  color: #fff;
}

/* --------------------------- OFFER SLIDER --------------------------- */
.swiper-slide {
  height: fit-content !important;
  display: flex !important;
  align-self: stretch !important;
}

.s-offer-modal-product,
.offer-slider {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  display: flex;
  gap: 1rem;
}

.offer-slider .product-card__mini-cart {
  margin-top: 1rem;
  max-width: 100%;
  min-width: 220px;
  flex: 0 0 auto;
}

/* --------------------------- NAVIGATION --------------------------- */
.main-nav-container {
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(0px);
}

body.scrolled .main-nav-container {
  background-color: rgba(255, 255, 255, 0.1); /* Or use 0.05 for subtle effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .main-nav-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* --------------------------- LANGUAGE + RTL FIX --------------------------- */
[dir="rtl"] .product-container custom-salla-product-card {
  flex-direction: row-reverse;
}

[dir="rtl"] .custom-product-info,
[dir="rtl"] .product-price {
  align-items: flex-end;
  text-align: right;
}

/* --------------------------- INSTALLMENT + HIDDEN --------------------------- */
salla-installment {
  display: none !important;
}

/* --------------------------- CHECKOUT FIX --------------------------- */
.checkout-products-section > div > div:first-child > div {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.checkout-products-section .product__thumbnail,
.checkout-products-section .product__info {
  width: auto !important;
  flex-shrink: 0;
}

/* --------------------------- BUTTONS --------------------------- */
.product-card__buttons > div.addToCart {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* --------------------------- CLEANUP --------------------------- */
salla-mini-checkout-widget,
.product-single salla-mini-checkout-widget {
  display: none !important;
}

/* --------------------------- HEADER SCROLL DETECTION --------------------------- */
body.scrolled .main-nav-container {
  /* Already handled above */
}



.s-offer-modal-type-products .s-modal-body{
    position: relative;
}

.enhanced-title-border{display:none}