/* Add custom CSS styles below */ 
body {
  background-color: #fff;
}
.top-navbar {
  background-color: #01262f !important;
}
.top-navbar * {
  color: #fff !important;
}
.header-search input {
  background-color: #fff !important;
  border-radius: 30px;
  color: #000 !important;
}
.header-search input::placeholder {
  color: #000 !important;
}
.header-search .s-search-product-details *{
  color: #000 !important;
}
.header-search .s-search-icon svg {
  fill: #01262f !important;
}
#mainnav {
  background-color: #fff !important;
}
.sicon-menu::before {
  color: #01262f !important;
}
.header-btn__icon {
  color: #01262f!important;
  border-color: #01262f !important;
}
.s-user-menu-trigger {
  background-color: transparent !important;
}
.s-cart-summary-total {
  color: #d9a782 !important;
}
.s-cart-summary-count {
  background-color: #d9a782;
}
.sub-menu * {
  color: #000;
}
.mm-spn--open li a {
  color: #565353 !important;
}
.mm-spn--open li a:hover {
  color: #c5a25c!important;
}
.sub-menu {
  color: #333;
}
@media (max-width: 1024px) {
  .mm-spn--open {
    background-color: #fff !important;
  }
  .mm-spn--open li ,
  .mm-spn--open li a {
    color: #565353!important;
  }
  .mm-spn--open li:hover ,
  .mm-spn--open li a:hover {
    color: #c5a25c !important;
  }

  #mobile-menu::after {
    background-color: #d9a782 !important;
    color: #fff !important;
  }
}

/* Products Cards */
custom-salla-product-card {
  background-color: #fff !important;
  border: 0px solid #000 !important;
}
salla-add-product-button button {
  background-color: #01262f !important;
  color: #fff!important;
  border: 1px solid transparent !important;
}
salla-add-product-button:hover button {
  background-color: #fff!important;
  color: #01262f !important;
  border: 1px solid #01262f !important;
}
.s-product-card-content-main * {
  color: #565353 !important;	
}
.s-product-card-content-subtitle *{
  color: #010101 !important;
}
.s-product-card-price {
  color: #bd1414 !important;
}
.s-product-card-sale-price h4{
  color: #bd1414 !important;
}
.s-product-card-vertical .s-product-card-wishlist-btn button {
  background-color: #01262f !important;
  color: #fff;
}
/* products Title */
.s-block--special-products .s-block__title {
  justify-content: flex-start !important;
  font-size: 25px;
}
.s-block--special-products .s-block__title button
{
  color: #000 !important;
}
.s-slider-block__title {
  justify-content: center;
  margin-bottom: 35px;
}
.s-slider-block__title-left {
  display:none;
}
.s-slider-block__title-right,
.s-slider-block__title-right h2{
  padding-left: 0px;
}
.s-slider-block__title-right {
  position: relative;
}
.s-slider-block__title-right h2 {
  font-size: 35px;
  color: #01262f;
  background-color: #fff;
  padding: 0px 20px;
}
.s-slider-block__title-right::after {
  content: "";
  width: 160%;
  height: 2px;
  background-color: #01262f;
  position:absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .s-slider-block__title-right h2 {
  font-size: 24px;
}

}
/* Banners */
.s-block--fixed-banner .container {
  max-width: 100% !important;
  padding: 0px !important;
}
.index .s-block--fixed-banner img {
  background-color: transparent !important;
  border-radius: 0;
}
.s-block--fixed-banner:first-of-type {
  margin-top: 0px !important;
}


/* Footer Colorization */
footer {
  background-color: #0d2f37 !important;
}
.store-footer__inner {
  position: relative;
  z-index: 2;
  background-color: #0d2f37 !important;
}

.store-footer__inner *{
  color: #fff !important;
}
.store-footer h3 {
  color: #ba9246 !important;
}
.copyright-text p {
  color: #fff !important;
}
.copyright-text p a:hover {
  color: #fff !important;
  opacity: 0.8;
}
/* Logo */
.store-footer__inner .grid > div:nth-of-type(1) > a::after {
  content: "";
  background: url("https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/bRzydA/0ETdhZg7avB4gdL17sCrYfIsgcJf2AyReLh64x2i.png");
  display: block;
  background-size: contain;
  width: 100px;
  height: 120px;
  background-repeat: no-repeat;
}
.store-footer__inner .container > div {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 0;
  padding-bottom: 20px;
}
.store-footer__inner .container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.store-footer__inner .container > div:nth-of-type(1) {
  grid-column: span 1 / span 2;
}
.store-footer__inner + div {
  background: transparent;
  max-width: 100%;
  justify-content: space-around;
}
.store-footer__inner > div a h3 {
  display: none;
}
@media (max-width: 992px) {
  .store-footer__inner .container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* custom ScrollBar */
/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #fff;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #0d2f37;
}



/* === Overlay === */
.fabric-calc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* === Modal Box === */
.fabric-calc-modal {
  background: #fff;
  padding: 20px;
  border-radius: var(--modal-radius, 10px);
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-feature-settings: inherit;
}

/* === Form Elements === */
.fabric-calc-form h2 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #333;
}

.fabric-calc-row {
  margin-bottom: 12px;
}

.fabric-calc-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.fabric-calc-row input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: var(--input-radius, 6px);
  font-size: 14px;
  font-family: inherit;
  font-feature-settings: inherit;
}

/* === Buttons (Unified Style) === */
.fabric-calc-btn,
.fabric-calc-primary,
.fabric-calc-secondary {
  padding: var(--btn-padding, 6px 12px);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--btn-radius, 6px);
  border: 0;
  cursor: pointer;
  font-size: var(--btn-font-size, 14px);
  font-weight: var(--btn-font-weight, 600);
  font-family: inherit;
  font-feature-settings: inherit;
  transition: background 0.2s ease-in-out;
}

.fabric-calc-btn:hover,
.fabric-calc-primary:hover,
.fabric-calc-secondary:hover {
  background: var(--color-primary-hover, #095a36);
}

/* Secondary button variation */
.fabric-calc-secondary {
  background: #666;
}

.fabric-calc-secondary:hover {
  background: #444;
}

/* === Actions container === */
.fabric-calc-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* === Result View === */
.fabric-calc-result-view {
  text-align: center;
}

#fabric-result-meters {
  font-size: 22px;
  font-weight: 700;
  color: #0b6f44;
  margin-bottom: 8px;
}

#fabric-result-details {
  background: #fafafa;
  padding: 12px;
  border-radius: 6px;
  text-align: right;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}


.fabric-inline-inner {
  margin-top: 12px;
  background: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  animation: fadeIn 0.3s ease-in-out;
}

.fabric-inline-inner strong {
  color: var(--color-primary);
  font-weight: 700;
}

.fabric-inline-inner::before {
  content: "✅ النتيجة";
  display: inline-block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.s-block-custumized-links .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-items: center; /* يخلي الصور في النص */
}

.s-block-custumized-links a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-block-custumized-links a img {
  width: 100%;
  max-width: 250px; /* حجم موحّد للصور */
  height: auto;
  object-fit: contain;
}