/* ÅžavsÃ¼t â€” Ekomart ilk yeÅŸil tema */

:root {
  --color-primary: #629d23;
  --color-heading-1: #1f2937;
  --sav-breadcrumb-bg: #f3f4f6;
}

/* Ãœst breadcrumb (Ana sayfa â€º â€¦): ana gÃ¶vde beyaz kalsa da ÅŸerit aÃ§Ä±k gri */
.rts-navigation-area-breadcrumb,
.rts-navigation-area-breadcrumb.bg_light-1 {
  background: var(--sav-breadcrumb-bg) !important;
}

/* Ana iÃ§erik sarmalayÄ±cÄ±sÄ± (rts-section-gap) altta 60px boÅŸluk bÄ±rakÄ±yor; ÅŸerit en sonda
   olduÄŸunda bu boÅŸluk yeÅŸil alanÄ±n altÄ±nda aÃ§Ä±k renk ÅŸerit gibi gÃ¶rÃ¼nÃ¼yor. */
.background-light-gray-color.rts-section-gap.bg_light-1:has(.rts-shorts-service-area:last-child) {
  padding-bottom: 0 !important;
}

/* Åžerit zaten rts-section-gap ile alt boÅŸluk veriyor; footer Ã¼st padding ile birleÅŸimi yumuÅŸat */
.background-light-gray-color .rts-shorts-service-area.rts-section-gap.bg_primary:last-child {
  padding-bottom: 48px;
}

@media (max-width: 767px) {
  .background-light-gray-color .rts-shorts-service-area.rts-section-gap.bg_primary:last-child {
    padding-bottom: 40px;
  }
}

/* Footer KolonlarÄ±nÄ±n SÄ±kÄ±ÅŸmasÄ±nÄ± ve Alt Alta Gelmesini Ã–nleyen DÃ¼zenleme */
.footer-main-content-wrapper {
  gap: 30px !important;
}

@media only screen and (min-width: 992px) {
  .footer-main-content-wrapper {
    gap: 40px !important;
  }
}

@media only screen and (min-width: 1200px) {
  .footer-main-content-wrapper {
    gap: 60px !important;
  }
}

/* KolonlarÄ±n orantÄ±lÄ± daÄŸÄ±lmasÄ±nÄ± saÄŸlayarak taÅŸmalarÄ± engelleme */
.single-footer-wized {
  flex-shrink: 1 !important;
  min-width: 140px;
}

.single-footer-wized:last-child {
  min-width: 250px; /* Abone ol bÃ¼lteni alanÄ± */
}

/* Premium Floating Toast Notification Styles */
.savsut-toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #ffffff;
  border-left: 5px solid #629d23;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 99999;
  min-width: 250px;
  max-width: 420px;
  width: max-content;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.savsut-toast-notification--error {
  border-left-color: #ef4444 !important;
}

.savsut-toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.savsut-toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.savsut-toast-icon {
  color: #629d23;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.savsut-toast-icon--error {
  color: #ef4444 !important;
}

.savsut-toast-message {
  color: #1e293b;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

.savsut-toast-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.savsut-toast-close:hover {
  background: #f1f5f9;
  color: #475569;
  transform: scale(1.05);
}

/* --- Global Grid Alignment & Aspect Ratio Solutions --- */
/* Forces all catalog product images to fit beautifully inside consistent 240px tall bounding boxes */
.single-shopping-card-one .image-and-action-area-wrapper {
  height: 240px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #f8fafc !important;
  overflow: hidden !important;
  padding: 0 !important;
}

.single-shopping-card-one .image-and-action-area-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Spreads the image to completely fill the container */
  transition: transform 0.4s ease !important;
}

/* Prevents multi-line title heights from pushing price and action buttons out of alignment */
.single-shopping-card-one .body-content h4.title {
  height: 44px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}


/* -------------------------------------------
   MOBIL ALT MENÜ (BOTTOM NAVIGATION)
------------------------------------------- */
@media (max-width: 767px) {
  body {
    padding-bottom: 70px !important;
  }
  .sav-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    padding: 10px 5px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 9999;
    border-top: 1px solid #f1f5f9;
  }
  .sav-mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    gap: 4px;
    width: 20%;
    transition: all 0.2s ease;
  }
  .sav-mobile-bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
  }
  .sav-mobile-bottom-nav .nav-item span {
    font-size: 10px;
    font-weight: 600;
  }
  .sav-mobile-bottom-nav .nav-item:hover,
  .sav-mobile-bottom-nav .nav-item.active {
    color: #629d23;
  }
  .sav-mobile-bottom-nav .nav-item .icon-wrap {
    position: relative;
    display: inline-flex;
  }
  .sav-mobile-bottom-nav .cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #629D23;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    height: 16px;
    min-width: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #fff;
  }
}
@media (min-width: 768px) {
  .sav-mobile-bottom-nav { display: none !important; }
}

@media (max-width: 575px) {
  .savsut-toast-notification {
    top: 20px;
    bottom: auto;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    min-width: 0;
    transform: translateY(-100px);
    border-radius: 10px;
    padding: 12px 14px;
    gap: 12px;
  }
  .savsut-toast-notification.show {
    transform: translateY(0);
  }
  .savsut-toast-message {
    font-size: 13px;
  }
  .savsut-toast-icon {
    font-size: 16px;
  }
}
