/* Arvio shared system · padrao-site-v2 · 25 Oct 2026.
   One set of visual tokens; product content, consent and delivery gates stay local. */
:root {
  --paper: #f4f1ec;
  --ink: #141713;
  --muted: #676767;
  --line: #dcded4;
  --green: var(--arvio-action, #167638);
  --arvio-green: var(--arvio-action, #167638);
  --arvio-on-green: #1e1e1e;
  --arvio-radius: 14px;
  --arvio-dialog-radius: 18px;
  --arvio-control-radius: 999px;
  --arvio-control-height: 48px;
  --arvio-field-height: 56px;
  --arvio-font: Jost, Arial, sans-serif;
  --arvio-header-height: 80px;
  --arvio-header-logo-width: 160px;
  --arvio-header-catalog-width: 180px;
  --arvio-header-padding: clamp(24px,5.5556vw,80px);
}

/* Solid brand green in every state; readable dark label, also for the Home. */
body.visual-landing[data-product] .btn-primary,
body[data-product="a013"] .button-primary,
.home-button.is-green,
body.home-compact .home-filters button[aria-pressed="true"],
.arvio-cookie-dialog .arvio-cookie-button.is-primary,
.arvio-bar button:not(.arvio-bar-preferences),
body.visual-landing .whatsapp-float {
  background: var(--arvio-green);
  border-color: var(--arvio-green);
  color: var(--arvio-action-text, #fff);
}
body.visual-landing[data-product] .btn-primary:hover,
body.visual-landing[data-product] .btn-primary:active,
body[data-product="a013"] .button-primary:hover,
body[data-product="a013"] .button-primary:active,
.home-button.is-green:hover,
.home-button.is-green:active,
body.home-compact .home-filters button[aria-pressed="true"]:hover,
body.home-compact .home-filters button[aria-pressed="true"]:active,
.arvio-cookie-dialog .arvio-cookie-button.is-primary:hover,
.arvio-bar button:not(.arvio-bar-preferences):hover {
  background: var(--arvio-green);
  border-color: var(--arvio-green);
  color: var(--arvio-action-text, #fff);
  box-shadow: inset 0 0 0 1px var(--arvio-on-green);
}
body.visual-landing[data-product] :is(.btn,.unit-choose),
body[data-product="a013"] .button {
  min-height: var(--arvio-control-height);
  border-radius: var(--arvio-control-radius);
  font-family: var(--arvio-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  padding: 12px 24px;
  text-align: center;
}
body.visual-landing[data-product] .hero.hero-compact .btn {
  min-height: 48px;
  font-size: 16px;
  border-radius: 999px;
}
body.visual-landing[data-product] .hero.hero-compact > .lp-offer {
  max-width: 1440px;
}
body.visual-landing :is(a,button,input,select,textarea,summary):focus-visible,
body[data-product="a013"] :is(a,button,input,select,textarea,summary):focus-visible,
.home-button:focus-visible,
body.home-compact .home-filters button:focus-visible,
.arvio-cookie-dialog :is(a,button,input):focus-visible,
.arvio-bar :is(a,button):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
body.visual-landing button:disabled,
body[data-product="a013"] button:disabled,
.arvio-cookie-dialog button:disabled {
  cursor: not-allowed;
  opacity: .65;
  transform: none;
}
body.visual-landing :is(input,select,textarea):not([type="checkbox"]):not([type="hidden"]),
body[data-product="a013"] .field :is(input,select,textarea) {
  min-height: var(--arvio-field-height);
  font-family: var(--arvio-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: #fff;
  border: 1px solid var(--muted);
  border-radius: var(--arvio-radius);
  padding: 14px 16px;
}
body.visual-landing textarea,
body[data-product="a013"] .field textarea { min-height: 112px; }
body.visual-landing[data-product] :is(input,select,textarea)[aria-invalid="true"],
body[data-product="a013"] .field :is(input,select,textarea)[aria-invalid="true"] {
  border-color: #a4382b;
  box-shadow: inset 0 0 0 1px #a4382b;
}
body.visual-landing .field label,
body[data-product="a013"] .field label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 8px;
}
body.visual-landing input[type="checkbox"],
body[data-product="a013"] input[type="checkbox"],
.arvio-cookie-option input[type="checkbox"] {
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: #fff;
  padding: 0;
  accent-color: var(--arvio-green);
}
body.visual-landing input[type="checkbox"]:checked,
body[data-product="a013"] input[type="checkbox"]:checked,
.arvio-cookie-option input[type="checkbox"]:checked {
  background-color: var(--arvio-green);
  border-color: var(--arvio-on-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='%230b2415' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.visual-landing input[type="checkbox"]:disabled,
body[data-product="a013"] input[type="checkbox"]:disabled,
.arvio-cookie-option input[type="checkbox"]:disabled { background-color: #e7e9e3; }
body.visual-landing .hero.hero-compact .hero-image-note {
  font-size: 12px;
  line-height: 1.5;
  color: #414141;
}
body.visual-landing[data-product] .unit-choose { font-size: 14px; padding-inline: 16px; }
body.visual-landing :is(#contactDialog,#galleryDialog) {
  border-radius: var(--arvio-dialog-radius);
  background: var(--paper);
  color: var(--ink);
}
/* Long documentary price ranges must fit the form at narrow client widths. */
body.visual-landing[data-product] .form-context .form-price-value {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* a009 art direction: preserve the window/room instead of cropping to the rug. */
@media (min-width:761px) {
  body.visual-landing[data-product="a009"] { --product-continuous-position: 60% 15%; }
}

/* Portrait-photo variant: retain the original a013 facade in its full aspect. */
body[data-product="a013"] {
  margin: 0;
  font: 18px/1.55 var(--arvio-font);
  color: var(--ink);
  background: var(--paper);
  --max: 1440px;
  --radius: 14px;
}
body[data-product="a013"] .wrap {
  width: min(1440px,100%);
  padding-inline: clamp(24px,5.5556vw,80px);
  margin-inline: auto;
}
body[data-product="a013"] .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: auto;
  background: var(--paper);
  border-bottom: 0;
}
body[data-product="a013"] .nav-wrap {
  width: min(1440px,100%);
  min-height: 80px;
  height: auto;
  padding: 16px clamp(24px,5.5556vw,80px);
  display: flex;
  align-items: center;
  gap: 32px;
}
body[data-product="a013"] .brand { width: 160px; flex: 0 0 160px; }
body[data-product="a013"] .brand img { width: 100%; height: auto; }
body[data-product="a013"] .site-header nav { margin-left: auto; gap: 24px; font-size: 14px; }
body[data-product="a013"] .nav-catalog { flex: 0 0 180px; text-decoration: none; }
body[data-product="a013"] .button-outline { background: #fff; border-color: var(--ink); color: var(--ink); }
body[data-product="a013"] .button-outline:hover { background: var(--paper); border-color: var(--ink); }
body[data-product="a013"] .hero {
  height: auto;
  min-height: clamp(620px,45vw,760px);
  isolation: isolate;
}
body[data-product="a013"] .hero-image { height: 100%; object-position: right center; z-index: -2; -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 26%); mask-image: linear-gradient(90deg,transparent 0%,#000 26%); }
body[data-product="a013"] .hero-veil {
  z-index: -1;
  background: linear-gradient(90deg,#f4f1ec 0%,#f4f1ec 46%,rgba(244,241,236,.94) 56%,rgba(244,241,236,.3) 68%,rgba(244,241,236,0) 78%);
}
body[data-product="a013"] .hero-content { padding-block: 56px 88px; }
body[data-product="a013"] .hero-content > :is(.eyebrow,h1,.hero-description,.hero-price,.hero-actions) { max-width: 504px; }
body[data-product="a013"] .hero .eyebrow { font-size: 13px; line-height: 1.35; letter-spacing: 0; color: var(--muted); margin: 0 0 24px; }
body[data-product="a013"] .dot { display: none; }
body[data-product="a013"] .hero h1,
body[data-product="a013"] .hero h1 span {
  font: 500 40px/1.35 var(--arvio-font);
  letter-spacing: -.02em;
}
body[data-product="a013"] .hero h1 { margin: 0 0 16px; }
body[data-product="a013"] .hero-description { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; }
body[data-product="a013"] .hero-price { margin-top: 0; gap: 8px; }
body[data-product="a013"] .hero-price > span { font-size: 13px; letter-spacing: 0; }
body[data-product="a013"] .hero-price strong { font-size: 32px; line-height: 1.35; }
body[data-product="a013"] .hero-price small { font-size: 12px; line-height: 1.5; color: #414141; }
body[data-product="a013"] .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
body[data-product="a013"] .hero-actions .text-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  background: rgba(244,241,236,.8);
  color: var(--ink);
}
body[data-product="a013"] .hero-foot { bottom: 18px; font-size: 12px; line-height: 1.5; color: #414141; }
body[data-product="a013"] .hero-foot span:last-child { background: rgba(244,241,236,.9); border-radius: 4px; }
body[data-product="a013"] .section { padding-block: 80px; }
body[data-product="a013"] h2 { font: 500 clamp(28px,3.3333vw,40px)/1.2 var(--arvio-font); letter-spacing: -.025em; }
body[data-product="a013"] h3 { font-family: var(--arvio-font); font-weight: 500; }
body[data-product="a013"] :is(.story-visual,.image-button,.plan-card,.contact-card) { border-radius: 14px; }
body[data-product="a013"] .gallery-card .image-button { border-radius: 14px; }
body[data-product="a013"] :is(.section-note,.plan-copy small,.gallery-card figcaption > span,.footer-bottom) { font-size: 12px; line-height: 1.5; color: var(--muted); }
body[data-product="a013"] .unit-table { border-top-color: var(--line); }
body[data-product="a013"] .unit-table-head { font-size: 12px; letter-spacing: .04em; color: var(--muted); }
body[data-product="a013"] .unit-row { border-color: var(--line); }
body[data-product="a013"] .unit-row-main { padding: 16px 12px; min-height: 88px; }
body[data-product="a013"] .unit-controls { gap: 12px; }
body[data-product="a013"] .unit-controls .button { font-size: 14px; padding-inline: 16px; }
body[data-product="a013"] .conditions-button { min-height: 44px; font-size: 13px; }
body[data-product="a013"] .filter { min-height: 44px; border-radius: 999px; color: var(--ink); }
body[data-product="a013"] .filter.active { border-color: var(--arvio-green); color: var(--ink); background: #eaeaea; }
body[data-product="a013"] :is(.contact-dialog,.photo-dialog) { border-radius: 18px; background: var(--paper); color: var(--ink); }
body[data-product="a013"] .contact-dialog { width: min(620px,calc(100vw - 32px)); padding: 32px; }
body[data-product="a013"] .contact-dialog h2 { font-size: 32px; line-height: 1.2; }
body[data-product="a013"] .field-row { gap: 16px; }
body[data-product="a013"] .field { margin-top: 20px; }
body[data-product="a013"] .checkbox { min-height: 44px; font-size: 13px; line-height: 1.5; color: var(--ink); gap: 12px; }
body[data-product="a013"] .checkbox em { font-size: 12px; color: var(--muted); }
body[data-product="a013"] .field-error { font-size: 12px; }
body[data-product="a013"] .dialog-close { min-width: 44px; min-height: 44px; border-radius: 999px; }
body[data-product="a013"] .footer { padding-top: 32px; }
body[data-product="a013"] .footer-top img { width: 160px; }
body[data-product="a013"] .footer-top > span { color: var(--muted); }
body[data-product="a013"] .footer-top > a:last-child { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
body[data-product="a013"] .footer-links { gap: 12px 24px; }
body[data-product="a013"] .footer-links :is(a,button) { min-height: 44px; font-size: 13px; }

@media (min-width:761px) and (max-width:1100px) {
  body[data-product="a013"] .hero-content > :is(.eyebrow,h1,.hero-description,.hero-price,.hero-actions) { max-width: 48%; }
  body[data-product="a013"] .hero h1,
  body[data-product="a013"] .hero h1 span { font-size: 32px; }
}
@media (max-width:760px) {
  body[data-product="a013"] .wrap { width: 100%; padding-inline: 18px; }
  body[data-product="a013"] .gallery-grid { width: 100%; max-width: 100%; }
  body[data-product="a013"] .nav-wrap { min-height: 80px; padding: 16px 18px; gap: 20px; }
  body[data-product="a013"] .brand { width: 112px; flex-basis: 112px; }
  body[data-product="a013"] .site-header nav { display: none; }
  body[data-product="a013"] .nav-catalog { margin-left: auto; flex: 0 0 154px; font-size: 15px; }
  body[data-product="a013"] .hero { min-height: 0; height: auto; }
  body[data-product="a013"] .hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; -webkit-mask-image: none; mask-image: none; }
  body[data-product="a013"] .hero-veil { background: linear-gradient(180deg,rgba(244,241,236,.9) 0%,rgba(244,241,236,.86) 24%,rgba(244,241,236,.18) 35%,rgba(244,241,236,0) 43%,rgba(244,241,236,.12) 51%,rgba(244,241,236,.82) 61%,rgba(244,241,236,.94) 80%,#f4f1ec 100%); }
  body[data-product="a013"] .hero-content { padding-block: 30px 64px; }
  body[data-product="a013"] .hero-content > :is(.eyebrow,h1,.hero-description,.hero-price,.hero-actions) { max-width: none; }
  body[data-product="a013"] .hero .eyebrow { font-size: 11px; margin-bottom: 16px; }
  body[data-product="a013"] .hero h1,
  body[data-product="a013"] .hero h1 span { font-size: clamp(30px,8.8889vw,38px); line-height: 1.22; }
  body[data-product="a013"] .hero-description { font-size: 15px; color: var(--ink); }
  body[data-product="a013"] .hero-price { margin-top: clamp(140px,40vw,210px); }
  body[data-product="a013"] .hero-price strong { font-size: 28px; }
  body[data-product="a013"] .hero-actions .button,
  body[data-product="a013"] .hero-actions .text-link { font-size: 16px; }
  body[data-product="a013"] .hero-foot { bottom: 16px; display: block; }
  body[data-product="a013"] .hero-foot span:first-child { display: none; }
  body[data-product="a013"] .hero-foot span:last-child { padding: 0; background: transparent; }
  body[data-product="a013"] .section { padding-block: 48px; }
  body[data-product="a013"] .section-heading { gap: 20px; margin-bottom: 24px; }
  body[data-product="a013"] .unit-row-main { padding: 16px 12px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
  body[data-product="a013"] .unit-row { border: 0; }
  body[data-product="a013"] .unit-row-main .button { min-height: 48px; }
  body[data-product="a013"] .contact-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); padding: 24px; }
  body[data-product="a013"] .field-row { grid-template-columns: 1fr; gap: 0; }
  body[data-product="a013"] .footer-top img { width: 112px; }
  body[data-product="a013"] .footer-bottom { font-size: 12px; }
  body[data-product="a013"] .mobile-contact { padding-inline: 18px; background: rgba(244,241,236,.97); }
  body[data-product="a013"] .mobile-contact > span,
  body[data-product="a013"] .mobile-contact small { font-size: 11px; }
  body[data-product="a013"] .mobile-contact .button { min-height: 48px; font-size: 13px; padding: 10px 16px; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-product="a013"] :is(.button,.btn) { transition: none; transform: none; }
}

/* Shared header contract. Keep this after legacy page styles and variants.
   Home and LP content are different, while geometry, type and breakpoints agree. */
body.home-compact .home-nav,
body.visual-landing[data-product] .page-nav,
body[data-product="a013"] .site-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--arvio-header-height);
  min-height: var(--arvio-header-height);
  background: var(--paper);
  border: 0;
}
body.home-compact .home-nav-inner,
body.visual-landing[data-product] .nav-inner,
body[data-product="a013"] .nav-wrap {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: min(1440px,100%);
  height: var(--arvio-header-height);
  min-height: var(--arvio-header-height);
  margin-inline: auto;
  padding: 16px var(--arvio-header-padding);
  gap: 32px;
  font-family: var(--arvio-font);
}
body.home-compact .home-nav .home-brand,
body.visual-landing[data-product] .nav-inner .brand,
body[data-product="a013"] .nav-wrap .brand {
  display: block;
  width: var(--arvio-header-logo-width);
  flex: 0 0 var(--arvio-header-logo-width);
  line-height: 1;
}
body.home-compact .home-nav .home-brand img,
body.visual-landing[data-product] .nav-inner .brand img,
body[data-product="a013"] .nav-wrap .brand img {
  display: block;
  width: 100%;
  height: auto;
}
body.home-compact .home-nav nav,
body.visual-landing[data-product] .nav-start,
body[data-product="a013"] .site-header nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 24px;
  font: 400 14px/1.35 var(--arvio-font);
}
body.home-compact .home-nav :is(.home-nav-selection,.home-nav-advisor),
body.visual-landing[data-product] .nav-start a,
body[data-product="a013"] .site-header nav a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding-block: 0;
  font: inherit;
  text-decoration: none;
}
body.home-compact .home-nav :is(.home-nav-cta,.home-nav-mobile),
body.visual-landing[data-product] .nav-catalog,
body[data-product="a013"] .nav-catalog {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--arvio-header-catalog-width);
  flex: 0 0 var(--arvio-header-catalog-width);
  height: var(--arvio-control-height);
  min-height: var(--arvio-control-height);
  padding: 12px 24px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--ink);
  border-radius: var(--arvio-control-radius);
  background: #fff;
  color: var(--ink);
  font: 500 16px/1.35 var(--arvio-font);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
body.home-compact .home-nav :is(.home-nav-cta,.home-nav-mobile):is(:hover,:active),
body.visual-landing[data-product] .nav-catalog:is(:hover,:active),
body[data-product="a013"] .nav-catalog:is(:hover,:active) {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: none;
}
body.home-compact .home-nav .home-nav-mobile { display: none; }
body.home-compact :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
@media (max-width:1100px) {
  body.home-compact .home-nav :is(.home-nav-selection,.home-nav-advisor),
  body.visual-landing[data-product] .nav-start,
  body[data-product="a013"] .site-header nav { display: none; }
  body.visual-landing[data-product] .nav-catalog,
  body[data-product="a013"] .nav-catalog { margin-left: auto; }
}
@media (max-width:760px) {
  :root {
    --arvio-header-logo-width: 112px;
    --arvio-header-catalog-width: 154px;
    --arvio-header-padding: 18px;
  }
  body.home-compact .home-nav-inner,
  body.visual-landing[data-product] .nav-inner,
  body[data-product="a013"] .nav-wrap { gap: 20px; }
  body.home-compact .home-nav .home-nav-cta { display: none; }
  body.home-compact .home-nav .home-nav-mobile { display: inline-flex; }
}
@media (max-width:340px) {
  body.home-compact .home-nav-inner,
  body.visual-landing[data-product] .nav-inner,
  body[data-product="a013"] .nav-wrap { gap: 0; justify-content: space-between; }
}

/* Shared contact-dialog shell. Default long pages keep their existing gutter;
   opening any native dialog locks the background without changing that width. */
html:has(dialog[open]) { scrollbar-gutter: stable; }
html:has(dialog[open]) { overflow-y: hidden; }
body:has(dialog[open]) { overflow: hidden; }
body.visual-landing[data-product] #contactDialog,
body[data-product="a013"] #contact-dialog {
  --arvio-dialog-content-inset: 24px;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(660px,calc(100% - 32px));
  max-width: calc(100% - 32px);
  min-width: 0;
  max-height: calc(100svh - 40px);
  min-height: 0;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--arvio-dialog-radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 100px #0005;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
body.visual-landing[data-product] #contactDialog::backdrop,
body[data-product="a013"] #contact-dialog::backdrop {
  background: #181818b0;
  backdrop-filter: blur(5px);
}
body.visual-landing[data-product] #contactDialog > .dialog-top {
  padding: var(--arvio-dialog-content-inset);
}
body.visual-landing[data-product] #contactDialog > .contact-dialog-intro {
  margin: 0;
  padding: 0 var(--arvio-dialog-content-inset);
}
body.visual-landing[data-product] #contactDialog .form-panel {
  padding: var(--arvio-dialog-content-inset);
  border: 0;
  border-radius: 0;
}
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) {
  padding: var(--arvio-dialog-content-inset);
}
body.visual-landing[data-product] #contactDialog .dialog-top h2,
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) > h2 {
  margin: 8px 0 0;
  font: 500 28px/1.3 var(--arvio-font);
  letter-spacing: -.02em;
  text-transform: none;
}
body.visual-landing[data-product] #contactDialog .dialog-top .eyebrow,
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) > .eyebrow {
  display: block;
  margin: 0;
  font: 500 11px/1.35 var(--arvio-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.visual-landing[data-product] #contactDialog > .contact-dialog-intro,
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) > .dialog-description {
  color: var(--muted);
  font: 400 14px/1.55 var(--arvio-font);
}
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) > .dialog-description {
  margin: var(--arvio-dialog-content-inset) 0 0;
}
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) > :is(.eyebrow,h2) {
  padding-right: 64px;
}
/* The a013 markup has no header wrapper: overlay its close control in the
   existing content grid so it stays reachable while the native dialog scrolls. */
body[data-product="a013"] #contact-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: max-content;
  align-content: start;
}
body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view):not([hidden]) {
  grid-area: 1 / 1;
  min-width: 0;
}
body.visual-landing[data-product] #contactDialog .close-dialog,
body[data-product="a013"] #contact-dialog > .dialog-close {
  box-sizing: border-box;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--arvio-control-radius);
  background: var(--paper);
  color: var(--ink);
  font: 400 26px/26px var(--arvio-font);
}
body[data-product="a013"] #contact-dialog > .dialog-close {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: end;
  position: sticky;
  top: var(--arvio-dialog-content-inset);
  right: auto;
  z-index: 3;
  margin: var(--arvio-dialog-content-inset) var(--arvio-dialog-content-inset) 0 0;
}
body.visual-landing[data-product] #contactDialog .close-dialog:hover,
body[data-product="a013"] #contact-dialog > .dialog-close:hover { background: var(--paper); }
body.visual-landing[data-product] #contactDialog .close-dialog:focus-visible,
body[data-product="a013"] #contact-dialog > .dialog-close:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
@media (max-width:760px) {
  body.visual-landing[data-product] #contactDialog,
  body[data-product="a013"] #contact-dialog {
    --arvio-dialog-content-inset: 18px;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
  }
  body.visual-landing[data-product] #contactDialog .dialog-top h2,
  body[data-product="a013"] #contact-dialog > :is(#form-view,#success-view) > h2 {
    font-size: 24px;
  }
}

/* Disabled primary links use the same state as native disabled buttons.
   Existing href/validation/registration gates stay in the untouched scripts. */
body.visual-landing[data-product] :is(.btn-primary,.whatsapp-float):is(:disabled,[aria-disabled="true"]),
body[data-product="a013"] .button-primary:is(:disabled,[aria-disabled="true"]),
body[data-product="a013"] #contact-whatsapp[aria-disabled="true"],
body.home-compact .home-button.is-green:is(:disabled,[aria-disabled="true"]),
.arvio-cookie-dialog .arvio-cookie-button.is-primary:is(:disabled,[aria-disabled="true"]),
.arvio-bar button:not(.arvio-bar-preferences):is(:disabled,[aria-disabled="true"]) {
  background: var(--arvio-green);
  border-color: var(--arvio-green);
  color: var(--arvio-action-text, #fff);
  opacity: .65;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Field states share one error treatment and one visible focus treatment.
   Error and focus coexist; only an unfocused invalid control loses legacy outlines. */
body.visual-landing[data-product] :is(input,select,textarea):not([type="hidden"])[aria-invalid="true"],
body[data-product="a013"] :is(input,select,textarea):not([type="hidden"])[aria-invalid="true"],
.arvio-cookie-dialog :is(input,select,textarea):not([type="hidden"])[aria-invalid="true"] {
  border-color: #a4382b;
  box-shadow: inset 0 0 0 1px #a4382b;
}
body.visual-landing[data-product] :is(input,select,textarea):not([type="hidden"])[aria-invalid="true"]:not(:focus):not(:focus-visible),
body[data-product="a013"] :is(input,select,textarea):not([type="hidden"])[aria-invalid="true"]:not(:focus):not(:focus-visible),
.arvio-cookie-dialog :is(input,select,textarea):not([type="hidden"])[aria-invalid="true"]:not(:focus):not(:focus-visible) {
  outline: none;
  outline-offset: 0;
}
body.visual-landing[data-product] :is(input,select,textarea):not([type="hidden"]):is(:focus,:focus-visible),
body[data-product="a013"] :is(input,select,textarea):not([type="hidden"]):is(:focus,:focus-visible),
.arvio-cookie-dialog :is(input,select,textarea):not([type="hidden"]):is(:focus,:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

/* Shared feedback and confirmed-success presentation. Visibility, text and
   authorized WhatsApp availability are controlled by the existing modules. */
body.visual-landing[data-product] :is(.form-feedback,.lead-success),
body[data-product="a013"] :is(#form-error,#success-view) {
  --arvio-state-space: 24px;
}
body.visual-landing[data-product] .form-feedback:not(:empty):not([hidden]),
body[data-product="a013"] #form-error:not(:empty):not([hidden]) {
  box-sizing: border-box;
  margin: var(--arvio-state-space) 0;
  padding: 16px;
  border: 0;
  border-left: 3px solid var(--arvio-green);
  background: #f1f1f1;
  color: var(--ink);
  font: 400 13px/1.5 var(--arvio-font);
  overflow-wrap: anywhere;
}
body.visual-landing[data-product] .form-feedback[data-error="true"]:not(:empty):not([hidden]),
body[data-product="a013"] #form-error:not(:empty):not([hidden]) {
  background: #f8ece8;
  border-color: #a15b47;
  color: #813b2e;
}
body.visual-landing[data-product] .form-feedback:empty,
body[data-product="a013"] #form-error:empty { display: none; }
body.visual-landing[data-product] .lead-success > h3,
body[data-product="a013"] #contact-dialog > #success-view > h2 {
  margin: var(--arvio-state-space) 0;
  font: 500 28px/1.3 var(--arvio-font);
  letter-spacing: -.02em;
  text-transform: none;
}
body.visual-landing[data-product] .lead-success > .eyebrow,
body[data-product="a013"] #contact-dialog > #success-view > .eyebrow {
  display: block;
  margin: 0;
  font: 500 11px/1.35 var(--arvio-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.visual-landing[data-product] .lead-success > p,
body[data-product="a013"] #contact-dialog > #success-view > p:not(.eyebrow) {
  margin: 0 0 var(--arvio-state-space);
  color: var(--muted);
  font: 400 16px/1.55 var(--arvio-font);
}
body[data-product="a013"] #success-view > .success-icon[aria-hidden="true"] { display: none; }
body.visual-landing[data-product] .lead-success > .btn,
body[data-product="a013"] #contact-dialog > #success-view > #contact-whatsapp {
  width: 100%;
}
body.visual-landing[data-product] .lead-success > .text-button,
body[data-product="a013"] #contact-dialog > #success-view > #contact-again {
  display: block;
  width: auto;
  height: auto;
  min-height: 44px;
  margin: 14px auto 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 14px/1.4 var(--arvio-font);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: none;
  box-shadow: none;
}
@media (max-width:760px) {
  body.visual-landing[data-product] :is(.form-feedback,.lead-success),
  body[data-product="a013"] :is(#form-error,#success-view) {
    --arvio-state-space: 18px;
  }
  body.visual-landing[data-product] .lead-success > h3,
  body[data-product="a013"] #contact-dialog > #success-view > h2 {
    font-size: 24px;
  }
}

/* Shared overlay primitives. Media dimensions/navigation and Home's option
   content keep their own layouts; the shell, backdrop and close role agree. */
body.visual-landing[data-product] :is(#contactDialog,#galleryDialog),
body[data-product="a013"] :is(#contact-dialog,#photo-dialog),
body.home-compact #homeContactDialog,
#arvioCookieDialog.arvio-cookie-dialog {
  border-radius: var(--arvio-dialog-radius);
  box-shadow: 0 25px 100px #0005;
}
body.visual-landing[data-product] :is(#contactDialog,#galleryDialog)::backdrop,
body[data-product="a013"] :is(#contact-dialog,#photo-dialog)::backdrop,
body.home-compact #homeContactDialog::backdrop,
#arvioCookieDialog.arvio-cookie-dialog::backdrop {
  background: #181818b0;
  backdrop-filter: blur(5px);
}
body.visual-landing[data-product] :is(#contactDialog,#galleryDialog) .close-dialog,
body[data-product="a013"] :is(#contact-dialog,#photo-dialog) > .dialog-close,
body.home-compact #homeContactDialog #homeContactClose {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--arvio-control-radius);
  background: var(--paper);
  color: var(--ink);
  font: 400 26px/26px var(--arvio-font);
}
body.visual-landing[data-product] :is(#contactDialog,#galleryDialog) .close-dialog:hover,
body[data-product="a013"] :is(#contact-dialog,#photo-dialog) > .dialog-close:hover,
body.home-compact #homeContactDialog #homeContactClose:hover { background: var(--paper); }
body.visual-landing[data-product] :is(#contactDialog,#galleryDialog) .close-dialog:focus-visible,
body[data-product="a013"] :is(#contact-dialog,#photo-dialog) > .dialog-close:focus-visible,
body.home-compact #homeContactDialog #homeContactClose:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

/* Dynamically mounted consent panel: use its actual shared module classes.
   It stays a520px information panel; required/available/checked/hidden states
   are still decided exclusively by the unmodified consent controller. */
#arvioCookieDialog.arvio-cookie-dialog {
  --arvio-consent-inset: 24px;
  --arvio-consent-close-width: 136px;
  --arvio-consent-close-slot: 148px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-content { padding: var(--arvio-consent-inset); }
#arvioCookieDialog .arvio-cookie-close {
  width: auto;
  min-width: var(--arvio-consent-close-width);
  height: 44px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: var(--arvio-control-radius);
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.35 var(--arvio-font);
  text-decoration: none;
}
#arvioCookieDialog .arvio-cookie-close:hover { background: var(--paper); }
#arvioCookieDialog .arvio-cookie-eyebrow {
  margin: 0 var(--arvio-consent-close-slot) 0 0;
  font: 500 11px/1.35 var(--arvio-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
#arvioCookieDialog .arvio-cookie-title {
  max-width: none;
  margin: 8px 0 0;
  padding-right: var(--arvio-consent-close-slot);
  font: 500 28px/1.3 var(--arvio-font);
  letter-spacing: -.02em;
}
#arvioCookieDialog .arvio-cookie-description {
  margin: var(--arvio-consent-inset) 0 12px;
  color: var(--muted);
  font: 400 14px/1.55 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-reassurance {
  margin: 0 0 var(--arvio-consent-inset);
  color: var(--ink);
  font: 500 14px/1.55 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-option-copy {
  color: var(--muted);
  font: 400 14px/1.55 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-option-copy strong,
#arvioCookieDialog .arvio-cookie-options legend {
  color: var(--ink);
  font: 500 14px/1.35 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-reload-note {
  color: var(--muted);
  font: 400 14px/1.55 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-fineprint {
  color: var(--muted);
  font: 400 12px/1.5 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-button {
  min-height: var(--arvio-control-height);
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--arvio-control-radius);
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.35 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-button:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#arvioCookieDialog .arvio-cookie-button.is-primary,
#arvioCookieDialog .arvio-cookie-button.is-primary:is(:hover,:active) {
  min-height: var(--arvio-control-height);
  background: var(--arvio-green);
  border-color: var(--arvio-green);
  color: var(--arvio-action-text, #fff);
  font: 500 16px/1.35 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-button.is-save,
#arvioCookieDialog .arvio-cookie-button.is-save:is(:hover,:active) {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
  border-radius: var(--arvio-control-radius);
  font: 500 16px/1.35 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-button:is(:disabled,[aria-disabled="true"]) {
  opacity: .65;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
#arvioCookieDialog .arvio-cookie-customize,
#arvioCookieDialog .arvio-cookie-secondary,
#arvioCookieDialog .arvio-cookie-policy {
  min-height: 44px;
  font: 400 14px/1.4 var(--arvio-font);
}
#arvioCookieDialog .arvio-cookie-error:not(:empty):not([hidden]) {
  margin: var(--arvio-consent-inset) 0;
  padding: 16px;
  border-left: 3px solid #a15b47;
  background: #f8ece8;
  color: #813b2e;
  font: 400 13px/1.5 var(--arvio-font);
  overflow-wrap: anywhere;
}
#arvioCookieDialog .arvio-cookie-error:empty { display: none; }
#arvioCookieDialog :is(a,button,input):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
@media (max-width:760px) {
  #arvioCookieDialog.arvio-cookie-dialog { --arvio-consent-inset: 18px; }
  #arvioCookieDialog .arvio-cookie-title { font-size: 24px; }
}
@media (max-width:480px) {
  #arvioCookieDialog.arvio-cookie-dialog {
    --arvio-consent-close-width: 132px;
    --arvio-consent-close-slot: 144px;
  }
}

/* Home's options dialog shares dialog typography/insets, while retaining its
   720px width and the original product-option content and navigation. */
body.home-compact #homeContactDialog {
  --arvio-options-inset: 24px;
  padding: var(--arvio-options-inset);
}
body.home-compact #homeContactDialog .home-dialog-head h2 {
  margin: 8px 0 0;
  font: 500 28px/1.3 var(--arvio-font);
  letter-spacing: -.02em;
}
body.home-compact #homeContactDialog .home-eyebrow {
  margin: 0;
  font: 500 11px/1.35 var(--arvio-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
body.home-compact #homeContactDialog > p {
  margin: var(--arvio-options-inset) 0;
  color: var(--muted);
  font: 400 14px/1.55 var(--arvio-font);
}
@media (max-width:760px) {
  body.home-compact #homeContactDialog { --arvio-options-inset: 18px; }
  body.home-compact #homeContactDialog .home-dialog-head h2 { font-size: 24px; }
}

/* Shared controls remain still in every interaction state. Gallery arrows
   retain their translateY(-50%) positioning; image-hover effects are separate. */
body.visual-landing[data-product] :is(.btn,.unit-choose,.whatsapp-float),
body[data-product="a013"] .button,
body.home-compact .home-button,
#arvioCookieDialog .arvio-cookie-button {
  gap: 16px;
  transform: none;
  transition: background-color .2s,border-color .2s,color .2s,box-shadow .2s;
}
@media (prefers-reduced-motion:reduce) {
  body.visual-landing[data-product] :is(.btn,.unit-choose,.whatsapp-float),
  body[data-product="a013"] .button,
  body.home-compact .home-button,
  #arvioCookieDialog .arvio-cookie-button {
    transition: none;
  }
}

/* Modal nesting must not restore the legacy light primary label. */
body.visual-landing[data-product] #contactDialog .btn-primary {
  color: var(--arvio-on-green);
}

/* R7: one compact unit-card layout on mobile for every common catalogue.
   Facts, independent lot groups, three initial rows and controllers stay own. */
@media (max-width:760px) {
  body.visual-landing[data-product] .unit-table-hint { display: none; }
  body.visual-landing[data-product] .unit-table-scroll { overflow: visible; }
  body.visual-landing[data-product] .unit-table {
    display: block; min-width: 0 !important; width: 100%;
    table-layout: auto; border-collapse: separate;
  }
  body.visual-landing[data-product] .unit-table thead {
    display: table-header-group; position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  body.visual-landing[data-product] .unit-table tbody {
    display: grid; gap: 12px; width: 100%;
  }
  body.visual-landing[data-product] .unit-table .unit-main-row {
    display: grid; grid-template-columns: minmax(0,1fr) auto;
    gap: 10px 14px; padding: 18px; margin-top: 0;
    border: 1px solid var(--line); border-radius: 12px; background: #fff;
  }
  body.visual-landing[data-product] .unit-table .unit-main-row.unit-entry {
    background: #ebebeb;
  }
  body.visual-landing[data-product] .unit-table .unit-main-row > td {
    padding: 0; border: 0; min-width: 0; text-align: left;
  }
  body.visual-landing[data-product] .unit-main-row > td:nth-child(1) {
    grid-column: 1; grid-row: 1;
  }
  body.visual-landing[data-product] .unit-main-row > td:nth-child(2) {
    grid-column: 2; grid-row: 1; text-align: right;
  }
  body.visual-landing[data-product] .unit-main-row > td:nth-child(3) {
    grid-column: 1 / -1; grid-row: 2;
  }
  body.visual-landing[data-product] .unit-main-row > td:nth-child(4) {
    grid-column: 1; grid-row: 3; align-self: end;
  }
  body.visual-landing[data-product] .unit-main-row > td:nth-child(5) {
    grid-column: 2; grid-row: 3; text-align: right;
  }
  body.visual-landing[data-product] .unit-table .unit-label {
    font-size: 14px; line-height: 1.4;
  }
  body.visual-landing[data-product] .unit-table .unit-area {
    font-size: 13px; line-height: 1.5;
  }
  body.visual-landing[data-product] .unit-table .unit-price {
    font-size: 23px !important; line-height: 1.3; white-space: nowrap;
  }
  body.visual-landing[data-product] .unit-table :is(.unit-details-toggle,.unit-choose) {
    width: auto;
  }
  body.visual-landing[data-product] .unit-table .unit-details-row:not([hidden]) {
    display: block; margin-top: -12px; padding: 0; border: 0; border-radius: 0;
  }
  body.visual-landing[data-product] .unit-table .unit-details-row[hidden] {
    display: none !important;
  }
  body.visual-landing[data-product] .unit-table .unit-details-row > td {
    display: block; border: 1px solid var(--line); border-top: 0;
    border-radius: 0 0 12px 12px; padding: 18px;
  }
  body.visual-landing[data-product] .unit-expanded-info {
    width: auto; max-width: 100%;
  }
  body.visual-landing[data-product] .unit-expanded-info dl {
    grid-template-columns: 1fr !important;
  }
  body.visual-landing[data-product] .units-more > summary { box-sizing: border-box; }
}

/* Shared compact unit-card role: dynamic article consumer, mobile. */
@media (max-width: 760px) {
  body[data-product="a013"] .unit-section .unit-row { border:0; border-radius:12px; margin-top:12px; background:transparent; overflow:visible; }
  body[data-product="a013"] .unit-section .unit-row:first-child { margin-top:0; }
  body[data-product="a013"] .unit-section .unit-row-main { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 14px; padding:18px; min-height:0; margin:0; border:1px solid var(--line); border-radius:12px; background:#fff; }
  body[data-product="a013"] .unit-section .unit-title { grid-column:1; grid-row:1; min-width:0; }
  body[data-product="a013"] .unit-section .unit-title strong { font-size:14px; line-height:1.4; font-weight:700; letter-spacing:normal; }
  body[data-product="a013"] .unit-section .unit-title span { font-size:12px; line-height:1.5; }
  body[data-product="a013"] .unit-section .unit-area { grid-column:2; grid-row:1; font-size:13px; line-height:1.5; text-align:right; }
  body[data-product="a013"] .unit-section .unit-area small { font-size:11px; line-height:1.5; }
  body[data-product="a013"] .unit-section .unit-price { grid-column:1/-1; grid-row:2; min-width:0; margin:0; font-size:23px; line-height:1.3; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:normal; white-space:nowrap; }
  body[data-product="a013"] .unit-section .unit-controls { grid-column:1/-1; grid-row:3; justify-content:space-between; gap:14px; flex-wrap:nowrap; }
  body[data-product="a013"] .unit-section .unit-controls .button { width:auto; min-height:48px; border-color:var(--green); background:transparent; }
  body[data-product="a013"] .unit-section .conditions-button { min-height:48px; }
  body[data-product="a013"] .unit-section .conditions { padding:0; }
  body[data-product="a013"] .unit-section .conditions-inner { border:1px solid var(--line); border-top:0; border-radius:0 0 12px 12px; padding:18px; background:#f0f0f0; }
  body[data-product="a013"] .unit-section .payment-grid { grid-template-columns:1fr; gap:10px; }
  body[data-product="a013"] .unit-section .payment-grid span { font-size:11px; line-height:1.5; }
  body[data-product="a013"] .unit-section .payment-grid strong { font-size:13.5px; line-height:1.5; }
  body[data-product="a013"] .unit-section .payment-grid small { font-size:11px; line-height:1.5; }
}


/* R9: shared footer shell and compact catalogue expansion control.
   Own copy/links/controller remain in the existing HTML/JS. */
body.home-compact .home-footer {
  padding:35px 0 100px; background:var(--paper); color:var(--ink);
}
body.home-compact .home-footer-inner {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,610px);
  gap:12px 48px; align-items:start;
}
body.home-compact .home-footer .home-brand { grid-column:1; grid-row:1; }
body.home-compact .home-footer .home-brand img { width:135px; height:auto; }
body.home-compact .home-footer .home-legal {
  grid-column:1; grid-row:2; margin:0; font-size:12px; line-height:1.6; color:var(--muted);
}
body.home-compact .home-footer .footer-links {
  grid-column:2; grid-row:1 / span 2; max-width:610px;
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px;
}
body[data-product="a013"] .footer {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,610px); gap:20px 48px;
  width:100%; max-width:1440px; margin-inline:auto;
  padding:35px clamp(24px,5.5556vw,80px) 100px; background:var(--paper);
}
body[data-product="a013"] .footer-top,
body[data-product="a013"] .footer-bottom {
  width:auto; max-width:none; margin:0; padding:0; border:0;
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
}
body[data-product="a013"] .footer-top img { width:135px; height:auto; }
body[data-product="a013"] .footer-top > span {
  font-size:13px; line-height:1.55; color:var(--muted);
}
body[data-product="a013"] .footer-top > a:last-child {
  margin-left:0; min-height:44px; font-size:13px; line-height:1.45;
}
body[data-product="a013"] .footer-bottom {
  font-size:12px; line-height:1.6; color:var(--muted);
}
body[data-product="a013"] .footer-bottom > p { margin:0; }
body[data-product="a013"] .footer-bottom > p:nth-of-type(1) { order:2; }
body[data-product="a013"] .footer-bottom > p:nth-of-type(2) { order:3; }
body[data-product="a013"] .footer-bottom > p:last-child { order:1; margin-top:2px; }
body[data-product="a013"] .footer .footer-links {
  order:0; display:flex; flex-wrap:wrap; align-items:center; max-width:610px; gap:10px 24px;
}
body.home-compact .home-footer .footer-links,
body[data-product="a013"] .footer .footer-links {
  font-size:13px; line-height:1.55; color:var(--muted);
}
body.home-compact .home-footer .footer-links :is(a,button),
body[data-product="a013"] .footer .footer-links :is(a,button) {
  min-height:44px; display:inline-flex; align-items:center;
  font-family:inherit; font-size:13px; font-weight:400; line-height:1.45;
}
body[data-product="a013"] .footer .footer-links > a { text-decoration:none; }
body[data-product="a013"] #more-units {
  min-height:48px; padding:12px 22px; margin:18px 0 0; width:fit-content;
  border:1px solid #c2c2c2; border-radius:26px;
  background:transparent; color:var(--ink); font-size:14px; font-weight:500; line-height:1.55;
}
body[data-product="a013"] #more-units:hover,
body[data-product="a013"] #more-units:active {
  background:transparent; border-color:#c2c2c2; color:var(--ink);
}
@media(max-width:760px) {
  body.home-compact .home-footer { padding-bottom:94px; }
  body.home-compact .home-footer-inner { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.home-compact .home-footer :is(.home-brand,.home-legal,.footer-links) {
    grid-column:1; grid-row:auto;
  }
  body.home-compact .home-footer .footer-links { margin-top:8px; }
  body[data-product="a013"] .footer {
    grid-template-columns:minmax(0,1fr); gap:20px; padding:35px 18px calc(180px + env(safe-area-inset-bottom));
  }
  body.home-compact .home-footer .footer-links,
  body[data-product="a013"] .footer .footer-links { gap:8px 22px; }
  body[data-product="a013"] .footer-bottom > p:last-child { margin-top:0; }
  body[data-product="a013"] #more-units { width:100%; }
}

/* R9: table roles compare across consumers, including the article renderer. */
body[data-product="a013"] .unit-section .unit-row-main {
  min-height:0; padding:15px 12px; font-size:14px; line-height:1.4;
}
body[data-product="a013"] .unit-section .unit-table-head {
  padding:11px 12px; font-size:11px; font-weight:500; line-height:1.4;
  letter-spacing:.04em; text-transform:uppercase; color:var(--muted);
}
body[data-product="a013"] .unit-section .unit-title strong {
  font-size:14px; font-weight:600; line-height:1.4; letter-spacing:normal;
}
body[data-product="a013"] .unit-section .unit-title span {
  margin-top:4px; font-size:12px; font-weight:400; line-height:1.4; color:var(--muted);
}
body[data-product="a013"] .unit-section .unit-area {
  font-size:14px; font-weight:400; line-height:1.4; font-variant-numeric:tabular-nums;
}
body[data-product="a013"] .unit-section .unit-area small {
  font-size:11px; font-weight:400; line-height:1.4; color:var(--muted);
}
body[data-product="a013"] .unit-section .unit-price {
  font-size:19px; font-weight:600; line-height:1.4;
  font-variant-numeric:tabular-nums; letter-spacing:normal; white-space:nowrap;
}
body[data-product="a013"] .unit-section .unit-controls .button {
  min-height:48px; padding:12px 16px; font-size:14px; font-weight:500; line-height:1.35;
  border-color:var(--green); background:transparent; color:var(--ink);
}
body[data-product="a013"] .unit-section .unit-controls .button:hover,
body[data-product="a013"] .unit-section .unit-controls .button:active {
  border-color:var(--green); background:#e6e6e6; color:var(--ink);
}
body[data-product="a013"] .unit-section .conditions-button {
  min-height:44px; padding:5px 0; font-size:13px; font-weight:400; line-height:1.4;
  color:var(--ink); text-underline-offset:4px;
}
body[data-product="a013"] .unit-section .conditions { padding:0; }
body[data-product="a013"] .unit-section .conditions-inner {
  padding:16px 18px; border:0; border-radius:0; background:#f0f0f0;
  font-size:13px; font-weight:400; line-height:1.4; color:var(--muted);
}
body[data-product="a013"] .unit-section .conditions-heading {
  margin:0 0 10px; font-size:13px; font-weight:500; line-height:1.5; color:var(--ink);
}
body[data-product="a013"] .unit-section .payment-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 24px; max-width:900px; margin:0 0 10px;
}
body[data-product="a013"] .unit-section .payment-grid span {
  font-size:11px; font-weight:400; line-height:1.4; color:var(--muted);
}
body[data-product="a013"] .unit-section .payment-grid strong {
  margin:2px 0 0; font-size:13px; font-weight:400; line-height:1.4;
  color:var(--ink); font-variant-numeric:normal;
}
body[data-product="a013"] .unit-section .payment-grid small {
  font-size:11px; font-weight:400; line-height:1.4; color:var(--muted);
}
body[data-product="a013"] .unit-section .conditions-note {
  margin:8px 0 0; font-size:12px; font-weight:400; line-height:1.5; color:var(--muted);
}
@media(max-width:760px) {
  body.visual-landing[data-product] .unit-table .unit-details-toggle { min-height:48px; }
  body[data-product="a013"] .unit-section .unit-row-main {
    padding:18px; min-height:0;
  }
  body[data-product="a013"] .unit-section .unit-area { font-size:13px; line-height:1.5; }
  body[data-product="a013"] .unit-section .unit-price { font-size:23px; line-height:1.3; }
  body[data-product="a013"] .unit-section .conditions-button { min-height:48px; }
  body[data-product="a013"] .unit-section .conditions-inner {
    padding:18px; border:1px solid var(--line); border-top:0; border-radius:0 0 12px 12px;
  }
  body[data-product="a013"] .unit-section .payment-grid { grid-template-columns:1fr; }
}

/* R10: shared footer link pointer state, preserving own URLs and controllers. */
body.home-compact .home-footer .footer-links > a:hover,
body[data-product] .footer .footer-links > a:hover { text-decoration:underline; }


/* R11: Align the desktop price role and its own monetary column heading. */
@media not all and (max-width:760px) {
  body.visual-landing[data-product] .unit-table th:nth-child(3),
  body[data-product="a013"] .unit-section .unit-price,
  body[data-product="a013"] .unit-section .unit-table-head > span:nth-child(3) {
    text-align:right;
  }
}
