/* Load after style.css. Tokens are private to the visual theme; original CMY
   and product artwork/preview colors remain untouched. */
@media screen {
  body[data-branch] {
    --branch-accent: #191b1d;
    --branch-on-accent: #fff;
    --branch-soft: #f3f5f6;
    --branch-heading: #191b1d;
    --branch-on-dark: #ffcf35;
    --branch-panel: #202328;
    --branch-focus: #066da8;
  }
  body[data-branch="arcus"] {
    --branch-accent: #ffcf35;
    --branch-on-accent: #111;
    --branch-soft: #fff8df;
    --branch-heading: #715400;
    --branch-on-dark: #ffcf35;
    --branch-panel: #202328;
    --branch-focus: #715400;
  }
  body[data-branch="printea"] {
    --branch-accent: #05bfc5;
    --branch-on-accent: #111;
    --branch-soft: #e6f8f8;
    --branch-heading: #00696d;
    --branch-on-dark: #05bfc5;
    --branch-panel: #14282b;
    --branch-focus: #00696d;
  }
  body[data-branch="eprint"] {
    --branch-accent: #ed138a;
    --branch-on-accent: #08080b;
    --branch-soft: #f7eafa;
    --branch-heading: #b00665;
    --branch-on-dark: #f2b8e0;
    --branch-panel: #29202e;
    --branch-focus: #b00665;
  }

  body[data-branch] #marcas.brand-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 28px;
    padding: 14px 5%;
    background: #fff;
    scroll-margin-top: 98px;
  }
  body[data-branch] .branch-selector-intro { min-width: 0; }
  body[data-branch] header > .button { gap: 10px; }
  body[data-branch] .branch-site-icon { width: 16px; height: 16px; flex-shrink: 0; }
  body[data-branch] .branch-selector-title {
    color: #191b1d;
    font: 800 .85rem/1.3 Manrope, Arial, sans-serif;
  }
  body[data-branch] .branch-selector-hint,
  body[data-branch] .branch-contact {
    color: #525960;
    font-size: .75rem;
    line-height: 1.45;
    margin-top: 3px;
  }
  body[data-branch] .branch-contact {
    color: var(--branch-heading);
    font-weight: 700;
    min-height: 1.45em;
  }
  body[data-branch] .branch-choices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 464px);
    flex-shrink: 0;
  }
  body[data-branch] .branch-choice {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 70px;
    padding: 6px 10px;
    border: 1px solid #c2c9ce;
    border-radius: 10px;
    background: #fff;
    color: #383e43;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.25;
    transform: scale(1);
    transition: transform .15s ease, border-color .15s ease;
  }
  body[data-branch] #marcas .branch-choice img {
    display: block;
    width: 88px;
    height: 31px;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    padding: 0;
    background: transparent;
    /* Blend the opaque white matte of supplied logos into the pale selector
       surface without repainting or replacing any original logo asset. */
    mix-blend-mode: multiply;
  }
  body[data-branch] #marcas .branch-choice[data-branch-choice="grupo"] img { width: 29px; }
  body[data-branch] .branch-choice:hover { border-color: #525960; }
  body[data-branch] .branch-choice[aria-pressed="true"] {
    transform: scale(1.04);
    z-index: 1;
    color: var(--branch-heading);
    border-color: var(--branch-heading);
    box-shadow: inset 0 0 0 1px var(--branch-heading);
  }
  body[data-branch] .branch-choice[aria-pressed="true"]::after {
    content: '';
    position: absolute;
    height: 3px;
    left: 12px;
    right: 12px;
    bottom: 0;
    border-radius: 3px 3px 0 0;
    background: var(--branch-accent);
  }
  body[data-branch="grupo"] .branch-choice[aria-pressed="true"]::after {
    background: linear-gradient(90deg, #05bfc5 0 33.333%, #ed138a 33.333% 66.666%, #ffcf35 66.666%);
  }
  body[data-branch] .branch-choice:focus-visible {
    outline: 3px solid var(--branch-focus);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    body[data-branch] .branch-choice { transition: none; }
  }

  /* Only these UI surfaces are recolored. No SVG, image, uploaded thumbnail,
     print stylesheet, or original pricing/quantity control is modified. */
  body[data-branch]:not([data-branch="grupo"]) header {
    background: #fff;
    color: #191b1d;
    box-shadow: inset 0 -3px var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) header .identity img {
    width: 116px;
    height: 55px;
    object-fit: contain;
    background: #fff;
  }
  body[data-branch]:not([data-branch="grupo"]) header > .button,
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .button,
  body[data-branch]:not([data-branch="grupo"]) .quote-config .category-buttons button[aria-pressed="true"],
  body[data-branch]:not([data-branch="grupo"]) .preview-jump {
    color: var(--branch-on-accent);
    background: var(--branch-accent);
    border-color: var(--branch-heading);
  }
  body[data-branch]:not([data-branch="grupo"]) header > .button:hover,
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .button:hover {
    color: #fff;
    background: #191b1d;
    border-color: #191b1d;
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-section {
    background: var(--branch-soft);
    border-image: none;
    border-top-color: var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading,
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading h2 {
    color: #191b1d;
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading > p,
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .pilot-note,
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .coverage-note {
    color: #4c5550;
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .category-buttons button {
    --choice-color: var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .service-divider h3 {
    border-left-color: var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .section-heading .eyebrow,
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .step-label > span {
    color: var(--branch-heading);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .step-label > span {
    border-color: var(--branch-heading);
    background: var(--branch-soft);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-summary {
    background: var(--branch-panel);
    box-shadow: inset 0 4px var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .summary-top > span:last-child,
  body[data-branch]:not([data-branch="grupo"]) .quote-price > strong,
  body[data-branch]:not([data-branch="grupo"]) .price-pending > strong {
    color: var(--branch-on-dark);
  }
  body[data-branch]:not([data-branch="grupo"]) .price-pending {
    border-left-color: var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .sample-badge {
    background: var(--branch-accent);
    color: var(--branch-on-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config .notice {
    border-left-color: var(--branch-accent);
    background: var(--branch-soft);
  }
  body[data-branch]:not([data-branch="grupo"]) .category-buttons button:focus-visible {
    outline-color: var(--branch-focus);
  }

  @media (max-width: 1000px) {
    body[data-branch] #marcas.brand-strip { gap: 12px 20px; }
    body[data-branch] .branch-choices { width: min(100%, 420px); }
  }
  @media (max-width: 760px) {
    body[data-branch] #marcas.brand-strip { flex-wrap: wrap; padding: 14px 6%; }
    body[data-branch] .branch-choices { width: 100%; }
    body[data-branch] .branch-selector-intro { flex: 1 1 100%; }
  }
  @media (max-width: 650px) {
    body[data-branch] #marcas.brand-strip { scroll-margin-top: 78px; }
    body[data-branch]:not([data-branch="grupo"]) header .identity img { width: 102px; height: 48px; }
    body[data-branch] header > .button { max-width: 220px; text-align: center; line-height: 1.3; }
    body[data-branch] .branch-choice { padding: 6px; min-height: 66px; }
    body[data-branch] .branch-choices { gap: 6px; }
    body[data-branch] #marcas .branch-choice img { height: 28px; }
    body[data-branch] #marcas .branch-choice[data-branch-choice="grupo"] img { width: 25px; }
  }
}
@media print {
  #marcas[data-branch-selector="ready"] { display: none !important; }
}
/* V16 visual proposal, not a verified reproduction of the public site.
   Additive UI-only rules. Original logo files and all product artwork untouched.
   Grupo deliberately retains the original CMY theme. */
@media screen {
  body[data-branch="arcus"] {
    --branch-banner: #ffcf35;
    --branch-border: #ddc875;
    --branch-muted: #615635;
  }
  body[data-branch="printea"] {
    --branch-banner: #05bfc5;
    --branch-border: #9ecfd0;
    --branch-muted: #36585a;
  }
  body[data-branch="eprint"] {
    --branch-banner: #dfc9f1;
    --branch-border: #d7b8e0;
    --branch-muted: #62436b;
    --branch-soft: #f6effa;
    --branch-panel: #251b2c;
  }
  /* A substantial dark masthead replaces the small accent-only treatment.
     Original vector logo paths use a negative variant on the dark masthead. */
  body[data-branch]:not([data-branch="grupo"]) header {
    background: #191b1d;
    color: #fff;
    border-bottom-color: #191b1d;
    box-shadow: inset 0 -4px var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) header .identity img {
    width: 132px;
    height: 60px;
    padding: 7px 10px;
    background: #fff;
    border-radius: 6px;
  }
  body[data-branch]:not([data-branch="grupo"]) header .identity > span { display: none; }
  body[data-branch]:not([data-branch="grupo"]) header nav a {
    padding-block: 10px;
    text-underline-offset: 6px;
  }
  body[data-branch]:not([data-branch="grupo"]) header nav a:hover {
    color: var(--branch-on-dark);
    text-decoration: underline;
  }
  body[data-branch]:not([data-branch="grupo"]) header > .button:hover {
    color: #191b1d;
    background: #fff;
    border-color: #fff;
  }
  body[data-branch]:not([data-branch="grupo"]) header a:focus-visible {
    outline-color: #fff;
  }
  body[data-branch]:not([data-branch="grupo"]) .preview-note {
    background: var(--branch-banner);
    color: #191b1d;
  }
  body[data-branch]:not([data-branch="grupo"]) #marcas.brand-strip {
    background: #fff;
    border-bottom-color: var(--branch-border);
  }
  body[data-branch]:not([data-branch="grupo"]) .branch-choice[aria-pressed="true"] {
    background: var(--branch-soft);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-section {
    background: var(--branch-soft);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading {
    padding: 28px 32px;
    background: var(--branch-banner);
    border-radius: 14px;
    border-bottom: 4px solid var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading .eyebrow,
  body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading > p {
    color: #191b1d;
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-shell {
    border-color: var(--branch-border);
    box-shadow: 0 8px 28px #191b1d08;
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .category-buttons button {
    border-color: var(--branch-border);
    border-left-color: var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .category-buttons button:hover:not([aria-pressed="true"]) {
    background: var(--branch-soft);
    border-color: var(--branch-heading);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config > .category-buttons button[aria-pressed="true"] {
    border-color: var(--branch-heading);
    color: var(--branch-on-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-summary {
    border-top: 0;
    box-shadow: inset 0 5px var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) .service-divider {
    border-top-color: var(--branch-border);
  }
  body[data-branch]:not([data-branch="grupo"]) .quote-config .step-label > span {
    background: var(--branch-accent);
    color: var(--branch-on-accent);
    border-color: var(--branch-heading);
  }
  body[data-branch]:not([data-branch="grupo"]) .coverage-note {
    border-color: var(--branch-border);
  }
  body[data-branch]:not([data-branch="grupo"]) footer {
    background: #191b1d;
    border-top: 4px solid var(--branch-accent);
  }
  body[data-branch]:not([data-branch="grupo"]) footer a { color: var(--branch-on-dark); }
  /* Contact cards have pale surfaces even when the surrounding footer is dark.
     Keep ePrint's pale pink on dark navigation, not on these WhatsApp links. */
  body[data-branch="eprint"] footer.info-footer .sf-footer-locations a {
    color: #171717;
    text-underline-offset: .18em;
  }
  body[data-branch="eprint"] footer.info-footer .sf-footer-locations a:focus-visible {
    outline-color: #171717;
  }
  /* Informational route surfaces share the same theme without changing gallery pixels. */
  body[data-branch]:not([data-branch="grupo"]) #service-information {
    background: var(--branch-soft);
  }
  body[data-branch]:not([data-branch="grupo"]) .service-article .service-intro {
    margin-top: 18px;
    padding: 28px 30px;
    max-width: none;
    border-radius: 14px;
    border-bottom: 4px solid var(--branch-accent);
    background: var(--branch-banner);
  }
  body[data-branch]:not([data-branch="grupo"]) .service-intro .eyebrow,
  body[data-branch]:not([data-branch="grupo"]) .service-intro .service-lead {
    color: #191b1d;
  }
  body[data-branch]:not([data-branch="grupo"]) .service-content-grid {
    background: #fff;
    padding: 28px;
    border: 1px solid var(--branch-border);
    border-radius: 14px;
  }
  body[data-branch]:not([data-branch="grupo"]) .service-explore a {
    background: #fff;
    border-color: var(--branch-border);
  }
  body[data-branch]:not([data-branch="grupo"]) .service-explore a:hover,
  body[data-branch]:not([data-branch="grupo"]) .service-explore a[aria-current="page"] {
    background: var(--branch-banner);
    color: #191b1d;
    border-color: var(--branch-heading);
  }
  @media (max-width: 650px) {
    body[data-branch]:not([data-branch="grupo"]) header .identity img {
      width: 106px;
      height: 48px;
      padding: 6px 8px;
    }
    body[data-branch]:not([data-branch="grupo"]) header > .button { max-width: 210px; }
    body[data-branch]:not([data-branch="grupo"]) .quote-section > .section-heading,
    body[data-branch]:not([data-branch="grupo"]) .service-article .service-intro { padding: 22px; }
    body[data-branch]:not([data-branch="grupo"]) .service-content-grid { padding: 20px; }
  }
}

/* Negative vector marks, no white plate and no CSS inversion of artwork. */
body[data-branch]:not([data-branch="grupo"]) header .identity img{background:transparent;padding:0;border-radius:0;object-fit:contain;width:152px;height:60px;}
@media(max-width:560px){body[data-branch]:not([data-branch="grupo"]) header .identity img{width:125px;height:50px;}}
