@media (min-width: 768px) {
  .sw-searchbar-toggle-block .header-block__icon,
  .header-block__icon {
    font-size: 24px;
    height: 24px;
    line-height: 24px;
    width: 24px;
  }

  .ps-search-toggle-btn {
    background: transparent;
    border: 0;
  }

  .header-top__center {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .sw-searchbar-toggle-block {
    flex: 1 1 auto;
    justify-content: center;
    max-width: none;
    position: relative;
    width: 100%;
  }

  .sw-searchbar-header-backdrop {
    background: rgba(0, 0, 0, 0.2);
    border: 0;
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2147482998;
  }

  .sw-searchbar-toggle-block:has(.sw-searchbar-header-form:focus-within) .sw-searchbar-header-backdrop,
  body.sw-header-search-open .sw-searchbar-header-backdrop {
    display: block;
  }

  .sw-searchbar-toggle-block:has(.sw-searchbar-header-form:focus-within),
  body.sw-header-search-open .sw-searchbar-toggle-block {
    z-index: 2147483000;
  }

  .sw-searchbar-header-form {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 15px;
    display: flex;
    gap: 0.45rem;
    height: 2.5rem;
    padding: 0 0.85rem;
    position: relative;
    width: 100%;
    z-index: 2147483000;
  }

  .sw-searchbar-header-form,
  .sw-searchbar-header-form.is-open,
  body.sw-header-search-open .sw-searchbar-header-form {
    border-color: rgba(15, 23, 42, 0.14);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-color: transparent;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18), 0 8px 24px rgba(15, 23, 42, 0.1);
  }

  .sw-searchbar-header-form:has(.sw-searchbar-header-form__dropdown:not(.d-none)) .sw-searchbar-header-form__input,
  .sw-searchbar-header-form.is-open .sw-searchbar-header-form__input,
  body.sw-header-search-open .sw-searchbar-header-form__input {
    background: #fff;
  }

  .sw-searchbar-header-form:focus-within,
  .sw-searchbar-header-form:hover {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.22);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  }

  .sw-searchbar-header-form__icon {
    color: #24292f;
    flex: 0 0 auto;
    font-size: 21px;
    height: 21px;
    line-height: 21px;
    width: 21px;
  }

  .sw-searchbar-header-form__input {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #24292f;
    flex: 1 1 auto;
    font: inherit;
    font-size: 0.95rem;
    min-width: 0;
    outline: 0;
    padding: 0;
  }

  .sw-searchbar-header-form__input::placeholder {
    color: #6b7280;
    opacity: 1;
  }

  .sw-searchbar-header-form__clear {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 15px;
    color: #6b7280;
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.75rem;
    justify-content: center;
    padding: 0;
    width: 1.75rem;
  }

  .sw-searchbar-header-form__clear:hover,
  .sw-searchbar-header-form__clear:focus {
    background: rgba(15, 23, 42, 0.06);
    color: #111;
  }

  .sw-searchbar-header-form__clear .material-icons {
    font-size: 20px;
    line-height: 20px;
  }

  .sw-searchbar-header-form.is-loading::after {
    animation: sw-search-header-loading-spin 0.72s linear infinite;
    border: 2px solid rgba(107, 114, 128, 0.28);
    border-radius: 50%;
    border-top-color: #4b5563;
    content: "";
    height: 1rem;
    pointer-events: none;
    position: absolute;
    right: calc(2.2rem + 10px);
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
  }

  @keyframes sw-search-header-loading-spin {
    to {
      transform: translateY(-50%) rotate(360deg);
    }
  }

  .sw-searchbar-header-form__dropdown {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 0 0 15px 15px;
    border-top: 0;
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.18), 0 14px 24px rgba(15, 23, 42, 0.1);
    left: -1px;
    padding: 0.55rem;
    position: absolute;
    right: -1px;
    top: calc(100% - 2px);
  }

  .sw-searchbar-header-form__results {
    display: grid;
    gap: 0.35rem;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
  }

  .sw-searchbar-header-form__support-bar {
    align-items: center;
    background-color: #000 !important;
    background-image: url('search-bg.jpg');
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    border-radius: 4px;
    color: #fff;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    font-size: 15px;
    font-weight: 500;
    gap: 0.45rem;
    letter-spacing: 0;
    line-height: 1.2;
    margin-top: 0.65rem;
    max-width: 100%;
    opacity: 1;
    padding: 0.45rem 0.55rem;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
  }

  .sw-searchbar-header-form__support-link {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    display: inline-flex;
    font: inherit;
    grid-column: 2;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 100%;
  }

  .sw-searchbar-header-form__support-dismiss {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    display: inline-flex;
    font: inherit;
    font-size: 1rem;
    grid-column: 3;
    height: 1.5rem;
    justify-content: center;
    line-height: 1;
    opacity: 0.88;
    padding: 0;
    width: 1.5rem;
    justify-self: end;
  }

  .sw-searchbar-header-form__support-dismiss:hover,
  .sw-searchbar-header-form__support-dismiss:focus {
    opacity: 1;
  }

  .sw-searchbar-header-form__support-link:hover,
  .sw-searchbar-header-form__support-link:focus {
    color: #fff;
    text-decoration: underline;
  }

  .sw-searchbar-header-form__support-link--button {
    cursor: pointer;
  }

  .sw-searchbar-header-form__results .sw-searchbar-history__row {
    grid-template-columns: 1.75rem minmax(0, 1fr) auto;
    min-height: 2.5rem;
    padding: 0.25rem 0.35rem;
  }

  .sw-searchbar-header-form__results .sw-searchbar-brand-result,
  .sw-searchbar-header-form__results .ps-searchbar__result-link {
    min-height: 3.75rem;
    padding: 0.25rem;
  }

  .sw-searchbar-header-form__results .sw-searchbar-brand-result {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
  }

  .sw-searchbar-header-form__results .sw-searchbar-brand-result__icon,
  .sw-searchbar-header-form__results .ps-searchbar__result-image {
    flex-basis: 3rem;
    height: 3rem;
    width: 3rem;
  }

  .sw-searchbar-header-form__results .sw-searchbar-brand-result__name,
  .sw-searchbar-header-form__results .ps-searchbar__result-name {
    font-size: 0.95rem;
    padding: 0;
  }

  .sw-searchbar-header-form__results .ps-searchbar__result-pricing {
    font-size: 0.85rem;
    padding: 0;
  }

  .sw-searchbar-header-product-result__actions {
    margin-left: 0.5rem;
  }

  .ps-searchbar-desktop {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.28s ease;
    z-index: 2147483000;
  }

  .ps-searchbar-desktop.is-open,
  .ps-searchbar-desktop:target {
    opacity: 1;
    pointer-events: auto;
  }

  .ps-searchbar-desktop__backdrop {
    background: rgba(15, 23, 42, 0.44);
    border: 0;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.28s ease;
    z-index: 0;
  }

  .ps-searchbar-desktop.is-open .ps-searchbar-desktop__backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .ps-searchbar-desktop__shell {
    left: 0;
    position: relative;
    right: 0;
    z-index: 1;
  }

  .ps-searchbar-desktop__panel {
    background: #fff;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
    margin: 0;
    padding: 1rem 0 1.25rem;
    position: relative;
    transform: translateY(-100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    z-index: 1;
  }

  .ps-searchbar-desktop.is-open .ps-searchbar-desktop__panel,
  .ps-searchbar-desktop:target .ps-searchbar-desktop__panel {
    transform: translateY(0);
  }

  .ps-searchbar-desktop__bar {
    align-items: flex-start;
    column-gap: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.5rem;
  }

  .ps-searchbar-desktop .ps-searchbar {
    flex: 1 1 auto;
    grid-column: 1;
    margin: 0;
    max-width: none;
    min-width: 0;
  }

  .ps-searchbar-desktop .ps-searchbar__form {
    border-bottom: 0;
    border-radius: 0;
  }

  .ps-searchbar-desktop .ps-searchbar__input {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    margin-top: 10px;
    min-height: 4.25rem;
    padding: 0.35rem 1rem 0.6rem 3rem;
  }

  .ps-searchbar-desktop .ps-searchbar__input::placeholder {
    color: #5f6368;
    opacity: 1;
  }

  .ps-searchbar-desktop .ps-searchbar__magnifier,
  .ps-searchbar-desktop .ps-searchbar__clear {
    top: calc(10px + 1.45rem);
    transform: translateY(-50%);
  }

  .ps-searchbar-desktop .ps-searchbar__magnifier {
    font-size: 32px;
    height: 32px;
    left: 0.25rem;
    line-height: 32px;
    width: 32px;
  }

  .ps-searchbar-desktop .ps-searchbar__clear {
    display: none !important;
  }

  .ps-searchbar-desktop__close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 15px;
    color: #6b6b73;
    display: inline-flex;
    height: 2.5rem;
    justify-content: center;
    margin-top: calc(10px + 0.2rem);
    transition: background-color 0.2s ease, color 0.2s ease;
    grid-column: 2;
    width: 2.5rem;
  }

  .ps-searchbar-desktop__close:hover,
  .ps-searchbar-desktop__close:focus {
    background: rgba(17, 17, 17, 0.06);
    color: #111;
  }

  .ps-searchbar-desktop .ps-searchbar__dropdown {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    left: 0;
    margin: 0.85rem 0 0 25px;
    max-width: calc(100% - 25px);
    opacity: 0;
    overflow: visible;
    position: relative;
    right: auto;
    top: 0;
    transform: none;
    transition: opacity 0.22s ease;
    width: calc(100% - 25px);
  }

  .ps-searchbar-desktop .ps-searchbar__dropdown:not(.d-none) {
    opacity: 1;
  }

  .ps-searchbar-desktop .ps-searchbar__results {
    gap: 0.75rem;
    max-height: 100vh;
    overflow-y: auto;
    padding: 0;
  }

  .ps-searchbar-desktop .ps-searchbar__result-link {
    border-radius: 5px;
    padding: 2px;
  }

  .ps-searchbar-desktop .ps-searchbar__result-image {
    border-radius: 5px;
    flex-basis: 5rem;
    outline: 1px solid rgba(15, 23, 42, 0.16);
    outline-offset: -1px;
    width: 5rem;
  }

  .ps-searchbar-desktop .ps-searchbar__result-name {
    flex: 1 1 auto;
    font-size: 20px;
    font-weight: 400;
    min-width: 0;
    padding-right: 1rem;
  }

  .ps-searchbar-desktop .ps-searchbar__result-content {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
  }

  .ps-searchbar-desktop .ps-searchbar__result-pricing {
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
    padding: 0.125rem 0 0.125rem 0;
    text-align: right;
  }

  .ps-searchbar-desktop .ps-searchbar__support-bar {
    align-items: center;
    background-color: #000 !important;
    background-image: url('search-bg.jpg');
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    border-radius: 4px;
    color: #fff;
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.45rem;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0.95rem 0 0;
    max-width: 100%;
    opacity: 1;
    padding: 0.45rem 0.55rem;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 1;
  }

  .ps-searchbar-desktop .ps-searchbar__support-link {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    display: inline-flex;
    font: inherit;
    grid-column: 2;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__support-dismiss {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    display: inline-flex;
    font: inherit;
    font-size: 1rem;
    grid-column: 3;
    height: 1.5rem;
    justify-content: center;
    justify-self: end;
    line-height: 1;
    opacity: 0.88;
    padding: 0;
    width: 1.5rem;
  }

  .ps-searchbar-desktop .ps-searchbar__support-dismiss:hover,
  .ps-searchbar-desktop .ps-searchbar__support-dismiss:focus {
    opacity: 1;
  }

  .ps-searchbar-desktop .ps-searchbar__support-link:hover,
  .ps-searchbar-desktop .ps-searchbar__support-link:focus {
    color: #fff;
    text-decoration: underline;
  }

  .ps-searchbar-desktop .ps-searchbar__support-link--button {
    cursor: pointer;
  }

}

.ps-searchbar__result-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-left: 10px;
  min-width: 0;
}

.ps-searchbar__dropdown {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(8px) scale(0.992);
  transform-origin: top right;
  transition: opacity 0.26s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.42s ease;
}

.ps-searchbar__dropdown:not(.d-none) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ps-searchbar__results {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.ps-searchbar__results.is-updating {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.995);
}

.ps-searchbar__result-link {
  animation: sw-search-result-in 0.44s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--pv-search-index, 0) * 22ms);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(8px);
}

.ps-searchbar__result-link:hover,
.ps-searchbar__result-link:focus {
  background: rgba(15, 23, 42, 0.04);
  border-color: transparent;
  box-shadow: none;
  transform: translateY(0);
}

.sw-searchbar-header-product-result {
  align-items: center;
  border-color: transparent;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  position: relative;
}

.sw-searchbar-header-product-result__main,
.sw-searchbar-header-product-result__actions {
  position: relative;
  z-index: 1;
}

.sw-searchbar-header-product-result__main {
  align-items: center;
  color: inherit;
  display: flex;
  min-width: 0;
  text-decoration: none;
}

.sw-searchbar-header-product-result__main:hover,
.sw-searchbar-header-product-result__main:focus {
  color: inherit;
  text-decoration: none;
}

.sw-searchbar-header-product-result__actions {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  justify-content: flex-end;
  margin-left: auto;
}

.sw-searchbar-header-product-result__cart-badge {
  background: rgba(95, 113, 55, 0.1);
  border: 1px solid rgba(95, 113, 55, 0.18);
  border-radius: 5px;
  color: #47552d;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.4rem 0.5rem;
  white-space: nowrap;
}

.sw-searchbar-header-product-result__cart-badge.is-fresh {
  animation: sw-search-cart-badge-pop 1.05s ease-out both;
  background: rgba(95, 113, 55, 0.18);
  border-color: rgba(95, 113, 55, 0.68);
  box-shadow: 0 0 0 3px rgba(95, 113, 55, 0.14), 0 8px 18px rgba(95, 113, 55, 0.12);
}

.sw-searchbar-header-product-result__qty {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 5px;
  color: #24292f;
  font-size: 0.85rem;
  height: 2rem;
  padding: 0 0.25rem;
  text-align: center;
  width: 3.25rem;
}

.sw-searchbar-header-product-result__add,
.sw-searchbar-header-product-result__wishlist {
  align-items: center;
  background: #111827;
  border: 0;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  padding: 0;
  width: 2rem;
}

.sw-searchbar-header-product-result__add:hover,
.sw-searchbar-header-product-result__add:focus,
.sw-searchbar-header-product-result__wishlist:hover,
.sw-searchbar-header-product-result__wishlist:focus {
  background: #2563eb;
  color: #fff;
}

.sw-searchbar-header-product-result__add:disabled,
.sw-searchbar-header-product-result__wishlist:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.sw-searchbar-header-product-result__add.is-added,
.sw-searchbar-header-product-result__wishlist.is-added {
  background: #5F7137;
  box-shadow: 0 0 0 4px rgba(95, 113, 55, 0.16);
  transform: scale(1.08);
}

.sw-searchbar-header-product-result__add .material-icons,
.sw-searchbar-header-product-result__wishlist .material-icons {
  font-size: 18px;
  line-height: 18px;
}

.ps-searchbar__result-name {
  line-height: 1.3;
  padding: 0.125rem 1rem 0;
}

.ps-searchbar__result-pricing {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.125rem 1rem 0.5rem;
}

.ps-searchbar__result-price {
  color: #111;
  font-weight: 500;
}

.ps-searchbar__result-discount {
  color: #d92727;
  font-weight: 500;
}

.ps-searchbar__result-regular {
  color: #a7a7a7;
  font-weight: 400;
  text-decoration: line-through;
}

.sw-searchbar-history {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.sw-searchbar-history__title {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem 0.1rem;
  text-transform: uppercase;
}

.sw-searchbar-history__row {
  align-items: center;
  animation: sw-search-result-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #1f2937;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.35rem 0.5rem;
  text-align: left;
  width: 100%;
}

.sw-searchbar-history__row:hover,
.sw-searchbar-history__row:focus-within {
  background: rgba(15, 23, 42, 0.04);
}

.sw-searchbar-history__icon {
  color: #8b949e;
  font-size: 22px;
  line-height: 1;
}

.sw-searchbar-history__query {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-searchbar-history__query:hover,
.sw-searchbar-history__query:focus {
  color: #111;
}

.sw-searchbar-history__delete {
  background: transparent;
  border: 0;
  color: #6b7280;
  font-size: 0.95rem;
  padding: 0.25rem 0.5rem;
}

.sw-searchbar-history__delete:hover,
.sw-searchbar-history__delete:focus {
  color: #111;
}

.sw-searchbar-brand-results {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
  padding: 0;
}

.sw-searchbar-brand-result {
  align-items: center;
  animation: sw-search-result-in 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--pv-search-index, 0) * 22ms);
  border-radius: 5px;
  color: #1f2937;
  display: grid;
  gap: 1rem;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  min-height: 5rem;
  padding: 2px;
  text-decoration: none;
}

.sw-searchbar-brand-result:hover,
.sw-searchbar-brand-result:focus {
  background: rgba(15, 23, 42, 0.04);
  color: #111;
  text-decoration: none;
}

.sw-searchbar-brand-result__icon {
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 5px;
  color: #8b949e;
  display: inline-flex;
  font-size: 28px;
  height: 5rem;
  justify-content: center;
  width: 5rem;
}

.sw-searchbar-brand-result__name {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-searchbar-brand-result__label {
  color: #6b7280;
  font-size: 0.95rem;
  padding-right: 0;
  text-align: right;
}

@keyframes sw-search-result-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sw-search-cart-toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sw-search-cart-toast-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
  }
}

@keyframes sw-search-cart-badge-pop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
  }
}

@supports not ((backdrop-filter: blur(24px)) or (-webkit-backdrop-filter: blur(24px))) {
  .ps-searchbar__dropdown {
    background: rgba(255, 255, 255, 0.96);
  }

  @media (min-width: 992px) {
    .ps-searchbar-desktop__panel {
      background: rgba(248, 248, 250, 0.99);
    }
  }
}

/* PV mobile search: one fluid, full-height search surface. */
@media (max-width: 767.98px) {
  body:has(#searchCanvas.show),
  body:has(#searchCanvas.showing) {
    overflow: hidden;
  }

  #searchCanvas.ps-searchbar__offcanvas {
    background: #fbf8f4;
    border: 0;
    bottom: 0;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    opacity: 0;
    overflow: hidden;
    transform: translate3d(0, -0.8rem, 0) scale(0.995);
    transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1), visibility 420ms step-end;
    visibility: hidden;
    z-index: 2147483600;
  }

  #searchCanvas.ps-searchbar__offcanvas.show,
  #searchCanvas.ps-searchbar__offcanvas.showing {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    visibility: visible;
  }

  #searchCanvas.ps-searchbar__offcanvas.hiding {
    opacity: 0;
    transform: translate3d(0, -0.5rem, 0) scale(0.997);
  }

  #searchCanvas .offcanvas-header {
    display: block;
    height: 100%;
    overflow: hidden;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    position: relative;
    width: 100%;
  }

  #searchCanvas .ps-searchbar-desktop__backdrop,
  #searchCanvas .ps-searchbar-desktop__close {
    display: none !important;
  }

  #searchCanvas .ps-searchbar-mobile__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #5b6677;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: max(0.75rem, env(safe-area-inset-right));
    top: max(1.125rem, env(safe-area-inset-top));
    width: 2.75rem;
    z-index: 5;
  }

  #_mobile_ps_searchbar,
  #_mobile_ps_searchbar > .ps-searchbar-desktop,
  #_mobile_ps_searchbar .ps-searchbar-desktop__shell,
  #_mobile_ps_searchbar .ps-searchbar-desktop__panel {
    height: 100%;
    min-height: 0;
    width: 100%;
  }

  #_mobile_ps_searchbar > .ps-searchbar-desktop {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
    position: static;
  }

  #_mobile_ps_searchbar .ps-searchbar-desktop__backdrop {
    display: none !important;
  }

  #_mobile_ps_searchbar .ps-searchbar-desktop__shell {
    position: static;
  }

  #_mobile_ps_searchbar .ps-searchbar-desktop__panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    position: static;
    transform: none !important;
  }

  #_mobile_ps_searchbar .ps-searchbar-desktop__bar {
    align-items: start;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: minmax(0, 1fr) 2.75rem;
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar {
    display: flex;
    flex-direction: column;
    grid-column: 1;
    height: 100%;
    margin: 0;
    min-height: 0;
    min-width: 0;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar__form {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(81, 72, 68, 0.16);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(62, 49, 45, 0.09);
    display: flex;
    flex: 0 0 auto;
    min-height: 3.5rem;
    overflow: hidden;
    position: relative;
  }

  #_mobile_ps_searchbar .ps-searchbar__magnifier {
    color: #514844;
    flex: 0 0 auto;
    font-size: 1.65rem;
    margin: 0 0 0 0.9rem;
    position: static;
    transform: none;
  }

  #_mobile_ps_searchbar .ps-searchbar__input {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #24292f;
    flex: 1 1 auto;
    font-family: var(--pv-sans, "Montserrat", Arial, sans-serif);
    font-size: 1rem;
    height: 3.5rem;
    min-width: 0;
    outline: 0;
    padding: 0.65rem 0.7rem;
  }

  #_mobile_ps_searchbar .ps-searchbar__input::placeholder {
    color: #756f6b;
    opacity: 1;
  }

  #_mobile_ps_searchbar .ps-searchbar__clear {
    align-items: center;
    background: transparent;
    border: 0;
    color: #6b7280;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: static;
    transform: none;
    width: 2.75rem;
  }

  #_mobile_ps_searchbar .ps-searchbar-desktop__close {
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(81, 72, 68, 0.14);
    border-radius: 0.9rem;
    color: #514844;
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    height: 2.75rem;
    justify-content: center;
    margin: 0.38rem 0 0;
    padding: 0;
    width: 2.75rem;
  }

  #_mobile_ps_searchbar .ps-searchbar__dropdown {
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 1 1 auto;
    left: auto;
    margin: 0.7rem 0 0;
    max-height: none;
    min-height: 0;
    opacity: 1;
    overflow: hidden;
    padding: 0;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar__results {
    display: grid;
    gap: 0.35rem;
    max-height: calc(100dvh - 6.5rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0.15rem 1rem 0;
    -webkit-overflow-scrolling: touch;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-result {
    gap: 0.75rem;
    grid-template-columns: 3.4rem minmax(0, 1fr) auto;
    min-height: 3.6rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-result__icon,
  #_mobile_ps_searchbar .ps-searchbar__result-image {
    height: 3.4rem;
    width: 3.4rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-result__name,
  #_mobile_ps_searchbar .ps-searchbar__result-name {
    font-size: 0.95rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-result__label {
    font-size: 0.78rem;
    max-width: 5.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result {
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__actions {
    gap: 0.3rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__qty {
    width: 2.65rem;
  }

  #_mobile_ps_searchbar .ps-searchbar__support-bar {
    bottom: max(0.25rem, env(safe-area-inset-bottom));
    margin-top: 0.65rem;
    position: sticky;
  }
}


/* PV fullscreen search v2: one fluid surface on every viewport. */
body.desktop-search-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .ps-searchbar-desktop {
    background: #fff;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .ps-searchbar-desktop__backdrop {
    background: #fff;
  }

  .ps-searchbar-desktop__shell,
  .ps-searchbar-desktop__panel {
    height: 100%;
    min-height: 0;
    width: 100%;
  }

  .ps-searchbar-desktop__panel {
    background: #fff;
    border: 0;
    box-shadow: none;
    opacity: 0;
    padding: 0;
    transform: translate3d(0, -1rem, 0) scale(0.995);
    transition: opacity 320ms ease, transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ps-searchbar-desktop.is-open .ps-searchbar-desktop__panel,
  .ps-searchbar-desktop:target .ps-searchbar-desktop__panel {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .ps-searchbar-desktop__bar {
    display: block;
    height: 100%;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    position: relative;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__form {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid rgba(81, 72, 68, 0.18);
    border-radius: 0;
    box-shadow: none;
    display: flex;
    min-height: 6.25rem;
    padding-right: 4.5rem;
    position: relative;
    z-index: 2;
  }

  .ps-searchbar-desktop .ps-searchbar__input {
    font-size: clamp(1.35rem, 2.1vw, 2rem);
    font-weight: 500;
    height: 6.25rem;
    margin: 0;
    min-height: 0;
    padding: 0.75rem 1rem 0.75rem 3.75rem;
  }

  .ps-searchbar-desktop .ps-searchbar__magnifier {
    font-size: 2.15rem;
    height: 2.15rem;
    left: 0.5rem;
    line-height: 2.15rem;
    top: 50%;
    width: 2.15rem;
  }

  .ps-searchbar-desktop__close {
    border-radius: 50%;
    grid-column: auto;
    height: 3.25rem;
    margin: 0;
    position: absolute;
    right: clamp(1.5rem, 4vw, 4rem);
    top: 1.5rem;
    width: 3.25rem;
    z-index: 4;
  }

  .ps-searchbar-desktop__close .material-icons {
    font-size: 2rem;
  }

  .ps-searchbar-desktop .ps-searchbar__dropdown {
    display: none;
    height: 100%;
    margin: 0;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__dropdown:not(.d-none) {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .ps-searchbar-desktop .ps-searchbar__results {
    align-content: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100%;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.5rem 0 2rem;
    scrollbar-gutter: stable;
  }

  .ps-searchbar-desktop .sw-searchbar-brand-results,
  .ps-searchbar-desktop .sw-searchbar-history {
    grid-column: 1 / -1;
  }

  .ps-searchbar-desktop .sw-searchbar-brand-results {
    border-bottom: 1px solid rgba(81, 72, 68, 0.1);
    margin: 0 0 0.25rem;
    padding: 0 0 1rem;
  }

  .ps-searchbar-desktop .sw-searchbar-history {
    margin: 0 auto;
    max-width: 62rem;
    width: 100%;
  }

  .ps-searchbar-desktop .sw-searchbar-history__row {
    border-bottom: 1px solid rgba(81, 72, 68, 0.08);
    border-radius: 0;
    min-height: 3.5rem;
    padding: 0.45rem 0.75rem;
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result {
    background: #fff;
    border: 1px solid rgba(81, 72, 68, 0.12);
    border-radius: 0.9rem;
    min-height: 7rem;
    padding: 0.65rem;
  }

  .ps-searchbar-desktop .ps-searchbar__result-image {
    flex-basis: 5.5rem;
    height: 5.5rem;
    object-fit: contain;
    outline: 0;
    width: 5.5rem;
  }

  .ps-searchbar-desktop .ps-searchbar__result-name {
    font-size: 1rem;
    font-weight: 600;
  }

  .ps-searchbar-desktop .ps-searchbar__result-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .ps-searchbar-desktop .ps-searchbar__result-pricing {
    justify-content: flex-start;
    margin-left: 0;
    text-align: left;
  }

  .ps-searchbar-desktop .ps-searchbar__support-bar {
    border-radius: 0.65rem;
    margin: 0 0 max(1rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 767.98px) {
  #searchCanvas.ps-searchbar__offcanvas {
    background: #fff;
    max-width: none;
    width: 100vw;
  }

  #searchCanvas .offcanvas-header {
    padding: 0;
  }

  #_mobile_ps_searchbar,
  #_mobile_ps_searchbar .ps-searchbar-desktop__shell,
  #_mobile_ps_searchbar .ps-searchbar-desktop__panel,
  #_mobile_ps_searchbar .ps-searchbar-desktop__bar {
    height: 100%;
    max-width: none;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar-desktop__bar {
    display: block;
    position: relative;
  }

  #_mobile_ps_searchbar .ps-searchbar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  #_mobile_ps_searchbar .ps-searchbar__form {
    background: #fff;
    border: 0;
    border-bottom: 1px solid rgba(81, 72, 68, 0.18);
    border-radius: 0;
    box-shadow: none;
    min-height: calc(4.75rem + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 4.25rem 0 0;
    width: 100%;
    z-index: 2;
  }

  #_mobile_ps_searchbar .ps-searchbar__magnifier {
    font-size: 1.85rem;
    margin-left: 1rem;
  }

  #_mobile_ps_searchbar .ps-searchbar__input {
    font-size: 1.05rem;
    font-weight: 500;
    height: 4.75rem;
    padding: 0.75rem 0.65rem;
  }

  #searchCanvas .ps-searchbar-mobile__close {
    border-radius: 50%;
    color: #6b6b73;
    height: 3rem;
    right: max(0.65rem, env(safe-area-inset-right));
    top: calc(0.875rem + env(safe-area-inset-top));
    width: 3rem;
  }

  #searchCanvas .ps-searchbar-mobile__close .material-icons {
    font-size: 2rem;
  }

  #_mobile_ps_searchbar .ps-searchbar__dropdown {
    display: none;
    height: 100%;
    margin: 0;
    max-height: none;
    overflow: hidden;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar__dropdown:not(.d-none) {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  #_mobile_ps_searchbar .ps-searchbar__results {
    align-content: start;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 100%;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.9rem 0.8rem 1.5rem;
    scrollbar-gutter: stable;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-results,
  #_mobile_ps_searchbar .sw-searchbar-history {
    grid-column: 1 / -1;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-results {
    border-bottom: 1px solid rgba(81, 72, 68, 0.1);
    margin-bottom: 0.15rem;
    padding-bottom: 0.75rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-result {
    border-radius: 0.65rem;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    min-height: 3.5rem;
    padding: 0.15rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-result__icon {
    height: 3.25rem;
    width: 3.25rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-history {
    gap: 0;
  }

  #_mobile_ps_searchbar .sw-searchbar-history__row {
    border-bottom: 1px solid rgba(81, 72, 68, 0.08);
    border-radius: 0;
    gap: 0.65rem;
    grid-template-columns: 1.8rem minmax(0, 1fr) auto;
    min-height: 3.5rem;
    padding: 0.45rem 0.25rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-history__delete {
    font-size: 0.82rem;
    padding: 0.4rem 0.25rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(81, 72, 68, 0.12);
    border-radius: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 15.5rem;
    padding: 0.55rem;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__main {
    align-items: stretch;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  #_mobile_ps_searchbar .ps-searchbar__result-image {
    flex: 0 0 8.5rem;
    height: 8.5rem;
    object-fit: contain;
    outline: 0;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar__result-content {
    align-items: flex-start;
    margin: 0;
    width: 100%;
  }

  #_mobile_ps_searchbar .ps-searchbar__result-name {
    display: -webkit-box;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.15rem;
    overflow: hidden;
    padding: 0.45rem 0 0;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  #_mobile_ps_searchbar .ps-searchbar__result-pricing {
    font-size: 0.86rem;
    gap: 0.3rem;
    justify-content: flex-start;
    padding: 0.25rem 0 0;
    text-align: left;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__actions {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: minmax(0, 1fr) 2rem 2rem;
    margin: auto 0 0;
    width: 100%;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__qty {
    width: 100%;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__cart-badge {
    grid-column: 1 / -1;
  }

  #_mobile_ps_searchbar .ps-searchbar__support-bar {
    border-radius: 0;
    bottom: 0;
    margin: 0;
    min-height: 3rem;
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
    position: relative;
  }
}


/* PV fullscreen search v3: isolate the mobile surface from legacy theme rules. */
@media (max-width: 767.98px) {
  #searchCanvas.ps-searchbar__offcanvas,
  #searchCanvas.ps-searchbar__offcanvas.show,
  #searchCanvas.ps-searchbar__offcanvas.showing {
    inset: 0 !important;
    margin: 0 !important;
    max-height: 100dvh !important;
    max-width: 100vw !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    width: 100vw !important;
  }

  #searchCanvas .offcanvas-header,
  #_mobile_ps_searchbar,
  #_mobile_ps_searchbar > .ps-searchbar-desktop,
  #_mobile_ps_searchbar .ps-searchbar-desktop__shell,
  #_mobile_ps_searchbar .ps-searchbar-desktop__panel,
  #_mobile_ps_searchbar .ps-searchbar-desktop__bar,
  #_mobile_ps_searchbar .ps-searchbar {
    inset: auto !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__form {
    border: 0 !important;
    border-bottom: 1px solid rgba(81, 72, 68, 0.18) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-right: 4.25rem !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__clear {
    display: none !important;
  }

  #searchCanvas .ps-searchbar-mobile__close {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__dropdown:not(.d-none) {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__results {
    align-content: start !important;
    display: grid !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    min-width: 0 !important;
  }

  #_mobile_ps_searchbar .sw-searchbar-brand-results,
  #_mobile_ps_searchbar .sw-searchbar-history {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result {
    align-items: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .sw-searchbar-header-product-result__main {
    align-items: stretch !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__result-image {
    display: block !important;
    flex: 0 0 8.5rem !important;
    height: 8.5rem !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__result-content,
  #_mobile_ps_searchbar .ps-searchbar__result-name,
  #_mobile_ps_searchbar .ps-searchbar__result-pricing {
    min-width: 0 !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__support-bar {
    align-items: center !important;
    background-color: #201d1b !important;
    background-image: url("search-bg.jpg") !important;
    background-position: center !important;
    background-repeat: repeat !important;
    background-size: cover !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    display: grid !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    gap: 0.35rem !important;
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    min-height: calc(3.25rem + env(safe-area-inset-bottom)) !important;
    padding: 0.55rem 0.45rem max(0.55rem, env(safe-area-inset-bottom)) !important;
    position: relative !important;
    text-align: center !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__support-link {
    align-items: center !important;
    appearance: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    display: inline-flex !important;
    font: inherit !important;
    grid-column: 2 !important;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    width: 100% !important;
  }

  #_mobile_ps_searchbar .ps-searchbar__support-dismiss {
    align-items: center !important;
    appearance: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: #fff !important;
    display: inline-flex !important;
    font: inherit !important;
    font-size: 1.15rem !important;
    grid-column: 3 !important;
    height: 2.25rem !important;
    justify-content: center !important;
    justify-self: end !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    padding: 0 !important;
    position: static !important;
    width: 2.25rem !important;
  }
}


/* PV fullscreen search v4: stable selectors after PrestaShop responsive relocation. */
@media (max-width: 767.98px) {
  #searchCanvas.ps-searchbar__offcanvas {
    bottom: 0 !important;
    height: 100dvh !important;
    left: 0 !important;
    position: fixed !important;
    right: 0 !important;
    top: 0 !important;
    transform-origin: center !important;
  }

  #searchCanvas .offcanvas-header,
  #searchCanvas .ps-searchbar__container,
  #searchCanvas .ps-searchbar-desktop,
  #searchCanvas .ps-searchbar-desktop__shell,
  #searchCanvas .ps-searchbar-desktop__panel,
  #searchCanvas .ps-searchbar-desktop__bar,
  #searchCanvas .ps-searchbar {
    box-sizing: border-box !important;
    height: 100% !important;
    margin: 0 !important;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .ps-searchbar-desktop {
    background: #fff !important;
    display: block !important;
    inset: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: static !important;
    transform: none !important;
  }

  #searchCanvas .ps-searchbar-desktop__shell,
  #searchCanvas .ps-searchbar-desktop__panel {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    inset: auto !important;
    position: static !important;
    transform: none !important;
  }

  #searchCanvas .ps-searchbar-desktop__bar {
    display: block !important;
    position: relative !important;
  }

  #searchCanvas .ps-searchbar {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }

  #searchCanvas .ps-searchbar__form {
    background: #fff !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(81, 72, 68, 0.18) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    min-height: calc(4.75rem + env(safe-area-inset-top)) !important;
    padding: env(safe-area-inset-top) 4.25rem 0 0 !important;
    width: 100% !important;
  }

  #searchCanvas .ps-searchbar__clear,
  #searchCanvas .ps-searchbar-desktop__close,
  #searchCanvas .ps-searchbar-desktop__backdrop {
    display: none !important;
  }

  #searchCanvas .ps-searchbar__dropdown {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 100% !important;
    inset: auto !important;
    margin: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: relative !important;
    transform: none !important;
    width: 100% !important;
  }

  #searchCanvas .ps-searchbar__dropdown:not(.d-none) {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
  }

  #searchCanvas .ps-searchbar__results {
    align-content: start !important;
    display: grid !important;
    gap: 0.75rem !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    height: 100% !important;
    margin: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0.9rem 0.8rem 1.5rem !important;
    width: 100% !important;
  }

  #searchCanvas .sw-searchbar-brand-results,
  #searchCanvas .sw-searchbar-history {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .sw-searchbar-header-product-result {
    align-items: stretch !important;
    align-self: stretch !important;
    background: #fff !important;
    border: 1px solid rgba(81, 72, 68, 0.12) !important;
    border-radius: 0.8rem !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    min-height: 15.5rem !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0.55rem !important;
    width: 100% !important;
  }

  #searchCanvas .sw-searchbar-header-product-result__main {
    align-items: stretch !important;
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .ps-searchbar__result-image {
    display: block !important;
    flex: 0 0 8.5rem !important;
    height: 8.5rem !important;
    margin: 0 auto !important;
    max-height: 8.5rem !important;
    max-width: 100% !important;
    object-fit: contain !important;
    outline: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .ps-searchbar__result-content {
    align-items: flex-start !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .ps-searchbar__result-name {
    display: -webkit-box !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    min-height: 2.15rem !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0.45rem 0 0 !important;
    text-align: left !important;
    width: 100% !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  #searchCanvas .ps-searchbar__result-pricing {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    font-size: 0.86rem !important;
    gap: 0.3rem !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0.25rem 0 0 !important;
    text-align: left !important;
    width: 100% !important;
  }

  #searchCanvas .sw-searchbar-header-product-result__actions {
    align-items: center !important;
    display: grid !important;
    gap: 0.35rem !important;
    grid-template-columns: minmax(0, 1fr) 2rem 2rem !important;
    margin: auto 0 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .sw-searchbar-header-product-result__qty {
    min-width: 0 !important;
    width: 100% !important;
  }

  #searchCanvas .sw-searchbar-header-product-result__cart-badge {
    grid-column: 1 / -1 !important;
  }
}

/* Mobile cards must size from the complete content; otherwise pricing is clipped behind actions. */
@media (max-width: 767.98px) {
  #searchCanvas .sw-searchbar-header-product-result {
    height: auto !important;
    min-height: 17.5rem !important;
  }

  #searchCanvas .sw-searchbar-header-product-result__main {
    flex: 0 0 auto !important;
  }

  #searchCanvas .sw-searchbar-header-product-result__actions {
    margin-top: auto !important;
  }
}


/* Structured desktop search: contextual filters + product grid */
@media (min-width: 768px) {
  .ps-searchbar-desktop__panel {
    height: min(92vh, 58rem);
    padding: 0;
  }

  .ps-searchbar-desktop__bar {
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    max-width: none;
    padding: 0 2rem;
  }

  .ps-searchbar-desktop .ps-searchbar {
    display: grid;
    grid-row: 1 / span 2;
    grid-template-rows: 6rem minmax(0, 1fr);
    height: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__form {
    align-items: center;
    border-bottom: 1px solid #e8e4e1;
    display: flex;
    min-height: 6rem;
  }

  .ps-searchbar-desktop .ps-searchbar__input {
    font-size: clamp(1.35rem, 2vw, 2rem);
    margin: 0;
    min-height: 5.8rem;
    padding-left: 3.5rem;
  }

  .ps-searchbar-desktop .ps-searchbar__magnifier {
    left: 0.5rem;
    top: 50%;
  }

  .ps-searchbar-desktop__close {
    grid-column: 2;
    grid-row: 1;
    height: 3.25rem;
    margin-top: 1.35rem;
    position: relative;
    width: 3.25rem;
    z-index: 5;
  }

  .ps-searchbar-desktop__close .material-icons {
    font-size: 2rem;
  }

  .ps-searchbar-desktop .ps-searchbar__dropdown,
  .ps-searchbar-desktop .ps-searchbar__dropdown:not(.d-none) {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100%;
    margin: 0;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__results {
    align-content: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    padding: 1.5rem 0 2rem;
  }

  .ps-searchbar-desktop .ps-searchbar__results:has(.sw-searchbar-header-brands) {
    grid-template-columns: minmax(14rem, 18rem) repeat(3, minmax(0, 1fr));
  }

  .ps-searchbar-desktop .sw-searchbar-header-brands {
    align-self: stretch;
    background: #f7f5f3;
    border: 1px solid #e7e1dd;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    grid-column: 1;
    grid-row: 1 / span 20;
    padding: 1.15rem;
    position: sticky;
    top: 0;
  }

  .ps-searchbar-desktop .sw-searchbar-header-brands__heading {
    color: #302925;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
  }

  .ps-searchbar-desktop .sw-searchbar-header-brand-result {
    align-items: center;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 0.7rem;
    display: grid;
    gap: 0.15rem 0.65rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 0.7rem;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .ps-searchbar-desktop .sw-searchbar-header-brand-result:hover,
  .ps-searchbar-desktop .sw-searchbar-header-brand-result:focus {
    border-color: #a7192d;
    box-shadow: 0 8px 22px rgba(66, 47, 42, 0.08);
    transform: translateX(2px);
  }

  .ps-searchbar-desktop .sw-searchbar-brand-result__icon {
    color: #9f192c;
    grid-row: 1 / span 2;
  }

  .ps-searchbar-desktop .sw-searchbar-brand-result__name {
    color: #282321;
    font-size: 0.92rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ps-searchbar-desktop .sw-searchbar-brand-result__label {
    color: #817874;
    font-size: 0.72rem;
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result {
    align-content: start;
    background: #fff;
    border: 1px solid #e8e4e1;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 23rem;
    overflow: hidden;
    padding: 1rem;
    transition: box-shadow .2s ease, transform .2s ease;
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result:hover {
    box-shadow: 0 14px 34px rgba(45, 34, 29, 0.1);
    transform: translateY(-3px);
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result__main {
    align-items: stretch;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__result-image {
    flex: 0 0 auto;
    height: 12rem;
    object-fit: contain;
    outline: 0;
    width: 100%;
  }

  .ps-searchbar-desktop .ps-searchbar__result-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding-top: 0.75rem;
  }

  .ps-searchbar-desktop .ps-searchbar__result-name {
    color: #282321;
    display: -webkit-box;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    min-height: 2.65rem;
    overflow: hidden;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .ps-searchbar-desktop .ps-searchbar__result-pricing {
    justify-content: flex-start;
    margin: 0;
    text-align: left;
  }

  .ps-searchbar-desktop .ps-searchbar__result-price {
    color: #9f192c;
    font-size: 1.05rem;
    font-weight: 800;
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result__actions {
    border-top: 1px solid #eee9e6;
    justify-content: flex-end;
    margin: 0.8rem 0 0;
    padding-top: 0.75rem;
    width: 100%;
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result__qty {
    height: 2.35rem;
    margin-right: auto;
    width: 3.6rem;
  }

  .ps-searchbar-desktop .sw-searchbar-header-product-result__add,
  .ps-searchbar-desktop .sw-searchbar-header-product-result__wishlist {
    border-radius: 0.55rem;
    height: 2.35rem;
    width: 2.35rem;
  }

  .ps-searchbar-desktop .sw-searchbar-history {
    grid-column: 1 / -1;
  }

  .ps-searchbar-desktop .ps-searchbar__support-bar {
    border-radius: 0.75rem 0.75rem 0 0;
    margin: 0;
    min-height: 3rem;
  }
}
