/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* MCZ 2026-09-01: keep the Warehouse mobile header within the 390–991px layouts. */
@media (max-width: 991.98px) {
  #mobile-header .row-mobile-buttons,
  #mobile-header-sticky .row-mobile-buttons,
  .mobile-buttons-bar .row-mobile-buttons {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #mobile-header .row-mobile-buttons > [class*="col"],
  #mobile-header-sticky .row-mobile-buttons > [class*="col"],
  .mobile-buttons-bar .row-mobile-buttons > [class*="col"] {
    min-width: 0;
  }

  #mobile-header .m-nav-btn,
  #mobile-header-sticky .m-nav-btn,
  .mobile-buttons-bar .m-nav-btn {
    align-items: center;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    max-width: 100%;
  }

  #iqitmegamenu-mobile .mobile-menu__close,
  #iqitmegamenu-mobile .mobile-menu__back-btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  #iqitmegamenu-mobile .mobile-menu__tab--has-submenu > .mobile-menu__arrow {
    align-items: center;
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
    width: 44px;
  }

  body#product .js-qv-mask,
  body#product #product-images-thumbs,
  body#product #product-images-thumbs .swiper-slide,
  body#product #product-images-thumbs .thumb-container {
    max-width: 100%;
    min-width: 0;
  }

  body#product #product-images-thumbs .swiper-button-arrow {
    align-items: center;
    display: flex;
    height: 44px;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
  }

  /* Keep the two compact buy-box help bubbles inside the mobile viewport. */
  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) {
    position: relative !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) .mczmerchantseo-buybox-trust__info-wrap {
    min-width: 44px !important;
    position: static !important;
    width: 44px !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) .mczmerchantseo-buybox-trust__info {
    height: 44px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    width: 44px !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) .mczmerchantseo-buybox-trust__tooltip {
    bottom: auto !important;
    max-width: min(230px, calc(100vw - 64px)) !important;
    top: calc(100% + 9px) !important;
    transform: translateY(-4px) !important;
    width: max-content !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(1) .mczmerchantseo-buybox-trust__tooltip {
    left: 0 !important;
    right: auto !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(2) .mczmerchantseo-buybox-trust__tooltip {
    left: auto !important;
    right: 0 !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) .mczmerchantseo-buybox-trust__info:hover + .mczmerchantseo-buybox-trust__tooltip,
  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) .mczmerchantseo-buybox-trust__info:focus + .mczmerchantseo-buybox-trust__tooltip,
  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) .mczmerchantseo-buybox-trust__info-wrap:focus-within .mczmerchantseo-buybox-trust__tooltip {
    transform: translateY(0) !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__info {
    height: 44px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    width: 44px !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item:nth-child(-n+2) {
    grid-template-columns: 18px minmax(0, 1fr) 44px !important;
  }

  body#product .product-prices .mczmerchantseo-buybox-trust__item--tooltip-inline .mczmerchantseo-buybox-trust__label-wrap {
    grid-template-columns: minmax(0, 1fr) 44px !important;
  }

  body.page-index .elementor-element-7yi3l1s .elementor-image-carousel-wrapper,
  body.page-index .elementor-element-7yi3l1s .elementor-image-carousel,
  body.page-index .elementor-element-7yi3l1s .swiper-slide-inner,
  body.page-index .elementor-element-ms0adoj .elementor-image-carousel-wrapper,
  body.page-index .elementor-element-ms0adoj .elementor-image-carousel,
  body.page-index .elementor-element-ms0adoj .swiper-slide-inner {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body.page-index .elementor-element-7yi3l1s .swiper-slide-image,
  body.page-index .elementor-element-ms0adoj .swiper-slide-image {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
  }
}

/* Category 220: keep the unrelated sidebar gift-card block hidden. */
body#category.category-id-220 #giftcard_block {
  display: none !important;
}

/* Category listing technical tune-up: mobile readability and early column sizing. */
@media (min-width: 992px) {
  body#category.layout-left-column #inner-wrapper > .row {
    display: grid;
    grid-template-columns: minmax(0, 16.666667%) minmax(0, 83.333333%);
  }

  body#category.layout-left-column #left-column {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    width: auto;
  }

  body#category.layout-left-column #content-wrapper.left-column {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    width: auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body#category.layout-left-column #inner-wrapper > .row {
    display: grid;
    grid-template-columns: minmax(0, 25%) minmax(0, 75%);
  }

  body#category.layout-left-column #left-column {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
    width: auto;
  }

  body#category.layout-left-column #content-wrapper.left-column {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  body#category .category-description.category-description-top.hidden-sm-down,
  body#category .category-description.category-description-bottom.hidden-sm-down {
    display: block !important;
    visibility: visible !important;
  }

  body#category .category-description-top .rte-content,
  body#category .category-description-bottom .rte-content {
    color: #3f4652;
    font-size: 15px;
    line-height: 1.65;
  }
}

/* MCZ 2026-06-07: soften product-listing price color. */
body#category .products .product-miniature .product-price,
body#search .products .product-miniature .product-price,
body#prices-drop .products .product-miniature .product-price,
body#new-products .products .product-miniature .product-price,
body#best-sales .products .product-miniature .product-price {
  color: #173b60;
}

/* MCZ 2026-06-09: editorial trust layout for the customer authentication page. */
body#authentication {
  background: #f7f7f7;
  overflow-x: hidden;
}

body#authentication .breadcrumb {
  background: #f7f7f7;
  margin-bottom: 0;
}

body#authentication .page-header {
  display: none;
}

body#authentication #inner-wrapper {
  max-width: none;
  overflow: visible;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body#authentication #content-wrapper,
body#authentication #main,
body#authentication #content {
  float: none;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

body#authentication #content.page-content {
  background: transparent;
  border: 0;
  padding-top: 0;
}

body#authentication #chatbox,
body#authentication #chatbox-toggle {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

body#authentication .mcz-auth-page {
  --mcz-auth-ink: #1d2834;
  --mcz-auth-navy: #173b60;
  --mcz-auth-muted: #667483;
  --mcz-auth-line: #d9e8f7;
  --mcz-auth-soft: #f8fbff;
  --mcz-auth-blue: #3f84c9;
  --mcz-auth-blue-dark: #2e67a6;
  background: #f7f7f7;
  color: var(--mcz-auth-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0 calc(50% - 50vw);
  padding: 34px max(16px, calc((100vw - 1180px) / 2)) 56px;
  width: auto;
}

body#authentication .mcz-auth-page *,
body#authentication .mcz-auth-page *::before,
body#authentication .mcz-auth-page *::after {
  box-sizing: border-box;
}

body#authentication .mcz-auth-page a {
  text-decoration: none;
}

body#authentication .mcz-auth-hero,
body#authentication .mcz-auth-layout {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

body#authentication .mcz-auth-hero {
  padding-bottom: 28px;
}

body#authentication .mcz-auth-hero__content {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  border: 1px solid var(--mcz-auth-line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(33, 92, 148, .08);
  padding: 30px 34px;
}

body#authentication .mcz-auth-kicker {
  align-items: center;
  color: var(--mcz-auth-blue-dark);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 16px;
  text-transform: uppercase;
}

body#authentication .mcz-auth-kicker span {
  background: var(--mcz-auth-blue);
  color: #fff;
  padding: 3px 7px;
}

body#authentication .mcz-auth-hero h1 {
  color: var(--mcz-auth-navy);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 14px;
}

body#authentication .mcz-auth-lead {
  color: #323941;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 860px;
}

body#authentication .mcz-auth-proof-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

body#authentication .mcz-auth-proof {
  background: #fff;
  border: 1px solid var(--mcz-auth-line);
  border-radius: 6px;
  color: #263340;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  padding: 12px 14px;
}

body#authentication .mcz-auth-proof span {
  color: var(--mcz-auth-blue);
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

body#authentication .mcz-auth-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

body#authentication .mcz-auth-card {
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 4px;
  min-width: 0;
  padding: 38px;
}

body#authentication .mcz-auth-card__intro {
  border-bottom: 1px solid var(--mcz-auth-line);
  margin-bottom: 24px;
  padding-bottom: 20px;
}

body#authentication .mcz-auth-card__intro h2,
body#authentication .mcz-auth-rail-panel h2 {
  color: var(--mcz-auth-navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 8px;
}

body#authentication .mcz-auth-card__intro p,
body#authentication .mcz-auth-rail-panel p {
  color: var(--mcz-auth-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

body#authentication .mcz-auth-card .login-form,
body#authentication .mcz-auth-card #login-form {
  margin: 0;
}

body#authentication .mcz-auth-card #login-form section {
  display: grid;
  gap: 18px;
}

body#authentication .mcz-auth-card .form-group.row {
  display: block;
  margin: 0;
}

body#authentication .mcz-auth-card .col-form-label {
  color: #172033;
  display: block;
  flex: none;
  font-size: 14px;
  font-weight: 800;
  max-width: none;
  padding: 0 0 8px;
  width: 100%;
}

body#authentication .mcz-auth-card .js-input-column,
body#authentication .mcz-auth-card .form-control-comment {
  display: block;
  flex: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

body#authentication .mcz-auth-card .form-control {
  background: #fff;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  box-shadow: none;
  color: #1d2834;
  font-size: 16px;
  height: 50px;
  line-height: 1.4;
  padding: 12px 14px;
}

body#authentication .mcz-auth-card .form-control:focus {
  border-color: var(--mcz-auth-blue);
  box-shadow: 0 0 0 3px rgba(63, 132, 201, .14);
}

body#authentication .mcz-auth-card .input-group-append .btn {
  border-color: #d8e2ec;
  border-radius: 0 6px 6px 0;
  height: 50px;
  min-width: 52px;
}

body#authentication .mcz-auth-card .forgot-password {
  margin: -4px 0 0;
  text-align: right;
}

body#authentication .mcz-auth-card .forgot-password a,
body#authentication .mcz-auth-card .no-account a,
body#authentication .mcz-auth-rail-panel a {
  color: #155da5;
  font-weight: 700;
}

body#authentication .mcz-auth-card .forgot-password a:hover,
body#authentication .mcz-auth-card .no-account a:hover,
body#authentication .mcz-auth-rail-panel a:hover {
  color: #0d4f93;
}

body#authentication .mcz-auth-card .form-footer {
  margin-top: 22px;
}

body#authentication .mcz-auth-card #submit-login {
  align-items: center;
  background: #18a34a;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(24, 163, 74, .18);
  color: #fff;
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  letter-spacing: 0;
  padding: 0 26px;
  width: 100%;
}

body#authentication .mcz-auth-card #submit-login:hover {
  background: #12873d;
}

body#authentication .mcz-auth-card hr {
  display: none;
}

body#authentication .mcz-auth-card .iqitsociallogin {
  border-top: 1px solid var(--mcz-auth-line);
  margin-top: 24px;
  padding-top: 22px;
}

body#authentication .mcz-auth-card .btn-iqitsociallogin {
  background: #fff;
  border: 1px solid #d8e2ec;
  border-radius: 6px;
  color: #263340;
  font-weight: 800;
  min-height: 48px;
  width: 100%;
}

body#authentication .mcz-auth-card .no-account {
  background: var(--mcz-auth-soft);
  border: 1px solid var(--mcz-auth-line);
  border-radius: 6px;
  margin-top: 18px;
  padding: 14px 16px;
  text-align: center;
}

body#authentication .mcz-auth-rail {
  display: grid;
  gap: 16px;
  min-width: 0;
  position: sticky;
  top: 92px;
}

body#authentication .mcz-auth-rail-panel {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border: 1px solid var(--mcz-auth-line);
  border-radius: 6px;
  padding: 22px;
}

body#authentication .mcz-auth-rail-panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

body#authentication .mcz-auth-rail-panel ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body#authentication .mcz-auth-rail-panel li {
  color: #3c444d;
  font-size: 14px;
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

body#authentication .mcz-auth-rail-panel li::before {
  background: var(--mcz-auth-blue);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 6px;
}

body#authentication .mcz-auth-link {
  display: inline-block;
  margin-top: 12px;
}

@media (max-width: 991px) {
  body#authentication .mcz-auth-layout {
    grid-template-columns: 1fr;
  }

  body#authentication .mcz-auth-rail {
    position: static;
  }

  body#authentication .mcz-auth-proof-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body#authentication .mcz-auth-page {
    padding: 24px 14px 44px;
  }

  body#authentication .mcz-auth-hero__content,
  body#authentication .mcz-auth-card {
    padding: 28px;
  }

  body#authentication .mcz-auth-hero h1 {
    font-size: 32px;
    line-height: 1.16;
  }

  body#authentication .mcz-auth-lead {
    font-size: 16px;
  }

  body#authentication .mcz-auth-card .forgot-password {
    text-align: left;
  }
}

/* MCZ 2026-06-09: editorial customer account dashboard and internal account return. */
body.page-my-account,
body#my-account,
body#identity,
body#addresses,
body#address,
body#history,
body#order-slip,
body#discount,
body#order-follow,
body#order-detail,
body#comment {
  background: #f6f8fb;
}

body.page-my-account .breadcrumb,
body#my-account .breadcrumb,
body#identity .breadcrumb,
body#addresses .breadcrumb,
body#address .breadcrumb,
body#history .breadcrumb,
body#order-slip .breadcrumb,
body#discount .breadcrumb,
body#order-follow .breadcrumb,
body#order-detail .breadcrumb,
body#comment .breadcrumb {
  background: #f6f8fb;
}

.my-account-page-content-wrapper {
  --mcz-account-ink: #1d2834;
  --mcz-account-navy: #173b60;
  --mcz-account-muted: #657384;
  --mcz-account-line: #d9e7f4;
  --mcz-account-blue: #2b78bd;
  --mcz-account-blue-dark: #174a7c;
  background: transparent !important;
  border: 0 !important;
  color: var(--mcz-account-ink);
  margin: 0 auto 56px;
  max-width: 1180px;
  padding: 0 !important;
}

.my-account-page-content-wrapper > .row {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  margin: 0;
}

.my-account-page-content-wrapper .my-account-side-links,
.my-account-page-content-wrapper .my-account-page-content {
  float: none;
  max-width: none;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  width: auto;
}

.my-account-page-content-wrapper .my-account-side-links {
  background: #fff;
  border: 1px solid var(--mcz-account-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 74, 124, .06);
  display: grid;
  gap: 4px;
  height: fit-content;
  padding: 14px;
}

.my-account-page-content-wrapper .my-account-side-links > a,
.my-account-page-content-wrapper .my-account-side-links > .ets_rv_my_review {
  border: 0;
  color: #344252;
  display: block !important;
  float: none;
  max-width: none;
  padding: 0 !important;
  text-decoration: none;
  width: 100% !important;
}

.my-account-page-content-wrapper .my-account-side-links .link-item {
  align-items: center;
  border-radius: 7px;
  display: flex !important;
  gap: 12px;
  justify-content: flex-start;
  min-height: 52px;
  padding: 12px 14px !important;
  text-align: left;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.my-account-page-content-wrapper .my-account-side-links .link-item:hover,
.my-account-page-content-wrapper .my-account-side-links a:hover .link-item,
.my-account-page-content-wrapper .my-account-side-links a:focus .link-item {
  background: #eef6ff;
  color: var(--mcz-account-blue-dark);
  transform: translateX(2px);
}

.my-account-page-content-wrapper .my-account-side-links .link-item i,
.my-account-page-content-wrapper .my-account-side-links .link-item svg {
  color: currentColor;
  flex: 0 0 24px;
  font-size: 20px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  width: 24px;
}

.my-account-page-content-wrapper .my-account-side-links .mcz_rv_account_link_text {
  justify-content: flex-start;
}

.my-account-page-content-wrapper .my-account-side-links .mcz_rv_account_link_text small {
  background: var(--mcz-account-blue);
}

.my-account-page-content-wrapper .my-account-page-content {
  background: #fff;
  border: 1px solid var(--mcz-account-line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 74, 124, .06);
  padding: 28px;
}

body#my-account .my-account-page-content-wrapper .my-account-page-content {
  background: linear-gradient(180deg, #f8fbff 0%, #fff 42%);
}

.mcz-account-dashboard {
  display: grid;
  gap: 18px;
}

.mcz-account-dashboard-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border: 1px solid #cfe3f7;
  border-radius: 8px;
  padding: 28px;
}

.mcz-account-kicker {
  color: var(--mcz-account-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.mcz-account-dashboard-hero h2 {
  color: var(--mcz-account-navy);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 12px;
}

.mcz-account-dashboard-hero p:last-child {
  color: #354455;
  font-size: 17px;
  line-height: 1.62;
  margin: 0;
  max-width: 740px;
}

.mcz-account-dashboard-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mcz-account-dashboard-tile {
  background: #fff;
  border: 1px solid #dce8f3;
  border-radius: 8px;
  color: var(--mcz-account-ink);
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  text-decoration: none;
}

.mcz-account-dashboard-tile:hover,
.mcz-account-dashboard-tile:focus {
  border-color: #9fc7ec;
  color: var(--mcz-account-ink);
  text-decoration: none;
}

.mcz-account-dashboard-tile i {
  align-items: center;
  background: #eef6ff;
  border-radius: 8px;
  color: var(--mcz-account-blue-dark);
  display: inline-flex;
  font-size: 19px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.mcz-account-dashboard-tile span {
  color: var(--mcz-account-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.mcz-account-dashboard-tile small {
  color: var(--mcz-account-muted);
  font-size: 14px;
  line-height: 1.5;
}

.mcz-account-dashboard-note {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dce8f3;
  border-left: 4px solid var(--mcz-account-blue);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.mcz-account-dashboard-note strong {
  color: var(--mcz-account-navy);
  font-size: 16px;
}

.mcz-account-dashboard-note span {
  color: var(--mcz-account-muted);
  line-height: 1.55;
}

.mcz-account-backbar,
.mcz-account-module-backbar {
  margin: 0 0 18px;
}

.mcz-account-module-backbar {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.mcz-account-back {
  align-items: center;
  background: #eef6ff;
  border: 1px solid #cfe3f7;
  border-radius: 8px;
  color: var(--mcz-account-blue-dark, #174a7c) !important;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  min-height: 42px;
  padding: 10px 14px;
  text-decoration: none !important;
}

.mcz-account-back:hover,
.mcz-account-back:focus {
  background: #e2f0ff;
  color: #123d69 !important;
}

.my-account-page-content-wrapper .my-account-page-content h2:first-child {
  color: var(--mcz-account-navy);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 18px;
}

.my-account-page-content-wrapper .form-control,
.my-account-page-content-wrapper input,
.my-account-page-content-wrapper select,
.my-account-page-content-wrapper textarea {
  border-radius: 6px;
}

.my-account-page-content-wrapper .btn,
.my-account-page-content-wrapper button {
  border-radius: 6px;
  font-weight: 800;
}

@media (max-width: 991px) {
  .my-account-page-content-wrapper {
    margin-bottom: 38px;
  }

  .my-account-page-content-wrapper > .row {
    grid-template-columns: 1fr;
  }

  body:not(#my-account) .my-account-page-content-wrapper .my-account-page-content {
    order: 1;
  }

  body:not(#my-account) .my-account-page-content-wrapper .my-account-side-links {
    order: 2;
  }

  .mcz-account-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .my-account-page-content-wrapper {
    padding: 0 12px !important;
  }

  .my-account-page-content-wrapper .my-account-page-content,
  .my-account-page-content-wrapper .my-account-side-links,
  .mcz-account-dashboard-hero {
    padding: 18px;
  }

  .mcz-account-dashboard-hero h2 {
    font-size: 28px;
  }

  .mcz-account-back {
    justify-content: center;
    width: 100%;
  }
}

/* MCZ 2026-06-22: align the new-products listing with styled category listings. */
body.page-new-products .product-miniature,
body#new-products .product-miniature {
  --mcz-listing-success: #3e9361;
  --mcz-listing-success-hover: #347e53;
}

body.page-new-products .product-miniature .product-add-cart,
body#new-products .product-miniature .product-add-cart {
  margin-top: 10px;
}

body.page-new-products .product-miniature-list .col-buy,
body#new-products .product-miniature-list .col-buy {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  min-width: min(330px, 38%);
  text-align: right;
}

body.page-new-products .product-miniature .product-price-and-shipping,
body#new-products .product-miniature .product-price-and-shipping {
  margin: 0 0 12px;
  text-align: right;
  width: 100%;
}

body.page-new-products .products .product-miniature .product-price,
body.page-new-products .products .product-miniature .product-price-and-shipping .price,
body#new-products .products .product-miniature .product-price,
body#new-products .products .product-miniature .product-price-and-shipping .price {
  color: #173b60 !important;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

body.page-new-products .product-miniature .product-price-and-shipping .regular-price,
body#new-products .product-miniature .product-price-and-shipping .regular-price {
  color: #575b64;
  font-size: 17px;
  line-height: 1.2;
  margin-left: 8px;
}

body.page-new-products .product-miniature .product-functional-buttons-bottom,
body#new-products .product-miniature .product-functional-buttons-bottom {
  display: none !important;
}

body.page-new-products .product-miniature .input-group-add-cart,
body#new-products .product-miniature .input-group-add-cart {
  align-items: stretch;
  display: flex;
  gap: 0;
  justify-content: flex-end;
  width: min(100%, 320px);
}

body.page-new-products .product-miniature .input-group-add-cart .input-qty,
body.page-new-products .product-miniature .input-group-add-cart .bootstrap-touchspin,
body.page-new-products .product-miniature .input-group-add-cart .input-group-btn-vertical,
body.page-new-products .product-miniature .input-group-add-cart .btn-touchspin,
body#new-products .product-miniature .input-group-add-cart .input-qty,
body#new-products .product-miniature .input-group-add-cart .bootstrap-touchspin,
body#new-products .product-miniature .input-group-add-cart .input-group-btn-vertical,
body#new-products .product-miniature .input-group-add-cart .btn-touchspin {
  display: none !important;
}

body.page-new-products .product-miniature .btn-product-list.add-to-cart,
body.page-new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart),
body#new-products .product-miniature .btn-product-list.add-to-cart,
body#new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart) {
  align-items: center;
  background: #3e9361 !important;
  background-color: #3e9361 !important;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(22, 163, 74, .16);
  color: #fff !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 46px;
  min-width: 176px;
  padding: 0 20px;
  text-align: center;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap;
}

body.page-new-products .product-miniature .input-group-add-cart .btn-product-list.add-to-cart,
body#new-products .product-miniature .input-group-add-cart .btn-product-list.add-to-cart {
  flex: 0 1 auto;
  width: 100%;
}

body.page-new-products .product-miniature .btn-product-list.add-to-cart:hover,
body.page-new-products .product-miniature .btn-product-list.add-to-cart:focus,
body#new-products .product-miniature .btn-product-list.add-to-cart:hover,
body#new-products .product-miniature .btn-product-list.add-to-cart:focus {
  background: #347e53 !important;
  background-color: #347e53 !important;
  box-shadow: 0 12px 26px rgba(21, 128, 61, .2);
  color: #fff !important;
  outline: 0;
}

body.page-new-products .product-miniature .btn-product-list.add-to-cart:active,
body#new-products .product-miniature .btn-product-list.add-to-cart:active {
  transform: translateY(1px);
}

body.page-new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart),
body#new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart) {
  background: #eef2f7 !important;
  background-color: #eef2f7 !important;
  border: 1px solid #d9e1ec;
  box-shadow: none;
  color: #5d6877 !important;
}

body.page-new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart):hover,
body.page-new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart):focus,
body#new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart):hover,
body#new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart):focus {
  background: #e5ebf3 !important;
  background-color: #e5ebf3 !important;
  color: #4c5868 !important;
}

@media (max-width: 575.98px) {
  body.page-new-products .product-miniature .input-group-add-cart,
  body#new-products .product-miniature .input-group-add-cart {
    width: 100%;
  }

  body.page-new-products .product-miniature-list .col-buy,
  body#new-products .product-miniature-list .col-buy {
    align-items: stretch;
    min-width: 0;
    text-align: left;
  }

  body.page-new-products .product-miniature .product-price-and-shipping,
  body#new-products .product-miniature .product-price-and-shipping {
    text-align: left;
  }

  body.page-new-products .product-miniature .btn-product-list.add-to-cart,
  body.page-new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart),
  body#new-products .product-miniature .btn-product-list.add-to-cart,
  body#new-products .product-miniature .product-add-cart > a.btn-product-list:not(.add-to-cart) {
    flex: 1 1 auto;
    font-size: 14px;
    min-height: 48px;
    min-width: 0;
    padding: 0 14px;
  }
}

/* MCZ accessibility pass - product page audit 2026-06-29 */
#iqitproductsnav {
  display: inline-flex;
  gap: 6px;
}

#iqitproductsnav .iqitproductsnav-link,
#iqitproductsnav > a {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
}

#iqitproductsnav .iqitproductsnav-link i,
#iqitproductsnav > a i {
  line-height: 1;
  pointer-events: none;
}

.cart-toggle-details {
  color: #1b5f99 !important;
}

#iqitmegamenu-horizontal {
  background-color: #1b5f99;
  color: #fff;
}

#iqitmegamenu-horizontal .cbp-vertical-title,
#iqitmegamenu-horizontal .cbp-tab-title {
  background-color: #1b5f99;
  color: #fff !important;
}

#iqitmegamenu-horizontal .cbp-vertical-title-text {
  color: #fff !important;
}

#iqitmegamenu-horizontal .cbp-horizontal > ul > li > a,
#iqitmegamenu-horizontal .cbp-horizontal > ul > li > a > span {
  color: #fff !important;
}

#iqitmegamenu-horizontal .cbp-hrsub,
#iqitmegamenu-horizontal .cbp-hrsub a,
#iqitmegamenu-horizontal .cbp-hrsub span {
  color: #2f3742;
}

/* MCZ accessibility pass - category contrast AA 2026-06-30 */
#header .cart-toggle-details,
#header .cart-toggle-details a,
.cart-toggle-details {
  color: #1b5f99 !important;
}

#iqitmegamenu-horizontal,
#iqitmegamenu-horizontal .cbp-vertical-title,
#iqitmegamenu-horizontal .cbp-horizontal > ul > li > a,
#iqitmegamenu-horizontal .cbp-horizontal > ul > li > a .cbp-tab-title,
.cbp-vertical-title {
  background-color: #1b5f99 !important;
}

#iqitmegamenu-horizontal .cbp-vertical-title,
#iqitmegamenu-horizontal .cbp-vertical-title-text,
#iqitmegamenu-horizontal .cbp-horizontal > ul > li > a,
#iqitmegamenu-horizontal .cbp-horizontal > ul > li > a > span,
#iqitmegamenu-horizontal .cbp-tab-title,
.cbp-vertical-title,
.cbp-vertical-title-text {
  color: #fff !important;
}

#iqitmegamenu-horizontal .cbp-hrsub,
#iqitmegamenu-horizontal .cbp-hrsub a,
#iqitmegamenu-horizontal .cbp-hrsub span,
#iqitmegamenu-horizontal .cbp-hrsub .nav-link,
#iqitmegamenu-horizontal .cbp-hrsub .cbp-tab-title {
  background-color: transparent !important;
  color: #2f3742 !important;
}

.breadcrumb,
.breadcrumb a,
.breadcrumb span,
.breadcrumb li,
.breadcrumb-item,
.breadcrumb-item a {
  color: #59636e !important;
}

.badge-success.product-available,
.product-available.badge-success,
.product-miniature .product-available {
  background-color: #116c38 !important;
  border-color: #116c38 !important;
  color: #fff !important;
}

.btn-product-list.add-to-cart,
.product-miniature .btn-product-list.add-to-cart,
.product-miniature .mczks-category-cta--available,
.mczks-category-cta--available {
  background-color: #3e9361 !important;
  border-color: #3e9361 !important;
  color: #fff !important;
}

.btn-product-list.add-to-cart:hover,
.btn-product-list.add-to-cart:focus,
.product-miniature .mczks-category-cta--available:hover,
.product-miniature .mczks-category-cta--available:focus {
  background-color: #347e53 !important;
  border-color: #347e53 !important;
  color: #fff !important;
}

.product-price-and-shipping .regular-price,
.product-miniature .regular-price {
  color: #59636e !important;
}

/* MCZ - compact equal height list cards on category pages 2026-06-30 */
@media (min-width: 768px) {
  body#category .product-miniature.product-miniature-list {
    min-height: 277px;
  }

  body#category .product-miniature-list .product-miniature-list-row {
    min-height: 275px;
  }

  body#category .product-miniature-list .thumbnail-container,
  body#category .product-miniature-list .product-thumbnail,
  body#category .product-miniature-list .product-thumbnail picture {
    min-height: 236px;
    height: 236px;
  }

  body#category .product-miniature-list .thumbnail-container,
  body#category .product-miniature-list .product-thumbnail,
  body#category .product-miniature-list .product-thumbnail picture {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body#category .product-miniature-list .product-thumbnail img {
    width: 236px;
    height: 236px;
    object-fit: contain;
    object-position: center center;
  }

  body#category .product-miniature-list .product-thumbnail .product-thumbnail-first {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }

  body#category .product-miniature-list .product-thumbnail .product-thumbnail-second {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
    transition: none !important;
  }

  body#category .product-miniature-list .product-thumbnail:hover .product-thumbnail-first,
  body#category .product-miniature-list .thumbnail-container:hover .product-thumbnail-first {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body#category .product-miniature-list .product-thumbnail:hover .product-thumbnail-second,
  body#category .product-miniature-list .thumbnail-container:hover .product-thumbnail-second {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
  }
}
