.smsheader-widget-wrap,
.smsheader-widget-wrap * {
  box-sizing: border-box;
}

.elementor-widget-sms_header,
.elementor-widget-sms_header > .elementor-widget-container,
.smsheader-widget-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

.smsheader {
  --smsheader-desktop-direction: row;
  --smsheader-mobile-direction: row;
  --smsheader-gap: 16px;
  --smsheader-padding: 0px;
  --smsheader-logo-basis: 24%;
  --smsheader-search-basis: 52%;
  --smsheader-account-basis: 12%;
  --smsheader-cart-basis: 12%;
  --smsheader-logo-track: 24fr;
  --smsheader-search-track: 52fr;
  --smsheader-account-track: 12fr;
  --smsheader-cart-track: 12fr;
  --smsheader-template-columns:
    minmax(0, var(--smsheader-logo-track))
    minmax(0, var(--smsheader-search-track))
    minmax(0, var(--smsheader-account-track))
    minmax(0, var(--smsheader-cart-track));
  --smsheader-logo-width: 245px;
  --smsheader-action-size: 54px;
  --smsheader-icon-size: 26px;
  --smsheader-icon-color: #1f7fc6;
  --smsheader-icon-hover-color: #0f5f9f;
  --smsheader-icon-bg: transparent;
  --smsheader-icon-hover-bg: transparent;
  --smsheader-icon-radius: 0px;
  --smsheader-button-gap: 8px;
  --smsheader-button-padding-x: 16px;
  --smsheader-button-font-size: 15px;
  --smsheader-button-text-color: #ffffff;
  --smsheader-button-bg-top: #5aa9f2;
  --smsheader-button-bg-bottom: #247dca;
  --smsheader-button-hover-bg-top: #4d9ee7;
  --smsheader-button-hover-bg-bottom: #166db6;
  --smsheader-search-height: 58px;
  --smsheader-search-radius: 14px;
  --smsheader-search-padding-x: 20px;
  --smsheader-search-border-width: 1px;
  --smsheader-search-font-size: 16px;
  --smsheader-search-icon-size: 23px;
  --smsheader-search-bg: #ffffff;
  --smsheader-search-border-color: #c5cfdd;
  --smsheader-search-text-color: #1f2937;
  --smsheader-search-placeholder-color: #a8b3c4;
  --smsheader-search-icon-color: #1f7fc6;
  --smsheader-account-button-height: 58px;
  --smsheader-account-button-width: 100%;
  --smsheader-account-button-min-width: 132px;
  --smsheader-account-button-padding-x: 16px;
  --smsheader-account-button-padding-y: 0px;
  --smsheader-account-button-outer-padding-x: 0px;
  --smsheader-account-button-outer-padding-y: 0px;
  --smsheader-account-button-radius: 6px;
  --smsheader-account-button-gap: 8px;
  --smsheader-account-button-icon-size: 20px;
  --smsheader-account-button-font-size: 15px;
  --smsheader-account-button-font-weight: 800;
  --smsheader-account-button-text-transform: uppercase;
  --smsheader-account-button-hover-duration: 260ms;
  --smsheader-account-button-text-shadow-x: 0px;
  --smsheader-account-button-text-shadow-y: 0px;
  --smsheader-account-button-text-shadow-blur: 0px;
  --smsheader-account-button-text-shadow-color: rgba(0, 0, 0, 0);
  --smsheader-account-button-text-color: #ffffff;
  --smsheader-account-button-hover-text-color: #ffffff;
  --smsheader-account-button-bg-top: #5aa9f2;
  --smsheader-account-button-bg-bottom: #247dca;
  --smsheader-account-button-hover-bg-top: #4d9ee7;
  --smsheader-account-button-hover-bg-bottom: #166db6;
  --smsheader-account-button-shadow-color: rgba(18, 94, 158, 0.22);
  --smsheader-account-button-gradient-angle: 180deg;
  --smsheader-account-button-border-width: 0px;
  --smsheader-account-button-border-color: transparent;
  --smsheader-account-button-hover-border-color: transparent;
  --smsheader-account-button-hover-lift: -1px;
  --smsheader-cart-button-height: 58px;
  --smsheader-cart-button-width: 100%;
  --smsheader-cart-button-min-width: 132px;
  --smsheader-cart-button-padding-x: 16px;
  --smsheader-cart-button-padding-y: 0px;
  --smsheader-cart-button-outer-padding-x: 0px;
  --smsheader-cart-button-outer-padding-y: 0px;
  --smsheader-cart-button-radius: 6px;
  --smsheader-cart-button-gap: 8px;
  --smsheader-cart-button-icon-size: 20px;
  --smsheader-cart-button-font-size: 15px;
  --smsheader-cart-button-font-weight: 800;
  --smsheader-cart-button-text-transform: uppercase;
  --smsheader-cart-button-hover-duration: 260ms;
  --smsheader-cart-button-text-shadow-x: 0px;
  --smsheader-cart-button-text-shadow-y: 0px;
  --smsheader-cart-button-text-shadow-blur: 0px;
  --smsheader-cart-button-text-shadow-color: rgba(0, 0, 0, 0);
  --smsheader-cart-button-text-color: #ffffff;
  --smsheader-cart-button-hover-text-color: #ffffff;
  --smsheader-cart-button-bg-top: #5aa9f2;
  --smsheader-cart-button-bg-bottom: #247dca;
  --smsheader-cart-button-hover-bg-top: #4d9ee7;
  --smsheader-cart-button-hover-bg-bottom: #166db6;
  --smsheader-cart-button-shadow-color: rgba(18, 94, 158, 0.22);
  --smsheader-cart-button-gradient-angle: 180deg;
  --smsheader-cart-button-border-width: 0px;
  --smsheader-cart-button-border-color: transparent;
  --smsheader-cart-button-hover-border-color: transparent;
  --smsheader-cart-button-hover-lift: -1px;
  --smsheader-cart-badge-size: 32px;
  --smsheader-cart-badge-font-size: 16px;
  --smsheader-cart-badge-animation-duration: 480ms;
  --smsheader-cart-badge-offset-x: -14px;
  --smsheader-cart-badge-offset-y: -15px;
  --smsheader-cart-badge-bg: #ff9f32;
  --smsheader-cart-badge-text: #ffffff;
  --smsheader-cart-badge-border-width: 0px;
  --smsheader-cart-badge-border-color: #ffffff;
  --smsheader-cart-badge-shadow-x: 0px;
  --smsheader-cart-badge-shadow-y: 8px;
  --smsheader-cart-badge-shadow-blur: 18px;
  --smsheader-cart-badge-shadow-spread: 0px;
  --smsheader-cart-badge-shadow-color: rgba(255, 159, 50, 0.3);
  --smsheader-badge-size: 32px;
  --smsheader-badge-bg: #ff9f32;
  --smsheader-badge-text: #ffffff;
  --smsheader-logo-shine-interval: 14s;
  --smsheader-logo-shine-duration: 2600ms;
  --smsheader-logo-shine-color: rgba(255, 255, 255, 0.92);
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: var(--smsheader-template-columns) !important;
  gap: var(--smsheader-gap);
  padding: var(--smsheader-padding);
  min-width: 0;
  overflow: visible;
}

.smsheader.has-desktop-layout-row {
  grid-template-columns: var(--smsheader-template-columns) !important;
}

.smsheader.has-desktop-layout-column {
  grid-template-columns: 1fr !important;
}

.smsheader :where(a, button, input) {
  font-family: inherit !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

.smsheader-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

.smsheader-item--logo {
  min-width: 0;
}

.smsheader-item--search,
.smsheader-item--account,
.smsheader-item--cart {
  min-width: clamp(28px, var(--smsheader-action-size), 90px);
}

.smsheader-item--logo {
  justify-content: flex-start;
}

.smsheader.has-desktop-layout-column .smsheader-item {
  width: 100% !important;
  max-width: 100% !important;
}

.smsheader-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(clamp(40px, var(--smsheader-logo-width), 320px), 100%);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  line-height: 1;
  isolation: isolate;
}

.smsheader-logo-media {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(clamp(40px, var(--smsheader-logo-width), 320px), 100%);
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.smsheader-logo-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      transparent 42%,
      rgba(255, 255, 255, 0.14) 47%,
      var(--smsheader-logo-shine-color) 50%,
      rgba(255, 255, 255, 0.16) 53%,
      transparent 58%,
      transparent 100%
    );
  background-size: 300% 300%;
  background-position: 180% 50%;
  -webkit-mask-image: var(--smsheader-logo-mask-image);
  mask-image: var(--smsheader-logo-mask-image);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--smsheader-logo-shine-color));
  will-change: background-position;
}

.smsheader.has-logo-shine-hover .smsheader-logo-link:hover .smsheader-logo-shine,
.smsheader.has-logo-shine-hover .smsheader-logo-link:focus-visible .smsheader-logo-shine,
.smsheader.has-logo-shine-both .smsheader-logo-link:hover .smsheader-logo-shine,
.smsheader.has-logo-shine-both .smsheader-logo-link:focus-visible .smsheader-logo-shine {
  animation: smsheader-metal-sweep-hover var(--smsheader-logo-shine-duration) linear 1;
}

.smsheader.has-logo-shine-interval .smsheader-logo-shine,
.smsheader.has-logo-shine-both .smsheader-logo-shine {
  animation: smsheader-metal-sweep-interval var(--smsheader-logo-shine-interval) linear infinite;
}

.smsheader-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

.smsheader-logo-text {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.smsheader-action {
  all: unset !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: clamp(28px, var(--smsheader-action-size), 90px) !important;
  min-width: clamp(28px, var(--smsheader-action-size), 90px) !important;
  height: clamp(28px, var(--smsheader-action-size), 90px) !important;
  min-height: clamp(28px, var(--smsheader-action-size), 90px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--smsheader-icon-radius) !important;
  background: var(--smsheader-icon-bg) !important;
  color: var(--smsheader-icon-color) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  line-height: 0 !important;
  text-decoration: none !important;
  overflow: visible !important;
  max-width: 100% !important;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.smsheader-action:hover,
.smsheader-action:focus-visible {
  background: var(--smsheader-icon-hover-bg) !important;
  color: var(--smsheader-icon-hover-color) !important;
  transform: translateY(-1px);
}

.smsheader-action:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px !important;
}

.smsheader-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(12px, var(--smsheader-icon-size), 70px);
  height: clamp(12px, var(--smsheader-icon-size), 70px);
  flex: 0 0 clamp(12px, var(--smsheader-icon-size), 70px);
  line-height: 0;
  color: inherit;
}

.smsheader-icon--mobile {
  display: none !important;
}

.smsheader-icon svg,
.smsheader-icon-img {
  display: block;
  width: clamp(12px, var(--smsheader-icon-size), 70px);
  height: clamp(12px, var(--smsheader-icon-size), 70px);
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
}

.smsheader-action-text {
  display: none;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  font-size: var(--smsheader-button-font-size);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.smsheader-search-inline {
  display: none;
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 10;
  --smsearch-input-height: var(--smsheader-search-height);
  --smsearch-input-font-size: var(--smsheader-search-font-size);
  --smsearch-radius: var(--smsheader-search-radius);
  --smsearch-border: var(--smsheader-search-border-color);
  --smsearch-border-width: var(--smsheader-search-border-width);
  --smsearch-input-bg: var(--smsheader-search-bg);
  --smsearch-input-bg-hover: var(--smsheader-search-bg);
  --smsearch-input-bg-active: var(--smsheader-search-bg);
  --smsearch-input-text: var(--smsheader-search-text-color);
  --smsearch-placeholder: var(--smsheader-search-placeholder-color);
  --smsearch-icon: var(--smsheader-search-icon-color);
  --smsearch-icon-hover: var(--smsheader-search-icon-color);
  --smsearch-icon-active: var(--smsheader-search-icon-color);
  --smsearch-icon-size: var(--smsheader-search-icon-size);
  --smsearch-input-shadow: none;
  --smsearch-focus-ring-size: 0px;
  --smsearch-focus-ring: transparent;
}

.smsheader-search-inline .smsearch {
  width: 100%;
  max-width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
}

.smsheader-search-inline .smsearch-input-wrap,
.smsheader-search-inline .smsheader-search-fallback {
  width: 100%;
}

.smsheader-search-inline .smsearch-input-wrap {
  flex-direction: row-reverse;
  padding-right: calc(var(--smsheader-search-padding-x) * 0.9);
  padding-left: var(--smsheader-search-padding-x);
}

.smsheader-search-inline .smsearch-panel {
  left: 0;
  right: auto;
  width: min(100%, 860px);
}

.smsheader-search-inline .smsheader-search-fallback {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.smsheader-search-inline .smsheader-search-fallback input[type="search"] {
  min-height: var(--smsheader-search-height);
  height: var(--smsheader-search-height);
  padding: 0 calc(var(--smsheader-search-padding-x) + var(--smsheader-search-icon-size) + 16px) 0 var(--smsheader-search-padding-x);
  border: var(--smsheader-search-border-width) solid var(--smsheader-search-border-color);
  border-radius: var(--smsheader-search-radius);
  background: var(--smsheader-search-bg);
  color: var(--smsheader-search-text-color);
  font-size: var(--smsheader-search-font-size);
  line-height: 1.2;
  box-shadow: none;
}

.smsheader-search-inline .smsheader-search-fallback input[type="search"]::placeholder {
  color: var(--smsheader-search-placeholder-color);
  opacity: 1;
}

.smsheader-search-inline .smsheader-search-fallback button {
  all: unset !important;
  box-sizing: border-box !important;
  position: absolute !important;
  top: 50%;
  right: calc(var(--smsheader-search-padding-x) * 0.8);
  width: calc(var(--smsheader-search-icon-size) + 9px) !important;
  height: calc(var(--smsheader-search-icon-size) + 9px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--smsheader-search-icon-color) !important;
  cursor: pointer !important;
  transform: translateY(-50%);
}

.smsheader-search-fallback-icon,
.smsheader-search-fallback-icon svg {
  display: block;
  width: var(--smsheader-search-icon-size);
  height: var(--smsheader-search-icon-size);
}

.smsheader-cart-count {
  position: absolute;
  top: var(--smsheader-cart-badge-offset-y);
  right: var(--smsheader-cart-badge-offset-x);
  z-index: 3;
  min-width: clamp(14px, var(--smsheader-cart-badge-size), 56px);
  height: clamp(14px, var(--smsheader-cart-badge-size), 56px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(clamp(14px, var(--smsheader-cart-badge-size), 56px) * 0.24);
  border: var(--smsheader-cart-badge-border-width) solid var(--smsheader-cart-badge-border-color);
  border-radius: 999px;
  background: var(--smsheader-cart-badge-bg);
  color: var(--smsheader-cart-badge-text);
  font-size: clamp(8px, var(--smsheader-cart-badge-font-size), 28px);
  font-weight: 800;
  line-height: 1;
  box-shadow:
    var(--smsheader-cart-badge-shadow-x)
    var(--smsheader-cart-badge-shadow-y)
    var(--smsheader-cart-badge-shadow-blur)
    var(--smsheader-cart-badge-shadow-spread)
    var(--smsheader-cart-badge-shadow-color);
  transform-origin: center;
  will-change: transform;
}

.smsheader-cart-zero-hide-yes .smsheader-cart-count[data-count="0"] {
  display: none !important;
}

.smsheader-cart-badge-shape-circle .smsheader-cart-count {
  width: var(--smsheader-cart-badge-size);
  min-width: var(--smsheader-cart-badge-size);
  padding: 0;
  border-radius: 50%;
}

.smsheader-cart-badge-shape-pill .smsheader-cart-count {
  border-radius: 999px;
}

.smsheader-cart-badge-shape-rounded .smsheader-cart-count {
  border-radius: 30%;
}

.smsheader-cart-badge-animation-soft_pop .smsheader-cart-count.is-count-changing {
  animation: smsheader-count-soft-pop var(--smsheader-cart-badge-animation-duration) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.smsheader-cart-badge-animation-pulse .smsheader-cart-count.is-count-changing {
  animation: smsheader-count-pulse var(--smsheader-cart-badge-animation-duration) ease-out;
}

.smsheader-cart-badge-animation-bounce .smsheader-cart-count.is-count-changing {
  animation: smsheader-count-bounce var(--smsheader-cart-badge-animation-duration) cubic-bezier(0.34, 1.35, 0.64, 1);
}

.smsheader-cart-badge-animation-highlight .smsheader-cart-count.is-count-changing {
  animation: smsheader-count-highlight var(--smsheader-cart-badge-animation-duration) ease-out;
}

.smsheader-search-modal[hidden] {
  display: none !important;
}

.smsheader-search-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.46);
}

.smsheader-search-modal__dialog {
  width: min(100%, 760px);
  min-height: min(100%, 680px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.smsheader-search-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.smsheader-search-modal__head strong {
  font-size: 18px;
  line-height: 1.2;
}

.smsheader-search-modal__close {
  all: unset !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.08) !important;
  color: #111827 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.smsheader-search-modal__close:focus-visible,
.smsheader-search-fallback button:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 3px !important;
}

.smsheader-search-modal__body {
  flex: 1 1 auto;
  min-height: 0;
}

.smsheader-search-modal__body .smsearch {
  width: 100%;
}

.smsheader-search-fallback {
  display: flex;
  gap: 10px;
  width: 100%;
}

.smsheader-search-fallback input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

.smsheader-search-fallback button {
  all: unset !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  background: #1f7fc6 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  font-weight: 800 !important;
}

body.smsheader-modal-lock {
  overflow: hidden;
}

@keyframes smsheader-metal-sweep-hover {
  0% {
    background-position: 180% 50%;
  }

  100% {
    background-position: -180% 50%;
  }
}

@keyframes smsheader-metal-sweep-interval {
  0% {
    background-position: 180% 50%;
  }

  100% {
    background-position: -180% 50%;
  }
}

@media (max-width: 767px) {
  .smsheader.has-mobile-layout-row {
    grid-template-columns: var(--smsheader-template-columns) !important;
  }

  .smsheader.has-mobile-layout-column {
    grid-template-columns: 1fr !important;
  }

  .smsheader.has-mobile-layout-column .smsheader-item {
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
  }

  .smsheader-search-inline {
    display: none !important;
  }

  .smsheader-item.has-desktop-search-bar > .smsheader-action--search {
    display: inline-flex !important;
  }

  .smsheader-action-text--desktop {
    display: none !important;
  }

  .smsheader-icon--desktop {
    display: none !important;
  }

  .smsheader-icon--mobile {
    display: inline-flex !important;
  }

  .smsheader-search-modal__dialog {
    min-height: min(100%, 720px);
  }
}

@media (min-width: 768px) {
  .smsheader.has-desktop-layout-row {
    grid-template-columns: var(--smsheader-template-columns) !important;
  }

  .smsheader.has-desktop-layout-column {
    grid-template-columns: 1fr !important;
  }

  .smsheader-item.has-desktop-search-bar {
    align-items: center;
    justify-content: stretch;
    min-width: 0;
  }

  .smsheader-item.has-desktop-search-bar > .smsheader-action--search {
    display: none !important;
  }

  .smsheader-item.has-desktop-search-bar .smsheader-search-inline {
    display: block;
  }

  .smsheader-item.has-desktop-action-button .smsheader-action {
    width: auto !important;
    max-width: 100% !important;
    line-height: 1 !important;
    overflow: visible !important;
    isolation: isolate;
    background: transparent !important;
  }

  .smsheader-item.has-desktop-action-button .smsheader-action::before,
  .smsheader-item.has-desktop-action-button .smsheader-action::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
  }

  .smsheader-item.has-desktop-action-button .smsheader-action::after {
    opacity: 0;
    transition:
      opacity var(--smsheader-account-button-hover-duration) ease,
      transform var(--smsheader-account-button-hover-duration) ease;
  }

  .smsheader-item.has-desktop-action-button .smsheader-action > :not(.smsheader-cart-count) {
    position: relative;
    z-index: 1;
  }

  .smsheader-item--account.has-desktop-action-button {
    padding: var(--smsheader-account-button-outer-padding-y) var(--smsheader-account-button-outer-padding-x);
  }

  .smsheader-item--cart.has-desktop-action-button {
    padding: var(--smsheader-cart-button-outer-padding-y) var(--smsheader-cart-button-outer-padding-x);
  }

  .smsheader-item--account.has-desktop-action-button .smsheader-action {
    width: min(var(--smsheader-account-button-width), 100%) !important;
    min-width: min(var(--smsheader-account-button-min-width), 100%) !important;
    height: auto !important;
    min-height: var(--smsheader-account-button-height) !important;
    padding: var(--smsheader-account-button-padding-y) max(0px, var(--smsheader-account-button-padding-x)) !important;
    border: var(--smsheader-account-button-border-width) solid var(--smsheader-account-button-border-color) !important;
    border-radius: var(--smsheader-account-button-radius) !important;
    color: var(--smsheader-account-button-text-color) !important;
    box-shadow: 0 4px 8px var(--smsheader-account-button-shadow-color) !important;
    gap: var(--smsheader-account-button-gap) !important;
    column-gap: var(--smsheader-account-button-gap) !important;
  }

  .smsheader-item--account.has-desktop-action-button .smsheader-action::before {
    background: linear-gradient(var(--smsheader-account-button-gradient-angle), var(--smsheader-account-button-bg-top) 0%, var(--smsheader-account-button-bg-bottom) 100%);
  }

  .smsheader-item--account.has-desktop-action-button .smsheader-action::after {
    background: linear-gradient(var(--smsheader-account-button-gradient-angle), var(--smsheader-account-button-hover-bg-top) 0%, var(--smsheader-account-button-hover-bg-bottom) 100%);
    transition-duration: var(--smsheader-account-button-hover-duration);
  }

  .smsheader-item--cart.has-desktop-action-button .smsheader-action {
    width: min(var(--smsheader-cart-button-width), 100%) !important;
    min-width: min(var(--smsheader-cart-button-min-width), 100%) !important;
    height: auto !important;
    min-height: var(--smsheader-cart-button-height) !important;
    padding: var(--smsheader-cart-button-padding-y) max(0px, var(--smsheader-cart-button-padding-x)) !important;
    border: var(--smsheader-cart-button-border-width) solid var(--smsheader-cart-button-border-color) !important;
    border-radius: var(--smsheader-cart-button-radius) !important;
    color: var(--smsheader-cart-button-text-color) !important;
    box-shadow: 0 4px 8px var(--smsheader-cart-button-shadow-color) !important;
    gap: var(--smsheader-cart-button-gap) !important;
    column-gap: var(--smsheader-cart-button-gap) !important;
  }

  .smsheader-item--cart.has-desktop-action-button .smsheader-action::before {
    background: linear-gradient(var(--smsheader-cart-button-gradient-angle), var(--smsheader-cart-button-bg-top) 0%, var(--smsheader-cart-button-bg-bottom) 100%);
  }

  .smsheader-item--cart.has-desktop-action-button .smsheader-action::after {
    background: linear-gradient(var(--smsheader-cart-button-gradient-angle), var(--smsheader-cart-button-hover-bg-top) 0%, var(--smsheader-cart-button-hover-bg-bottom) 100%);
    transition-duration: var(--smsheader-cart-button-hover-duration);
  }

  .smsheader-item--account.has-desktop-action-button .smsheader-action:hover,
  .smsheader-item--account.has-desktop-action-button .smsheader-action:focus-visible {
    border-color: var(--smsheader-account-button-hover-border-color) !important;
    color: var(--smsheader-account-button-hover-text-color) !important;
    transform: translateY(var(--smsheader-account-button-hover-lift));
  }

  .smsheader-item--cart.has-desktop-action-button .smsheader-action:hover,
  .smsheader-item--cart.has-desktop-action-button .smsheader-action:focus-visible {
    border-color: var(--smsheader-cart-button-hover-border-color) !important;
    color: var(--smsheader-cart-button-hover-text-color) !important;
    transform: translateY(var(--smsheader-cart-button-hover-lift));
  }

  .smsheader-item.has-desktop-action-button .smsheader-action:hover::after,
  .smsheader-item.has-desktop-action-button .smsheader-action:focus-visible::after {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  .smsheader-item.has-button-hover-none .smsheader-action::after {
    display: none;
  }

  .smsheader-item.has-button-hover-slide-right .smsheader-action::after {
    transform: translateX(-14px);
  }

  .smsheader-item.has-button-hover-slide-up .smsheader-action::after {
    transform: translateY(10px);
  }

  .smsheader-item.has-button-hover-zoom .smsheader-action::after {
    transform: scale(0.96);
  }

  .smsheader-item.has-desktop-action-button .smsheader-icon,
  .smsheader-item.has-desktop-action-button .smsheader-icon svg,
  .smsheader-item.has-desktop-action-button .smsheader-icon-img {
    width: var(--smsheader-icon-size);
    height: var(--smsheader-icon-size);
    flex-basis: var(--smsheader-icon-size);
  }

  .smsheader-item--account.has-desktop-action-button .smsheader-icon,
  .smsheader-item--account.has-desktop-action-button .smsheader-icon svg,
  .smsheader-item--account.has-desktop-action-button .smsheader-icon-img {
    width: var(--smsheader-account-button-icon-size);
    height: var(--smsheader-account-button-icon-size);
    flex-basis: var(--smsheader-account-button-icon-size);
  }

  .smsheader-item--cart.has-desktop-action-button .smsheader-icon,
  .smsheader-item--cart.has-desktop-action-button .smsheader-icon svg,
  .smsheader-item--cart.has-desktop-action-button .smsheader-icon-img {
    width: var(--smsheader-cart-button-icon-size);
    height: var(--smsheader-cart-button-icon-size);
    flex-basis: var(--smsheader-cart-button-icon-size);
  }

  .smsheader-item.has-desktop-action-button .smsheader-action-text--desktop {
    display: inline-flex;
    align-items: center;
    color: inherit;
    font-weight: 800;
    letter-spacing: 0;
  }

  .smsheader-item--account.has-desktop-action-button .smsheader-action-text--desktop {
    font-size: var(--smsheader-account-button-font-size);
    font-weight: var(--smsheader-account-button-font-weight);
    text-transform: var(--smsheader-account-button-text-transform);
    text-shadow:
      var(--smsheader-account-button-text-shadow-x)
      var(--smsheader-account-button-text-shadow-y)
      var(--smsheader-account-button-text-shadow-blur)
      var(--smsheader-account-button-text-shadow-color);
  }

  .smsheader-item--cart.has-desktop-action-button .smsheader-action-text--desktop {
    font-size: var(--smsheader-cart-button-font-size);
    font-weight: var(--smsheader-cart-button-font-weight);
    text-transform: var(--smsheader-cart-button-text-transform);
    text-shadow:
      var(--smsheader-cart-button-text-shadow-x)
      var(--smsheader-cart-button-text-shadow-y)
      var(--smsheader-cart-button-text-shadow-blur)
      var(--smsheader-cart-button-text-shadow-color);
  }

  .smsheader-item.has-desktop-action-button .smsheader-cart-count {
    top: var(--smsheader-cart-badge-offset-y);
    right: var(--smsheader-cart-badge-offset-x);
    min-width: var(--smsheader-cart-badge-size);
    height: var(--smsheader-cart-badge-size);
    border-width: var(--smsheader-cart-badge-border-width);
    border-color: var(--smsheader-cart-badge-border-color);
    background: var(--smsheader-cart-badge-bg);
    color: var(--smsheader-cart-badge-text);
    font-size: var(--smsheader-cart-badge-font-size);
  }
}

/* Preset coordinati: stato normale e hover cambiano insieme. */
.smsheader-cart-preset-sleeve_blue:not(.smsheader-cart-custom-colors-yes) .smsheader {
  --smsheader-cart-button-text-color: #ffffff !important;
  --smsheader-cart-button-hover-text-color: #ffffff !important;
  --smsheader-cart-button-bg-top: #5fb5f8 !important;
  --smsheader-cart-button-bg-bottom: #147ec8 !important;
  --smsheader-cart-button-hover-bg-top: #299be9 !important;
  --smsheader-cart-button-hover-bg-bottom: #075fa8 !important;
  --smsheader-cart-button-border-color: rgba(10, 103, 171, 0.25) !important;
  --smsheader-cart-button-hover-border-color: rgba(5, 75, 130, 0.5) !important;
  --smsheader-cart-button-shadow-color: rgba(20, 126, 200, 0.28) !important;
}

.smsheader-cart-preset-clean_light:not(.smsheader-cart-custom-colors-yes) .smsheader {
  --smsheader-cart-button-text-color: #174d73 !important;
  --smsheader-cart-button-hover-text-color: #0a5d95 !important;
  --smsheader-cart-button-bg-top: #ffffff !important;
  --smsheader-cart-button-bg-bottom: #f2f7fb !important;
  --smsheader-cart-button-hover-bg-top: #edf8ff !important;
  --smsheader-cart-button-hover-bg-bottom: #dcefff !important;
  --smsheader-cart-button-border-color: #c9dae8 !important;
  --smsheader-cart-button-hover-border-color: #80bde6 !important;
  --smsheader-cart-button-shadow-color: rgba(30, 92, 134, 0.14) !important;
}

.smsheader-cart-preset-soft_glass:not(.smsheader-cart-custom-colors-yes) .smsheader {
  --smsheader-cart-button-text-color: #125d8d !important;
  --smsheader-cart-button-hover-text-color: #084d79 !important;
  --smsheader-cart-button-bg-top: rgba(255, 255, 255, 0.82) !important;
  --smsheader-cart-button-bg-bottom: rgba(197, 232, 255, 0.68) !important;
  --smsheader-cart-button-hover-bg-top: rgba(236, 248, 255, 0.95) !important;
  --smsheader-cart-button-hover-bg-bottom: rgba(164, 216, 250, 0.86) !important;
  --smsheader-cart-button-border-color: rgba(95, 177, 229, 0.38) !important;
  --smsheader-cart-button-hover-border-color: rgba(40, 142, 207, 0.58) !important;
  --smsheader-cart-button-shadow-color: rgba(31, 126, 188, 0.16) !important;
}

.smsheader-cart-preset-dark_premium:not(.smsheader-cart-custom-colors-yes) .smsheader {
  --smsheader-cart-button-text-color: #f8fbff !important;
  --smsheader-cart-button-hover-text-color: #ffffff !important;
  --smsheader-cart-button-bg-top: #27364b !important;
  --smsheader-cart-button-bg-bottom: #101827 !important;
  --smsheader-cart-button-hover-bg-top: #38506e !important;
  --smsheader-cart-button-hover-bg-bottom: #17243a !important;
  --smsheader-cart-button-border-color: rgba(255, 255, 255, 0.14) !important;
  --smsheader-cart-button-hover-border-color: rgba(111, 190, 247, 0.62) !important;
  --smsheader-cart-button-shadow-color: rgba(15, 23, 42, 0.32) !important;
}

.smsheader-cart-preset-emerald:not(.smsheader-cart-custom-colors-yes) .smsheader {
  --smsheader-cart-button-text-color: #ffffff !important;
  --smsheader-cart-button-hover-text-color: #ffffff !important;
  --smsheader-cart-button-bg-top: #32c58a !important;
  --smsheader-cart-button-bg-bottom: #12855d !important;
  --smsheader-cart-button-hover-bg-top: #20a873 !important;
  --smsheader-cart-button-hover-bg-bottom: #086745 !important;
  --smsheader-cart-button-border-color: rgba(7, 110, 73, 0.26) !important;
  --smsheader-cart-button-hover-border-color: rgba(3, 77, 51, 0.5) !important;
  --smsheader-cart-button-shadow-color: rgba(18, 133, 93, 0.26) !important;
}

.smsheader-cart-preset-sunset:not(.smsheader-cart-custom-colors-yes) .smsheader {
  --smsheader-cart-button-text-color: #ffffff !important;
  --smsheader-cart-button-hover-text-color: #ffffff !important;
  --smsheader-cart-button-bg-top: #ffad42 !important;
  --smsheader-cart-button-bg-bottom: #ef5f3c !important;
  --smsheader-cart-button-hover-bg-top: #ff8a3d !important;
  --smsheader-cart-button-hover-bg-bottom: #d94054 !important;
  --smsheader-cart-button-border-color: rgba(193, 68, 45, 0.26) !important;
  --smsheader-cart-button-hover-border-color: rgba(148, 36, 55, 0.48) !important;
  --smsheader-cart-button-shadow-color: rgba(221, 76, 52, 0.27) !important;
}

@keyframes smsheader-count-soft-pop {
  0% { transform: scale(1); }
  42% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@keyframes smsheader-count-pulse {
  0% { transform: scale(1); opacity: 1; }
  45% { transform: scale(1.08); opacity: 0.74; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes smsheader-count-bounce {
  0% { transform: translateY(0); }
  38% { transform: translateY(-4px); }
  70% { transform: translateY(1px); }
  100% { transform: translateY(0); }
}

@keyframes smsheader-count-highlight {
  0% { box-shadow: 0 0 0 0 var(--smsheader-cart-badge-shadow-color); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: var(--smsheader-cart-badge-shadow-x) var(--smsheader-cart-badge-shadow-y) var(--smsheader-cart-badge-shadow-blur) var(--smsheader-cart-badge-shadow-spread) var(--smsheader-cart-badge-shadow-color); }
}

@media (prefers-reduced-motion: reduce) {
  .smsheader,
  .smsheader *,
  .smsheader *::before,
  .smsheader *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.smsheader-editor-safe-preview {
  width: 100%;
  min-height: 64px;
  display: flex !important;
  align-items: center;
  gap: 28px;
  padding: 10px 18px;
  background: #ffffff;
  color: #1f7fc6;
  font-family: Arial, sans-serif;
  font-weight: 800;
}

.smsheader-editor-safe-logo {
  margin-right: auto;
}

.smsheader-editor-safe-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #1f7fc6;
  display: inline-block;
}
