body.mro-commerce-refresh {
  --mro-ink: #244858;
  --mro-muted: #667f8a;
  --mro-red: #a6192e;
  --mro-red-dark: #861326;
  --mro-blue: #d9f1fa;
  --mro-blue-strong: #a9dff1;
  --mro-cream: #fffdf7;
  --mro-soft: #f4f9fa;
  --mro-line: #cbdde3;
}

body.mro-commerce-refresh #main,
body.mro-commerce-refresh .product-lightbox {
  color: var(--mro-ink);
  font-family: "Avenir Next", Montserrat, "Segoe UI", Arial, sans-serif;
}

/* Archive heading and controls */
body.mro-product-archive .smi-shop-archive-page {
  padding: 38px 0 64px;
  background: var(--mro-cream);
}

body.mro-product-archive .smi-shop-archive-page > .shop-page-content > .section {
  padding: 0 !important;
}

body.mro-product-archive .smi-shop-archive-heading {
  margin: 0 0 24px;
}

body.mro-product-archive .shop-page-title,
body.mro-product-archive .woocommerce-products-header__title {
  margin: 0 0 6px;
  color: var(--mro-ink);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-transform: none;
}

body.mro-product-archive .woocommerce-breadcrumb,
body.mro-product-archive .woocommerce-breadcrumb a {
  color: var(--mro-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}

body.mro-product-archive .smi-shop-archive-controls {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--mro-line);
}

body.mro-product-archive .smi-shop-archive-controls-start,
body.mro-product-archive .smi-shop-archive-controls-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.mro-product-archive .filter-button,
body.mro-product-archive .woocommerce-result-count {
  margin: 0;
  color: var(--mro-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
}

body.mro-product-archive .woocommerce-ordering {
  margin: 0;
}

body.mro-product-archive .woocommerce-ordering select {
  height: 42px;
  margin: 0;
  padding: 0 40px 0 15px;
  border: 1px solid var(--mro-line);
  border-radius: 999px;
  background-color: #fff;
  box-shadow: none;
  color: var(--mro-ink);
  font: 600 13px/1 "Avenir Next", Montserrat, "Segoe UI", Arial, sans-serif;
}

/* Archive filter rail */
body.mro-product-archive #shop-sidebar {
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 2px 20px 28px 0;
  scrollbar-color: var(--mro-line) transparent;
  scrollbar-width: thin;
}

body.mro-product-archive #shop-sidebar .widget {
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--mro-line);
}

body.mro-product-archive #shop-sidebar .widget-title {
  display: block;
  margin: 0 0 14px;
  color: var(--mro-ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

body.mro-product-archive #shop-sidebar .is-divider {
  display: none;
}

body.mro-product-archive #shop-sidebar .product-categories {
  margin: 0;
}

body.mro-product-archive #shop-sidebar .product-categories li {
  margin: 0;
  border: 0;
}

body.mro-product-archive #shop-sidebar .product-categories a {
  display: block;
  padding: 7px 0;
  color: var(--mro-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

body.mro-product-archive #shop-sidebar .product-categories a:hover,
body.mro-product-archive #shop-sidebar .current-cat > a {
  color: var(--mro-red);
}

body.mro-product-archive #shop-sidebar .price_slider_wrapper .ui-slider {
  background: var(--mro-line);
}

body.mro-product-archive #shop-sidebar .price_slider_wrapper .ui-slider-range,
body.mro-product-archive #shop-sidebar .price_slider_wrapper .ui-slider-handle {
  background: var(--mro-ink);
}

body.mro-product-archive #shop-sidebar .button {
  border-radius: 999px;
  background: var(--mro-ink);
  color: #fff;
}

/* Product cards shared by archives and related products */
body.mro-commerce-refresh .products.row {
  align-items: stretch;
}

body.mro-commerce-refresh .products .product-small {
  margin-bottom: 24px;
}

body.mro-commerce-refresh .products .product-small > .col-inner {
  height: 100%;
}

body.mro-commerce-refresh .products .product-small.box,
body.mro-commerce-refresh .products .product-small .product-small.box {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.mro-commerce-refresh .products .product-small.box:hover,
body.mro-commerce-refresh .products .product-small .product-small.box:hover {
  border-color: var(--mro-line);
  box-shadow: 0 14px 34px rgba(36, 72, 88, .09);
  transform: translateY(-2px);
}

body.mro-commerce-refresh .products .product-small .box-image {
  overflow: hidden;
  margin: 0;
  border-radius: 17px 17px 0 0;
  background: var(--mro-soft);
}

body.mro-commerce-refresh .products .product-small .box-image > div,
body.mro-commerce-refresh .products .product-small .box-image a {
  height: 100%;
}

body.mro-commerce-refresh .products .product-small .box-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}

body.mro-commerce-refresh .products .product-small:hover .box-image img:first-child {
  transform: scale(1.025);
}

body.mro-commerce-refresh .products .product-small .box-text-products {
  display: flex;
  min-height: 156px;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 16px 15px 14px !important;
  background: #fff;
  text-align: left;
}

body.mro-commerce-refresh .products .product-small .title-wrapper {
  min-height: 44px;
}

body.mro-commerce-refresh .products .product-small .product-title,
body.mro-commerce-refresh .products .product-small .product-title a {
  margin: 0;
  color: var(--mro-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

body.mro-commerce-refresh .products .product-small .price-wrapper {
  margin-top: 6px;
}

body.mro-commerce-refresh .products .product-small .price {
  color: var(--mro-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

body.mro-commerce-refresh .products .product-small .price del {
  color: #7e8f96;
  font-weight: 400;
  opacity: 1;
}

body.mro-commerce-refresh .products .product-small .price ins {
  color: var(--mro-red) !important;
  -webkit-text-fill-color: var(--mro-red) !important;
  font-weight: 800;
  text-decoration: none;
}

body.mro-commerce-refresh .products .product-small .price ins .amount,
body.mro-commerce-refresh .products .product-small .price ins .woocommerce-Price-amount {
  color: var(--mro-red) !important;
  -webkit-text-fill-color: var(--mro-red) !important;
}

body.mro-commerce-refresh .products .badge-container {
  top: 13px;
  left: 13px;
}

body.mro-commerce-refresh .products .badge-container .badge-inner {
  display: inline-flex;
  min-width: 54px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--mro-red) !important;
  box-shadow: none;
  color: #fff !important;
}

body.mro-commerce-refresh .products .badge-container .badge-inner,
body.mro-commerce-refresh .products .badge-container .badge-inner * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.mro-commerce-refresh .products .badge-container .badge-inner .onsale {
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body.mro-commerce-refresh .product-small .mro-quick-view-tools {
  position: static !important;
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 42px;
  align-items: stretch !important;
  justify-content: stretch !important;
  margin: auto 0 0 !important;
  padding: 12px 0 0 !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

body.mro-commerce-refresh .product-small .mro-quick-view-tools a.quick-view {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--mro-red) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
  text-align: center;
  text-transform: none;
  transform: none !important;
  visibility: visible !important;
}

body.mro-commerce-refresh .product-small .mro-quick-view-tools a.quick-view:hover {
  background: var(--mro-red-dark) !important;
}

body.mro-commerce-refresh .product-small .mro-quick-view-tools a.quick-view:focus-visible {
  outline: 3px solid var(--mro-ink);
  outline-offset: 2px;
}

body.mro-product-archive .smi-shop-archive-products .products > .product-small {
  flex-basis: 33.333333%;
  max-width: 33.333333%;
}

body.mro-product-archive .woocommerce-pagination {
  margin-top: 20px;
}

body.mro-product-archive .woocommerce-pagination .page-number {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mro-line);
  border-radius: 50%;
  color: var(--mro-ink);
  font-weight: 700;
}

body.mro-product-archive .woocommerce-pagination .page-number.current,
body.mro-product-archive .woocommerce-pagination a.page-number:hover {
  border-color: var(--mro-ink);
  background: var(--mro-ink);
  color: #fff;
}

/* Product detail */
body.mro-product-detail .product-main {
  padding: 50px 0 60px;
  background: var(--mro-blue);
}

body.mro-product-detail .product-main .content-row {
  align-items: flex-start;
}

body.mro-product-detail .product-gallery,
body.mro-product-detail .product-summary {
  padding-top: 0;
  padding-bottom: 0;
}

body.mro-product-detail .woocommerce-product-gallery {
  padding: 18px;
  border: 1px solid rgba(36, 72, 88, .10);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
}

body.mro-product-detail .product-gallery-slider .slide,
body.mro-product-detail .product-gallery-slider .slide a {
  border-radius: 18px;
  background: transparent;
}

body.mro-product-detail .product-gallery-slider img {
  width: 100%;
  object-fit: contain;
}

body.mro-product-detail .product-thumbnails a {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
}

body.mro-product-detail .product-thumbnails .is-nav-selected a {
  border-color: var(--mro-ink);
}

body.mro-product-detail .product-gallery .badge-container {
  top: 28px;
  left: 28px;
}

body.mro-product-detail .product-gallery .badge-container .badge-inner {
  display: inline-flex;
  min-width: 58px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: var(--mro-red) !important;
  color: #fff !important;
}

body.mro-product-detail .product-gallery .badge-container .badge-inner,
body.mro-product-detail .product-gallery .badge-container .badge-inner * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.mro-product-detail .related .badge-container .badge-inner,
body.mro-product-detail .related-products-wrapper .badge-container .badge-inner,
body.mro-product-detail .upsells .badge-container .badge-inner {
  background: var(--mro-red) !important;
  color: #fff !important;
}

body.mro-product-detail .related .badge-container .badge-inner *,
body.mro-product-detail .related-products-wrapper .badge-container .badge-inner *,
body.mro-product-detail .upsells .badge-container .badge-inner * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

body.mro-product-detail .product-summary {
  padding: 26px 34px 30px;
  color: var(--mro-ink);
}

body.mro-product-detail .product-summary .product-title {
  margin: 0 0 12px;
  color: var(--mro-ink);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-transform: none;
}

body.mro-product-detail .product-summary .product-page-price {
  margin: 0 0 18px;
  color: var(--mro-ink);
  font-size: 25px;
  line-height: 1.2;
}

body.mro-product-detail .product-summary .product-page-price del {
  color: #66808b;
  font-size: .82em;
  font-weight: 400;
  opacity: 1;
}

body.mro-product-detail .product-summary .product-page-price ins {
  color: var(--mro-red) !important;
  -webkit-text-fill-color: var(--mro-red) !important;
  font-weight: 800;
  text-decoration: none;
}

body.mro-product-detail .product-summary .product-page-price ins .amount,
body.mro-product-detail .product-summary .product-page-price ins .woocommerce-Price-amount {
  color: var(--mro-red) !important;
  -webkit-text-fill-color: var(--mro-red) !important;
}

body.mro-product-detail .product-summary .stock {
  margin: 18px 0 12px;
  color: var(--mro-ink);
  font-size: 13px;
  font-weight: 700;
}

body.mro-product-detail .product-summary form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
}

body.mro-product-detail .product-summary form.cart .quantity {
  margin: 0;
}

body.mro-product-detail .product-summary .quantity,
body.mro-product-detail .product-summary .quantity input {
  min-height: 48px;
}

body.mro-product-detail .product-summary .quantity {
  overflow: hidden;
  border: 1px solid var(--mro-ink);
  border-radius: 999px;
  background: #fff;
}

body.mro-product-detail .product-summary .quantity .button,
body.mro-product-detail .product-summary .quantity .qty {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mro-ink) !important;
}

body.mro-product-detail .product-summary .single_add_to_cart_button,
body.mro-product-detail .product-summary .ux-buy-now-button {
  min-height: 48px;
  margin: 0 !important;
  padding: 0 28px;
  border: 2px solid var(--mro-red) !important;
  border-radius: 999px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

body.mro-product-detail .product-summary .single_add_to_cart_button {
  background: var(--mro-red) !important;
  color: #fff !important;
}

body.mro-product-detail .product-summary .ux-buy-now-button {
  background: transparent !important;
  color: var(--mro-red) !important;
}

body.mro-product-detail .product-summary .single_add_to_cart_button:hover {
  border-color: var(--mro-red-dark) !important;
  background: var(--mro-red-dark) !important;
}

body.mro-product-detail .product-summary .ux-buy-now-button:hover {
  background: #fff !important;
}

body.mro-product-detail .product-footer {
  padding: 38px 0 56px;
  background: #fff;
}

body.mro-product-detail .product-tabs {
  gap: 28px;
  border-bottom: 1px solid var(--mro-line);
}

body.mro-product-detail .product-tabs > li > a {
  color: var(--mro-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
}

body.mro-product-detail .tab-panels {
  padding: 28px clamp(0px, 2vw, 26px) 12px;
  color: var(--mro-ink);
  font-size: 16px;
  line-height: 1.7;
}

body.mro-product-detail .related-products-wrapper,
body.mro-product-detail .related,
body.mro-product-detail .upsells {
  padding-top: 34px;
}

body.mro-product-detail .related-products-wrapper h3,
body.mro-product-detail .related > h2,
body.mro-product-detail .upsells > h2 {
  color: var(--mro-ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

/* Native Flatsome Quick View modal */
.htw-native-quick-view-proxy {
  position: fixed !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mfp-wrap .product-lightbox {
  overflow: hidden;
  max-width: 960px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(18, 47, 60, .24);
}

.mfp-wrap .product-lightbox .product-lightbox-inner {
  background: #fff;
}

.mfp-wrap .product-lightbox .product-lightbox-inner > .product-gallery {
  background: #eff8fb;
}

.mfp-wrap .product-lightbox .product-lightbox-inner .product-info {
  color: #244858;
  font-family: "Avenir Next", Montserrat, "Segoe UI", Arial, sans-serif;
}

.mfp-wrap .product-lightbox .product-title {
  color: #244858;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

.mfp-wrap .product-lightbox .price ins {
  color: #a6192e !important;
  -webkit-text-fill-color: #a6192e !important;
  font-weight: 800;
  text-decoration: none;
}

.mfp-wrap .product-lightbox .price ins .amount,
.mfp-wrap .product-lightbox .price ins .woocommerce-Price-amount {
  color: #a6192e !important;
  -webkit-text-fill-color: #a6192e !important;
}

.mfp-wrap .product-lightbox .badge-container .badge-inner {
  background: #a6192e !important;
  color: #fff !important;
}

.mfp-wrap .product-lightbox .badge-container .badge-inner,
.mfp-wrap .product-lightbox .badge-container .badge-inner * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.mfp-wrap .product-lightbox .single_add_to_cart_button {
  border-radius: 999px;
  background: #a6192e !important;
}

.mfp-wrap .product-lightbox .mfp-close {
  color: #244858;
}

@media (min-width: 850px) {
  body.mro-product-archive .mro-archive-sidebar-column {
    position: sticky;
    top: 112px;
    align-self: flex-start;
  }
}

@media (max-width: 1023px) {
  body.mro-product-archive .smi-shop-archive-products .products > .product-small {
    flex-basis: 50%;
    max-width: 50%;
  }
  body.mro-product-detail .product-summary { padding-right: 18px; padding-left: 24px; }
}

@media (max-width: 849px) {
  body.mro-product-archive .smi-shop-archive-page { padding: 24px 0 44px; }
  body.mro-product-archive .mro-archive-sidebar-column { display: none; }
  body.mro-product-archive .smi-shop-archive-heading { margin-bottom: 16px; text-align: center; }
  body.mro-product-archive .smi-shop-archive-breadcrumb { display: flex; justify-content: center; }
  body.mro-product-archive .smi-shop-archive-controls { margin-bottom: 18px; }
  body.mro-product-archive .filter-button { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; padding: 0 16px; border: 1px solid var(--mro-line); border-radius: 999px; background: #fff; }
  body.mro-product-archive #shop-sidebar { display: block; max-height: 100vh; padding: 28px 22px 60px; background: #fff; }
  body.mro-product-detail .product-main { padding: 24px 0 36px; }
  body.mro-product-detail .product-gallery,
  body.mro-product-detail .product-summary { flex-basis: 100%; max-width: 100%; }
  body.mro-product-detail .product-summary { padding: 30px 16px 8px; }
  body.mro-product-detail .product-summary .product-title { font-size: clamp(30px, 8vw, 40px); }
  body.mro-product-detail .product-footer { padding-top: 26px; }
}

@media (max-width: 549px) {
  body.mro-product-archive .shop-page-title { font-size: 32px; }
  body.mro-product-archive .smi-shop-archive-controls { align-items: stretch; }
  body.mro-product-archive .smi-shop-archive-controls-start,
  body.mro-product-archive .smi-shop-archive-controls-end { width: 50%; }
  body.mro-product-archive .woocommerce-ordering,
  body.mro-product-archive .woocommerce-ordering select { width: 100%; }
  body.mro-product-archive .woocommerce-ordering select { padding-right: 28px; font-size: 11px; }
  body.mro-product-archive .smi-shop-archive-products .products { margin-right: -6px; margin-left: -6px; }
  body.mro-product-archive .smi-shop-archive-products .products > .product-small { flex-basis: 50%; max-width: 50%; padding-right: 6px; padding-left: 6px; }
  body.mro-commerce-refresh .products .product-small { margin-bottom: 14px; }
  body.mro-commerce-refresh .products .product-small .product-small.box { border-radius: 14px; }
  body.mro-commerce-refresh .products .product-small .box-image { border-radius: 13px 13px 0 0; }
  body.mro-commerce-refresh .products .product-small .box-text-products { min-height: 150px; padding: 12px 9px 10px !important; }
  body.mro-commerce-refresh .products .product-small .title-wrapper { min-height: 54px; }
  body.mro-commerce-refresh .products .product-small .product-title,
  body.mro-commerce-refresh .products .product-small .product-title a { font-size: 13px; line-height: 1.35; }
  body.mro-commerce-refresh .products .product-small .price { font-size: 13px; }
  body.mro-commerce-refresh .products .badge-container { top: 8px; left: 8px; }
  body.mro-commerce-refresh .products .badge-inner.on-sale { min-width: 46px; height: 29px; padding: 0 8px; }
  body.mro-commerce-refresh .products .badge-inner.on-sale .onsale { font-size: 11px; }
  body.mro-commerce-refresh .product-small .mro-quick-view-tools { min-height: 38px; padding-top: 9px !important; }
  body.mro-commerce-refresh .product-small .mro-quick-view-tools a.quick-view { min-height: 38px; padding: 8px 9px !important; font-size: 12px !important; }
  body.mro-product-detail .woocommerce-product-gallery { padding: 10px; border-radius: 18px; }
  body.mro-product-detail .product-gallery .badge-container { top: 18px; left: 18px; }
  body.mro-product-detail .product-summary .product-page-price { font-size: 23px; }
  body.mro-product-detail .product-summary form.cart { display: grid; grid-template-columns: minmax(112px, auto) 1fr; }
  body.mro-product-detail .product-summary .ux-buy-now-button { grid-column: 1 / -1; }
  body.mro-product-detail .tab-panels { font-size: 15px; }
  .mfp-wrap .product-lightbox { width: calc(100vw - 24px); border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  body.mro-commerce-refresh .products .product-small.box,
  body.mro-commerce-refresh .products .product-small .product-small.box,
  body.mro-commerce-refresh .products .product-small .box-image img { transition: none; }
}
