.transformLogo {
  transform: scale(1.2);
}

.sliderImageParent {
  height: 63rem;
}

.img-slider {
  width: auto !important;
}

.flex-direction-column {
  flex-direction: column;
}

.-m-10 {
  margin-top: -10px;
}

.product-checked {
  background-color: #0071dc !important;
  border-color: #0071dc !important;
  color: #fff !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.product-media .product-action-vertical {
  opacity: 1 !important;
  visibility: visible !important;
}

.productImageSize {
  width: 281px !important;
  height: 281px !important;
  object-fit: contain !important;
  background: white !important;
  margin: auto;
}

.product-item .zoomContainer .zoomWindowContainer {
  display: none !important;
}

.zoomContainer {
  display: none !important;
}

.product-item img.product-single-image {
  width: 100%;
  height: 468px;
  object-fit: contain;
  margin: auto;
}

#paymentResponse p {
  font-size: 17px;
  border: 1px dashed;
  padding: 10px;
  color: #ea4335;
  margin-top: 0;
  margin-bottom: 10px;
}

.header-search.hs-simple input.form-control {
  color: black !important;
}



.position-unset {
  position: unset !important;
}

.reponsive-image-size {
  object-fit: contain;
  object-position: center;
}

.pswp--zoom-allowed .pswp__img {
  object-fit: contain;
}

ul.menu.menuHeader {
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  gap: 15px;
  margin-left: 0;
}

ul.menu.menuHeader li {
  margin-right: 0px !important;
  padding: 1px ;
  flex-shrink: 0;
}

ul.menu.menuHeader li a {

  font-size: 1.5rem;
  white-space: nowrap;
}
/* Dynamic Navbar Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Initial state - transparent navbar for homepage */
.header {
  background: transparent;

  box-shadow: none;
}

.header .header-middle {
  background: transparent;
  height: 90px;
}

.header .header-middle .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header .header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .menu.menuHeader li a {
  color: white;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.header .logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1000 !important;
  margin-right: 10px;
  flex-shrink: 0;
}

.header .logo img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: none !important;
  width: 63px !important;
  height: 44px !important;
  margin-left: 0 !important;
}

.header .cart-label,
.header .cart-name,
.header .cart-price {
  color: white;
}

.header .d-icon-bag {
  color: white;
}

.header .cart-dropdown {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.header .mobile-menu-toggle {
  color: white;
}

.header .d-icon-bars2 {
  color: white;
}

/* Product pages - navbar with background color from uploaded image */
body.shop .header {
  background: #3C63A4; /* Color from the uploaded banner image */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.shop .header .header-middle {
  background: #3C63A4;
}

body.shop .header .menu.menuHeader li a {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

body.shop .header .cart-label,
body.shop .header .cart-name,
body.shop .header .cart-price {
  color: white;
}

body.shop .header .d-icon-bag {
  color: white;
}

body.shop .header .mobile-menu-toggle {
  color: white;
}

body.shop .header .d-icon-bars2 {
  color: white;
}

/* Target pages that are not homepage but also don't have shop class (like product.php) */
body:not(.home) .header {
  background: #3C63A4; /* Color from the uploaded banner image */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body:not(.home) .header .header-middle {
  background: #3C63A4;
}

body:not(.home) .header .menu.menuHeader li a {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

body:not(.home) .header .cart-label,
body:not(.home) .header .cart-name,
body:not(.home) .header .cart-price {
  color: white;
}

body:not(.home) .header .d-icon-bag {
  color: white;
}

body:not(.home) .header .mobile-menu-toggle {
  color: white;
}

body:not(.home) .header .d-icon-bars2 {
  color: white;
}

/* Additional class for JavaScript targeting */
.header.product-page-navbar {
  background: transparent !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.product-page-navbar .header-middle {
  background: #3d3c3c !important;
}

.header.product-page-navbar .menu.menuHeader li a {
  color: white !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.header.product-page-navbar .cart-label,
.header.product-page-navbar .cart-name,
.header.product-page-navbar .cart-price {
  color: white !important;
}

.header.product-page-navbar .d-icon-bag {
  color: white !important;
}

.header.product-page-navbar .mobile-menu-toggle {
  color: white !important;
}

.header.product-page-navbar .d-icon-bars2 {
  color: white !important;
}

/* Scrolled state - white navbar */
.header.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header.scrolled .menu.menuHeader li a {
  color: #333;
  text-shadow: none;
}

.header.scrolled .logo img {
  filter: none; /* Reset logo to original colors */
}

.header.scrolled .cart-label,
.header.scrolled .cart-name,
.header.scrolled .cart-price {
  color: #333;
}

.header.scrolled .d-icon-bag {
  color: #333;
}

.header.scrolled .cart-dropdown {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.header.scrolled .mobile-menu-toggle {
  color: #333;
}

.header.scrolled .d-icon-bars2 {
  color: #333;
}

/* Banner styles */
.banner-fixed {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Product page banner adjustments */
body.shop .page-header {
  margin-top: 0; /* Remove margin since main has padding */
  position: relative;
}

/* Banner adjustments for all non-homepage pages */
body:not(.home) .page-header {
  margin-top: 0; /* Remove margin since main has padding */
  position: relative;
}

/* Add overlay only behind the text instead */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.4); /* dark background only for text */
  padding: 20px 30px;
  border-radius: 10px;
  display: inline-block;
}

.banner-title {
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
  letter-spacing: 2px;
}

.banner-subtitle {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  letter-spacing: 1px;
}

/* Ensure content starts below fixed header */
.main {
  margin-top: 0;
}

.page-content {
  margin-top: 0;
}

/* Fix for product pages - ensure content is not hidden behind navbar */
body:not(.home) .main {
  padding-top: 90px; /* Match the navbar height */
}

body:not(.home) .page-content {
  padding-top: 0; /* Reset if needed */
}

/* Specific fix for product detail pages */
body:not(.home) .single-product {
  padding-top: 90px;
}

/* Ensure all sections on product pages have proper spacing */
body:not(.home) section {
  position: relative;
  z-index: 1;
}

/* Additional fixes for specific content areas */
body:not(.home) .container {
  position: relative;
  z-index: 1;
}

body:not(.home) .row {
  position: relative;
  z-index: 1;
}

/* Fix for any sticky elements */
body:not(.home) .sticky-sidebar {
  top: 90px !important; /* Account for navbar height */
}

/* Ensure product gallery and details are properly spaced */
body:not(.home) .product-single {
  position: relative;
  z-index: 1;
}

body:not(.home) .product-gallery {
  position: relative;
  z-index: 1;
}

body:not(.home) .product-details {
  position: relative;
  z-index: 1;
}

@media (max-width: 750px) {
  .transformLogo {
    transform: scale(1);
  }
  .product-thumb {
    height: 100%;
  }

  .product-thumb img {
    height: 100% !important;
    object-fit: contain;
  }

  .banner .banner-content {
    margin-top: 19px !important;
  }
  .banner .sliderImageParent {
    display: block !important;
    height: auto !important;
  }
  .banner .sliderImageParent img {
    display: block !important;
    height: 338px !important;
    margin-top: 22px;
  }

  /* Mobile navigation adjustments */
  ul.menu.menuHeader {
    justify-content: flex-start;
    padding: 0 5px;
    gap: 8px;
  }

  ul.menu.menuHeader li {
    padding: 0px 8px;
  }

  ul.menu.menuHeader li a {
    font-size: 1.2rem;
  }

  /* Mobile banner adjustments */
  .banner-fixed {
    height: 40vh !important;
    min-height: 220px !important;
    max-height: 60vw !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100vw !important;
    overflow: hidden;
  }
  .banner-fixed img, .banner .sliderImageParent img {
    width: 100vw !important;
    height: auto !important;
    max-height: 40vh !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto;
  }

  /* 2. Remove dark/transparent rectangle overlay from banner */
  .banner-content {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  .banner-fixed:before, .banner-fixed:after, .banner.overlay-dark, .banner.overlay-effect2, .banner.overlay-light, .banner.overlay-zoom {
    background: none !important;
    box-shadow: none !important;
  }

  /* 3. Make shopping cart icon bigger on mobile product pages */
  .header .d-icon-bag {
    font-size: 2.2rem !important;
    min-width: 2.2rem !important;
    min-height: 2.2rem !important;
  }
  .header .cart-count {
    font-size: 1.1rem !important;
    top: -8px !important;
    right: -8px !important;
  }

  /* Mobile navbar spacing fixes */
  body:not(.home) .main {
    padding-top: 70px; /* Smaller padding for mobile */
  }

  body:not(.home) .single-product {
    padding-top: 70px; /* Smaller padding for mobile */
  }

  body:not(.home) .sticky-sidebar {
    top: 70px !important; /* Smaller top offset for mobile */
  }

  /* Mobile header fixes - ensure logo and cart are visible */
  .header .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: 0 !important;
    margin-right: 5px !important;
  }

  .header .header-middle .container {
    justify-content: space-between;
  }

  .header .header-left {
    gap: 5px;
  }

  .header .logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 50px !important;
    height: 35px !important;
    margin-left: 0 !important;
  }

  .header .cart-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header .cart-label,
  .header .cart-name,
  .header .cart-price {
    color: white !important;
    font-size: 0.8rem !important;
  }

  .header .d-icon-bag {
    color: white !important;
    font-size: 1.2rem !important;
  }

  /* Ensure mobile menu toggle is visible */
  .header .mobile-menu-toggle {
    color: white !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header .d-icon-bars2 {
    color: white !important;
    font-size: 1.5rem !important;
  }

  /* Product page specific mobile fixes */
  body:not(.home) .header .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:not(.home) .header .cart-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:not(.home) .header .mobile-menu-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
