/**
 * Aura Header Styles - Przeniesione 1:1 z Headless
 * Version: 1.0.1
 */

/* RESET FOR AURA HEADER */
.aura-header-container,
.aura-header-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.aura-header-container button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.aura-header-container a {
  text-decoration: none;
  color: inherit;
}

/* STAŁA WYSOKOŚĆ HEADER DLA ZAPOBIEGANIA CLS */
:root {
  --header-height: 70px;
  --aura-primary: #10b981;
  --aura-orange: #ea580c;
  --aura-gray-50: #f9fafb;
  --aura-gray-100: #f3f4f6;
  --aura-gray-200: #e5e7eb;
  --aura-gray-300: #d1d5db;
  --aura-gray-400: #9ca3af;
  --aura-gray-500: #6b7280;
  --aura-gray-600: #4b5563;
  --aura-gray-700: #374151;
  --aura-gray-900: #111827;
}

@media (min-width: 1025px) {
  :root {
    --header-height: 160px; /* bez promo banner */
  }
}

/* IDEALNY HEADER CONTAINER */
.aura-header-container {
  position: relative;
  background-color: white;
  border-bottom: 1px solid var(--aura-gray-200);
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* PROSTE STICKY */
.aura-header-container.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 50;
  max-width: 100vw;
}

/* PLACEHOLDER DLA STICKY - ZAPOBIEGA LAYOUT SHIFT */
.aura-header-placeholder {
  display: none;
}

.aura-header-placeholder.active {
  display: block;
  height: var(--header-height, 70px);
}

/* UKRYWANIE SEKCJI PRZY STICKY - PROSTE */
.hide-when-scrolled {
  display: block;
}

.aura-header-container.scrolled .hide-when-scrolled {
  display: none;
}

/* TOP BAR STYLES - RESPONSIVE WITH CLS PREVENTION */
.aura-top-bar {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

/* Hide top-bar on mobile/tablet */
@media (max-width: 1023px) {
  .aura-top-bar {
    display: none !important;
  }
}

/* DESKTOP ONLY - Fixed dimensions */
@media (min-width: 1024px) {
  .aura-top-bar {
    height: 40px;
  }

  .aura-top-bar-content {
    height: 40px;
    padding: 8px 0;
  }

  .aura-top-bar-left {
    min-width: 400px;
  }

  .aura-top-bar-right {
    min-width: 250px;
  }
}

.aura-top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.aura-top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.aura-top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Hide contact info on smaller screens */
@media (max-width: 1240px) {
  .aura-top-bar-right {
    display: none !important;
  }

  .aura-top-bar-content {
    justify-content: center !important;
  }
}

.aura-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
  white-space: nowrap;
}

.aura-info-item span {
  font-weight: normal !important;
}

.aura-info-icon {
  color: #111827;
  flex-shrink: 0;
}

.aura-info-separator {
  width: 1px;
  height: 16px;
  background-color: #d1d5db;
}

.aura-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
  transition: color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.aura-contact-item:hover {
  color: #111827;
}

.aura-contact-icon {
  color: #6b7280;
  font-size: 14px;
}

/* MAIN HEADER STYLES */
.aura-main-header {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
  .aura-main-header {
    height: 72px;
  }

  .aura-main-header-content {
    height: 72px;
    padding: 16px 0;
  }

  .aura-header-right {
    min-width: 220px;
    height: 40px;
  }
}

.aura-main-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  width: 100%;
}

.aura-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-width: fit-content;
}

.aura-logo-container {
  display: flex;
  align-items: center;
}

.aura-main-logo {
  height: 32px;
  width: auto;
}

@media (min-width: 768px) {
  .aura-main-logo {
    height: 40px;
  }
}

.aura-header-center {
  display: none;
  min-height: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .aura-header-center {
    display: flex;
    justify-content: center;
    margin-left: 32px;
    margin-right: 32px;
  }
}

.aura-header-center {
  flex: 1;
  max-width: 42rem;
}

.aura-search-container {
  width: 100%;
  max-width: 32rem;
}

.aura-header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ACCOUNT DROPDOWN */
.aura-account-dropdown {
  display: none;
  position: relative;
}

@media (min-width: 768px) {
  .aura-account-dropdown {
    display: flex;
  }
}

.aura-account-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: transparent;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  border: none;
}

.aura-account-trigger:hover {
  background-color: #f9fafb;
}

.aura-account-trigger::after {
  position: absolute;
  top: 8px;
  right: 0;
  width: 1px;
  background-color: #e5e7eb;
  content: '';
  height: calc(100% - 16px);
}

.aura-account-icon {
  color: #4b5563;
}

.aura-account-text {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.aura-account-chevron {
  color: #9ca3af;
  transition: transform 0.2s;
}

.aura-account-chevron.rotated {
  transform: rotate(180deg);
}

/* ACCOUNT MENU */
.aura-account-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  width: 224px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  z-index: 50;
  padding: 8px 0;
}

.aura-menu-section {
  padding: 0 8px;
}

.aura-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-size: 14px;
  color: #374151;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}

.aura-menu-item:hover {
  background-color: #f9fafb;
  color: #111827;
}

.aura-primary-item {
  background-color: #000000;
  color: white;
}

.aura-primary-item:hover {
  background-color: #1f2937;
  color: white;
}

.aura-menu-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 8px;
}

/* NAVIGATION STYLES */
.aura-navigation-bar {
  background-color: white;
  border-bottom: 1px solid #f3f4f6;
  height: 48px;
}

/* Hide navigation-bar on mobile/tablet */
@media (max-width: 1023px) {
  .aura-navigation-bar {
    display: none !important;
  }
}

.aura-navigation-content {
  height: 48px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  position: relative;
}

.aura-main-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  width: 100%;
  position: relative;
}

.aura-nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  transition: all 0.3s ease-out;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.aura-nav-link:hover {
  color: #111827;
}

/* ELEGANT HOVER UNDERLINE */
.aura-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #111827;
  transition: all 0.3s ease-out;
  transform: translateX(-50%);
}

.aura-nav-link:hover::after {
  width: 100%;
}

/* Special link styling - orange for consultations */
.aura-nav-link-special {
  color: #ea580c;
  font-weight: 500;
}

.aura-nav-link-special:hover {
  color: #c2410c;
}

.aura-nav-link-special::after {
  background-color: #ea580c;
}

/* KNOWLEDGE DROPDOWN */
.aura-nav-dropdown {
  position: relative;
}

.aura-nav-dropdown:hover .aura-nav-link {
  color: #111827;
}

.aura-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 224px;
  background-color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  z-index: 50;
  padding: 8px 0;
  margin-top: 8px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.aura-nav-dropdown:hover .aura-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Invisible bridge to prevent mouse gaps */
.aura-nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: transparent;
}

.aura-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s;
  text-decoration: none;
}

.aura-nav-dropdown-item:hover {
  background-color: #f9fafb;
  color: #111827;
}

.aura-nav-dropdown-icon {
  color: #9ca3af;
  margin-left: 4px;
}

/* PRODUCTS MEGA MENU */
.aura-products-mega-menu {
  background-color: white;
  border: 1px solid #f3f4f6;
  z-index: 9999;
  border-radius: 0 0 16px 16px;
  border-top: none;
  min-width: 320px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 640px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.aura-nav-dropdown:hover .aura-products-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
  .aura-products-mega-menu {
    width: calc(100vw - 32px);
    left: -16px;
  }
}

.aura-products-mega-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: transparent;
}

.aura-mega-menu-content {
  padding: 24px;
}

.aura-mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 1024px) {
  .aura-mega-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.aura-mega-menu-category {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
}

.aura-mega-menu-category:hover {
  border-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  background-color: #f9fafb;
}

.aura-mega-menu-category-image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
}

.aura-mega-menu-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aura-mega-menu-category-content {
  flex: 1;
  min-width: 0;
  padding: 12px 8px 12px 0;
}

.aura-mega-menu-category-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #6b7280;
  margin-bottom: 2px;
  line-height: 1.2;
}

.aura-mega-menu-category-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
  margin-top: 1px;
}

.aura-mega-menu-category-arrow {
  color: #9ca3af;
  transition: all 0.2s;
  flex-shrink: 0;
  transform: translateX(0);
  margin-right: 12px;
}

.aura-mega-menu-category:hover .aura-mega-menu-category-arrow {
  color: #4b5563;
  transform: translateX(4px);
}

.aura-mega-menu-category-all {
  background-color: #f9fafb;
  border-color: #e5e7eb;
}

.aura-mega-menu-category-all:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.aura-mega-menu-category-text-only .aura-mega-menu-category-content {
  padding: 12px 8px 12px 16px;
}

/* NOWOŚCI MEGA MENU */
.aura-nowosci-mega-menu {
  background-color: white;
  border: 1px solid #f3f4f6;
  z-index: 9999;
  border-radius: 0 0 16px 16px;
  border-top: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 680px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease-out;
}

.aura-nav-dropdown:hover .aura-nowosci-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .aura-nowosci-mega-menu {
    width: calc(100vw - 32px);
    left: -16px;
  }
}

.aura-nowosci-section {
  margin-bottom: 24px;
}

.aura-nowosci-section:last-child {
  margin-bottom: 0;
}

.aura-nowosci-section-title {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.aura-nowosci-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .aura-nowosci-categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.aura-nowosci-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}

.aura-nowosci-category-item:hover {
  border-color: #d1d5db;
  color: #111827;
  background-color: #f9fafb;
}

.aura-nowosci-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 100%;
}

.aura-nowosci-product-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.aura-nowosci-product-image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f3f4f6;
  width: 100%;
  height: auto;
}

.aura-nowosci-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
  filter: brightness(1);
}

.aura-nowosci-product-item:hover .aura-nowosci-product-image img {
  filter: brightness(1.1);
}

.aura-nowosci-product-content {
  padding-top: 12px;
  width: 100%;
}

.aura-nowosci-product-title {
  font-size: 12px;
  font-weight: 400;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 8px;
  word-break: break-word;
}

.aura-nowosci-product-price {
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

.aura-nowosci-section-cta {
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.aura-nowosci-see-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background-color: #f3f4f6;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.aura-nowosci-see-all:hover {
  background-color: #e5e7eb;
}

.aura-nowosci-cta-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aura-nowosci-cta-content span:first-child {
  font-weight: 600;
  color: #374151;
  transition: color 0.2s;
}

.aura-nowosci-see-all:hover .aura-nowosci-cta-content span:first-child {
  color: #111827;
}

.aura-nowosci-cta-arrow {
  color: #6b7280;
  transition: all 0.2s;
}

.aura-nowosci-see-all:hover .aura-nowosci-cta-arrow {
  color: #1f2937;
  transform: translateX(4px);
}

/* STICKY NAVIGATION */
.aura-sticky-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.aura-sticky-nav-link {
  position: relative;
  padding: 8px 6px;
  font-weight: 500;
  color: #374151;
  transition: all 0.3s ease-out;
  display: flex;
  align-items: center;
  font-size: 13px;
  min-height: 32px;
  text-decoration: none;
}

.aura-sticky-nav-link:hover {
  color: #111827;
}

.aura-sticky-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #111827;
  transition: all 0.3s ease-out;
  transform: translateX(-50%);
}

.aura-sticky-nav-link:hover::after {
  width: 100%;
}

.aura-sticky-nav-link-special {
  color: #ea580c;
  font-weight: 500;
}

.aura-sticky-nav-link-special:hover {
  color: #c2410c;
}

.aura-sticky-nav-link-special::after {
  background-color: #ea580c;
}

/* DARK OVERLAY FOR MEGA MENU */
.aura-mega-menu-overlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 40;
  cursor: pointer;
  pointer-events: auto;
  top: 160px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.aura-mega-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.aura-mega-menu-overlay.sticky {
  top: 72px;
}

/* MOBILE STYLES */
@media (max-width: 1023px) {
  .aura-main-header-content {
    display: grid !important;
    grid-template-columns: 20% 60% 20% !important;
    align-items: center;
    gap: 0 !important;
  }

  .aura-header-left {
    justify-self: start !important;
  }

  .aura-header-center-mobile {
    justify-self: center !important;
  }

  .aura-header-right {
    justify-self: end !important;
  }

  .aura-account-dropdown {
    display: none !important;
  }

  .aura-header-center {
    display: none !important;
  }

  .aura-search-container {
    display: none !important;
  }
}

/* SEARCH FIELD IMPROVEMENTS */
.woocommerce-product-search {
  position: relative;
}

.woocommerce-product-search::before {
  width: 18px;
  height: 18px;
  content: "";
  display: inline-block;
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 15px;
  background-color: #9ca3af;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.woocommerce-product-search input[type="search"],
input[type="search"].commercekit-ajax-search,
input[type="search"].search-field {
  padding-left: 50px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  height: 42px !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease !important;
}

.woocommerce-product-search input[type="search"]:focus,
input[type="search"].commercekit-ajax-search:focus,
input[type="search"].search-field:focus {
  border-color: #3f880b !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(63, 136, 11, 0.1) !important;
}

.woocommerce-product-search input[type="search"]:hover,
input[type="search"].commercekit-ajax-search:hover,
input[type="search"].search-field:hover {
  border-color: #d1d5db !important;
}

/* MOBILE HEADER ICON FIXES */
@media (max-width: 992px) {
  /* HIDE old hamburger menu with bars - we use aura-mobile-menu-btn instead */
  .site-branding button.menu-toggle {
    display: none !important;
  }

  /* Style the correct aura hamburger menu */
  .aura-mobile-menu-btn {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    padding: 4px !important;
    background: transparent !important;
    border: none !important;
    color: #222 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
  }

  .aura-mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }

  .aura-mobile-menu-btn ion-icon {
    width: 28px !important;
    height: 28px !important;
  }

  /* Style the new professional cart trigger */
  .professional-cart-trigger {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2 !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
    cursor: pointer !important;
  }

  .professional-cart-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }

  .professional-cart-trigger .cart-icon-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .professional-cart-trigger .cart-icon {
    width: 28px !important;
    height: 28px !important;
    color: #222 !important;
  }

  .professional-cart-trigger .cart-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #3f880b !important;
    color: white !important;
    border-radius: 50% !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hide cart details and chevron on mobile */
  .professional-cart-trigger .cart-details,
  .professional-cart-trigger .cart-preview-indicator {
    display: none !important;
  }

  /* Hide old cart if it exists */
  .site-header .site-header-cart {
    display: none !important;
  }

  /* Fix sticky header positioning issues */
  .aura-header-container.scrolled .site-branding button.menu-toggle {
    position: absolute !important;
    left: 15px !important;
  }

  .aura-header-container.scrolled .site-header .site-header-cart {
    position: absolute !important;
    right: 15px !important;
  }
}

/* STICKY HEADER OPTIMIZATIONS */
@media (max-width: 1279px) {
  .aura-header-container.scrolled .aura-account-dropdown {
    display: none !important;
  }

  .aura-header-container.scrolled .aura-main-header-content {
    align-items: center;
    justify-content: space-between;
    gap: 16px !important;
  }

  .aura-header-container.scrolled .aura-header-left {
    flex-shrink: 0;
  }

  .aura-header-container.scrolled .aura-header-center {
    flex: 1;
    justify-content: flex-start !important;
  }

  .aura-header-container.scrolled .aura-header-right {
    flex-shrink: 0;
    min-width: auto !important;
    width: auto !important;
  }
}

@media (max-width: 1119px) {
  .aura-header-container .container,
  .aura-header-container .col-full {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .aura-header-container.scrolled .aura-main-logo img {
    height: 28px !important;
    width: auto !important;
  }

  .aura-header-container.scrolled .aura-sticky-nav-link {
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .aura-header-container.scrolled .aura-sticky-navigation {
    gap: 6px !important;
  }
}

/* Cart Icon Styles */
.aura-cart-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #10b981;
  color: white;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.aura-cart-trigger:hover {
  background-color: #059669;
}

.aura-cart-icon {
  position: relative;
}

.aura-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 999px;
  min-width: 16px;
  text-align: center;
}

/* Hide scrolled header center on mobile */
.aura-header-container.scrolled .aura-header-center {
  display: none;
}

@media (min-width: 1024px) {
  .aura-header-container.scrolled .aura-header-center {
    display: flex;
  }
}

/* Icons */
.dashicons {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.dashicons-before::before {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 20px;
}