
  .strapi-navigation {
    padding: 0 20px;
    position: relative;
  }

  .strapi-navigation .strapi-navigation-main {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }

  .strapi-navigation .strapi-navigation-item {
    position: relative;
  }

  .strapi-navigation .strapi-navigation-link {
    display: flex;
    align-items:center;
    color: #212121;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s ease-out;
    cursor: pointer;
    gap:6px;
    white-space: nowrap;
    text-transform:uppercase;
    padding: 10px 0px;

  }

  .strapi-navigation .strapi-navigation-link svg {
    transition: all 0.2s ease-out;
  }

  .strapi-navigation .strapi-navigation-item:hover .strapi-navigation-link svg {
    rotate: -180deg;
  }

  .strapi-navigation .strapi-navigation-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0%;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 24px 28px;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
    margin-top: 0;
  }

  .strapi-navigation .strapi-navigation-item:hover .strapi-navigation-dropdown-menu {
    display: block;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform:  translateY(-10px);
    }
    to {
      opacity: 1;
      transform:  translateY(0);
    }
  }

  .strapi-navigation .strapi-navigation-dropdown-content {
    display: grid;
    gap: 36px;
  }


  .strapi-navigation .strapi-navigation-column-title {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
    margin-top: 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 6px;
    transition: color 0.2s ease;
  }

  .strapi-navigation h3.strapi-navigation-column-title {
    margin-top: 0;
    margin-bottom: 14px;
  }

  .strapi-navigation .strapi-navigation-sub-items {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .strapi-navigation .strapi-navigation-sub-items li {
    margin-bottom: 9px;
  }

  .strapi-navigation .strapi-navigation-sub-items li:last-child {
    margin-bottom: 0;
  }

  .strapi-navigation .strapi-navigation-sub-item-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.4;
  }

  .strapi-navigation .strapi-navigation-sub-item-link:hover {
    color: #111827;
    transform: translateX(4px);
  }

  .strapi-navigation .strapi-navigation-sub-item-link:not([href]) {
    cursor: default;
    pointer-events: none;
  }

  /* Style 'View All' sub-item specifically for premium callout */
  .strapi-navigation .view-all-link {
    font-weight: 750;
    color: #111827;
    border-top: 1px dashed #e5e7eb;
    margin-top: 6px;
    padding-top: 6px;
  }

  .strapi-navigation .view-all-link:hover {
    color: #FF6A00 !important;
  }

/* Header specific styles to map renamed left/right classes */
.header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-left figure {
  margin-right: 15px;
  flex-shrink: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.header-left figure a {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Ensure the SVG doesn't wrap or overlap */
.header-left figure a svg {
  display: block;
  flex-shrink: 0;
}

.header-right a {
  display: inline-block;
  position: relative;
  color: #212121;
  text-decoration: none;
}

.header-right span.position {
  position: absolute;
  right: -10px;
  top: -8px;
  background: #FFDD00;
  color: #000;
  height: 16px;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

/* Top bar styles mapping */
.header-top .header-left a {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
}

.header-top .header-left a svg {
  vertical-align: middle;
  margin-right: 10px;
}

.header-top .header-right {
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-top .header-right a {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

/* Mobile responsive styles */
@media (max-width: 991px) {
  /* Hide the announcement top bar completely on mobile */
  .header-top {
    display: none !important;
  }

  /* Make sure the main header behaves properly */
  .header {
    padding: 12px 15px !important;
    position: relative !important; /* Context for absolute positioning of logo */
  }

  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap !important; /* Prevent wrapping and push of icons */
    padding: 0 !important;
    width: 100% !important;
    position: relative !important; /* Context for absolute positioning of logo */
  }

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

  /* Absolute center the brand logo in the header on mobile to match Beyoung.in */
  .header-left figure {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 1000;
  }

  .header-left figure a {
    gap: 5px !important;
  }

  .header-left figure a img {
    height: 25px !important;
    max-width: 200px !important;
    width: auto !important;
  }

  /* Hide the yellow emblem SVG on mobile for a cleaner, centered logo exactly like Beyoung.in */
  .header-left figure a svg {
    display: none !important;
  }

  .header-left figure a span {
    font-size: 18px !important; /* Scale down slightly on mobile so it fits */
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .header-right {
    gap: 16px !important; /* Clean spacing on mobile */
  }

  /* Hide Wishlist icon in the mobile header to match Beyoung.in */
  .header-right .heart-icon {
    display: none !important;
  }

  /* Mobile Search toggle style */
  .search-container {
    position: static !important; /* Allow the absolute search box to position relative to the header container */
  }

  .search-toggle {
    position: absolute;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    border-top: 1px solid #eee !important;
    background: #fff !important;
    padding: 10px 15px !important;
    z-index: 1001 !important;
  }

  .search-toggle form {
    display: flex;
    width: 100%;
  }

  .search-toggle input[type="text"] {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .search-toggle button[type="submit"] {
    background: #FFDD00;
    border: 1px solid #FFDD00;
    color: #000;
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
  }
}

/* Ensure header container has a consistent max-width across all pages matching the homepage */
@media (min-width: 992px) {
    .header-dektop-main-div .container {
        width: 100% !important;
        max-width: 1200px !important;
    }
}

@media (min-width: 1280px) {
    .header-dektop-main-div .container {
        max-width: 1280px !important;
    }
}

@media (min-width: 1536px) {
    .header-dektop-main-div .container {
        max-width: 1536px !important;
    }
}

/* Fix header-top height and padding discrepancy between homepage and other pages */
.header-top {
    padding: 10px 0 !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
}

.header-top p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

.header-top .header-right {
    display: flex !important;
    align-items: center !important;
}

/* PC view direct search bar styling */
.desktop-search-bar {
    display: flex !important;
    align-items: center;
    background: rgba(243, 244, 246, 0.8) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(229, 231, 235, 0.6) !important;
    border-radius: 0 !important;
    padding: 6px 16px !important;
    width: 230px !important;
    margin-right: 15px;
    position: relative; /* Contain search suggestions dropdown */
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.desktop-search-bar:focus-within {
    width: 280px !important;
    background: #ffffff !important;
    border-color: rgba(79, 70, 229, 0.4) !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08) !important;
}

.desktop-search-bar input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    width: 100% !important;
    font-size: 13.5px !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 4px 0 !important;
    color: #111827 !important;
}

.desktop-search-bar input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

.desktop-search-bar button {
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    color: #757575 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.desktop-search-bar button:hover {
    transform: scale(1.1) !important;
}

.desktop-search-bar:focus-within button svg path {
    fill: #4f46e5 !important; /* Transition search icon to brand colors */
    transition: fill 0.3s ease !important;
}

.mobile-search-toggle-wrapper {
    display: none !important;
}

@media (max-width: 991px) {
    .desktop-search-bar {
        display: none !important;
    }
    .mobile-search-toggle-wrapper {
        display: block !important;
    }
}

/* Search Suggestions Dropdown Styles */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 420px !important;
    background: #ffffff;
    border: 1px solid rgba(229, 231, 235, 0.9) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
    z-index: 9999;
    margin-top: 8px !important;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    padding: 15px 0 !important;
    overflow: hidden;
    animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-suggestions-dropdown .dropdown-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}

.search-suggestions-dropdown .dropdown-section-header .clear-all-btn {
    background: none;
    border: none;
    font-size: 10.5px;
    font-weight: 700;
    color: #ff5722;
    cursor: pointer;
    text-transform: uppercase;
    padding: 0;
}

.search-suggestions-dropdown .dropdown-section-header .clear-all-btn:hover {
    text-decoration: underline;
}

.search-suggestions-dropdown .recent-searches-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.search-suggestions-dropdown .recent-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.search-suggestions-dropdown .recent-search-item:hover {
    background-color: #f9fafb;
}

.search-suggestions-dropdown .recent-search-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    flex-grow: 1;
}

.search-suggestions-dropdown .recent-search-link svg {
    stroke: #9ca3af;
    stroke-width: 1.8;
}

.search-suggestions-dropdown .recent-search-link:hover {
    color: #111827;
}

.search-suggestions-dropdown .recent-search-link:hover svg {
    stroke: #111827;
}

.search-suggestions-dropdown .remove-recent-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.search-suggestions-dropdown .remove-recent-btn:hover {
    color: #ef4444;
}

.search-suggestions-dropdown .popular-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px 15px 16px;
}

.search-suggestions-dropdown .popular-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.search-suggestions-dropdown .popular-tag:hover {
    background-color: #111827;
    color: #ffffff;
}

.search-suggestions-dropdown .category-suggestions {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.search-suggestions-dropdown .suggestion-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 9px 16px !important;
    text-decoration: none !important;
    color: #374151 !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-suggestions-dropdown .suggestion-item:hover {
    background-color: #f9fafb !important;
}

.search-suggestions-dropdown .suggestion-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.search-suggestions-dropdown .suggestion-icon-left {
    flex-shrink: 0 !important;
    stroke: #9ca3af !important;
    stroke-width: 1.8 !important;
    display: block !important;
}

.search-suggestions-dropdown .suggestion-text {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
}

.search-suggestions-dropdown .suggestion-icon-right {
    flex-shrink: 0 !important;
    stroke: #d1d5db !important;
    stroke-width: 1.8 !important;
    display: block !important;
}

.search-suggestions-dropdown .suggestion-item:hover .suggestion-text {
    color: #111827 !important;
}

.search-suggestions-dropdown .suggestion-item:hover .suggestion-icon-right {
    stroke: #111827 !important;
    transform: translateX(2px) !important;
    transition: all 0.2s;
}

.search-suggestions-dropdown .product-suggestions {
    display: flex;
    flex-direction: column;
}

.search-suggestions-dropdown .product-suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.search-suggestions-dropdown .product-suggestion-item:hover {
    background-color: #f9fafb !important;
}

.search-suggestions-dropdown .product-suggest-img {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    background-color: #f3f4f6 !important;
}

.search-suggestions-dropdown .product-suggest-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
}

.search-suggestions-dropdown .product-suggest-name {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #212121 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.search-suggestions-dropdown .product-suggest-price-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.search-suggestions-dropdown .product-suggest-price {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

.search-suggestions-dropdown .product-suggest-old-price {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
}

.search-suggestions-dropdown .product-suggest-discount {
    font-size: 10px !important;
    font-weight: 750 !important;
    color: #10b981 !important;
}

.search-suggestions-dropdown .no-suggestions {
    padding: 20px 16px !important;
    text-align: center !important;
    color: #9ca3af !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Pixel-Perfect Layout Offsets & fixed heights to prevent layout shifts and header overlap */
.header-top {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

.header-top p {
    line-height: 28px !important;
}

.header {
    height: 70px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
}

main {
    padding-top: 98px !important;
}

@media (max-width: 991px) {
    .header-top {
        display: none !important;
    }
    
    .header {
        height: 56px !important;
        padding: 0 15px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    main {
        padding-top: 56px !important;
    }
}

/* ==========================================
   Mobile Search Overlay Beyoung Style
   ========================================== */
.mobile-search-overlay {
    position: fixed;
    top: -100%; /* Start off-screen */
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 80px); /* Leave room so it doesn't cover sticky bottom nav */
    background: #ffffff;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
}

.mobile-search-overlay.open {
    top: 0;
}

.mobile-search-inner {
    width: 100%;
    padding: 16px 16px 12px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mobile-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 24px;
    padding: 10px 16px;
    box-sizing: border-box;
}

.search-input-icon {
    stroke: #757575;
    margin-right: 8px;
    flex-shrink: 0;
}

#mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14.5px;
    font-family: 'Outfit', sans-serif;
    color: #212121;
    padding: 0;
    width: 100%;
}

.mobile-search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    flex-shrink: 0;
}

.mobile-search-close-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5px !important;
}

.mobile-search-body {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-bottom: 10px;
}

/* Hide scrollbar for mobile search body */
.mobile-search-body::-webkit-scrollbar {
    display: none;
}
.mobile-search-body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Trending Searches Section */
.mobile-trending-searches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trending-title {
    font-size: 10.5px;
    font-weight: 700;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 5px 0;
}

.trending-list {
    display: flex;
    flex-direction: column;
}

.trending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    text-decoration: none;
    color: #212121;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item .item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trending-item .item-icon-left {
    stroke: #9ca3af;
    flex-shrink: 0;
}

.trending-item .item-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #212121;
}

.trending-item .item-icon-right {
    stroke: #b0b0b0;
    flex-shrink: 0;
}

/* Mobile search backdrop */
.mobile-search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-search-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Autocomplete item style in mobile */
.mobile-search-suggestions .suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    text-decoration: none;
    color: #212121;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-search-suggestions .suggestion-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-search-suggestions .suggestion-icon-left {
    stroke: #9ca3af;
    flex-shrink: 0;
}
.mobile-search-suggestions .suggestion-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #212121;
}
.mobile-search-suggestions .suggestion-icon-right {
    stroke: #b0b0b0;
    flex-shrink: 0;
}

/* Thinner SVG strokes inside trending list & suggestions */
.trending-item svg,
.mobile-search-suggestions svg {
    stroke-width: 1.5px !important;
}

.no-suggestions {
    padding: 20px 0;
    color: #757575;
    font-size: 14px;
    text-align: center;
}

/* Custom Header Navigation Hover Effects with Underline and Separate Colors */
.strapi-navigation-link {
    position: relative;
    transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.strapi-navigation-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.strapi-navigation-item:hover .strapi-navigation-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Individual hover colors for each menu item */
.menu-item-topwear:hover > .strapi-navigation-link {
    color: #FF6A00 !important;
}

.menu-item-bottomwear:hover > .strapi-navigation-link {
    color: #1e40af !important;
}

.menu-item-combos:hover > .strapi-navigation-link {
    color: #dc2626 !important;
}

.menu-item-new-arrivals:hover > .strapi-navigation-link {
    color: #0d9488 !important;
}

/* Align dropdown columns and lists to form a perfect grid at the bottom */
.strapi-navigation .strapi-navigation-dropdown-content > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.strapi-navigation .strapi-navigation-sub-items {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.strapi-navigation .view-all-item {
    margin-top: auto;
    padding-top: 6px;
}

/* Custom Submenu Item Hover Colors matching parent categories */
.menu-item-topwear .strapi-navigation-sub-item-link:hover,
.menu-item-topwear .strapi-navigation-column-title a:hover {
    color: #FF6A00 !important;
}

.menu-item-bottomwear .strapi-navigation-sub-item-link:hover,
.menu-item-bottomwear .strapi-navigation-column-title a:hover {
    color: #1e40af !important;
}

/* Desktop Search Overlay (Drawer UX) Styling */
.desktop-search-toggle-wrapper {
    display: none !important; /* Hide old magnifying glass toggle on desktop */
}

.desktop-search-bar-new {
    display: block;
    width: 280px;
    position: relative;
}

@media (max-width: 991px) {
    .desktop-search-bar-new {
        display: none !important;
    }
}

.desktop-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001; /* Must be higher than the header and index layout */
    pointer-events: none; /* Let clicks pass through backdrop when hidden */
}

@media (min-width: 992px) {
    .search-container {
        position: relative !important;
    }
}

.desktop-search-card {
    position: absolute !important;
    top: 43px !important; /* Right under the search input */
    right: -120px !important; /* Slightly shifted right for visual balance, centering the overlay dropdown and preventing it from expanding too far left */
    width: 420px;
    max-height: 520px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto; /* Active when opened */
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
    transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), 
                opacity 0.25s ease, 
                transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                visibility 0.3s ease;
    z-index: 10003;
}

.desktop-search-card.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.desktop-search-card.expanded {
    width: 800px; /* Two-column layout */
}

.desktop-search-backdrop {
    position: fixed;
    top: 60px; /* Start below the header */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.desktop-search-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Header inside search card */
.desktop-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
    gap: 16px;
}

.desktop-search-input-wrapper {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 100px;
    padding: 8px 18px;
    flex: 1;
    gap: 10px;
    border: 1.5px solid transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.desktop-search-input-wrapper:focus-within {
    border-color: #111827;
    background: #ffffff;
}

.desktop-search-input-icon {
    flex-shrink: 0;
    color: #9ca3af;
}

.desktop-search-input-wrapper input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    width: 100% !important;
    font-size: 14px !important;
    color: #111827 !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

.desktop-search-input-wrapper input::placeholder {
    color: #9ca3af;
}

.desktop-search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: #9ca3af;
    line-height: 1;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.desktop-search-close-btn:hover {
    color: #111827;
}

/* Body of card */
.desktop-search-body {
    display: flex;
    overflow-y: auto;
    background: #ffffff;
    flex: 1;
}

.desktop-search-left-col {
    width: 100%;
    padding: 24px;
    transition: width 0.35s ease;
    box-sizing: border-box;
}

.desktop-search-card.expanded .desktop-search-left-col {
    width: 50%;
    border-right: 1px solid #f3f4f6;
}

.desktop-search-right-col {
    width: 50%;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Section Title */
.desktop-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-section-title .clear-all-btn {
    background: none;
    border: none;
    font-size: 10.5px;
    font-weight: 700;
    color: #ef4444;
    cursor: pointer;
    text-transform: uppercase;
    padding: 0;
}

.desktop-section-title .clear-all-btn:hover {
    text-decoration: underline;
}

/* Trending Searches list */
.desktop-trending-list {
    display: flex;
    flex-direction: column;
}

.desktop-trending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.desktop-trending-item:last-child {
    border-bottom: none;
}

.desktop-trending-item:hover {
    padding-left: 6px;
    color: #111827;
}

.desktop-trending-item .item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-trending-item .item-icon-left {
    stroke: #9ca3af;
    stroke-width: 1.8;
}

.desktop-trending-item .item-text {
    font-size: 13.5px;
    font-weight: 600;
}

.desktop-trending-item .item-icon-right {
    stroke: #d1d5db;
    stroke-width: 1.8;
    transition: transform 0.2s ease;
}

.desktop-trending-item:hover .item-icon-right {
    transform: translateX(3px);
    stroke: #111827;
}

/* Recent Searches list */
.desktop-recent-searches-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.desktop-recent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.desktop-recent-item:last-child {
    border-bottom: none;
}

.desktop-recent-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    flex: 1;
    transition: color 0.2s ease;
}

.desktop-recent-link svg {
    stroke: #9ca3af;
    stroke-width: 1.8;
}

.desktop-recent-link:hover {
    color: #111827;
}

.desktop-recent-link:hover svg {
    stroke: #111827;
}

.desktop-remove-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    transition: color 0.2s ease;
}

.desktop-remove-btn:hover {
    color: #ef4444;
}

/* Categories List */
.desktop-categories-list {
    display: flex;
    flex-direction: column;
}

.desktop-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.desktop-category-item:last-child {
    border-bottom: none;
}

.desktop-category-item:hover {
    padding-left: 6px;
    color: #111827;
}

.desktop-category-item .item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-category-item .item-icon-left {
    stroke: #9ca3af;
    stroke-width: 1.8;
}

.desktop-category-item .item-text {
    font-size: 13.5px;
    font-weight: 600;
}

.desktop-category-item .item-icon-right {
    stroke: #d1d5db;
    stroke-width: 1.8;
    transition: transform 0.2s ease;
}

.desktop-category-item:hover .item-icon-right {
    transform: translateX(3px);
    stroke: #111827;
}

/* Keyboard selection active states */
.desktop-trending-item.active,
.desktop-category-item.active,
.desktop-product-suggestion-item.active,
.desktop-recent-item.active {
    background-color: #f3f4f6 !important;
    border-color: #e5e7eb !important;
}

/* Suggested Products Column */
.desktop-drawer-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.desktop-product-suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
}

.desktop-product-suggestion-item:hover {
    background-color: #f9fafb;
    border-color: #f3f4f6;
}

.desktop-product-suggest-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background-color: #f3f4f6;
}

.desktop-product-suggest-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.desktop-product-suggest-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desktop-product-suggest-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.desktop-product-suggest-price {
    font-weight: 700;
    color: #111827;
}

.desktop-product-suggest-old-price {
    color: #9ca3af;
    text-decoration: line-through;
}

.desktop-product-suggest-discount {
    color: #10b981;
    font-weight: 700;
}

.desktop-drawer-view-more-btn {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 16px;
    background-color: #f3f4f6;
    color: #1f2937;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.desktop-drawer-view-more-btn:hover {
    background-color: #111827;
    color: #ffffff;
}

/* Skeleton Loading styles */
.desktop-drawer-skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
}

.skeleton-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background-color: #e5e7eb;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.skeleton-line {
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

.skeleton-line.title {
    width: 70%;
}

.skeleton-line.price {
    width: 40%;
    height: 10px;
}

@keyframes skeleton-pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

