body.mrt-polish-enabled {
  --mrt-ink: #111827;
  --mrt-muted: #667085;
  --mrt-line: #e5e7eb;
  --mrt-soft: #f6f8fb;
  --mrt-radius: 8px;
  color: var(--mrt-ink);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.mrt-polish-enabled a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mrt-polish-enabled img {
  max-width: 100%;
}

.mrt-polish-enabled h1,
.mrt-polish-enabled h2,
.mrt-polish-enabled h3,
.mrt-polish-enabled .entry-title,
.mrt-polish-enabled .woocommerce-products-header__title {
  color: var(--mrt-ink);
  letter-spacing: 0;
  line-height: 1.12;
}

.mrt-polish-enabled h1,
.mrt-polish-enabled .entry-title,
.mrt-polish-enabled .woocommerce-products-header__title {
  font-size: clamp(32px, 4vw, 54px);
}

.mrt-polish-enabled h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.mrt-polish-enabled .button,
.mrt-polish-enabled button,
.mrt-polish-enabled input[type="submit"],
.mrt-polish-enabled .wp-element-button,
.mrt-polish-enabled .woocommerce a.button,
.mrt-polish-enabled .woocommerce button.button,
.mrt-polish-enabled .woocommerce input.button {
  border-radius: var(--mrt-radius);
  font-weight: 800;
  letter-spacing: 0;
  min-height: 42px;
}

.mrt-polish-enabled .woocommerce a.button,
.mrt-polish-enabled .woocommerce button.button,
.mrt-polish-enabled .woocommerce input.button,
.mrt-polish-enabled .single_add_to_cart_button {
  background: var(--mrt-primary) !important;
  color: #fff !important;
}

.mrt-polish-enabled .woocommerce a.button:hover,
.mrt-polish-enabled .woocommerce button.button:hover,
.mrt-polish-enabled .woocommerce input.button:hover,
.mrt-polish-enabled .single_add_to_cart_button:hover {
  filter: brightness(0.92);
}

.mrt-polish-header header,
.mrt-polish-header .site-header,
.mrt-polish-header #masthead,
.mrt-polish-header .elementor-location-header {
  background: #fff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.06);
  position: relative;
  z-index: 50;
}

.mrt-polish-header .main-navigation a,
.mrt-polish-header .primary-navigation a,
.mrt-polish-header nav a,
.mrt-polish-header .menu a {
  letter-spacing: 0;
}

.mrt-polish-header .search-form,
.mrt-polish-header .woocommerce-product-search {
  align-items: stretch;
  display: flex;
  gap: 8px;
}

.mrt-polish-header .search-field,
.mrt-polish-header input[type="search"] {
  border: 1px solid var(--mrt-line);
  border-radius: var(--mrt-radius);
  min-height: 44px;
  padding: 0 12px;
}

.mrt-polish-header .search-submit,
.mrt-polish-header .woocommerce-product-search button {
  background: var(--mrt-primary);
  color: #fff;
  min-width: 44px;
}

.mrt-polish-enabled .elementor-section,
.mrt-polish-enabled .wp-block-group {
  overflow-wrap: anywhere;
}

.mrt-polish-enabled .elementor-widget-container p {
  line-height: 1.55;
}

.mrt-polish-enabled .elementor-button,
.mrt-polish-enabled a.elementor-button-link {
  border-radius: var(--mrt-radius) !important;
  font-weight: 900;
}

.mrt-polish-shop .woocommerce ul.products {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.mrt-polish-shop .woocommerce ul.products::before,
.mrt-polish-shop .woocommerce ul.products::after {
  display: none;
}

.mrt-polish-shop .woocommerce ul.products li.product,
.mrt-polish-shop .products .product {
  background: #fff;
  border: 1px solid var(--mrt-line);
  border-radius: var(--mrt-radius);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  display: flex;
  flex-direction: column;
  float: none !important;
  margin: 0 !important;
  overflow: hidden;
  padding: 12px !important;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  width: auto !important;
}

.mrt-polish-shop .woocommerce ul.products li.product:hover,
.mrt-polish-shop .products .product:hover {
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.12);
  transform: translateY(-2px);
}

.mrt-polish-shop .woocommerce ul.products li.product img,
.mrt-polish-shop .products .product img {
  aspect-ratio: 1 / 1;
  background: var(--mrt-soft);
  border-radius: 6px;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

.mrt-polish-shop .woocommerce-loop-product__title,
.mrt-polish-shop .products .product h2,
.mrt-polish-shop .products .product h3 {
  color: var(--mrt-ink);
  font-size: 15px !important;
  line-height: 1.28;
  margin: 12px 0 8px !important;
  min-height: 2.55em;
  overflow-wrap: anywhere;
}

.mrt-polish-shop .woocommerce ul.products li.product .price,
.mrt-polish-shop .products .product .price {
  color: var(--mrt-primary) !important;
  font-size: 17px !important;
  font-weight: 900;
  margin-top: auto;
}

.mrt-polish-shop .woocommerce ul.products li.product .button {
  justify-content: center;
  margin-top: 10px !important;
  text-align: center;
  width: 100%;
}

.mrt-polish-shop .woocommerce-result-count,
.mrt-polish-shop .woocommerce-ordering {
  color: var(--mrt-muted);
  margin-bottom: 18px;
}

.mrt-polish-shop .woocommerce-ordering select {
  border: 1px solid var(--mrt-line);
  border-radius: var(--mrt-radius);
  min-height: 42px;
  padding: 0 10px;
}

.mrt-polish-shop .woocommerce span.onsale {
  background: var(--mrt-accent);
  border-radius: 999px;
  font-weight: 900;
  min-height: 34px;
  min-width: 34px;
}

.mrt-polish-enabled .woocommerce div.product div.images img {
  background: var(--mrt-soft);
  border: 1px solid var(--mrt-line);
  border-radius: var(--mrt-radius);
  object-fit: contain;
  padding: 12px;
}

.mrt-polish-enabled .woocommerce div.product .summary {
  background: #fff;
  border: 1px solid var(--mrt-line);
  border-radius: var(--mrt-radius);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  padding: 20px;
}

.mrt-polish-enabled .woocommerce div.product p.price,
.mrt-polish-enabled .woocommerce div.product span.price {
  color: var(--mrt-primary);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.mrt-polish-enabled .woocommerce-message,
.mrt-polish-enabled .woocommerce-info,
.mrt-polish-enabled .woocommerce-error {
  border-radius: var(--mrt-radius);
}

.mrt-polish-enabled .woocommerce-message {
  border-top-color: var(--mrt-primary);
}

.mrt-polish-enabled .woocommerce-info {
  border-top-color: var(--mrt-accent);
}

.mrt-hide-demo-noise a[href*="source.wpopal.com"],
.mrt-hide-demo-noise a[href*="/our-team/"],
.mrt-hide-demo-noise a[href*="/sample-page/"],
.mrt-hide-demo-noise a[href*="/john-smith/"] {
  display: none !important;
}

.mrt-mobile-actionbar {
  display: none;
}

@media (max-width: 768px) {
  body.mrt-polish-enabled {
    padding-bottom: 74px;
  }

  .mrt-polish-shop .woocommerce ul.products {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mrt-polish-shop .woocommerce-loop-product__title,
  .mrt-polish-shop .products .product h2,
  .mrt-polish-shop .products .product h3 {
    font-size: 13px !important;
    min-height: 3.9em;
  }

  .mrt-polish-shop .woocommerce ul.products li.product,
  .mrt-polish-shop .products .product {
    padding: 8px !important;
  }

  .mrt-polish-header header,
  .mrt-polish-header .site-header,
  .mrt-polish-header #masthead {
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  }

  .mrt-mobile-actionbar {
    background: #fff;
    border-top: 1px solid var(--mrt-line);
    bottom: 0;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.12);
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 9px 10px;
    position: fixed;
    right: 0;
    z-index: 99998;
  }

  .mrt-mobile-actionbar a {
    align-items: center;
    background: var(--mrt-primary);
    border-radius: 8px;
    color: #fff;
    display: flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 46px;
    text-align: center;
    text-decoration: none;
  }

  .mrt-mobile-actionbar a:last-child {
    background: #25d366;
    color: #092414;
  }
}
