:root {
  --wsux-accent: #10ac84;
  --wsux-accent-dark: #087c61;
  --wsux-ink: #17201d;
  --wsux-muted: #66736f;
  --wsux-line: #dfe7e4;
  --wsux-surface: #fff;
}

.wsux-cookie-banner[hidden],
.wsux-cookie-details[hidden],
.wsux-button[hidden],
.wsux-cookie-reopen[hidden] {
  display: none !important;
}

.wsux-cookie-banner {
  position: fixed;
  z-index: 1000001;
  right: 20px;
  bottom: 20px;
  width: min(480px, calc(100vw - 40px));
  padding: 20px;
  color: var(--wsux-ink);
  background: var(--wsux-surface);
  border: 1px solid var(--wsux-line);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(12, 29, 24, .2);
  box-sizing: border-box;
}

.wsux-cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.wsux-cookie-banner p {
  margin: 0 0 14px;
  color: var(--wsux-muted);
  font-size: 13px;
  line-height: 1.55;
}

.wsux-cookie-details {
  display: grid;
  gap: 9px;
  padding: 12px;
  margin: 0 0 14px;
  background: #f5f8f7;
  border-radius: 8px;
  font-size: 13px;
}

.wsux-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wsux-button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--wsux-ink);
  background: #edf2f0;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.wsux-button:hover,
.wsux-button:focus-visible {
  border-color: var(--wsux-accent);
}

.wsux-button-primary {
  color: #fff;
  background: var(--wsux-accent-dark);
}

.wsux-button-link {
  padding-inline: 6px;
  color: var(--wsux-muted);
  background: transparent;
  text-decoration: underline;
}

.wsux-privacy-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--wsux-accent-dark);
  font-size: 12px;
}

.wsux-cookie-reopen {
  position: fixed;
  z-index: 1000000;
  left: 15px;
  bottom: 15px;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  background: var(--wsux-accent-dark);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(12, 29, 24, .2);
  cursor: pointer;
}

.wsux-mega-menu {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.wsux-mega-menu-enabled #wide-nav {
  background: #191919;
  border-bottom: 2px solid var(--wsux-accent);
}

.wsux-mega-menu > li {
  position: relative;
  margin: 0;
  list-style: none;
}

.wsux-mega-menu > li > a,
.wsux-menu-heading > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.wsux-mega-menu > li:hover > a,
.wsux-mega-menu > li:focus-within > a,
.wsux-menu-heading:hover,
.wsux-menu-heading:focus-within,
.wsux-has-dropdown.is-open .wsux-menu-heading {
  color: var(--wsux-accent) !important;
  background: rgba(255, 255, 255, .06);
}

.wsux-menu-heading {
  display: flex;
  align-items: stretch;
}

.wsux-menu-heading > a {
  padding-right: 7px;
}

.wsux-menu-heading:hover > a,
.wsux-menu-heading:focus-within > a,
.wsux-has-dropdown.is-open .wsux-menu-heading > a {
  color: var(--wsux-accent) !important;
}

.wsux-menu-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.wsux-menu-toggle:hover,
.wsux-menu-toggle:focus-visible,
.wsux-menu-toggle[aria-expanded="true"] {
  color: var(--wsux-accent);
}

.wsux-mega-dropdown {
  position: absolute;
  z-index: 99999;
  top: 100%;
  left: 0;
  display: none;
  width: min(520px, 80vw);
  padding: 20px;
  background: #fff;
  border-top: 3px solid var(--wsux-accent);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .2);
}

.wsux-mega-menu > li:nth-last-child(-n+3) .wsux-mega-dropdown {
  right: 0;
  left: auto;
}

.wsux-has-dropdown.is-open .wsux-mega-dropdown {
  display: block;
}

.wsux-mega-dropdown ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 22px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--wsux-line);
  list-style: none;
}

.wsux-mega-dropdown li {
  margin: 0;
  list-style: none;
}

.wsux-mega-dropdown a {
  color: #34423e;
  font-size: 13px;
  text-decoration: none;
}

.wsux-mega-dropdown a:hover,
.wsux-mega-dropdown a:focus-visible,
.wsux-mega-all {
  color: var(--wsux-accent-dark);
}

.wsux-mega-all {
  font-weight: 800;
}

.wsux-menu-shop > a {
  margin: 5px 0 5px 6px;
  min-height: 38px !important;
  color: #fff !important;
  background: linear-gradient(120deg, var(--wsux-accent), #087d83);
  border-radius: 5px;
}

.wsux-free-shipping {
  padding: 14px;
  margin: 0 0 20px;
  color: #064b38;
  background: #effaf6;
  border: 1px solid #bfe8da;
  border-radius: 8px;
  text-align: center;
}

.wsux-free-shipping p {
  margin: 0;
}

.wsux-progress {
  height: 9px;
  margin-top: 9px;
  overflow: hidden;
  background: #d7eee6;
  border-radius: 99px;
}

.wsux-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0f8f6e, #61c687);
  border-radius: inherit;
  transition: width .25s ease;
}

.wsux-shipping-countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: 15px 0;
  color: #1f6734;
  background: #f2fbf1;
  border: 1px solid #bfe4b8;
  border-left: 4px solid #45a84f;
  border-radius: 8px;
  font-size: 13px;
}

.wsux-shipping-countdown p {
  margin: 0;
}

.wsux-shipping-countdown strong {
  display: inline-block;
  padding: 2px 7px;
  background: #fff;
  border-radius: 4px;
}

.wsux-personalized-notice {
  padding: 12px 14px;
  margin: 15px 0;
  color: #68470c;
  background: #fff8e8;
  border: 1px solid #f1d48f;
  border-radius: 7px;
  font-size: 13px;
}

.wsux-personalized-notice p {
  margin: 5px 0 0;
}

.wsux-trust {
  padding: 24px 16px;
  margin-top: 20px;
  background: #fff;
  border-top: 1px solid var(--wsux-line);
}

.wsux-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.wsux-trust-item {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--wsux-ink);
  text-align: center;
}

.wsux-trust-item > span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 4px;
  color: var(--wsux-accent-dark);
  background: #effaf6;
  border-radius: 50%;
  font-size: 20px;
}

.wsux-trust-item strong {
  font-size: 13px;
}

.wsux-trust-item small {
  color: var(--wsux-muted);
  font-size: 11px;
}

.wsux-mobile-nav {
  display: none;
}

@media (max-width: 849px) {
  body.wsux-mobile-navigation-enabled {
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  .wsux-mega-menu {
    display: none;
  }

  .wsux-mobile-nav {
    position: fixed;
    z-index: 999990;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    background: #fff;
    border-top: 1px solid var(--wsux-line);
    box-shadow: 0 -5px 18px rgba(12, 29, 24, .1);
  }

  .wsux-mobile-nav a,
  .wsux-mobile-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 4px;
    color: #4a5753;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
  }

  .wsux-mobile-nav a > span:first-child,
  .wsux-mobile-nav button > span:first-child {
    font-size: 21px;
    line-height: 1;
  }

  .wsux-mobile-nav a:hover,
  .wsux-mobile-nav button:hover,
  .wsux-mobile-nav a:focus-visible,
  .wsux-mobile-nav button:focus-visible {
    color: var(--wsux-accent-dark);
  }

  .wsux-cart-count {
    position: absolute;
    top: 4px;
    right: calc(50% - 23px);
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    color: #fff;
    background: var(--wsux-accent-dark);
    border-radius: 99px;
    font-size: 9px;
    line-height: 1;
  }

  .wsux-cart-count.is-empty {
    display: none;
  }

  body.wsux-mobile-navigation-enabled .wsux-cookie-banner {
    right: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    padding: 16px;
  }

  body.wsux-mobile-navigation-enabled .wsux-cookie-reopen {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .wsux-cookie-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wsux-progress span {
    transition: none;
  }
}
