/* ==========================================================================
   1. Root Variables
   ========================================================================== */
:root {
  --screen-logo: url(https://cdn.salla.sa/Pomnx/yxXqceCl0jBF7i8YjbnPQsF3FgE4KtHZm2yIksTz.png);
  /* --screen-logo: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/Pomnx/kXevYDezo588LNsxS7EqDiijBiU64euy9VATl9tP.png); */
  --main-color: #4f511b;
  --second-color: #fff;
  --third-color: #a0a526;
  --fourth-color: #fff;
}
.s-slider-v-centered .s-slider-block__title-nav button.swiper-button-disabled

 {
  
    display: none;
}

/* ==========================================================================
   2. Global Styles & Resets
   ========================================================================== */
body {
content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://i.ibb.co/qYQxV51r/aiease-1748938636730.png');
  background-size: fill;
  background-position: center;
 
  z-index: -1;
  background-repeat: no repeat;
}
/*
.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://i.ibb.co/20DnXbpR/aiease-1748938636730.jpg');
  background-size: fill;
  background-position: center;
  opacity: .1; /* هنا تغير الشفافية */
  z-index: -1;
  background-repeat: no repeat;
}
*/
/* Page loading overlay */
body:not(.product-index):not(.product-single):after {
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  z-index: 999999; /* High z-index */
  background-color: #4f511b;
  background-image: var(--screen-logo); /* Use variable */
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
  animation-name: fade-in;
  animation-duration: 1s;
  transform: scale(0);
  border: none;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin-top: 10px; /* Consider using a consistent spacing unit or reset */
}

strong {
  color: var(--main-color) !important;
}

small {
  color: var(--main-color) !important;
}

.container {
  max-width: 1700px !important; /* Original: 1600px, then 1700px. Taking the last one. */
}

@media (min-width: 1280px) {
  .container {
    max-width: 1600px; /* This seems to be overridden by the one above. Review needed. */
  }
}

/* ==========================================================================
   3. Animations
   ========================================================================== */
@keyframes logoAnimation {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.9;
  }
  50% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  75% {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.9;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  85% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(.1);
  }
}

/* Animation for .sicon-headphones (rotation) */
@keyframes pulse-rotate { /* Renamed to avoid conflict */
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Animation for .sicon-headphones (scaling) - Applied via .sicon-headphones selector */
@keyframes pulse-scale { /* Renamed to avoid conflict */
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.7);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(20px);
  }
}

/* ==========================================================================
   4. Utility Classes
   ========================================================================== */
/* Dimensions */
.w-16 {
  width: 19rem;
}

.h-16 {
  height: 10rem;
}

.py-8 {
  padding-top: 0rem;
  padding-bottom: 0rem;
}

.grid-flow-row {
  grid-auto-flow: column;
}

.lazy__bg {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-size: contain !important; /* Was 'cover !important' then 'contain !important' */
  background-position: center;
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  background-repeat: no-repeat;
}

@media(min-width: 769px) {
  .lazy__bg {
    background-size: cover !important; /* Specific override for larger screens */
    width: 100%;
  }
}

.has-overlay:after {
  background: unset;
}

.shadow-default {
  --tw-shadow: unset !important;
}

.bg-inherit {
  background-color: #4e5120; /* Consider using a variable if this color is repeated */
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */
.top-navbar {
  background-color: #5e632d !important;
  margin-left: 0;
  margin-right: 0;
  max-width: 2500px;
  /* z-index will be managed with #mainnav if it's part of it, or separately if needed */
}

.top-navbar .s-search-input {
  border-style: none;
  background-color: rgb(58 61 26);
}

.top-navbar salla-contacts {
  display: none;
}

.sicon-user-circle:before {
  content: "\f072";
  color: #fff;
}

.sicon-user-circle { /* Base style */
  color: var(--third-color) !important;
}

.sicon-user-circle:hover::before {
  color: var(--third-color) !important;
}

.s-cart-summary-total {
  color: #ffffff !important;
}

.s-search-icon svg {
  height: 1rem;
  width: 1rem;
  fill: #fff;
}

#mainnav {
  background: #4f511b;
  border-radius: 0;
  box-shadow: 1px 2px 6px #ffffff;
  background-blend-mode: overlay;
  padding: 0px 8px;
  order: -1; /* For flex order */
  z-index: 999999999999; /* High z-index */
}

#mainnav li a {
  font-weight: bolder !important; /* Was medium, then bolder. Taking last one. */
  margin-right: 20px;
  font-size: 1rem;
  color: #fff;
}

#mainnav li a:hover {
  color: var(--third-color) !important;
}

.navbar-brand img {
  max-height: 60px !important;
  animation: logoAnimation 3s infinite;
}

#mobile-menu {
  /*
  background-image: url(https://i.postimg.cc/LX8JHyqm/ad7a16e639bb09f04539c7ca39daa08e.jpg);
  background-color: #E5E1D9;*/
  background-blend-mode: overlay;
  z-index: 999999999999; /* High z-index */
}

.main-menu {
  color: var(--main-color);
}

@media only screen and (min-width: 1024px) {
  .main-menu li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    color: var(--third-color);
  }
}

.s-menu-topnav-list {
  display: none;
}

.sicon-menu {
  color: var(--third-color);
}

.header-btn__icon {
  border: none;
  color: var(--third-color) !important;
}

.mm-spn.mm-spn--light {
  color: var(--main-color);
  background: #fdffd7;
}

.mm-spn.mm-spn--navbar.mm-spn--main:where([dir="rtl"], [dir="rtl"] *)::after {
  padding-right: 0.75rem;
  background: #E5E1D9; /* Consider using a variable */
}

.sub-menu {
  background-color: var(--second-color) !important;
}

.mm-ocd--open,
.mm-ocd__backdrop {
  z-index: 999999999999999999; /* Extremely high z-index */
}

/* ==========================================================================
   6. Sliders
   ========================================================================== */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide {
  width: 100%;
}

section.s-block.s-block--photos-slider .carousel-slider .swiper-wrapper > div {
  padding: 0 !important;
}

section:first-of-type.s-block.s-block--photos-slider { /* More specific selector placed later */
  margin-top: 0;
}

[dir=rtl] salla-slider.photos-slider .swiper {
  padding: 0;
}

salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: .5rem;
  padding-right: .5rem;
}

@media (min-width: 768px) {
  salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0rem;
    padding-right: 0rem;
  }
}

@media (min-width: 1024px) {
  salla-slider.photos-slider .swiper-slide {
    /* margin-left: 1rem; */ /* This was defined twice, taking the one without margin first */
    /* margin-right: 1rem; */
    width: 100%; /* This is duplicated, already defined above */
  }
   salla-slider .slide--one-sixth { /* Specific slider item width */
    width: 46%;
  }
}

salla-slider[type]:not(.hydrated)>div:where([dir="rtl"], [dir="rtl"] *),
salla-slider[type]:not(.hydrated) .swiper>div>div:where([dir="rtl"], [dir="rtl"] *),
.carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
  padding-left: 0rem;
}

.swiper { /* General swiper padding */
  padding-top: 30px;
  padding-bottom: 30px;
}

.swiper-slide a i { /* Hides icon text by making it transparent, affects all swiper slide icons */
  color: transparent;
}

.swiper-pagination {
  display: unset; /* This might override default display behavior */
}

salla-slider.photos-slider .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 9px;
}

.s-slider-block__title-right h2 {
  margin: 0;
  margin-bottom: 32px;
  font-size: 20px !important;
  color: var(--color-main); /* Ensure --color-main is defined or use --main-color */
  padding: 12px 12px;
  border-bottom: 4px solid #4f511b; /* Use var(--main-color) */
  border-radius: 16px;
  width:180px;
}

.s-slider-block__title {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  align-content: center;
}

.s-slider-block__title-left {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  width: 100%;
}
/* .s-slider-block__title-left{ display:none } */ /* Commented out rule */

.s-slider-block__title h2:where([dir=rtl], [dir=rtl] *) {
  padding-left: 1rem !important;
}

.s-slider-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.s-slider-block__title-right { /* Text color for title right */
  color: var(--main-color);
}

.s-slider-block__title-left a {
  color: var(--main-color) !important;
}

/* ==========================================================================
   7. Content Blocks (Categories, Banners, Features etc.)
   ========================================================================== */
/* Category Entry */
.slide--cat-entry {
  display: flex;
  height: 17rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  --tw-border-opacity: 0; /* Might be from Tailwind or similar */
  background: transparent !important;
}

.s-block--categories .swiper-wrapper a {
  background-color: transparent !important;
}

/* Banners */
.s-block--banners {
  margin-top: 0; /* Was 0 then redefined with more specific padding */
  width: 100%; /* Was 98% then 100% */
  padding: 15px; /* Was 20px then 15px */
  padding-top: 40px;
}

.banner--fixed img {
  display: block;
  width: 100%;
  border-radius: 0 !important; /* Was 0.375rem then 0 */
  border-style: none;
  /* --tw-bg-opacity: 1; */ /* Commented out to use transparent */
  background-color: transparent;
  object-fit: cover;
  background: none; /* Ensures no background color if image fails, or for transparency */
}

/* .banner--fixed img { border-radius:100px!important } */ /* Commented out conflicting rule */

.banner-entry { /* Base styles, responsive overrides below */
  /* Default size, will be overridden by media queries */
}

@media (max-width: 480px) {
  .banner-entry {
    width: 120px;
    height: 135px;
    margin: auto;
  }
}

@media (min-width:480px) and (max-width: 650px) {
  .banner-entry {
    width: 150px;
    height: 150px;
    margin: auto;
  }
}

@media (min-width:650px) and (max-width: 768px) {
  .banner-entry {
    height: 210px;
    width: 210px;
    margin: auto;
  }
}

@media (min-width: 769px) { /* Combined with 1024px definition if identical */
  .banner-entry {
    height: 255px; /* Overridden by 1024px block if wider */
    width: 255px;  /* Overridden by 1024px block if wider */
    margin: auto;
  }
}

@media (min-width: 1024px) {
  .banner-entry {
    height: 330px;
    width: 270px;
    margin: auto;
  }
}

@media (min-width: 480px) { /* For text-with-border inside banner-entry */
  .banner-entry h3.text-with-border {
    border-width: 0 !important;
  }
}

@media (min-width: 768px) { /* For two-row banner */
  .two-row .banner-entry:first-child {
    height: auto !important;
  }
}

/* Features Block */
.s-block--features__item {
  background: var(--main-color) !important; /* Was transparent then var(--main-color) */
  border-radius: 50px; /* Was default then 30px then 50px */
  box-shadow: 0 2px 15px rgb(76 81 39 / 0%) !important; /* Ensure color definition */
  border: 1px solid rgba(255, 255, 255, .29) !important;
  font-size: 30px !important; /* Applied to item itself */

  transition-duration: 0.4s;
  transition-property: scale;
  width: 100%; /* Added width */
  /* text-align will be inherited or set on children */
}

.s-block--features__item .feature-icon {
  background-color: #ffffff;
}

.s-block--features__item .feature-icon i {
  color: #4c5127; /* Use var(--main-color) or similar */
}

.s-block--features__item h2 {
  color: #ffffff !important; /* Was #000 then #fff */
  font-size: 1.1rem; /* Was default then 1.1rem */
  margin-bottom: 0.4rem;
}

.s-block--features__item p {
  color: #ffffff !important; /* Was #000 then white then #fff */
  font-size: 1.0rem;
}

.s-block--features__item:hover {
  scale: 1.08;
  box-shadow: 0px 0px 10px var(--color-secondary); /* Ensure --color-secondary is defined */
}

/* Generic Block Titles */
.s-block__title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-block__title h2 {
  font-size: 40px !important;
  display: none; /* Title is hidden here */
}

/* ==========================================================================
   8. Product Cards
   ========================================================================== */
.s-product-card-entry {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  border-radius: 20px;
}

.s-product-card-content {
  background: linear-gradient(to top, rgb(142 149 69 / 27%), rgb(91 97 58 / 0%));
  border-radius: 0 0 17.5px 17.5px;
  padding: .75rem;
  justify-content: center;
  align-items: center;
  /* display: flex; and flex-direction: column; might be needed for justify/align */
}

.s-product-card-content-main {
  text-align: center;
}

.s-product-card-content-title a {
  color: var(--main-color);
  height: 20px;
  max-height: 20px;
  overflow: hidden;
  display: block; /* Or inline-block for height to take effect */
}

.s-product-card-content-title a:hover {
  color: var(--third-color);
}

.s-product-card-content-sub {
  justify-content: center; /* Needs display:flex on parent or itself */
}

.s-product-card-wishlist-btn span { /* For wishlist button text */
  color: #fff;
}

/* Horizontal Product Cards */
.s-products-list-horizontal-cards {
  gap: 1rem; /* Default gap */
}

@media (max-width: 650px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* gap: 1rem; */ /* Already defined above */
  }
  .s-product-card-horizontal salla-button.s-product-card-wishlist-btn:where([dir="rtl"], [dir="rtl"] *) {
    right: unset;
    left: 0;
    bottom: 18.6rem;
  }
}

@media(max-width: 850px) and (min-width:650px) { /* Corrected min-width */
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 850px) { /* Corrected from 850px */
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.s-product-card-horizontal .s-product-card-image {
  width: 100% !important;
}

.s-product-card-horizontal .s-product-card-image:where([dir="rtl"], [dir="rtl"] *) {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 20px;
  /* border-bottom-left-radius needs to be defined if it's not 0px */
}

/* Product Slider Cards */
@media (min-width: 1024px) {
  .s-products-slider-card {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.store-footer {
  color: white;
  background: #4c5127 !important; /* Use var(--main-color) or a new variable */
  padding: 30px;
  font-size: 14px;
  text-align: center;
}

.s-social-list {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
}

/*
.store-footer__inner {
  background: rgba(255,255,255,.98)!important;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(109, 77, 159,.9)!important;
  border: 1px solid rgba(255,255,255,.29)!important
}
*/

.store-footer__inner { /* Base styles, overridden by .footer-is-light */
  text-align: center !important;
}

.store-footer__inner .flex {
  justify-content: center;
}

.store-footer__inner .max-w-sm {
  margin: auto;
  color: #000; /* Overridden by .footer-is-light */
  font-size: 15px;
}

.store-footer h3 {
  color: var(--main-color); /* Overridden by .footer-is-light */
  font-size: 1.3rem;
}

.store-footer h3:hover {
  color: var(--third-color);
  opacity: 1;
  cursor: pointer;
}

.footer-list { /* Text color for footer list items */
  color: var(--main-color); /* Overridden by .footer-is-light */
}

.store-footer a {
  color: #000; /* Overridden by .footer-is-light */
  font-size: 15px;
}

.store-footer i {
  color: var(--third-color);
  border-color: var(--main-color); /* Check if this is for a border around the icon */
}

.footer-is-light .store-footer {
  --tw-bg-opacity: 1;
  background-color: rgba(249, 250, 251, 1); /* fallback */
  background-color: rgba(249, 250, 251, var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgba(55, 65, 81, 1); /* fallback */
  color: rgba(55, 65, 81, var(--tw-text-opacity, 1));
  border-radius: 40px 40px 0 0;
}

.footer-is-light .store-footer .store-footer__inner {
  --tw-border-opacity: 1;
  border-bottom-color: rgba(229, 231, 235, 1); /* fallback */
  border-bottom-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgba(243, 244, 246, 1); /* fallback */
  background-color: rgba(243, 244, 246, var(--tw-bg-opacity, 1));
  border-radius: 16px; /* was 20px then 16px */
}

@media (min-width: 1024px) {
  .store-footer__inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Commented out logo in footer h3 */
/*.store-footer a h3:nth-child(1) {
  font-size: 1rem;
  color: transparent;
  background-image: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/Pomnx/yxXqceCl0jBF7i8YjbnPQsF3FgE4KtHZm2yIksTz.png);
  background-size: 100%;
  background-repeat: no-repeat;
  scale: 2;
  line-height: 5;
  background-position: center;
  margin-top: 0px;
  animation: logoAnimation 3s infinite;
}*/


  .copyright-text p {
    color: rgb(255 255 255);
  }

/* Incomplete selector .copyright-te - assuming it's .copyright-text */


/* ==========================================================================
   10. Buttons & Form Elements
   ========================================================================== */
.s-button-primary-outline {
  color: var(--third-color);
  background-color: var(--second-color);
}

.s-button-primary-outline:hover {
  background-color: #4e5120; /* Fallback, was #414042 then #4e5120 */
  fill: var(--color-primary-reverse); /* Fallback, was #ff6767 then var */
  color: #ffffff; /* Fallback, was #ff6767 then var, then #ffffff */
}

@media (max-width: 768px) {
  /* .s-button-primary-outline is already defined above, this doesn't add new properties */
  .s-button-primary-outline:hover { /* This is identical to the one above, can be removed if truly identical */
    background-color: #4e5120;
    color: #ffffff;
    fill: var(--color-primary-reverse); /* Ensure this variable is defined */
  }
}

.s-filters-footer .s-button-gray-outline:hover,
.s-filters-widget-values .s-button-gray-outline:hover {
  --tw-bg-opacity: unset;
  background-color: transparent !important;
  color: var(--main-color) !important;
}

.s-filters-footer .s-button-gray-outline,
.s-filters-widget-values .s-button-gray-outline {
  --tw-bg-opacity: unset;
  background-color: var(--main-color) !important;
  color: var(--second-color) !important;
}

/* ==========================================================================
   11. Icons (General)
   ========================================================================== */
.sicon-full-wallet,
.sicon-shipping-fast,
.sicon-whatsapp2 {
  color: var(--main-color) !important;
}

.sicon-filter {
  color: var(--main-color) !important;
}

.sicon-headphones {
  animation: pulse-scale 1s infinite; /* Changed from pulse to pulse-scale */
}

.sicon-shipping:hover { /* Assuming this is a general icon, not specific to features */
  color: var(--third-color);
}

/* ==========================================================================
   12. Specific Section Overrides (nth-of-type) & Animations
   ========================================================================== */
/* Section visibility animation */
section {
  opacity: 0;
  transform: translateY(50px); /* Slide up effect */
  transition: opacity 1s ease, transform 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* section:first-of-type is for s-block--photos-slider, already grouped there. */

section:nth-of-type(1) {
  margin-top: 0rem !important;
}

section:nth-of-type(2) {
  /* Title right styles */
  & .s-slider-block__title-right h2 {
    font-size: 20px !important;
    color: var(--color-main); /* ensure --color-main is defined or use var(--main-color) */
    margin-bottom: 10px;
    width: 168px; /* Added from a duplicate definition */
  }
  /* General title styles */
  & .s-slider-block__title {
    margin:0;
  }
}
/* Removed duplicate section:nth-of-type(2) styles as they are merged above. */


/* Sections 3 to 17 common styles for large screens */
@media (min-width: 1024px) {
  section:nth-of-type(3),
  section:nth-of-type(4),
  section:nth-of-type(5),
  section:nth-of-type(6),
  section:nth-of-type(7),
  section:nth-of-type(8),
  section:nth-of-type(9),
  section:nth-of-type(10),
  section:nth-of-type(11),
  section:nth-of-type(12),
  section:nth-of-type(13),
  section:nth-of-type(14),
  section:nth-of-type(15),
  section:nth-of-type(16),
  section:nth-of-type(17) {
    margin: auto;
    padding-top: 0rem !important;
    /* .banner--fixed img { border-radius:100px!important } */ /* Commented out */

    &.s-block { /* If these sections also have .s-block class */
      margin-top: 1.5rem !important;
      max-width: 2500px;
    }
  }
}

section:nth-of-type(3),
section:nth-of-type(6) { /* Specific background for sections 3 and 6 */
  background: transparent !important;
}

section:nth-of-type(4),
section:nth-of-type(5) {
  padding-top: .5rem !important;
  &.bg-gray-100 { /* If they have this class */
    background-color: transparent !important;
  }
}

/* Section 30 - Grid Layout */
section:nth-of-type(30) {
  .lazy__bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: 100% 100% !important;
    background-position: center;
  }

  padding: 0px !important;
  padding-top: 40px !important;
  padding-left: 10px !important;

  .banner-entry {
    padding: 0px !important;
    border-radius: 0px;
  }

  .square-photos { /* Common style for all grid sizes in section 30 */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }

  @media (max-width: 480px) {
    .grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 10px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 13; }
    .grid a:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 8; }
    .grid a:nth-child(3) { grid-column: 2 / 3; grid-row: 7 / 13; }
  }

  @media (min-width: 480px) and (max-width: 768px) {
    .grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 10px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 17; }
    .grid a:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 10; }
    .grid a:nth-child(3) { grid-column: 2 / 3; grid-row: 8/ 17; }
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    .grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 10px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 23; }
    .grid a:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 13; }
    .grid a:nth-child(3) { grid-column: 2 / 3; grid-row: 10 / 23; }
  }

  @media (min-width: 1024px) and (max-width: 1200px) {
    .grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 10px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 25; }
    .grid a:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 15; }
    .grid a:nth-child(3) { grid-column: 2 / 3; grid-row: 12 / 25; }
  }

  @media (min-width: 1200px) {
    .grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 10px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 31; }
    .grid a:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 18; }
    .grid a:nth-child(3) { grid-column: 2 / 3; grid-row: 15 / 31; }
  }
}

/* Section 40 - Another Grid Layout */
section:nth-of-type(40) {
  width: 100%;
  .lazy__bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100%;
    background-size: 100% 100% !important;
    background-position: center;
  }

  padding: 0px !important;
  padding-top: 40px !important;
  padding-right: 10px !important; /* Note: padding-left is not defined, unlike section 30 */

  .banner-entry { /* Banner entry styles specific to section 40 */
    padding: 0px !important;
    border-radius: 0px;
    /* Responsive sizes for banner-entry within section 40 */
  }
  @media (max-width: 480px) {
    .banner-entry { width: 180px; height: 180px; margin: auto; }
  }
  @media (min-width:480px) and (max-width: 650px) {
    .banner-entry { width: 200px; height: 200px; margin: auto; }
  }
  @media (min-width:650px) and (max-width: 768px) {
    .banner-entry { height: 260px; width: 260px; margin: auto; }
  }
  @media (min-width: 769px) { /* Base for 769px and up */
    .banner-entry { height: 305px; width: 305px; margin: auto; }
  }
  @media (min-width: 1024px) { /* Override for 1024px and up */
    .banner-entry { height: 380px; width: 320px; margin: auto; }
  }


  .square-photos { /* Common style for all grid sizes in section 40 */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }

  @media (max-width: 480px) {
    .grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 5px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 2 / 3; grid-row: 1 / 13; }
    .grid a:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 8; } /* Corrected grid-column */
    .grid a:nth-child(3) { grid-column: 1 / 2; grid-row: 6 / 13; } /* Corrected grid-column */
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* Tailwind-like class */
    .gap-3 { gap: 1rem; } /* Tailwind-like class, original was 1rem not 0rem here */
  }

  @media (min-width: 480px) and (max-width: 768px) { /* Combined 480-650 and 650-768 for grid structure */
    .grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 5px 0px 5px;
    }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gap-3 { gap: 1rem; }
    /* Child positioning specific to ranges */
    @media (min-width: 480px) and (max-width: 650px) {
        .grid a:nth-child(1) { grid-column: 2 / 3; grid-row: 1 / 17; } /* Example, adjust rows as per original logic */
        .grid a:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 10; }
        .grid a:nth-child(3) { grid-column: 1 / 2; grid-row: 8 / 17; }
    }
     @media (min-width: 650px) and (max-width: 768px) {
        .grid a:nth-child(1) { grid-column: 2 / 3; grid-row: 1 / 17; }
        .grid a:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 10; }
        .grid a:nth-child(3) { grid-column: 1 / 2; grid-row: 8 / 17; }
    }
  }

  @media (min-width: 768px) and (max-width: 1024px) {
    .grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 5px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 2 / 3; grid-row: 1 / 23; }
    .grid a:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 13; }
    .grid a:nth-child(3) { grid-column: 1 / 2; grid-row: 11 / 23; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gap-3 { gap: 1rem; }
  }

  @media (min-width: 1024px) and (max-width: 1200px) {
    .grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 5px 0px 5px;
    }
    .grid a:nth-child(1) { grid-column: 2 / 3; grid-row: 1 / 27; }
    .grid a:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 15; }
    .grid a:nth-child(3) { grid-column: 1 / 2; grid-row: 12 / 27; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gap-3 { gap: 1rem; }
    .s-products-slider-card { width: 100%; max-width: 320px; }
  }

  @media (min-width: 1200px) {
    .grid {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto auto auto;
      gap: 30px;
      padding: 0px 5px 0px 10px; /* padding-left is 10px here */
    }
    .grid a:nth-child(1) { grid-column: 2 / 3; grid-row: 1 / 31; }
    .grid a:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 18; }
    .grid a:nth-child(3) { grid-column: 1 / 2; grid-row: 15 / 31; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gap-3 { gap: 1rem; }
    .s-products-slider-card { width: 100%; max-width: 320px; }
  }
}

/* General responsive grid column utilities (Tailwind-like) */
/* These might be better in a dedicated utilities section or integrated if only used once */
@media (max-width: 480px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gap-3 { gap: 0rem; } /* Overrides section 40's 1rem for this breakpoint if more general */
}

@media (min-width:480px) and (max-width: 650px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gap-3 { gap: 1rem; }
}

@media (min-width:650px) and (max-width: 768px) { /* Adjusted to avoid overlap with 769px */
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } /* !important from original */
  .gap-3 { gap: 1rem; }
}

@media (min-width: 769px) { /* Styles for 769px and up */
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } /* !important from original */
  .gap-3 { gap: 1rem; }
  /* section:nth-of-type(4),section:nth-of-type(6) banner-entry styles were commented out */
}

@media (min-width: 1024px) {
  /* .md\:grid-cols-3 already defined and !important */
  /* .banner-entry sizes are handled in their own section */
  /* .gap-3 already defined */
  .lg\:grid-cols-6 { /* This was lg:grid-cols-4 originally defined as repeat(4...) */
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* ==========================================================================
   13. Miscellaneous
   ========================================================================== */
#contact-slot a {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.text-gray-400 a { /* For links within text-gray-400 */
  color: #000 !important;
}

@media(max-width: 480px) {
  .text-center::before { /* This is an odd selector, ::before usually needs content */
    margin-bottom: 10px;
  }
}

/* Commented out general title hiding */
/*.s-block__title , .s-slider-block__title{
display:none;
}*/

/* Incomplete selector */
.copyright-te 
/* Assuming this was meant to be .copyright-text or similar. */
/* Styles for it are already with the footer section. */