/** Shopify CDN: Minification failed

Line 1957:17 Expected identifier but found whitespace
Line 1957:18 Unexpected "4px"

**/
.header-main-menu {
  background-color: var(--menu-bg); }

.main-menu__nav-item:not(:last-child) {
  padding-right: 30px; }

.main-menu__nav-item > a {
  position: relative;
  display: block;
  padding: 25px 0;
  color: var(--menu-color);
  font-size: 17px !important;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  transition: color .35s ease; }
  .main-menu__nav-item > a > span {
    position: relative; }
    .main-menu__nav-item > a > span svg {
      transform: rotate(180deg);
      color: var(--secondary); }
  .main-menu__nav-item > a.active, .main-menu__nav-item > a:hover, .main-menu__nav-item > a:focus {
    color: var(--menu-hover-color); }
  .main-menu__nav-item > a .label-hot,
  .main-menu__nav-item > a .label-new {
    display: block;
    font-size: 9px;
    position: absolute;
    bottom: 50%;
    margin-bottom: 17px;
    padding: 0 8px;
    text-align: center;
    left: 5px;
    line-height: 18px;
    font-weight: 500;
    border-radius: 1px;
    color: var(--body-bg);
    text-transform: uppercase; }
    .main-menu__nav-item > a .label-hot:after,
    .main-menu__nav-item > a .label-new:after {
      content: "";
      position: absolute;
      bottom: -5px;
      left: 0;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent; }
  .main-menu__nav-item > a .label-new {
    background: var(--new-badge-bg-color);
    color: var(--new-badge-color); }
    .main-menu__nav-item > a .label-new:after {
      border-left: 5px solid var(--new-badge-bg-color); }
  .main-menu__nav-item > a .label-hot {
    background: var(--sale-badge-bg-color);
    color: var(--sale-badge-color); }
    .main-menu__nav-item > a .label-hot:after {
      border-left: 5px solid var(--sale-badge-bg-color); }

.main-menu__nav-item:focus > a, .main-menu__nav-item:hover > a, .main-menu__nav-item.active > a {
  color: var(--menu-hover-color); }

.main-menu .collImage {
  background-color: var(--border-lighter-color); }

.menu-dropdown:hover > .menu-dropdown__content, .menu-dropdown:focus > .menu-dropdown__content {
  opacity: 1;
  visibility: visible;
  margin-top: -1px;
  pointer-events: auto; }

.menu-dropdown .menu-dropdown--basic .menu-dropdown__content {
  left: 0;
  margin-left: 100%;
  top: 0;
  border-radius: 8px; }

.menu-dropdown--basic {
  position: relative; }
  .menu-dropdown--basic .menu-dropdown__content {
    padding: 10px 0;
    box-shadow: 2px 10px 20px 0px rgba(0, 0, 0, 0.08); }
    .menu-dropdown--basic .menu-dropdown__content .main-menu__link {
      padding: 8px 25px; }
      .menu-dropdown--basic .menu-dropdown__content .main-menu__link .icon-arrow {
        margin-right: 20px; }

.menu-dropdown__content {
  position: absolute;
  top: auto;
  z-index: 90;
  font-size: var(--menu-dropdown-font-size);
  font-weight: 400;
  min-width: 220px;
  padding: 10px 0;
  background-color: var(--menu-dropdown-bg);
  box-shadow: var(--shadow);
  opacity: 0;
  margin-top: 30px;
  pointer-events: none;
  visibility: hidden;
  transition: all .2s ease;
  border-radius: 0 0 8px 8px; }
  .menu-dropdown__content .main-menu__link {
    display: block;
    padding: 8px 0;
    color: var(--menu-dropdown-color);
    text-decoration: none;
    text-indent: 0;
    transition: all .35s ease; }
    .menu-dropdown__content .main-menu__link span {
      position: relative;
      white-space: nowrap; }
    .menu-dropdown__content .main-menu__link:hover, .menu-dropdown__content .main-menu__link:focus {
      color: var(--menu-dropdown-hover-color);
      text-indent: 10px; }
    .menu-dropdown__content .main-menu__link .label-hot,
    .menu-dropdown__content .main-menu__link .label-new {
      display: inline-block;
      font-size: 12px;
      position: relative;
      padding: 4px 8px;
      text-align: center;
      right: 0;
      color: #fff;
      margin: 0 0 0 5px;
      line-height: 15px;
      font-weight: 500;
      border-radius: 30px;
      top: -2px;
      text-indent: 0 !important; }
    .menu-dropdown__content .main-menu__link .label-new {
      background: #0BB53B; }
    .menu-dropdown__content .main-menu__link .label-hot {
      background: #F0233C; }
  .menu-dropdown__content .menu-dropdown:hover > a, .menu-dropdown__content .menu-dropdown:focus > a {
    color: var(--menu-dropdown-hover-color);
    text-indent: 10px; }

.menu-dropdown__content--megamenu {
  width: 100%;
  padding: 40px 30px;
  max-height: calc(100vh - 70px);
  overflow-y: auto; }
  .menu-dropdown__content--megamenu .menu-dropdown__content {
    top: auto;
    left: auto; }

.megamenu-heading {
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: calc(var(--menu-dropdown-font-size) - 2px);
  margin-bottom: 15px;
  line-height: 15px; }
  .megamenu-heading a,
  .megamenu-heading span {
    display: block;
    color: var(--secondary);
    position: relative; }

.megamenu-links {
  margin-bottom: 0; }

.product-menu {
  display: flex;
  width: 100%; }
  .product-menu__name {
    line-height: 20px; }
    .product-menu__name a {
      color: var(--product-name-color);
      font-size: calc( var(--font-size-base) - 1px);
      font-weight: var(--font-heading-weight); }
      .product-menu__name a:hover, .product-menu__name a:focus {
        color: var(--menu-dropdown-hover-color); }
  .product-menu__image {
    width: 90px;
    max-width: 29%; }
  .product-menu__content {
    width: calc(100% - 90px);
    padding-left: 15px; }
  .product-menu__review .spr-badge .spr-badge-caption {
    display: none; }
  .product-menu__review .spr-badge-starrating .spr-icon {
    font-size: 10px; }

.megamenu-html {
  color: var(--menu-dropdown-color); }
  .megamenu-html img {
    max-width: 100%;
    height: auto; }

.megamenu-banner {
  margin: 15px 0 0; }
  .megamenu-banner a {
    padding: 0; }

.megamenu-collection-list .collTitle {
  min-width: 150px;
  margin-bottom: 24px;
  color: var(--heading-color);
  background-color: var(--body-color-light);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.06);
  line-height: 20px;
  transition: all .2s ease; }
  .megamenu-collection-list .collTitle:hover {
    color: var(--body-bg);
    background-color: var(--body-color); }

.menu-row__col {
  width: 100%;
  max-width: 100%;
  padding-left: calc(var(--bs-gutter-x) * .5);
  padding-right: calc(var(--bs-gutter-x) * .5); }
  @media (max-width: 575.98px) {
    .menu-row__col {
      width: 100% !important; } }

.menu-drawer-container {
  display: flex; }

.list-menu {
  list-style: none;
  padding: 0;
  margin: 0; }

.list-menu--inline {
  display: inline-flex;
  flex-wrap: wrap; }

summary.list-menu__item {
  padding-right: 2.7rem; }

.list-menu__item {
  display: flex;
  align-items: center;
  line-height: 1.3; }

.list-menu__item--link {
  text-decoration: none;
  padding-bottom: 1rem;
  padding-top: 1rem;
  line-height: 1.8; }

@media screen and (min-width: 750px) {
  .list-menu__item--link {
    padding-bottom: 0.5rem;
    padding-top: 0.5rem; } }

body:not(.template-index) .section-header {
  box-shadow: none; }

.section-header {
  z-index: 4; }

.header {
  color: var(--color);
  background-color: var(--background-color);
  box-shadow: var(--shadow); }
  .header__container {
    max-width: var(--container-width, 1470px); }
  .header__body {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    gap: 30px; }
    @media (min-width: 1200px) {
      .header__body {
        padding: var(--padding); } }
    @media (max-width: 1199.98px) {
      .header__body {
        padding: var(--padding-m);
        flex-wrap: wrap;
        gap: 16px; } }
  .header__heading {
    margin: 0;
    line-height: 1; }
  
  /* LOGO - Left side */
  .header__main {
    flex-shrink: 0;
    display: flex;
    align-items: center; }
    @media (min-width: 1200px) {
      .header__main {
        order: 1; } }
    @media (max-width: 1199.98px) {
      .header__main {
        justify-content: center;
        width: 30%; } }
  
  /* CENTER SECTION - Navigation Menu (70%) and Search (30%) side by side */
  .header__center {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 0; }
    @media (min-width: 1200px) {
      .header__center {
        order: 2; } }
    @media (max-width: 1199.98px) {
      .header__center {
        width: 100%;
        order: 3;
        flex-direction: column; } }
  
  .header__menu-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 0 0 70%;
    order: 1; }
    @media (max-width: 1199.98px) {
      .header__menu-section {
        display: none; } }
  
  .header__search {
    flex: 0 0 30%;
    min-width: 0;
    order: 2; }
    @media (max-width: 1199.98px) {
      .header__search {
        width: 100%;
        flex: 1 1 auto;
        order: 1; } }
  
  .header__menu-section .header-main-menu {
    background-color: transparent; }
  
  .header__menu-section .main-menu__nav-item > a {
    padding: 8px 0;
    font-size: calc(var(--menu-font-size) - 1px);
    color: #ffffff;
    transition: color .35s ease; }
    .header__menu-section .main-menu__nav-item > a:hover,
    .header__menu-section .main-menu__nav-item > a:focus,
    .header__menu-section .main-menu__nav-item > a.active {
      color: #ff8c00; }
  
  .header__menu-section .main-menu__nav-item:not(:last-child) {
    padding-right: 20px; }
  
  /* Menu extras - language/currency inline with menu */
  .header__menu-extras {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0; }
  
  .header__menu-extras .header-menu__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    gap: 8px; }
  
  .header__menu-extras .header-menu__list--not-alone {
    margin-right: 16px;
    padding-right: 16px; }
    .header__menu-extras .header-menu__list--not-alone::after {
      content: "";
      pointer-events: none;
      position: absolute;
      top: 50%;
      right: 0;
      height: 16px;
      margin-top: -8px;
      border-right: 1px solid var(--color);
      opacity: .2; }
  
  .header__menu-extras .header-menu__list-item {
    padding: 0; }
  
  .header__menu-extras .header-menu__list-link {
    display: block;
    color: var(--color);
    font-size: calc(var(--font-size-base) - 2px);
    font-weight: 500;
    line-height: 1.23077;
    transition: color .2s linear;
    white-space: nowrap; }
    .header__menu-extras .header-menu__list-link:hover {
      color: var(--hover-color); }
  
  .header__menu-extras .localization-form__select {
    color: var(--color);
    font-size: calc(var(--font-size-base) - 2px);
    font-weight: 500;
    line-height: 1.23077; }
  
  .header__menu-extras .localization-form__select .fw-semibold {
    font-weight: 500 !important; }
  
  .header__menu-extras .disclosure label {
    display: none; }
  
  /* RIGHT SIDE - Account, Wishlist, Cart */
  .header__aside {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    flex-shrink: 0; }
    @media (min-width: 1200px) {
      .header__aside {
        order: 3; } }
    @media (max-width: 1199.98px) {
      .header__aside {
        justify-content: flex-end;
        width: 30%;
        order: 2; } }
    .header__aside--menu {
      justify-content: center; }
      @media (min-width: 1200px) {
        .header__aside--menu {
          display: none; } }
  
  .header__action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 24px;
    padding: 0;
    color: var(--color);
    background-color: transparent;
    border: 0;
    transition: all .2s linear; }
    .header__action:hover {
      color: var(--color);
      background-color: transparent; }
    .header__action--wishlist {
      min-width: 48px; }
      @media (max-width: 1199.98px) {
        .header__action--wishlist {
          display: none; } }
    @media (max-width: 1199.98px) {
      .header__action--account {
        display: none; } }
  .header__action-text {
    display: block;
    padding-top: 4px;
    color: var(--secondary-color);
    font-size: calc(var(--font-size-base) - 1px);
    font-weight: 500;
    line-height: 1.23077; }
    @media (max-width: 1199.98px) {
      .header__action-text {
        display: none; } }
  .header__action-sup {
    position: absolute;
    top: -9px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    color: var(--body-color-light);
    background-color: var(--heading-color);
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    line-height: 16px; }
  .header__icon--menu {
    width: 24px;
    height: 24px;
    color: var(--color); }
    .header__icon--menu:hover {
      color: var(--color); }

/* Enhanced Search Bar Styling */
.header-search {
  position: relative; }
  .header-search__form {
    width: 100%; }
  .header-search__container {
    position: relative; }
  .header-search__input {
    position: relative;
    flex-grow: 1; }
    .header-search__input .form-control {
      padding: 13px 52px 13px 24px;
      color: #ffffff;
      background-color: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 30px;
      font-weight: 500;
      line-height: 20px;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px); }
      .header-search__input .form-control::placeholder {
        color: rgba(255, 255, 255, 0.6);
        font-weight: 400; }
      .header-search__input .form-control:focus {
        background-color: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 140, 0, 0.5);
        box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
        outline: none; }
      .header-search__input .form-control:hover {
        background-color: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3); }
    .header-search__input .search-reset__button {
      right: 52px !important;
      color: rgba(255, 255, 255, 0.7); }
      .header-search__input .search-reset__button:hover {
        color: #ff8c00; }
  .header-search__input-icon {
    display: none; }
  .header-search__submit {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    padding: 0 20px 4px;
    color: rgba(255, 255, 255, 0.8);
    background-color: transparent;
    border: 0;
    transition: all 0.3s ease; }
    .header-search__submit:hover {
      color: #ff8c00;
      background-color: transparent;
      transform: scale(1.1); }
  .header-search #predictive-search-results {
    border-top: 0 !important; }
  .header-search .predictive-search {
    position: absolute !important;
    top: calc(100% + 10px);
    left: 0;
    z-index: 9999 !important;
    display: none;
    width: 100%;
    min-width: 400px;
    max-height: calc(100vh - 150px);
    color: var(--body-color);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    animation: slideDown 0.3s ease; }
    @media (max-width: 991.98px) {
      .header-search .predictive-search {
        max-width: 100%;
        min-width: 0; } }
    .header-search .predictive-search .vela-review__count {
      display: none; }
    .header-search .predictive-search::-webkit-scrollbar {
      width: 8px; }
    .header-search .predictive-search::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px; }
    .header-search .predictive-search::-webkit-scrollbar-thumb {
      background: #888;
      border-radius: 10px; }
    .header-search .predictive-search::-webkit-scrollbar-thumb:hover {
      background: #555; }
    .header-search .predictive-search .predictive-search__item {
      padding: 15px 20px;
      border-bottom: 1px solid #f0f0f0;
      transition: background-color 0.2s ease; }
      .header-search .predictive-search .predictive-search__item:hover {
        background-color: #f8f8f8; }
    .header-search .predictive-search .predictive-search__heading {
      padding: 15px 20px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      color: #666;
      background-color: #f9f9f9; }

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

/* Animated Placeholder Animation */
@keyframes typing {
  0%, 100% {
    width: 0; }
  50% {
    width: 100%; } }

.header-cart {
  margin-left: 0; }
  .header-cart > a,
  .header-cart > button {
    padding-right: 0; }
    @media (max-width: 1199.98px) {
      .header-cart > a,
      .header-cart > button {
        align-items: flex-start;
        min-width: 33px; } }

.header-logo img {
  display: block;
  max-width: 100%; }

.header-main-menu {
  background-color: transparent; }

/* Legacy header-menu styles - kept for backward compatibility */
.header-menu {
  position: relative;
  color: var(--color);
  background-color: var(--background-color); }
  @media (min-width: 1200px) {
    .header-menu {
      padding: var(--padding);
      padding-top: 0;
      padding-bottom: 0; } }
  @media (max-width: 1199.98px) {
    .header-menu {
      display: none; } }
  .header-menu > .container,
  .header-menu > .container-full {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between; }
  .header-menu .main-menu__nav-item > a {
    padding: 14px 0; }
    .header-menu .main-menu__nav-item > a > span svg {
      color: inherit; }
  .header-menu .disclosure label {
    display: none; }
  .header-menu .localization-form__select {
    color: var(--color);
    font-size: calc(var(--font-size-base) - 1px);
    font-weight: 500;
    line-height: 1.23077; }
    .header-menu .localization-form__select .fw-semibold {
      font-weight: 500 !important; }
  .header-menu__aside {
    display: flex;
    flex-flow: row wrap;
    align-items: center; }
  .header-menu__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-flow: row wrap; }
    .header-menu__list--not-alone {
      margin-right: 24px;
      padding-right: 24px; }
      .header-menu__list--not-alone::after {
        content: "";
        pointer-events: none;
        position: absolute;
        top: 50%;
        right: 0;
        height: 18px;
        margin-top: -9px;
        border-right: 1px solid var(--color);
        opacity: .2; }
  .header-menu__list-item {
    padding: 0 12px; }
    .header-menu__list-item:first-child {
      padding-left: 0; }
    .header-menu__list-item:last-child {
      padding-right: 0; }
  .header-menu__list-link {
    display: block;
    color: var(--color);
    font-size: calc(var(--font-size-base) - 1px);
    font-weight: 500;
    line-height: 1.23077;
    transition: color .2s linear; }
    .header-menu__list-link:hover {
      color: var(--hover-color); }


/* ===================================================================
   PREMIUM SEARCH ENHANCEMENTS - COMPLETE & OPTIMIZED
   ================================================================ */

/* ===== TYPEWRITER PLACEHOLDER ===== */
.search__input[data-typewriter-enabled="true"]::placeholder {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== PREMIUM DROPDOWN CONTAINER (Trending/Popular on Focus) ===== */
.premium-search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 9998;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  max-height: 80vh;
  overflow-y: auto;
}

.premium-search-dropdown.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.premium-search-dropdown__inner {
  padding: 24px;
}

@media (max-width: 575.98px) {
  .premium-search-dropdown__inner {
    padding: 20px 16px;
  }
}

.premium-search-dropdown::-webkit-scrollbar {
  width: 8px;
}

.premium-search-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.premium-search-dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.premium-search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ===== SECTION HEADERS ===== */
.premium-search__section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.premium-search__section-header svg {
  color: #ff8c00;
  flex-shrink: 0;
}

.premium-search__section-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333;
}

/* ===== TRENDING SEARCHES ===== */
.premium-search__trending {
  margin-bottom: 28px;
}

@media (max-width: 575.98px) {
  .premium-search__trending {
    margin-bottom: 24px;
  }
}

.premium-search__trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

@media (max-width: 575.98px) {
  .premium-search__trending-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.premium-search__trending-list li a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .premium-search__trending-list li a {
    padding: 12px 16px;
    font-size: 15px;
  }
}

.premium-search__trending-list li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: #ff8c00;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.premium-search__trending-list li a:hover,
.premium-search__trending-list li a:focus {
  background: #fff;
  color: #ff8c00;
  border-color: #ff8c00;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
  transform: translateX(4px);
}

.premium-search__trending-list li a:hover::before,
.premium-search__trending-list li a:focus::before {
  transform: scaleY(1);
}

/* ===== POPULAR PRODUCTS GRID ===== */
.premium-search__popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 991.98px) {
  .premium-search__popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .premium-search__popular-grid {
    grid-template-columns: 1fr;
  }
}

.premium-search__popular-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.premium-search__popular-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 140, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-search__popular-item:hover,
.premium-search__popular-item:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #ff8c00;
}

.premium-search__popular-item:hover::before,
.premium-search__popular-item:focus::before {
  opacity: 1;
}

.premium-search__popular-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
  position: relative;
}

@media (max-width: 575.98px) {
  .premium-search__popular-image {
    width: 90px;
    height: 90px;
  }
}

.premium-search__popular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.premium-search__popular-item:hover .premium-search__popular-image img,
.premium-search__popular-item:focus .premium-search__popular-image img {
  transform: scale(1.1);
}

.premium-search__popular-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.premium-search__popular-title {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.premium-search__popular-item:hover .premium-search__popular-title,
.premium-search__popular-item:focus .premium-search__popular-title {
  color: #ff8c00;
}

.premium-search__popular-price {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.premium-search__price-compare {
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
}

.premium-search__price-current {
  color: #ff8c00;
  font-weight: 700;
  font-size: 16px;
}

/* ===== PREDICTIVE SEARCH CONTAINER ===== */
.predictive-search.predictive-search--header {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin-top: 12px;
  animation: slideDownFade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 70vh;
  overflow-y: auto;
}

@media (max-width: 575.98px) {
  .predictive-search.predictive-search--header {
    border-radius: 12px;
    max-height: 75vh;
  }
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.predictive-search .container {
  max-width: 100%;
  padding: 0;
}

#predictive-search-results {
  padding: 28px !important;
  border-top: 0 !important;
}

@media (max-width: 991.98px) {
  #predictive-search-results {
    padding: 20px !important;
  }
}

@media (max-width: 575.98px) {
  #predictive-search-results {
    padding: 16px !important;
  }
}

/* ===== SEARCH SUGGESTIONS (Query Pills) ===== */
#predictive-search-queries {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 0 !important;
  padding: 0;
}

#predictive-search-queries::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
  border-radius: 2px;
}

#predictive-search-results-queries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0 0 !important;
  padding: 0 !important;
}

@media (max-width: 575.98px) {
  #predictive-search-results-queries-list {
    gap: 8px;
  }
}

#predictive-search-results-queries-list .predictive-search__list-item {
  margin: 0 !important;
  padding: 0 !important;
}

#predictive-search-results-queries-list .predictive-search__item {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 24px;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  #predictive-search-results-queries-list .predictive-search__item {
    padding: 8px 14px;
    font-size: 13px;
  }
}

#predictive-search-results-queries-list .predictive-search__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#predictive-search-results-queries-list .predictive-search__item:hover,
#predictive-search-results-queries-list .predictive-search__item:focus {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-color: #ff8c00;
  color: #ff8c00;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 140, 0, 0.25);
}

#predictive-search-results-queries-list .predictive-search__item:hover::before,
#predictive-search-results-queries-list .predictive-search__item:focus::before {
  opacity: 1;
}

#predictive-search-results-queries-list .predictive-search__item mark {
  background: transparent;
  color: #ff8c00;
  font-weight: 700;
}

#predictive-search-results-queries-list .predictive-search__item-content {
  position: relative;
  z-index: 1;
}

/* ===== PRODUCTS LIST - VERTICAL LAYOUT (30% IMAGE | 70% INFO) ===== */
#predictive-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 0 0 !important;
  padding: 28px 0 0 0 !important;
  border-top: 2px solid #f0f0f0;
  max-height: 450px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

@media (max-width: 991.98px) {
  #predictive-search-results-list {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
}

@media (max-width: 575.98px) {
  #predictive-search-results-list {
    gap: 10px;
    max-height: 400px;
  }
}

/* Custom scrollbar for products list */
#predictive-search-results-list::-webkit-scrollbar {
  width: 6px;
}

#predictive-search-results-list::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 3px;
}

#predictive-search-results-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

#predictive-search-results-list::-webkit-scrollbar-thumb:hover {
  background: #999;
}

#predictive-search-results-list .predictive-search__product {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* ===== PRODUCT CARD - HORIZONTAL LAYOUT ===== */
.predictive-search .product-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 16px;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  padding: 12px;
  height: auto !important;
  min-height: 140px;
}

.predictive-search .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: #ff8c00;
}

/* Product Image - 30% Width */
.predictive-search .product-card__media {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 8px;
  flex-shrink: 0;
  width: 30%;
  min-width: 120px;
  max-width: 160px;
}

@media (max-width: 575.98px) {
  .predictive-search .product-card__media {
    width: 35%;
    min-width: 100px;
    max-width: 120px;
  }
}

.predictive-search .product-card__media::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.predictive-search .product-card:hover .product-card__media::after {
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 140, 0, 0.12) 100%);
}

.predictive-search .product-card__link {
  display: block;
  height: 100%;
}

.predictive-search .product-card__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.predictive-search .product-card:hover .product-card__link img {
  transform: scale(1.1);
}

/* Product Content - 70% Width */
.predictive-search .product-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 8px 4px 0;
  min-width: 0;
}

@media (max-width: 575.98px) {
  .predictive-search .product-card__content {
    padding: 0 4px 0 0;
  }
}

.predictive-search .product-card__vendor {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  margin-bottom: 6px;
}

.predictive-search .product-card__vendor label {
  display: none;
}

.predictive-search .product-card__vendor a {
  color: #ff8c00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.predictive-search .product-card__vendor a:hover {
  color: #e67e00;
}

/* Product Name */
.predictive-search .product-card__name {
  margin-bottom: 10px;
  height: auto !important;
  min-height: auto !important;
  -webkit-line-clamp: 2 !important;
}

.predictive-search .product-card__name a {
  color: #333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 575.98px) {
  .predictive-search .product-card__name a {
    font-size: 14px;
  }
}

.predictive-search .product-card:hover .product-card__name a {
  color: #ff8c00;
}

/* Reviews */
.predictive-search .product-card__review {
  margin-bottom: 10px;
}

.predictive-search .vela-review__content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.predictive-search .vela-review__badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.predictive-search .vela-review__star .jdgm-star {
  font-size: 12px !important;
  color: #ffc107;
}

.predictive-search .vela-review__rating {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.predictive-search .vela-review__count {
  font-size: 12px;
  color: #999;
  display: none;
}

/* Pricing */
.predictive-search .product-card__group-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f5f5f5;
}

.predictive-search .product-price {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 575.98px) {
  .predictive-search .product-price {
    font-size: 15px;
  }
}

.predictive-search .product-price__has-sale {
  color: #ff8c00;
}

.predictive-search .product-price--regular {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  text-decoration: line-through;
}

/* Labels */
.predictive-search .product-card__label {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.predictive-search .product-card__label-item {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.predictive-search .label-on-sale {
  background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
  color: #fff;
}

.predictive-search .label-new {
  background: linear-gradient(135deg, #0BB53B 0%, #09a034 100%);
  color: #fff;
}

/* Media Actions (Wishlist, Quick View, Cart) */
.predictive-search .product-card__media-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.predictive-search .product-card:hover .product-card__media-actions {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 575.98px) {
  .predictive-search .product-card__media-actions {
    opacity: 1;
    transform: translateX(0);
  }
}

.predictive-search .product-card__media-actions .btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.predictive-search .product-card__media-actions .btn:hover {
  background: #ff8c00;
  color: #fff;
  border-color: #ff8c00;
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.predictive-search .product-card__media-actions svg {
  width: 16px;
  height: 16px;
}

/* Hide tooltips in search */
.predictive-search .tooltip {
  display: none !important;
}

/* ===== VIEW ALL RESULTS BUTTON ===== */
#predictive-search-option-search-keywords {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
  text-align: center;
}

.predictive-search__search-for-button .btn {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 10px 25px rgba(255, 140, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: inline-block;
  min-width: 200px;
}

@media (max-width: 575.98px) {
  .predictive-search__search-for-button .btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 28px;
  }
}

.predictive-search__search-for-button .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.predictive-search__search-for-button .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(255, 140, 0, 0.45);
}

.predictive-search__search-for-button .btn:hover::before {
  left: 100%;
}

.predictive-search__search-for-button .btn:active {
  transform: translateY(-1px);
}

/* ===== LOADING STATE ===== */
.predictive-search__loading-state {
  display: none;
}

.predictive-search.is-loading .predictive-search__loading-state {
  display: block;
  padding: 60px 0;
}

/* ===== SCROLLBAR STYLING ===== */
.predictive-search.predictive-search--header {
  scroll-behavior: smooth;
}

.predictive-search.predictive-search--header::-webkit-scrollbar {
  width: 6px;
}

.predictive-search.predictive-search--header::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.predictive-search.predictive-search--header::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.predictive-search.predictive-search--header::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* ===== STAGGER ANIMATION ===== */
.predictive-search .product-card {
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.predictive-search .product-card:nth-child(1) { animation-delay: 0.05s; }
.predictive-search .product-card:nth-child(2) { animation-delay: 0.1s; }
.predictive-search .product-card:nth-child(3) { animation-delay: 0.15s; }
.predictive-search .product-card:nth-child(4) { animation-delay: 0.2s; }
.predictive-search .product-card:nth-child(5) { animation-delay: 0.25s; }
.predictive-search .product-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ACCESSIBILITY ===== */
.predictive-search .predictive-search__item:focus-visible,
.predictive-search .product-card:focus-within {
  outline: 3px solid #ff8c00;
  outline-offset: 3px;
}

/* ===== EMPTY STATE STYLING ===== */
.predictive-search__empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.predictive-search__empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  color: #ccc;
}

.predictive-search__empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.predictive-search__empty-state p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet Landscape */
@media (max-width: 1199.98px) {
  .predictive-search .product-card__media {
    width: 30%;
    min-width: 110px;
    max-width: 140px;
  }
  
  .predictive-search .product-card__name a {
    font-size: 14px;
  }
  
  #predictive-search-results-list {
    max-height: 420px;
  }
}

/* Tablet Portrait */
@media (max-width: 991.98px) {
  .predictive-search .product-card {
    padding: 10px;
    min-height: 120px;
  }
  
  .predictive-search .product-card__media {
    width: 32%;
    min-width: 100px;
    max-width: 130px;
  }
  
  .predictive-search .product-card__content {
    padding: 2px 6px 2px 0;
  }
  
  .predictive-search .product-card__name a {
    font-size: 13px;
  }
  
  .predictive-search .product-price {
    font-size: 14px;
  }
  
  .predictive-search .product-price--regular {
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .predictive-search .product-card {
    gap: 12px;
    padding: 10px;
    min-height: 110px;
  }
  
  .predictive-search .product-card__media {
    width: 35%;
    min-width: 90px;
    max-width: 110px;
  }
  
  .predictive-search .product-card__vendor {
    font-size: 10px;
    margin-bottom: 4px;
  }
  
  .predictive-search .product-card__name {
    margin-bottom: 6px;
  }
  
  .predictive-search .product-card__name a {
    font-size: 13px;
    line-height: 1.3;
  }
  
  .predictive-search .product-card__review {
    margin-bottom: 6px;
  }
  
  .predictive-search .vela-review__star .jdgm-star {
    font-size: 10px !important;
  }
  
  .predictive-search .vela-review__rating {
    font-size: 11px;
  }
  
  .predictive-search .product-card__group-price {
    padding-top: 6px;
    gap: 6px;
  }
  
  .predictive-search .product-price {
    font-size: 14px;
  }
  
  .predictive-search .product-price--regular {
    font-size: 11px;
  }
  
  .predictive-search .product-card__label {
    top: 6px;
    left: 6px;
    gap: 4px;
  }
  
  .predictive-search .product-card__label-item {
    padding: 4px 8px;
    font-size: 9px;
  }
  
  .predictive-search .product-card__media-actions .btn {
    width: 32px;
    height: 32px;
  }
  
  .predictive-search .product-card__media-actions svg {
    width: 14px;
    height: 14px;
  }
  
  #predictive-search-results-list {
    gap: 10px;
    max-height: 380px;
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
  
  #predictive-search-option-search-keywords {
    margin-top: 16px;
    padding-top: 16px;
  }
}

/* Extra Small Mobile */
@media (max-width: 374.98px) {
  .predictive-search .product-card {
    gap: 10px;
    padding: 8px;
  }
  
  .predictive-search .product-card__media {
    width: 38%;
    min-width: 80px;
    max-width: 100px;
  }
  
  .predictive-search .product-card__name a {
    font-size: 12px;
  }
  
  .predictive-search .product-price {
    font-size: 13px;
  }
  
  #predictive-search-results-list {
    max-height: 350px;
  }
}

/* ===== FIREFOX SCROLLBAR STYLING ===== */
@supports (scrollbar-width: thin) {
  #predictive-search-results-list {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
  }
  
  .predictive-search.predictive-search--header {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
  }
  
  .premium-search-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .premium-search-dropdown,
  .predictive-search {
    display: none !important;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  .predictive-search .product-card {
    border-width: 2px;
  }
  
  .premium-search__trending-list li a {
    border-width: 2px;
  }
  
  .premium-search__popular-item {
    border-width: 2px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .predictive-search .product-card,
  .premium-search__trending-list li a,
  .premium-search__popular-item,
  .predictive-search__search-for-button .btn,
  .predictive-search .product-card__link img,
  .premium-search__popular-image img {
    transition: none;
    animation: none;
  }
  
  .predictive-search .product-card:hover,
  .premium-search__trending-list li a:hover,
  .premium-search__popular-item:hover {
    transform: none;
  }
}

/* ===== DARK MODE SUPPORT (Optional) ===== */
@media (prefers-color-scheme: dark) {
  /* Uncomment if you want to support dark mode */
  /*
  .premium-search-dropdown,
  .predictive-search.predictive-search--header {
    background: #1a1a1a;
    color: #e0e0e0;
  }
  
  .predictive-search .product-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
  }
  
  .predictive-search .product-card__name a {
    color: #e0e0e0;
  }
  
  .premium-search__trending-list li a {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: #e0e0e0;
  }
  */
}

/* ===== FOCUS VISIBLE IMPROVEMENTS ===== */
.predictive-search .product-card:focus-visible,
.premium-search__trending-list li a:focus-visible,
.premium-search__popular-item:focus-visible,
#predictive-search-results-queries-list .predictive-search__item:focus-visible {
  outline: 3px solid #ff8c00;
  outline-offset: 3px;
  border-radius: 12px;
}

.predictive-search__search-for-button .btn:focus-visible {
  outline: 3px solid #ff8c00;
  outline-offset: 5px;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.predictive-search .product-card,
.premium-search__trending-list li a,
.premium-search__popular-item {
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
}

.predictive-search .product-card__link img,
.premium-search__popular-image img {
  will-change: transform;
  backface-visibility: hidden;
}

/* ===== UTILITY CLASSES ===== */
.predictive-search--hidden {
  display: none !important;
}

.predictive-search--loading {
  pointer-events: none;
  opacity: 0.6;
}

.premium-search-dropdown--hidden {
  display: none !important;
}

/* ===== FIX FOR SHOPIFY THEME CONFLICTS ===== */
.predictive-search .product-card * {
  box-sizing: border-box;
}

.predictive-search .product-card img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Ensure proper spacing in product grid */
.predictive-search .row {
  margin: 0;
}

.predictive-search .col,
.predictive-search [class*="col-"] {
  padding: 0;
}

/* ===== END OF PREMIUM SEARCH CSS ===== */
  outline-offset: 4px;
}

.premium-search__trending-list li a:focus-visible,
.premium-search__popular-item:focus-visible {
  outline: 3px solid #ff8c00;}

  /* ===================================================================
   NAVIGATION MENU - ACTIVE & HOVER BORDER STYLING
   ================================================================ */

/* Remove default underline/border styles */
.header__menu-section .main-menu__nav-item > a {
  position: relative;
  padding: 8px 0;
  font-size: calc(var(--menu-font-size) - 1px);
  color: #ffffff;
  transition: color .35s ease;
  text-decoration: none;
}

/* Remove any existing bottom border/pseudo elements */
.header__menu-section .main-menu__nav-item > a::before,
.header__menu-section .main-menu__nav-item > a::after {
  display: none;
}

/* ===== ANIMATED BOTTOM BORDER ===== */
.header__menu-section .main-menu__nav-item > a > span {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

/* Bottom border (hidden by default) */
/* Bottom border (hidden by default) */
.header__menu-section .main-menu__nav-item > a > span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #FF9933 0%,     /* Saffron */
    #FFFFFF 50%,   /* White */
    #138808 100%   /* Green */
  );
  border-radius: 2px 2px 0 0;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Hover state - Border expands from left to right */
.header__menu-section .main-menu__nav-item:hover > a > span::after,
.header__menu-section .main-menu__nav-item > a:hover > span::after,
.header__menu-section .main-menu__nav-item > a:focus > span::after {
  width: 100%;
}

/* Active state - Border always visible */
.header__menu-section .main-menu__nav-item > a.active > span::after,
.header__menu-section .main-menu__nav-item.active > a > span::after {
  width: 100%;
}

/* Text color on hover and active */
.header__menu-section .main-menu__nav-item > a:hover,
.header__menu-section .main-menu__nav-item > a:focus,
.header__menu-section .main-menu__nav-item > a.active,
.header__menu-section .main-menu__nav-item.active > a {
  color: #ff8c00;
}

/* ===== ALTERNATIVE STYLE 1: CENTER EXPAND ANIMATION ===== */
/* Uncomment to use center-expand animation instead */
/*
.header__menu-section .main-menu__nav-item > a > span::after {
  left: 50%;
  transform: translateX(-50%);
}

.header__menu-section .main-menu__nav-item:hover > a > span::after,
.header__menu-section .main-menu__nav-item > a:hover > span::after,
.header__menu-section .main-menu__nav-item > a.active > span::after {
  width: 100%;
}
*/

/* ===== ALTERNATIVE STYLE 2: SOLID BORDER (NO ANIMATION) ===== */
/* Uncomment for instant border without animation */
/*
.header__menu-section .main-menu__nav-item > a > span::after {
  transition: none;
}

.header__menu-section .main-menu__nav-item:hover > a > span::after,
.header__menu-section .main-menu__nav-item > a.active > span::after {
  width: 100%;
}
*/

/* ===== ALTERNATIVE STYLE 3: THICKER BORDER ===== */
/* Uncomment for 4px thick border */
/*
.header__menu-section .main-menu__nav-item > a > span::after {
  height: 4px;
}
*/

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1199.98px) {
  /* Hide border on mobile since menu is different */
  .header__menu-section {
    display: none;
  }
}

/* ===== DROPDOWN MENU ITEMS (if needed) ===== */
.menu-dropdown__content .main-menu__link {
  position: relative;
  padding-bottom: 4px;
}

.menu-dropdown__content .main-menu__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ff8c00;
  transition: width 0.3s ease;
}

.menu-dropdown__content .main-menu__link:hover::after,
.menu-dropdown__content .main-menu__link:focus::after {
  width: 100%;
}

/* ===== FIX FOR DROPDOWN ARROWS ===== */
.header__menu-section .main-menu__nav-item > a > span svg {
  margin-left: 4px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.header__menu-section .main-menu__nav-item:hover > a > span svg {
  transform: rotate(0deg);
}

/* ===== ACCESSIBILITY - FOCUS VISIBLE ===== */
.header__menu-section .main-menu__nav-item > a:focus-visible {
  outline: 2px solid #ff8c00;
  outline-offset: 4px;
  border-radius: 2px;
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
.header__menu-section .main-menu__nav-item > a[href^="#"] {
  scroll-behavior: smooth;
}

/* ===== OPTIONAL: ADD SUBTLE GLOW EFFECT ===== */
/* Uncomment for glowing border effect */
/*
.header__menu-section .main-menu__nav-item > a > span::after {
  box-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

.header__menu-section .main-menu__nav-item:hover > a > span::after,
.header__menu-section .main-menu__nav-item > a.active > span::after {
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.8);
}
*/

/* ===== OPTIONAL: GRADIENT BORDER ANIMATION ===== */
/* Uncomment for animated gradient border */
/*
@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header__menu-section .main-menu__nav-item > a.active > span::after {
  background: linear-gradient(90deg, #ff8c00, #ffa500, #ff8c00, #ffa500);
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}
*/

/* ===== PRINT STYLES ===== */
@media print {
  .header__menu-section .main-menu__nav-item > a > span::after {
    display: none;
  }
}
/* FIX: Predictive search behind homepage banners */
.header__search,
.header-search,
.header-search__container {
  position: relative;
  z-index: 100000 !important;
}

.header-search .predictive-search,
.premium-search-dropdown {
  position: absolute !important;
  z-index: 100001 !important;
}
/* Allow search dropdown to overflow on homepage */
.template-index,
.template-index body,
.template-index .header,
.template-index .header__container {
  overflow: visible !important;
}
.container, .container-full {
  /* overflow: hidden !important; */
  max-width: 100%;
}

/* =========================================
   HEADER – STICKY SAFE + HIGHEST Z-INDEX
========================================= */

/* Sticky header (do NOT override sticky logic) */
.header,
.section-header {
  z-index: 999999 !important;
}

/* Internal layers – no positioning interference */
.header__container,
.header__body {
  position: static !important;
}

/* Menu + search layers */
.header-main-menu,
.header__menu-section,
.header__search,
.header-search,
.header-search__container {
  z-index: 1000000 !important;
}

/* Dropdowns & predictive search */
.menu-dropdown__content,
.header-search .predictive-search,
.premium-search-dropdown {
  position: absolute !important;
  z-index: 1000001 !important;
}

/* Allow dropdown overflow */
.header,
.header__container,
.header__body {
  overflow: visible !important;
}

/* Ensure content stays below header */
main,
section {
  position: relative;
}
/* =========================================
   MOBILE HEADER – SINGLE LINE LAYOUT
   Menu | Logo | Search | Cart
========================================= */
@media (max-width: 1199.98px) {

  /* Header main row */
  .header__body {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
    gap: 10px;
  }

  /* MENU ICON */
  .header__aside--menu {
    display: flex !important;
    order: 1;
    width: auto;
  }

  /* LOGO */
  .header__main {
    order: 2;
    width: auto !important;
    justify-content: center;
  }

  .header-logo img {
    max-height: 36px;
    width: auto;
  }

  /* SEARCH BAR */
  .header__search {
    order: 3;
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-search__input .form-control {
    padding: 10px 42px 10px 14px;
    font-size: 14px;
  }

  /* CART ICON */
  .header__aside {
    order: 4;
    width: auto;
    justify-content: flex-end;
  }

  /* HIDE DESKTOP MENU */
  .header__menu-section {
    display: none !important;
  }

  /* SPACING FIX */
  .header__action {
    margin-left: 10px;
  }

  /* Prevent wrapping */
  .header__main,
  .header__search,
  .header__aside,
  .header__aside--menu {
    flex-shrink: 0;
  }
}
main,
section {
  position: relative;
}
/* =========================================
   MOBILE SEARCH RESULTS – FULL WIDTH
========================================= */
@media (max-width: 1199.98px) {

  /* Allow search container to overflow */
  .header-search,
  .header-search__container {
    position: static !important;
  }

  /* Predictive search dropdown */
  .header-search .predictive-search,
  .premium-search-dropdown {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;

    top: calc(var(--header-height, 64px)) !important;
    border-radius: 0 0 16px 16px;

    z-index: 1000002 !important;
  }

  /* Inner padding for content */
  .predictive-search .container,
  .premium-search-dropdown__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
main,
section {
  position: relative;
}
  /* Remove min-width restriction */
  .header-search .predictive-search {
    min-width: unset !important;
  }
}
/* =========================================
   MOBILE SEARCH – 2 PRODUCTS PER ROW
========================================= */
@media (max-width: 575.98px) {

  /* Product list becomes grid */
  #predictive-search-results-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 16px !important;
  }

  /* Product card – compact */
  .predictive-search .product-card {
    flex-direction: column !important;
    min-height: auto !important;
    padding: 8px;
    gap: 8px;
  }

  /* Image on top */
  .predictive-search .product-card__media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    height: 140px;
    border-radius: 10px;
  }

  .predictive-search .product-card__link img {
    object-fit: cover;
  }

  /* Content below image */
  .predictive-search .product-card__content {
    padding: 0 !important;
  }

  /* Product name – smaller */
  .predictive-search .product-card__name a {
    font-size: 13px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }

  /* Hide vendor & reviews (cleaner) */
  .predictive-search .product-card__vendor,
  .predictive-search .product-card__review {
    display: none !important;
  }

  /* Price styling */
  .predictive-search .product-price {
    font-size: 14px;
  }

  .predictive-search .product-price--regular {
    font-size: 12px;
  }

  /* Media actions (wishlist / quick view) */
  .predictive-search .product-card__media-actions {
    top: 6px;
    right: 6px;
    gap: 4px;
  }

  .predictive-search .product-card__media-actions .btn {
    width: 30px;
    height: 30px;
  }
}
/* =========================================
   FIX: Mobile Drawer Should Be Above Search
========================================= */

@media (max-width: 1199.98px) {

  /* Shopify Mobile Drawer Overlay */
  .menu-drawer,
  .menu-drawer__inner-container,
  .header-menu-mobile,
  .offcanvas {
    z-index: 9999999 !important;
  }

  /* Search dropdown must stay below drawer */
  .header-search .predictive-search,
  .premium-search-dropdown {
    z-index: 999 !important;
  }
}
