/* Header integration only. Ritzy theme CSS stays in style.css. */

.ritzy-storefront-header {
  position: relative;
  z-index: 400;
  background: #fff;
}

.ritzy-storefront-header .header-logo {
  width: auto;
  max-width: 150px;
}

.ritzy-storefront-header .header-logo img {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 52px;
}

.ritzy-storefront-header .header-topbar-area-top .header-flex {
  color: #fff;
}

.ritzy-storefront-header .header-topbar-area-top .header-flex .fa {
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1;
}

.ritzy-storefront-header .footer-social-icon a {
  color: #fff;
}

.ritzy-desktop-nav {
  display: block;
}

@media (max-width: 991px) {
  .ritzy-desktop-nav {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .ritzy-storefront-header .mobile-menu-area {
    display: none !important;
  }
}

.ritzy-storefront-header .home2-main-cart.hover-flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ritzy-storefront-header .main-cart-area.home2-cart-wrap {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.ritzy-storefront-header .shop-bag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: 40px;
  height: 40px;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.ritzy-storefront-header .shop-bag i {
  font-size: 18px;
  line-height: 1;
}

.ritzy-storefront-header .cartpoint-shopping-bag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.ritzy-storefront-header .cartpoint-shopping-qty {
  position: absolute;
  top: auto;
  right: 1px;
  bottom: 2px;
  left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  pointer-events: none;
}

.ritzy-storefront-header .cartpoint-shopping-qty .js-cart-badge,
.ritzy-storefront-header .shop-bag span.js-cart-badge {
  position: static;
  top: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0 4px;
  border-radius: 999px;
  background: #f54374;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.ritzy-storefront-header .user-menu.is-open .user-dropdown,
.ritzy-storefront-header .cart-hover-effect.is-open .header-cart-box-wrapper.cart-position-style2 {
  top: 50px;
  visibility: visible;
  opacity: 1;
}

.ritzy-storefront-header .user-dropdown form {
  margin: 0;
}

.ritzy-storefront-header .ritzy-user-dropdown-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 28px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 991px) {
  .ritzy-storefront-header .header-topbar-area-top {
    padding: 8px 0;
  }

  .ritzy-storefront-header .header-topbar-area-top .header-login {
    margin-top: 0;
  }

  .ritzy-storefront-header .header-login ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 14px;
    margin: 0;
    padding: 0 10px;
  }

  .ritzy-storefront-header .header-login li {
    max-width: 100%;
  }

  .ritzy-storefront-header .header-login a,
  .ritzy-storefront-header .header-login .header-flex {
    font-size: 12px;
    line-height: 1.35;
  }

  .ritzy-storefront-header #sticky-header {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    z-index: 5;
  }

  .ritzy-storefront-header .main-menu-wrapper > .container > .row {
    align-items: center;
    min-height: 70px;
    flex-wrap: nowrap;
  }

  .ritzy-storefront-header .main-menu-wrapper > .container > .row > div:nth-child(1) {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
  }

  .ritzy-storefront-header .main-menu-wrapper > .container > .row > div:nth-child(3) {
    flex: 1 1 auto;
    width: auto !important;
    max-width: none;
    min-width: 0;
  }

  .ritzy-storefront-header .header-logo,
  .ritzy-storefront-header .header-logo.home2-header-logo.header-logo-def {
    margin: 0;
    padding: 0;
  }

  .ritzy-storefront-header .header-logo img {
    width: auto;
    max-width: 72px;
    max-height: 60px;
    height: auto;
  }

  .ritzy-storefront-header .shop-bag {
    width: 36px;
    height: 36px;
  }

  .ritzy-storefront-header .shop-bag i {
    font-size: 16px;
  }

  .ritzy-storefront-header .cartpoint-shopping-qty {
    right: 0;
    bottom: 1px;
  }

  .ritzy-storefront-header .home2-main-cart.hover-flex {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0 56px 0 0;
  }

  .ritzy-storefront-header .user-dropdown,
  .ritzy-storefront-header .header-cart-box-wrapper {
    position: absolute;
  }

  .ritzy-storefront-header .main-cart-area,
  .ritzy-storefront-header .home2-cart-wrap.main-cart-area,
  .ritzy-storefront-header .sticky .main-cart-area {
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ritzy-storefront-header .mobile-menu-area {
    position: absolute;
    inset: 0;
    display: block !important;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
    z-index: 6;
  }

  .ritzy-storefront-header .mobile-menu-area > .container,
  .ritzy-storefront-header .mean-container {
    position: static;
    width: auto;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .ritzy-storefront-header .mean-container .mean-bar {
    position: static;
    float: none;
    width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    overflow: visible;
  }

  .ritzy-storefront-header .mean-container a.meanmenu-reveal {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 48px !important;
    height: 48px !important;
    margin: 0;
    padding: 0 !important;
    position: absolute;
    top: 50% !important;
    right: 8px !important;
    left: auto !important;
    transform: translateY(-50%);
    z-index: 7;
    pointer-events: auto;
    text-indent: -9999px;
    background: #111 !important;
    color: #fff !important;
    line-height: 0;
  }

  .ritzy-storefront-header .mean-container a.meanmenu-reveal span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0 0;
    background: #fff;
  }

  .ritzy-storefront-header .mean-container a.meanmenu-reveal span:first-child {
    margin-top: 0;
  }

  .ritzy-storefront-header .mean-container a.meanmenu-reveal.meanclose {
    text-indent: 0;
    font-size: 18px;
    line-height: 48px;
  }

  .ritzy-storefront-header .mean-container a.meanmenu-reveal.meanclose span {
    display: none;
  }

  .ritzy-storefront-header .mean-container .mean-nav {
    position: absolute;
    top: 100%;
    left: 0;
    float: none;
    width: 100%;
    margin: 0;
    pointer-events: auto;
    background: #c80137;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .ritzy-storefront-header .mean-container .mean-nav ul,
  .ritzy-storefront-header .mean-container .mean-nav ul li {
    float: none;
    width: 100%;
  }

  .ritzy-storefront-header .mean-container .mean-nav ul li {
    position: relative;
  }

  .ritzy-storefront-header .mean-container .mean-nav .main-drop,
  .ritzy-storefront-header .mean-container .mean-nav .mega-menu-area,
  .ritzy-storefront-header .mean-container .mean-nav ul ul {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    left: auto !important;
    top: auto !important;
    padding: 0;
    box-shadow: none;
  }

  .ritzy-storefront-header .mean-container .mean-nav ul li a {
    float: none;
    width: auto;
  }
}

.ritzy-storefront-header ul.main-drop li {
  position: relative;
}

.ritzy-storefront-header ul.main-drop ul {
  display: none;
  position: absolute;
  z-index: 5;
  top: 0;
  left: 100%;
  min-width: 180px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(86, 86, 90, 0.5);
}

.ritzy-storefront-header ul.main-drop li:hover > ul {
  display: block;
}

.ritzy-storefront-header ul.main-drop ul a {
  display: block;
  padding: 3px 20px;
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

/* The Ritzy theme sets a fixed container width. Keep it from forcing horizontal scroll. */
.container {
  max-width: 100%;
}

#goTop {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 11111109;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

#goTop.show {
  opacity: 1;
  visibility: visible;
}

.floating-wpp {
  position: fixed;
  right: 41px;
  bottom: 85px;
  z-index: 11111110;
}

.floating-wpp-button {
  width: 45px;
  height: 45px;
  overflow: hidden;
  border-radius: 15%;
  box-shadow: 1px 1px 4px rgb(60 60 60 / 40%);
}

.floating-wpp-button img {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .floating-wpp {
    right: 18px;
  }
}

#storefront-toast-container.storefront-toast-container {
  position: fixed;
  top: 116px;
  right: 25px;
  left: auto;
  bottom: auto;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: max-content;
  max-width: min(420px, calc(100vw - 50px));
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.storefront-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #111;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.storefront-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.storefront-toast__icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.storefront-toast.is-success .storefront-toast__icon {
  background: #dcfce7;
  color: #15803d;
}

.storefront-toast.is-error .storefront-toast__icon {
  background: #fee2e2;
  color: #b91c1c;
}

.storefront-toast__message {
  margin: 0;
  color: #111;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 991px) {
  #storefront-toast-container.storefront-toast-container {
    top: 128px;
    right: 15px;
    left: 15px;
    width: auto;
    max-width: none;
  }
}
