/* Sword Masters Challenge - design fixes on top of the copied Webflow styles.
   Loaded after Webflow's and Smootify's stylesheets. Some rules need !important because
   Webflow's animations write inline styles on these elements. */

/* ---------- Menu button (phones and tablets) ----------
   Three even bars that cross into a centered X when the menu opens. The original bars were
   hollow boxes that animated into a lopsided arrow with a leftover dot in the middle. */
@media (max-width: 991px) {
  .navbar8_menu-button.w-nav-button {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    background: transparent !important;
  }
}
.navbar8_menu-button .menu-icon {
  position: relative !important;
  display: block !important;
  width: 26px !important;
  height: 18px !important;
  margin: 15px 11px !important;
}
.navbar8_menu-button .menu-icon_line-top,
.navbar8_menu-button .menu-icon_line-middle,
.navbar8_menu-button .menu-icon_line-bottom {
  position: absolute !important;
  left: 0 !important;
  width: 26px !important;
  height: 2.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #111 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: top 0.22s ease, transform 0.22s ease, opacity 0.15s ease !important;
}
.navbar8_menu-button .menu-icon_line-top { top: 0 !important; }
.navbar8_menu-button .menu-icon_line-middle { top: 7.75px !important; }
.navbar8_menu-button .menu-icon_line-bottom { top: 15.5px !important; }
.navbar8_menu-button .menu-icon_line-middle-inner { display: none !important; }
.navbar8_menu-button.w--open .menu-icon_line-top { top: 7.75px !important; transform: rotate(45deg) !important; }
.navbar8_menu-button.w--open .menu-icon_line-middle { opacity: 0 !important; }
.navbar8_menu-button.w--open .menu-icon_line-bottom { top: 7.75px !important; transform: rotate(-45deg) !important; }

/* ---------- Cart and Shop buttons in the menu ----------
   A matching pair: an outlined cart square and a solid black Shop button, both 44px tall.
   The originals inherited a line height three times their font size, which stretched the cart
   button into a tall black block on phones. */
.navbar8_menu-right {
  align-items: center !important;
  gap: 12px !important;
}
.navbar8_menu-right smootify-cart,
.navbar8_menu-right [class^="smootify-cart"] {
  display: inline-flex !important;
  line-height: 1 !important;
  font-size: 14px !important;
}
.navbar8_menu-right .mini-cart-modal_button {
  position: relative;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #111 !important;
  background: transparent !important;
  border: 1.5px solid #111 !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.navbar8_menu-right .mini-cart-modal_button .mini-cart-modal_icon,
.navbar8_menu-right .mini-cart-modal_button .mini-cart-modal_icon path:not([fill="none"]) {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
}
.navbar8_menu-right .mini-cart-modal_button:hover {
  color: #fff !important;
  background: #111 !important;
}
.navbar8_menu-right .mini-cart-modal_count {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px !important;
  color: #fff !important;
  background: rgb(223, 0, 0) !important;
  font: 600 11px/1 system-ui, sans-serif !important;
}
/* ui.js copies the count onto the button so the badge only shows when something is in the cart */
.navbar8_menu-right .mini-cart-modal_button[data-count="0"] .mini-cart-modal_count {
  display: none !important;
}
.navbar8_menu-right a.button-2.is-small {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 44px !important;
  padding: 0 24px !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: #111 !important;
  border: 1.5px solid #111 !important;
  border-radius: 6px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.navbar8_menu-right a.button-2.is-small:hover {
  background: rgb(0, 127, 232) !important;
  border-color: rgb(0, 127, 232) !important;
}
