.single-service .icon-wrapper img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
}
.single-offer-product.verticle .promo-img {
  width: 100%;
  height: 680px !important;
  object-fit: cover !important;
}
.single-offer-product .promo-img {
  width: 100%;
  height: 328px !important;
  object-fit: cover !important;
}

.gs-footer-section .footer-row .left-info .social-links a i {
  color: black;
  transition: all 0.3s;
}
.gs-footer-section .footer-row .left-info .social-links a:hover i {
  color: white;
}

#cardNumber,
#securityCode,
#expirationDate {
  height: 60px;
  transition: color 0.25s, background-color 0.25s, border-color 0.25s;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fff;
  color: #505050;
  font-size: 14px;
  padding: 0px 18px;
}

#cardNumber,
#securityCode,
#expirationDate {
  margin-bottom: 18px;
}

@media screen and (max-width: 767px) {
  .single-offer-product .promo-img {
    height: 200px !important;
  }
  .single-offer-product.verticle .promo-img {
    height: 400px !important;
  }
}


.sidebar-active-color {
  color: #ff4c3b!important;
}

/* ===== Fixed Logo Sizes ===== */

/* Header Logo (theme1 - header.blade.php) */
.header-logo-wrapper img.logo,
.gs-header img.logo {
  max-width: 250px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* Common Header Logo (common-header.blade.php - both nav bars) */
.navbar-brand img.nav-logo {
  max-width: 250px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Footer Logo */
.gs-footer-section .left-info > img.logo,
.gs-footer-section img.logo {
  max-width: 180px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Common Footer Logo */
.footer-logo img,
.footer-widget .footer-logo img {
  max-width: 280px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Invoice Logo */
.invoice__logo img {
  max-width: 280px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain !important;
}

/* Admin Panel Sidebar Logo */
.main-sidebar .brand-link img,
.sidebar-brand img {
  max-width: 160px;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Vendor Panel Logo */
.vendor-res-header-logo {
  max-width: 150px;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Mobile Menu Logo — Fixed selectors + Complete Header Redesign */

/* Force correct logo size - overrides all conflicting rules */
.mobile-menu .mobile-menu-top img,
.mobile-menu .mobile-logo,
.mobile-menu .mobile-logo-wrap img {
  max-width: 130px !important;
  max-height: 65px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Logo wrapper for proper containment */
.mobile-menu .mobile-logo-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: 130px;
  max-height: 65px;
  flex-shrink: 0;
}

/* Redesigned compact header bar */
.mobile-menu .mobile-menu-top {
  padding: 12px 18px !important;
  max-height: 90px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #152e5e 0%, #3d6dd4 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Styled close button — circular icon */
.mobile-menu .mobile-menu-top svg.close {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 50% !important;
  padding: 9px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.22s ease, transform 0.22s ease !important;
}

.mobile-menu .mobile-menu-top svg.close:hover,
.mobile-menu .mobile-menu-top svg.close:active {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg);
}

/* ===== Responsive Logo Adjustments ===== */
@media screen and (max-width: 991px) {
  .header-logo-wrapper img.logo,
  .gs-header img.logo,
  .navbar-brand img.nav-logo {
    max-width: 140px;
    max-height: 40px;
  }
  .gs-footer-section .left-info > img.logo,
  .gs-footer-section img.logo {
    max-width: 140px;
    max-height: 40px;
  }
}

@media screen and (max-width: 575px) {
  .header-logo-wrapper img.logo,
  .gs-header img.logo,
  .navbar-brand img.nav-logo {
    max-width: 120px;
    max-height: 35px;
  }
  .gs-footer-section .left-info > img.logo,
  .gs-footer-section img.logo {
    max-width: 120px;
    max-height: 35px;
  }
  .mobile-menu .mobile-menu-top img,
  .mobile-menu .mobile-logo,
  .mobile-menu .mobile-logo-wrap img {
    max-width: 110px !important;
    max-height: 55px !important;
  }

  .mobile-menu .mobile-logo-wrap {
    max-width: 110px;
    max-height: 55px;
  }
}

/* ===== Header Responsive Redesign ===== */

/* Ensure nav-right never shrinks — cart always visible */
.header-top .create-navbar {
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

.header-top .create-navbar .nav-right {
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

/* nav-left logo shrinks gracefully on small screens */
.header-top .create-navbar .nav-left {
  min-width: 0;
  flex-shrink: 1;
}

/* Mobile: 4 icons — below 576px (شاشات صغيرة) */
@media (max-width: 575.98px) {
  .header-top {
    padding: 8px 0 !important;
  }
  .header-top .custom-container.container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .header-top .create-navbar .nav-left {
    gap: 6px !important;
  }
  .header-top .create-navbar .nav-left img {
    max-width: 100px !important;
    width: auto !important;
  }
  .header-top .create-navbar .nav-right {
    gap: 5px !important;
  }
  .header-top .create-navbar .nav-right .icon-circle {
    width: 34px !important;
    height: 34px !important;
  }
  .header-top .create-navbar .nav-right .icon-circle svg {
    width: 17px !important;
    height: 17px !important;
  }
}

/* Extra small phones: 375px and below */
@media (max-width: 375px) {
  .header-top .custom-container.container {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .header-top .create-navbar .nav-left {
    gap: 5px !important;
  }
  .header-top .create-navbar .nav-left img {
    max-width: 85px !important;
  }
  .header-top .create-navbar .nav-right {
    gap: 4px !important;
  }
  .header-top .create-navbar .nav-right .icon-circle {
    width: 30px !important;
    height: 30px !important;
  }
  .header-top .create-navbar .nav-right .icon-circle svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* Tablet: 576px to 767px */
@media (min-width: 576px) and (max-width: 767.98px) {
  .header-top .create-navbar .nav-right {
    gap: 8px !important;
  }
  .header-top .create-navbar .nav-right .icon-circle {
    width: 40px !important;
    height: 40px !important;
  }
}

/* Prevent cart-count badge from overflowing */
.icon-circle .cart-count {
  top: -8px !important;
  right: -8px !important;
}