/* R08.5: shared page hierarchy; no engine, price or product-state selectors. */
body.es3d-family-layout-page .es3d-family-hero {
  display: block;
  margin: 0 0 24px;
  padding: 24px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #17241e;
}
body.es3d-family-layout-page .es3d-family-title {
  margin: 0 0 var(--es3d-family-title-after, 16px) !important;
  padding: 0;
  font-size: clamp(36px, 3vw, 44px) !important;
  font-weight: 600 !important;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: #54565a;
}
body.es3d-family-layout-page .es3d-family-lead,
body.es3d-catalog-page .es3d-catalog-identity__copy > span {
  display: block;
  max-width: 760px;
  margin: 0;
  color: #545f57;
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.55;
}
/* Restore the single existing H1, now carrying the original Stampa wordmark. */
body.es3d-family-layout-page .esolution-quote-page.es3d-family-ready h1.es3d-family-title {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 44px;
  padding: 0 !important;
  margin: 0 0 var(--es3d-family-title-after, 16px) !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  text-align: left !important;
}
body.es3d-family-layout-page .esolution-quote-page.es3d-family-ready {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--es3d-shell-width) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.es3d-family-layout-page .esolution-quote-page.es3d-family-ready .ps3d__eyebrow { display: none; }
body.es3d-family-layout-page .esolution-quote-page.es3d-family-ready .ps3d__header h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: 1.2;
}
body.es3d-family-layout-page .esolution-quote-page.es3d-family-ready .ps3d__header > p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
/* Catalogue keeps its products and categories; only the surrounding chrome changes. */
body.es3d-catalog-page .content-area { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
body.es3d-catalog-page .content-area > .site-main {
  width: var(--es3d-shell-width) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.es3d-catalog-page .woocommerce-shop-header {
  display: block;
  margin: 0;
  padding: 0;
}
body.es3d-catalog-page .es3d-catalog-title-moved { display: none; }
body.es3d-catalog-page .woocommerce-shop-header--description,
body.es3d-catalog-page .page-description { width: 100%; margin: 0; padding: 0; }
body.es3d-catalog-page .es3d-catalog-identity.es3d-family-ready {
  width: 100%;
  max-width: none;
  overflow: visible;
}
body.es3d-catalog-page .es3d-catalog-identity__copy { padding: 0; }
body.es3d-catalog-page .es3d-catalog-identity__copy > p { display: none; }
body.es3d-catalog-page .es3d-catalog-identity__copy h2 {
  max-width: 42ch;
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: 1.2;
  letter-spacing: -.025em;
}
body.es3d-catalog-page .es3d-catalog-identity__links { gap: 0 20px; margin-top: 12px; }
body.es3d-catalog-page .es3d-catalog-identity__links a {
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (max-width: 767px) {
  body.es3d-family-layout-page .es3d-family-hero { padding-top: 20px; margin-bottom: 20px; }
  body.es3d-family-layout-page .esolution-quote-page.es3d-family-ready h1.es3d-family-title { min-height: 36px; }
}

/* Outrank the older WooCommerce mobile H1 rule and remove its reserved title row. */
body.es3d-catalog-page.es3d-family-layout-page .es3d-catalog-identity h1.es3d-family-title {
  font-size: clamp(36px, 3vw, 44px) !important;
  font-weight: 600 !important;
  margin: 0 0 var(--es3d-family-title-after, 16px) !important;
  line-height: 1.15 !important;
}
body.es3d-catalog-page .content-area > .site-main { margin-top: 0 !important; }

body.es3d-family-layout-page .es3d-family-content { margin-top: 0 !important; padding-top: 0 !important; }

body.es3d-catalog-page .esolution-products-page .product-category-section > h2,
body.es3d-catalog-page #es3d-lumasegno-card-title {
  font-size: clamp(24px, 2vw, 30px) !important;
  line-height: 1.2;
}

/* The catalogue teaser used rem values against Kalium's 10px root. */
body.es3d-catalog-page .es3d-lumasegno-card__body > p:not(.es3d-lumasegno-card__eyebrow) {
  font-size: 17px;
  line-height: 1.55;
}
body.es3d-catalog-page .es3d-lumasegno-card__eyebrow,
body.es3d-family-page .es3d-family-eyebrow {
  margin: 0 0 7px !important;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650 !important;
  letter-spacing: .08em !important;
}
body.es3d-catalog-page .es3d-lumasegno-card__meta > span { font-size: 13px; line-height: 1.4; }
body.es3d-catalog-page .es3d-lumasegno-card__body > small { font-size: 13px; line-height: 1.5; }
body.es3d-catalog-page .es3d-lumasegno-card__cta { min-height: 44px; font-size: 16px; }

body.es3d-catalog-page .es3d-ombraforma-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  margin: 0 0 50px;
  padding: 42px 0 46px;
  border-bottom: 1px solid #d6e2da;
  color: #252439;
}

body.es3d-catalog-page .es3d-ombraforma-card__visual {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 52% 47%, rgba(217, 246, 90, .14), transparent 25%),
    linear-gradient(145deg, #22213e, #101022);
  color: #fff !important;
  text-decoration: none !important;
}

body.es3d-catalog-page .es3d-ombraforma-card__visual::before,
body.es3d-catalog-page .es3d-ombraforma-card__visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .1);
  content: "";
  transform: rotate(45deg);
}

body.es3d-catalog-page .es3d-ombraforma-card__visual::before { width: 210px; height: 210px; }
body.es3d-catalog-page .es3d-ombraforma-card__visual::after { width: 285px; height: 285px; }
body.es3d-catalog-page .es3d-ombraforma-card__visual .es3d-light-orbit { transform: scale(1.32); }
body.es3d-catalog-page .es3d-ombraforma-card__visual .es3d-shadow-shape { right: 17%; bottom: 19%; width: 92px; height: 44px; }

body.es3d-catalog-page .es3d-ombraforma-card__visual-label {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #d9f65a;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.es3d-catalog-page .es3d-ombraforma-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 8px 24px 8px 0;
}

body.es3d-catalog-page .es3d-ombraforma-card__eyebrow {
  margin: 0 0 7px;
  color: #6863a6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.es3d-catalog-page #es3d-ombraforma-card-title {
  margin: 0 0 7px;
  color: #171629;
  font-size: clamp(24px, 2vw, 30px) !important;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}

body.es3d-catalog-page .es3d-ombraforma-card__descriptor {
  margin: 0 0 16px;
  color: #55517e;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

body.es3d-catalog-page .es3d-ombraforma-card__body > p:not(.es3d-ombraforma-card__eyebrow):not(.es3d-ombraforma-card__descriptor) {
  margin: 0;
  color: #5d5b6e;
  font-size: 17px;
  line-height: 1.55;
}

body.es3d-catalog-page .es3d-ombraforma-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: 20px 0 22px;
  padding: 14px 0 0;
  border-top: 1px solid #dedde7;
  list-style: none;
}

body.es3d-catalog-page .es3d-ombraforma-card__meta li {
  position: relative;
  margin: 0;
  padding-left: 13px;
  color: #5a5871;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

body.es3d-catalog-page .es3d-ombraforma-card__meta li::before {
  position: absolute;
  top: .48em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff6b4a;
  content: "";
}

body.es3d-catalog-page .es3d-ombraforma-card__cta {
  display: inline-flex;
  min-height: 46px;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 11px 17px;
  border-radius: 11px;
  background: #5b5797;
  color: #fff !important;
  font-size: 16px;
  font-weight: 780;
  text-decoration: none !important;
}

body.es3d-catalog-page .es3d-ombraforma-card__cta:hover { background: #464278; }
body.es3d-catalog-page .es3d-ombraforma-card__body small { display: block; margin-top: 12px; color: #777586; font-size: 13px; line-height: 1.5; }
body.es3d-catalog-page .es3d-ombraforma-card :focus-visible { outline: 3px solid #ff6b4a; outline-offset: 3px; }

@media (max-width: 860px) {
  body.es3d-catalog-page .es3d-ombraforma-card { grid-template-columns: 1fr; }
  body.es3d-catalog-page .es3d-ombraforma-card__body { padding: 0 8px 8px; }
}

@media (max-width: 600px) {
  body.es3d-catalog-page .es3d-ombraforma-card { gap: 24px; margin-bottom: 36px; padding: 28px 0 34px; }
  body.es3d-catalog-page .es3d-ombraforma-card__visual { min-height: 250px; border-radius: 16px; }
  body.es3d-catalog-page .es3d-ombraforma-card__body { padding-inline: 0; }
}

/* Public Kalium description margin is important; keep the approved hero gap. */
body.es3d-catalog-page .woocommerce-shop-header .page-description { margin: 0 !important; }

