/*
Theme Name: RM Impressos Pro 3.6
Theme URI: https://rmimpressos.com.br/
Author: RM Impressos
Description: Tema personalizado para a RM Impressos, com identidade visual em vermelho, amarelo, preto e branco, preparado para WooCommerce.
Version: 3.8.2
Text Domain: rm-impressos-pro-v36
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --rm-red: #e52528;
  --rm-red-dark: #b90816;
  --rm-yellow: #ffd329;
  --rm-black: #111214;
  --rm-ink: #202126;
  --rm-muted: #666b73;
  --rm-line: #e8e8e8;
  --rm-soft: #f6f7f8;
  --rm-white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--rm-ink);
  background: var(--rm-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.pswp,
#photoswipe-fullscreen-dialog {
  display: none !important;
}

.rm-wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.rm-topbar {
  background: var(--rm-black);
  color: var(--rm-white);
  font-size: 14px;
}

.rm-topbar .rm-wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.rm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--rm-line);
  backdrop-filter: blur(14px);
}

.rm-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.rm-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.rm-logo-img {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}

.rm-header .rm-logo-img,
.rm-footer .rm-logo-img,
.rm-header-logo-img,
.rm-footer-logo-img,
.woocommerce .rm-header .rm-logo-img,
.woocommerce .rm-footer .rm-logo-img,
.woocommerce-page .rm-header .rm-logo-img,
.woocommerce-page .rm-footer .rm-logo-img {
  width: auto !important;
  max-width: 78px !important;
  height: 58px !important;
  max-height: 58px !important;
  object-fit: contain;
}

.rm-header .rm-brand,
.rm-footer .rm-brand {
  width: 78px;
  max-width: 78px;
}

.rm-brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rm-red), var(--rm-red-dark));
  color: var(--rm-white);
  box-shadow: 8px 8px 0 var(--rm-yellow);
  font-size: 21px;
}

.rm-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 800;
}

.rm-nav a:hover { color: var(--rm-red); }

.rm-btn,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 7px;
  background: var(--rm-red);
  color: var(--rm-white) !important;
  border: 0;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.rm-btn:hover,
.button:hover,
.woocommerce a.button:hover {
  background: var(--rm-red-dark);
  color: var(--rm-white) !important;
}

.rm-btn.dark { background: var(--rm-black); }
.rm-btn.light { background: var(--rm-white); color: var(--rm-black) !important; }

.rm-btn.outline {
  background: transparent;
  color: var(--rm-black) !important;
  border: 2px solid var(--rm-black);
}

.rm-btn.outline:hover {
  background: var(--rm-black);
  color: var(--rm-white) !important;
}

.rm-hero {
  position: relative;
  overflow: hidden;
  color: var(--rm-white);
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.56), rgba(0,0,0,.22)),
    var(--rm-hero-image, linear-gradient(135deg, #222, #555));
  background-size: cover;
  background-position: center;
}

.rm-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.62), rgba(0,0,0,.32));
}

.rm-hero .rm-wrap {
  position: relative;
  z-index: 2;
  min-height: 660px;
  display: grid;
  align-content: center;
  padding: 86px 0 110px;
}

.rm-tag {
  display: inline-flex;
  width: max-content;
  padding: 8px 12px;
  border-radius: 5px;
  background: var(--rm-yellow);
  color: var(--rm-black);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.rm-hero h1 {
  max-width: 840px;
  margin: 22px 0 18px;
  color: var(--rm-white);
  font-size: clamp(42px, 6.5vw, 86px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 950;
}

.rm-hero p {
  max-width: 690px;
  margin: 0 0 30px;
  color: #f2f2f2;
  font-size: 20px;
  line-height: 1.55;
}

.rm-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.rm-metrics {
  margin-top: -54px;
  position: relative;
  z-index: 2;
}

.rm-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  box-shadow: 0 22px 54px rgba(0,0,0,.14);
}

.rm-metric {
  padding: 28px;
  border-right: 1px solid var(--rm-line);
}

.rm-metric:last-child { border-right: 0; }
.rm-metric b { display: block; margin-bottom: 6px; font-size: 28px; }
.rm-metric span { color: var(--rm-muted); }

.rm-section { padding: 86px 0; }
.rm-section.soft { background: var(--rm-soft); }

.rm-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.rm-head h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 950;
}

.rm-head p {
  max-width: 540px;
  margin: 0;
  color: var(--rm-muted);
  line-height: 1.62;
}

.rm-head-wide {
  display: block;
  max-width: 940px;
}

.rm-head-wide h2,
.rm-head-wide p {
  max-width: none;
}

.rm-actions-center {
  justify-content: center;
  margin-top: 28px;
}

.rm-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 36px;
  align-items: center;
}

.rm-split h2 {
  margin: 16px 0 18px;
  max-width: 820px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 950;
}

.rm-split p {
  margin: 0 0 16px;
  color: var(--rm-muted);
  line-height: 1.62;
}

.rm-callout {
  background: var(--rm-black);
  color: var(--rm-white);
}

.rm-callout h3,
.rm-callout p {
  color: var(--rm-white);
}

.rm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rm-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.rm-card {
  background: var(--rm-white);
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  padding: 28px;
}

.rm-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.14;
}

.rm-card p {
  margin: 0;
  color: var(--rm-muted);
}

.rm-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--rm-yellow);
  color: var(--rm-black);
  font-weight: 950;
}

.rm-service-printers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
}

.rm-printer-card {
  min-width: 0;
}

.rm-printer-card img {
  display: block;
  width: min(100%, 251px);
  height: 201px;
  object-fit: contain;
  margin: 0 auto 26px;
}

.rm-printer-card h3 {
  max-width: 360px;
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 900;
}

.rm-printer-card p {
  max-width: 360px;
  margin: 0;
  color: var(--rm-black);
  line-height: 1.72;
}

.rm-category-card {
  min-height: 154px;
  position: relative;
  overflow: hidden;
}

.rm-category-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 96px;
  height: 96px;
  background: var(--rm-yellow);
  transform: rotate(18deg);
}

.rm-category-card h3,
.rm-category-card p {
  position: relative;
  z-index: 1;
}

.rm-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rm-step b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--rm-black);
  color: var(--rm-white);
}

.rm-cta {
  background: linear-gradient(135deg, var(--rm-red), var(--rm-red-dark));
  color: var(--rm-white);
}

.rm-cta .rm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.rm-cta h2 {
  margin: 0 0 8px;
  color: var(--rm-white);
  font-size: 40px;
  line-height: 1.08;
}

.rm-cta p {
  margin: 0;
  color: #ffe7e7;
}

.rm-page {
  padding: 70px 0;
}

.rm-page h1 {
  margin: 0 0 28px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
}

.rm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rm-blog-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-white);
}

.rm-blog-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--rm-soft);
}

.rm-blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.rm-blog-card time,
.rm-post-header time {
  display: block;
  margin-bottom: 12px;
  color: var(--rm-muted);
  font-size: 14px;
  font-weight: 800;
}

.rm-blog-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.12;
}

.rm-blog-card p {
  margin: 0 0 18px;
  color: var(--rm-muted);
  line-height: 1.55;
}

.rm-blog-card .rm-btn {
  margin-top: auto;
}

.rm-post-wrap {
  max-width: 920px;
}

.rm-post-header {
  margin-bottom: 28px;
}

.rm-back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rm-red);
  font-weight: 900;
}

.rm-post-featured {
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-soft);
}

.rm-post-featured img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.rm-post-content {
  color: var(--rm-ink);
  font-size: 18px;
  line-height: 1.74;
}

.rm-post-content h2,
.rm-post-content h3 {
  margin: 34px 0 12px;
  line-height: 1.15;
}

.rm-post-content p {
  margin: 0 0 18px;
}

.rm-post-cta {
  margin-top: 42px;
  padding: 28px;
  border-radius: 8px;
  background: var(--rm-black);
  color: var(--rm-white);
}

.rm-post-cta h2 {
  margin: 0 0 8px;
  color: var(--rm-white);
}

.rm-post-cta p {
  color: #e7e7e7;
}

.rm-kicker {
  display: inline-flex;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 5px;
  background: var(--rm-yellow);
  color: var(--rm-black);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.rm-shop-hero {
  background: linear-gradient(135deg, var(--rm-black), #3a1114);
  color: var(--rm-white);
  padding: 74px 0;
}

.rm-shop-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--rm-white);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.rm-shop-hero p {
  max-width: 680px;
  margin: 0;
  color: #ededed;
  font-size: 19px;
}

.rm-product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.rm-product-toolbar p {
  margin: 0;
  color: var(--rm-muted);
}

.rm-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rm-products-grid-compact {
  margin-top: 26px;
}

.rm-category-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.rm-category-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--rm-line);
  border-radius: 999px;
  background: var(--rm-white);
  color: var(--rm-ink);
  font-size: 14px;
  font-weight: 850;
}

.rm-category-chip:hover {
  border-color: var(--rm-red);
  color: var(--rm-red);
}

.rm-product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-white);
  transition: transform .18s ease, box-shadow .18s ease;
}

.rm-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0,0,0,.10);
}

.rm-product-card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--rm-soft);
  overflow: hidden;
}

.rm-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .18s ease;
}

.rm-product-card:hover .rm-product-card-media img {
  transform: scale(1.035);
}

.rm-product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.rm-product-card h2 {
  margin: 0 0 10px;
  color: var(--rm-ink);
  font-size: 19px;
  line-height: 1.16;
  font-weight: 950;
}

.rm-product-card h3 {
  margin: 0 0 10px;
  color: var(--rm-ink);
  font-size: 19px;
  line-height: 1.16;
  font-weight: 950;
}

.rm-product-card .rm-product-cat {
  margin: 0 0 14px;
  color: var(--rm-muted);
  font-size: 14px;
}

.rm-product-card .rm-product-cat a {
  color: var(--rm-red);
  font-weight: 850;
}

.rm-product-price {
  margin: 0 0 14px;
  color: var(--rm-red);
  font-weight: 950;
}

.rm-product-card .rm-btn {
  width: 100%;
  margin-top: auto;
}

.rm-product-card-note {
  margin: 0 0 14px;
  color: var(--rm-muted);
  font-size: 14px;
}

.rm-single-product {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: start;
}

.rm-product-gallery {
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-soft);
}

.rm-product-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.rm-product-summary h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
  font-weight: 950;
}

.rm-product-summary .rm-product-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.rm-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--rm-soft);
  color: var(--rm-muted);
  font-size: 14px;
  font-weight: 800;
}

.rm-quote-box {
  margin-top: 28px;
  padding: 26px;
  border-radius: 8px;
  background: var(--rm-black);
  color: var(--rm-white);
}

.rm-quote-box h2 {
  margin: 0 0 10px;
  color: var(--rm-white);
  font-size: 28px;
}

.rm-quote-box p {
  color: #e5e5e5;
}

.rm-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.rm-detail-item {
  padding: 18px;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-white);
}

.rm-detail-item b {
  display: block;
  margin-bottom: 6px;
}

.rm-detail-item span {
  color: var(--rm-muted);
  font-size: 14px;
}

.rm-related-note {
  margin-top: 54px;
}

.rm-footer {
  background: var(--rm-black);
  color: var(--rm-white);
  padding: 42px 0;
}

.rm-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 28px;
}

.rm-footer p,
.rm-footer a { color: #d8d8d8; }

.rm-floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  background: #24d366;
  color: #062b14 !important;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

.rm-floating-whatsapp:hover {
  transform: translateY(-2px);
}

.woocommerce .content-area,
.woocommerce-page .content-area,
.rm-shop-wrap {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 70px 0;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-white);
}

.woocommerce ul.products li.product a img {
  margin: 0 0 18px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--rm-soft);
}

.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 18px !important;
  color: var(--rm-ink);
  font-size: 18px !important;
  line-height: 1.2;
  font-weight: 900;
}

.woocommerce ul.products li.product .price {
  padding: 0 18px;
  color: var(--rm-red);
  font-weight: 900;
}

.woocommerce ul.products li.product .button {
  margin-left: 18px;
  margin-right: 18px;
}

.woocommerce div.product .product_title {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 950;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--rm-red);
  font-weight: 950;
}

@media (max-width: 980px) {
  body { padding-bottom: 72px; }
  .rm-header { position: static; }
  .rm-header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .rm-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .rm-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid var(--rm-line);
    border-radius: 7px;
    background: var(--rm-white);
    font-size: 14px;
  }
  .rm-nav a.rm-btn {
    grid-column: 1 / -1;
    border: 0;
    background: var(--rm-red);
    color: var(--rm-white) !important;
  }
  .rm-hero .rm-wrap { min-height: 590px; }
  .rm-metrics { margin-top: 0; }
  .rm-metric-grid,
  .rm-service-printers,
  .rm-grid-3,
  .rm-grid-4,
  .rm-blog-grid,
  .rm-process,
  .rm-footer-grid,
  .rm-products-grid,
  .rm-split,
  .rm-single-product,
  .rm-detail-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .rm-product-toolbar { display: block; }
  .rm-logo-img { height: 50px; }
  .rm-metric { border-right: 0; border-bottom: 1px solid var(--rm-line); }
  .rm-printer-card img {
    margin-left: 0;
    margin-right: auto;
  }
  .rm-head,
  .rm-cta .rm-wrap { display: block; }
  .rm-cta .rm-btn { margin-top: 22px; }
  .rm-floating-whatsapp {
    right: 16px;
    bottom: 14px;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
  }
}


/* RM Impressos Pro 3.6: visual inspirado no novo mockup */
:root {
  --rm-red: #f00676;
  --rm-red-dark: #c80060;
  --rm-pink: #ff1493;
  --rm-blue: #12a8f4;
  --rm-cyan: #20bff0;
  --rm-green: #21c967;
  --rm-yellow: #ffd21f;
  --rm-black: #071827;
  --rm-ink: #182435;
  --rm-muted: #687489;
  --rm-line: #e9eef5;
  --rm-soft: #f5f9fd;
  --rm-white: #ffffff;
  --rm-shadow: 0 18px 44px rgba(16, 35, 55, .10);
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(18,168,244,.10), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(255,20,147,.08), transparent 24%),
    #fbfdff;
  color: var(--rm-ink);
}

.rm-wrap {
  width: min(1210px, calc(100% - 44px));
}

.rm-topbar {
  display: none;
}

.rm-header {
  border-bottom: 1px solid rgba(233, 238, 245, .88);
  background: rgba(255,255,255,.90);
  box-shadow: 0 10px 30px rgba(14, 34, 52, .05);
}

.rm-header-inner {
  min-height: 86px;
}

.rm-nav {
  gap: 20px;
  color: var(--rm-ink);
  font-size: 13px;
}

.rm-nav a {
  position: relative;
}

.rm-nav > a:not(.rm-btn):not(.rm-nav-phone)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  margin: auto;
  border-radius: 999px;
  background: var(--rm-pink);
  transition: width .18s ease;
}

.rm-nav > a:not(.rm-btn):not(.rm-nav-phone):hover::after {
  width: 100%;
}

.rm-nav-phone {
  display: inline-flex;
  flex-direction: column;
  padding-left: 30px;
  color: var(--rm-ink);
  line-height: 1.05;
}

.rm-nav-phone::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--rm-green);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.32);
}

.rm-nav-phone span {
  color: var(--rm-muted);
  font-size: 11px;
}

.rm-nav-phone strong {
  font-size: 12px;
}

.rm-btn,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 48px;
  padding: 13px 21px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--rm-pink), var(--rm-red));
  box-shadow: 0 10px 22px rgba(240, 6, 118, .18);
}

.rm-btn:hover,
.button:hover,
.woocommerce a.button:hover {
  background: linear-gradient(135deg, var(--rm-red-dark), var(--rm-pink));
}

.rm-btn-whatsapp {
  background: var(--rm-green) !important;
  box-shadow: 0 12px 24px rgba(33,201,103,.24) !important;
}

.rm-btn.light {
  border: 1px solid var(--rm-line);
  background: var(--rm-white);
  color: var(--rm-ink) !important;
  box-shadow: 0 12px 28px rgba(16,35,55,.06);
}

.rm-btn.outline {
  border: 1px solid var(--rm-line);
  background: var(--rm-white);
  color: var(--rm-ink) !important;
  box-shadow: 0 12px 28px rgba(16,35,55,.06);
}

.rm-btn.dark {
  background: var(--rm-ink);
}

.rm-hero {
  overflow: hidden;
  color: var(--rm-ink);
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 62%, #f3f8fd 100%);
}

.rm-hero::after,
.rm-hero-img {
  display: none;
}

.rm-hero .rm-hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 46px;
  align-items: center;
  padding: 76px 0 118px;
}

.rm-hero-copy {
  min-width: 0;
}

.rm-tag,
.rm-kicker,
.rm-section-eyebrow {
  border-radius: 999px;
  background: rgba(255,210,31,.95);
  color: #192230;
  letter-spacing: 0;
}

.rm-hero h1 {
  max-width: 610px;
  margin: 20px 0 18px;
  color: var(--rm-ink);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: .98;
}

.rm-text-blue {
  color: var(--rm-blue);
}

.rm-text-pink {
  color: var(--rm-pink);
}

.rm-hero p {
  max-width: 560px;
  color: var(--rm-muted);
  font-size: 18px;
}

.rm-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--rm-muted);
  font-size: 13px;
  font-weight: 800;
}

.rm-hero-trust span {
  position: relative;
  padding-left: 19px;
}

.rm-hero-trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rm-green);
}

.rm-hero-visual {
  position: relative;
  min-height: 500px;
}

.rm-blob,
.rm-dot-grid {
  position: absolute;
  pointer-events: none;
}

.rm-blob-pink {
  right: 10px;
  bottom: 70px;
  width: 250px;
  height: 250px;
  border-radius: 42% 58% 48% 52%;
  background: var(--rm-pink);
  opacity: .96;
}

.rm-blob-yellow {
  right: -10px;
  top: 88px;
  width: 110px;
  height: 110px;
  border-radius: 32px;
  background: var(--rm-yellow);
  transform: rotate(26deg);
}

.rm-dot-grid-a {
  left: 12px;
  top: 16px;
  width: 170px;
  height: 112px;
  opacity: .52;
  background-image: radial-gradient(var(--rm-blue) 2px, transparent 2px), radial-gradient(var(--rm-pink) 2px, transparent 2px);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.rm-hero-machine {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(16,35,55,.18));
}

.rm-hero-machine-digital {
  right: 64px;
  top: 82px;
  width: 370px;
}

.rm-hero-machine-offset {
  left: 18px;
  top: 168px;
  width: 330px;
}

.rm-hero-machine-laser {
  left: 238px;
  bottom: 80px;
  width: 210px;
}

.rm-hero-sample {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 78px;
  border-radius: 12px;
  background: var(--rm-white);
  color: var(--rm-ink);
  font-size: 13px;
  font-weight: 950;
  box-shadow: var(--rm-shadow);
}

.rm-sample-one { right: 28px; bottom: 112px; border-bottom: 5px solid var(--rm-pink); }
.rm-sample-two { left: 100px; bottom: 70px; border-bottom: 5px solid var(--rm-blue); }
.rm-sample-three { right: 196px; bottom: 34px; border-bottom: 5px solid var(--rm-yellow); }

.rm-hero-visual-main {
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
}

.rm-hero-main-figure {
  width: min(100%, 720px);
  margin: 0;
}

.rm-hero-main-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 38px rgba(16,35,55,.16));
}

.rm-hero-main-figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.rm-metrics {
  margin-top: -74px;
}

.rm-metric-grid {
  overflow: hidden;
  border: 1px solid rgba(219,228,238,.92);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(16,35,55,.12);
}

.rm-metric {
  min-height: 200px;
  padding: 30px 26px;
  text-align: center;
}

.rm-metric-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 15px;
  background: rgba(18,168,244,.10);
  color: var(--rm-blue);
  font-size: 13px;
  font-weight: 950;
}

.rm-metric-pink { background: rgba(255,20,147,.10); color: var(--rm-pink); }
.rm-metric-yellow { background: rgba(255,210,31,.22); color: #d6a800; }
.rm-metric-cyan { background: rgba(32,191,240,.12); color: var(--rm-cyan); }

.rm-metric b {
  font-size: 25px;
}

.rm-section {
  padding: 76px 0;
}

.rm-section.soft {
  background: linear-gradient(180deg, #f5fbff, #ffffff);
}

.rm-head h2,
.rm-split h2 {
  color: var(--rm-ink);
}

.rm-card,
.rm-product-card,
.rm-blog-card,
.rm-detail-item {
  border: 1px solid rgba(219,228,238,.92);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(16,35,55,.06);
}

.rm-split {
  grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
}

.rm-delivery-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(18,168,244,.13), transparent 50%),
    linear-gradient(135deg, #ffffff, #edf7ff);
  box-shadow: var(--rm-shadow);
}

.rm-delivery-visual img {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(72%, 330px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 28px rgba(16,35,55,.18));
}

.rm-delivery-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(310px, calc(100% - 48px));
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--rm-line);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 38px rgba(16,35,55,.12);
}

.rm-delivery-card span {
  position: relative;
  padding-left: 22px;
  color: var(--rm-ink);
  font-size: 14px;
  font-weight: 800;
}

.rm-delivery-card span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rm-green);
}

.rm-service-printers {
  gap: 24px;
}

.rm-printer-card {
  padding: 22px;
  border: 1px solid rgba(219,228,238,.92);
  border-radius: 14px;
  background: var(--rm-white);
  box-shadow: 0 18px 42px rgba(16,35,55,.07);
}

.rm-printer-card:nth-child(1) { border-bottom: 5px solid var(--rm-blue); }
.rm-printer-card:nth-child(2) { border-bottom: 5px solid var(--rm-pink); }
.rm-printer-card:nth-child(3) { border-bottom: 5px solid var(--rm-yellow); }

.rm-printer-card h3 {
  font-size: 21px;
}

.rm-printer-card:nth-child(1) h3 { color: var(--rm-blue); }
.rm-printer-card:nth-child(2) h3 { color: var(--rm-pink); }
.rm-printer-card:nth-child(3) h3 { color: #d4a500; }

.rm-products-grid-compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rm-products-grid-compact .rm-product-card-body {
  padding: 13px;
}

.rm-products-grid-compact .rm-product-card h3 {
  font-size: 15px;
}

.rm-products-grid-compact .rm-product-cat,
.rm-products-grid-compact .rm-product-price,
.rm-products-grid-compact .rm-product-card-note {
  font-size: 12px;
}

.rm-products-grid-compact .rm-btn {
  min-height: 36px;
  padding: 10px 12px;
  font-size: 12px;
}

.rm-product-card-media {
  background: #f8fbff;
}

.rm-product-card-media img {
  object-fit: contain;
  padding: 10px;
}

.rm-product-card:hover {
  box-shadow: 0 20px 42px rgba(16,35,55,.12);
}

.rm-shop-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(255,20,147,.18), transparent 26%),
    linear-gradient(135deg, #eef9ff, #ffffff 58%, #fff7fc);
  color: var(--rm-ink);
}

.rm-shop-hero h1,
.rm-shop-hero p {
  color: var(--rm-ink);
}

.rm-category-chip,
.rm-pill {
  border-color: rgba(219,228,238,.95);
  background: var(--rm-white);
  box-shadow: 0 10px 26px rgba(16,35,55,.05);
}

.rm-single-product {
  gap: 44px;
}

.rm-product-gallery,
.rm-quote-box {
  border-radius: 18px;
}

.rm-quote-box,
.rm-post-cta,
.rm-footer {
  background: linear-gradient(135deg, #071827, #0d2338);
}

.rm-floating-whatsapp {
  background: var(--rm-green);
  box-shadow: 0 16px 28px rgba(33,201,103,.28);
}

.rm-cta {
  background: linear-gradient(90deg, var(--rm-pink), var(--rm-blue));
}

.rm-blog-card-media img,
.rm-post-featured img {
  object-fit: contain;
  padding: 10px;
  background: #f8fbff;
}

@media (max-width: 1120px) {
  .rm-nav {
    gap: 12px;
  }
  .rm-nav-phone {
    display: none;
  }
  .rm-hero .rm-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .rm-hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 980px) {
  .rm-header-inner {
    align-items: center;
  }
  .rm-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rm-nav a.rm-btn {
    background: linear-gradient(135deg, var(--rm-pink), var(--rm-red));
  }
  .rm-hero .rm-hero-grid {
    padding: 38px 0 50px;
  }
  .rm-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }
  .rm-hero-visual {
    min-height: 360px;
  }
  .rm-hero-machine-digital {
    right: 4%;
    width: 55%;
  }
  .rm-hero-machine-offset {
    left: 0;
    width: 52%;
  }
  .rm-hero-machine-laser {
    left: 32%;
    width: 34%;
  }
  .rm-hero-sample {
    width: 96px;
    height: 62px;
  }
  .rm-products-grid-compact,
  .rm-products-grid,
  .rm-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rm-metric {
    min-height: auto;
  }
  .rm-delivery-visual {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .rm-wrap {
    width: min(100% - 32px, 1210px);
  }
  .rm-products-grid-compact,
  .rm-products-grid,
  .rm-blog-grid {
    grid-template-columns: 1fr;
  }
  .rm-hero-visual {
    min-height: 310px;
  }
  .rm-sample-three {
    display: none;
  }
}

/* Mobile polish for the renewed RM Impressos layout. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 620px) {
  body .rm-wrap,
  .rm-header .rm-wrap,
  .rm-hero .rm-wrap {
    width: calc(100vw - 32px) !important;
    max-width: 1210px;
  }

  main,
  .rm-header,
  .rm-hero,
  .rm-section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .rm-header-inner {
    align-items: center;
    gap: 14px;
    padding: 18px 0 14px;
  }

  .rm-brand {
    margin: 0 auto;
  }

  .rm-header .rm-nav {
    width: 100%;
    max-width: 100%;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px;
  }

  .rm-header .rm-nav a {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 8px;
    overflow: hidden;
    border: 1px solid rgba(219,228,238,.95);
    border-radius: 8px;
    background: var(--rm-white);
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rm-nav > a:not(.rm-btn):not(.rm-nav-phone)::after {
    display: none;
  }

  .rm-header .rm-nav a.rm-nav-phone {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    padding-left: 8px;
    white-space: normal;
  }

  .rm-header .rm-nav a.rm-nav-phone::before {
    position: static;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    transform: none;
  }

  .rm-nav-phone span,
  .rm-nav-phone strong {
    display: inline;
    font-size: 12px;
  }

  .rm-header .rm-nav a.rm-btn {
    grid-column: 1 / -1;
    border: 0;
    background: linear-gradient(135deg, var(--rm-pink), var(--rm-red));
    color: var(--rm-white) !important;
  }

  .rm-hero .rm-hero-grid {
    display: block;
    min-height: auto;
    padding: 38px 0 44px;
  }

  .rm-hero-copy,
  .rm-hero-copy > * {
    max-width: min(330px, calc(100vw - 32px)) !important;
  }

  .rm-hero-copy {
    width: 100%;
  }

  .rm-hero-copy .rm-tag {
    width: auto;
    max-width: 100% !important;
  }

  .rm-hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(26px, 7vw, 29px) !important;
    line-height: 1.1;
    white-space: normal;
  }

  .rm-hero h1 span,
  .rm-hero p {
    overflow-wrap: break-word;
    white-space: normal;
  }

  .rm-hero p {
    max-width: 100%;
    font-size: 15px;
  }

  .rm-actions {
    gap: 10px;
  }

  .rm-actions .rm-btn {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    padding-right: 14px;
    padding-left: 14px;
  }

  .rm-hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .rm-hero-visual {
    width: 100%;
    min-height: 300px;
    margin-top: 28px;
    overflow: hidden;
  }

  .rm-dot-grid-a {
    left: 10px;
    top: 0;
    width: 150px;
  }

  .rm-blob-pink {
    right: -72px;
    bottom: 48px;
    width: 210px;
    height: 210px;
  }

  .rm-blob-yellow {
    right: -28px;
    top: 58px;
    width: 84px;
    height: 84px;
  }

  .rm-hero-machine-digital {
    right: -6px;
    top: 78px;
    width: 70%;
  }

  .rm-hero-machine-offset {
    left: 0;
    top: 164px;
    width: 58%;
  }

  .rm-hero-machine-laser {
    left: 45%;
    bottom: 72px;
    width: 36%;
  }

  .rm-hero-sample {
    width: 86px;
    height: 56px;
    font-size: 12px;
  }

  .rm-sample-one {
    right: -2px;
    bottom: 96px;
  }

  .rm-sample-two {
    left: 84px;
    bottom: 46px;
  }

  .rm-metrics {
    margin-top: 0;
  }
}

/* Final mobile system: compact, fast and overflow-safe. */
.rm-menu-toggle,
.rm-menu-button {
  display: none;
}

.rm-product-toolbar h2,
.rm-shop-hero h1,
.rm-page h1,
.rm-head h1,
.rm-head h2,
.rm-product-summary h1,
.rm-product-card h2,
.rm-product-card h3,
.rm-blog-card h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  .rm-wrap,
  body .rm-wrap,
  .rm-header .rm-wrap,
  .rm-hero .rm-wrap {
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    margin-right: auto;
    margin-left: auto;
  }

  .rm-header {
    position: sticky;
    top: 0;
  }

  .rm-header-inner {
    min-height: 74px;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    padding: 10px 0;
  }

  .rm-brand {
    margin: 0;
  }

  .rm-header .rm-logo-img,
  .rm-header-logo-img {
    width: 68px !important;
    max-width: 68px !important;
    height: 50px !important;
    max-height: 50px !important;
  }

  .rm-menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .rm-menu-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1px solid rgba(219,228,238,.95);
    border-radius: 9px;
    background: #fff;
    color: var(--rm-ink);
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(16,35,55,.06);
    cursor: pointer;
  }

  .rm-header .rm-nav {
    width: 100%;
    display: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-top: 4px;
  }

  .rm-menu-toggle:checked ~ .rm-nav {
    display: grid !important;
  }

  .rm-header .rm-nav a {
    min-width: 0;
    min-height: 38px;
    padding: 8px 9px;
    overflow: hidden;
    border: 1px solid rgba(219,228,238,.95);
    border-radius: 8px;
    background: #fff;
    color: var(--rm-ink);
    font-size: 12px;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rm-header .rm-nav a::after {
    display: none !important;
  }

  .rm-header .rm-nav a.rm-nav-phone,
  .rm-header .rm-nav a.rm-btn {
    grid-column: 1 / -1;
  }

  .rm-header .rm-nav a.rm-nav-phone {
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    padding-left: 9px;
  }

  .rm-header .rm-nav a.rm-nav-phone::before {
    position: static;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    transform: none;
  }

  .rm-header .rm-nav a.rm-btn {
    border: 0;
    background: linear-gradient(135deg, var(--rm-pink), var(--rm-red));
    color: #fff !important;
  }

  .rm-hero .rm-hero-grid {
    display: block;
    min-height: auto;
    padding: 34px 0 38px;
  }

  .rm-hero-copy,
  .rm-hero-copy > * {
    width: 100%;
    max-width: 100% !important;
  }

  .rm-tag,
  .rm-kicker,
  .rm-section-eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .rm-hero h1,
  .rm-shop-hero h1,
  .rm-page h1,
  .rm-head h1 {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 36px) !important;
    line-height: 1.08 !important;
  }

  .rm-head h2,
  .rm-split h2 {
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.1;
  }

  .rm-hero p,
  .rm-shop-hero p,
  .rm-page p,
  .rm-head p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.58;
  }

  .rm-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rm-actions .rm-btn,
  .rm-actions-center .rm-btn,
  .rm-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .rm-hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rm-hero-visual {
    min-height: 230px;
    height: 230px;
    margin-top: 26px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5fbff, #fff7fc);
  }

  .rm-hero-visual-main {
    height: auto;
    min-height: 0;
    padding: 10px;
  }

  .rm-hero-main-figure {
    width: 100%;
  }

  .rm-hero-main-image {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(16,35,55,.14));
  }

  .rm-dot-grid-a {
    left: 12px;
    top: 18px;
    width: 130px;
    height: 90px;
  }

  .rm-blob-yellow {
    right: -18px;
    top: 34px;
    width: 70px;
    height: 70px;
  }

  .rm-blob-pink {
    right: -60px;
    bottom: 16px;
    width: 170px;
    height: 170px;
  }

  .rm-hero-machine-digital {
    right: -22px;
    top: 34px;
    width: 78%;
  }

  .rm-hero-machine-offset {
    left: -18px;
    top: auto;
    bottom: 10px;
    width: 50%;
  }

  .rm-hero-machine-laser,
  .rm-sample-one,
  .rm-sample-three {
    display: none;
  }

  .rm-sample-two {
    left: 92px;
    bottom: 22px;
    width: 82px;
    height: 50px;
  }

  .rm-metrics {
    margin-top: 0;
  }

  .rm-metric-grid,
  .rm-service-printers,
  .rm-grid-3,
  .rm-grid-4,
  .rm-blog-grid,
  .rm-process,
  .rm-footer-grid,
  .rm-products-grid,
  .rm-products-grid-compact,
  .rm-split,
  .rm-single-product,
  .rm-detail-grid,
  .woocommerce ul.products {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .rm-section,
  .rm-page,
  .rm-shop-hero {
    padding: 42px 0;
  }

  .rm-product-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rm-product-toolbar h2 {
    font-size: clamp(27px, 7vw, 32px) !important;
  }

  .rm-category-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rm-category-chip {
    min-width: 0;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .rm-product-card,
  .rm-blog-card,
  .rm-card,
  .rm-printer-card,
  .rm-detail-item,
  .rm-product-gallery,
  .rm-quote-box {
    border-radius: 12px;
  }

  .rm-product-card-media {
    aspect-ratio: 4 / 3;
  }

  .rm-product-card-media img,
  .rm-blog-card-media img,
  .rm-product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #f8fbff;
  }

  .rm-product-gallery {
    aspect-ratio: 1 / 1;
  }

  .rm-product-summary h1 {
    font-size: clamp(31px, 9vw, 40px) !important;
    line-height: 1.05 !important;
  }

  .rm-product-summary .rm-product-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rm-pill {
    justify-content: center;
    text-align: center;
  }

  .rm-quote-box {
    padding: 20px;
  }

  .rm-quote-box h2 {
    font-size: 24px;
  }

  .rm-delivery-visual {
    min-height: 300px;
  }

  .rm-delivery-card {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 14px;
  }

  .rm-footer {
    padding: 34px 0 86px;
  }

  .rm-footer-grid {
    text-align: left;
    text-transform: none;
  }

  .rm-floating-whatsapp {
    right: 16px;
    bottom: 14px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .rm-wrap,
  body .rm-wrap,
  .rm-header .rm-wrap,
  .rm-hero .rm-wrap {
    width: calc(100% - 24px) !important;
  }

  .rm-hero h1,
  .rm-shop-hero h1,
  .rm-page h1,
  .rm-head h1 {
    font-size: 28px !important;
  }

  .rm-category-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .rm-wrap,
  body .rm-wrap,
  .rm-header .rm-wrap,
  .rm-hero .rm-wrap {
    width: calc(100% - 32px) !important;
    max-width: 340px !important;
    margin-right: 16px !important;
    margin-left: 16px !important;
  }

  .rm-menu-button {
    display: inline-flex !important;
  }

  .rm-hero h1,
  .rm-shop-hero h1,
  .rm-page h1,
  .rm-head h1 {
    font-size: clamp(26px, 7.2vw, 31px) !important;
    line-height: 1.12 !important;
  }

  .rm-hero p,
  .rm-shop-hero p,
  .rm-page p,
  .rm-head p,
  .rm-product-summary,
  .rm-content {
    overflow-wrap: anywhere;
  }

  .rm-product-card-media,
  .rm-blog-card-media,
  .rm-product-gallery {
    max-width: 100%;
    overflow: hidden;
  }

  .rm-product-gallery img {
    object-fit: contain !important;
  }

  .rm-quote-box,
  .rm-product-summary,
  .rm-content {
    max-width: 100%;
  }
}
