/* Add custom CSS styles below */ 

@media (min-width: 768px) {
  .square-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: center !important;
  }
}





.s-block--banners {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.s-block--banners .container {
  background: transparent !important;
  box-shadow: none !important;
}


@media (min-width: 768px) {
  .square-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: center !important;
  }
}


.banner-square,
.banner-square:hover,
.banner-square:focus {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner-square:hover {
  transform: translateY(-5px) !important;
  box-shadow: none !important;
  z-index: 2;
}


.banner-square .box-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.banner-square .box-img img {
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(20%);
  transform: scale(1);
}

.banner-square:hover .box-img img {
  transform: scale(1.04);
  filter: grayscale(0%);
}


.banner-square .box-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
  transition: background 0.4s ease;
  z-index: 1;
}

.banner-square:hover .box-img::after {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}


.banner-square .text-wrapper {
  z-index: 2;
}

.banner-square .text-wrapper h3 {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
  transition: transform 0.4s ease, letter-spacing 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .banner-square .text-wrapper h3 {
    font-size: 18px !important;
  }
}

.banner-square:hover .text-wrapper h3 {
  transform: translateY(-4px);
  letter-spacing: 0.03em;
}


.banner-square::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,0.22) 50%,
    transparent 100%
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 3;
  transition: none;
}

.banner-square:hover::before {
  left: 135%;
  transition: left 0.65s ease;
}




.banner-square,
.banner-square.zoomed-img,
.banner-square.grayscaled-img {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.banner-square .box-img,
.banner-square .box-img.rounded-md {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}


.banner-square::after,
.banner-square .box-img::before {
  background: transparent !important;
  box-shadow: none !important;
}









.s-block--fixed-banner.wide-placeholder .banner--fixed .desktop-banner {
  display: block;
}

.s-block--fixed-banner.wide-placeholder .banner--fixed .mobile-banner {
  display: none;
}


@media (max-width: 767px) {
  .s-block--fixed-banner.wide-placeholder {
    padding: 0 !important;
    margin: 0 !important;
  }

  .s-block--fixed-banner.wide-placeholder .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed .desktop-banner {
    display: none;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed .mobile-banner {
    display: block;
    width: 100% !important;
    height: 100vh !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}



@media (max-width: 767px) {
  .s-block--fixed-banner.wide-placeholder {
    padding: 0 !important;
    margin: 0 !important;
  }

  .s-block--fixed-banner.wide-placeholder .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed .desktop-banner {
    display: none;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed .mobile-banner {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: fill !important;
    aspect-ratio: auto !important;
  }
}






















.s-block--fixed-banner.wide-placeholder .banner--fixed .desktop-banner-2 {
  display: block;
}

.s-block--fixed-banner.wide-placeholder .banner--fixed .mobile-banner-2 {
  display: none;
}


@media (max-width: 767px) {
  .s-block--fixed-banner.wide-placeholder .banner--fixed .desktop-banner-2 {
    display: none;
  }

  .s-block--fixed-banner.wide-placeholder .banner--fixed .mobile-banner-2 {
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: fill !important;
  }
}


































/* ===== Cornerz Packages - Custom CSS for Salla ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

.cornerz-packages-wrapper {
  display: flex !important;
  gap: 18px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  padding: 30px 16px !important;
  direction: rtl !important;
}

.cz-card {
  position: relative !important;
  width: 300px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35) !important;
  flex-shrink: 0 !important;
  font-family: 'Cairo', sans-serif !important;
  /* ✅ transition للهوفر */
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
  cursor: pointer !important;
}

/* ✅ هوفر الكارد - يكبر مع توهج أخضر */
.cz-card:hover {
  transform: scale(1.045) !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.45),
    0 0 40px rgba(109,255,170,0.25),
    0 0 80px rgba(109,255,170,0.12) !important;
}

/* ✅ الـ overlay يتفتح شوية عند الهوفر */
.cz-card:hover .cz-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,80,30,0.05) 0%,
    rgba(0,60,22,0.18) 30%,
    rgba(0,45,15,0.52) 58%,
    rgba(0,20,6,0.82) 100%
  ) !important;
}

/* ✅ بريق على الحافة عند الهوفر */
.cz-card::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 22px !important;
  border: 1.5px solid rgba(109,255,170,0) !important;
  transition: border-color 0.35s ease !important;
  z-index: 3 !important;
  pointer-events: none !important;
}

.cz-card:hover::after {
  border-color: rgba(109,255,170,0.45) !important;
}

.cz-bg {
  position: absolute !important;
  inset: 0 !important;
  background-image: url('https://cdn.salla.sa/Nyonb/y9Jz3V6zof7MyrkYwDfaTd4EhtMoNG9xjty9Jiv2.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  z-index: 0 !important;
  /* ✅ الصورة تكبر شوية عند الهوفر */
  transition: transform 0.5s ease !important;
}

.cz-card:hover .cz-bg {
  transform: scale(1.07) !important;
}

.cz-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to bottom,
    rgba(0,60,25,0.08) 0%,
    rgba(0,50,20,0.22) 30%,
    rgba(0,40,15,0.58) 58%,
    rgba(0,25,8,0.88) 100%
  ) !important;
  z-index: 1 !important;
  transition: background 0.35s ease !important;
}

.cz-content {
  position: relative !important;
  z-index: 2 !important;
  padding: 24px 18px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 560px !important;
}

.cz-title {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #fff !important;
  text-align: center !important;
  margin-bottom: 4px !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
  letter-spacing: 0.3px !important;
  font-family: 'Cairo', sans-serif !important;
}

.cz-price-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.cz-price-old {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #FFD84D !important;
  text-decoration: line-through !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5) !important;
  font-family: 'Cairo', sans-serif !important;
}

.cz-price-new {
  font-size: 42px !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1 !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6) !important;
  font-family: 'Cairo', sans-serif !important;
}

.cz-price-new sup {
  font-size: 15px !important;
  font-weight: 700 !important;
  vertical-align: super !important;
  margin-left: 3px !important;
}

.cz-features {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-bottom: auto !important;
  padding: 0 !important;
  padding-bottom: 22px !important;
}

.cz-features li {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5) !important;
  font-family: 'Cairo', sans-serif !important;
}

.cz-features li::before {
  content: '' !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  border-radius: 50% !important;
  background: #6DFFAA !important;
  display: block !important;
  box-shadow: 0 0 7px rgba(109,255,170,0.9), 0 0 14px rgba(109,255,170,0.4) !important;
}

.cz-cta-row {
  display: flex !important;
  gap: 9px !important;
  align-items: stretch !important;
}

.cz-btn-white {
  background: #fff !important;
  color: #0aa460 !important;
  border: none !important;
  border-radius: 13px !important;
  padding: 12px 14px !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  transition: all .2s !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25) !important;
}

.cz-btn-white:hover {
  background: #e6fff2 !important;
  transform: translateY(-2px) !important;
  color: #0aa460 !important;
  text-decoration: none !important;
}

.cz-btn-gold {
  flex: 1 !important;
  background: linear-gradient(135deg, #c89000, #f5c400, #e8a800) !important;
  color: #1a1000 !important;
  border: none !important;
  border-radius: 13px !important;
  padding: 12px 16px !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  text-decoration: none !important;
  transition: all .2s !important;
  box-shadow: 0 4px 20px rgba(200,144,0,0.45) !important;
}

.cz-btn-gold:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-2px) !important;
  color: #1a1000 !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .cornerz-packages-wrapper {
    gap: 14px !important;
    padding: 20px 12px !important;
  }
  .cz-card {
    width: calc(100vw - 40px) !important;
    max-width: 340px !important;
  }
  .cz-content {
    min-height: auto !important;
  }
}