/* Review refinements shared by the preview and the standalone export. */
/* The panoramic artwork shares the existing 57px search row. Its central
   headline is framed without stretching the TeamViewer identity. */
.search-row > .wrap { gap: 18px; }
.search-row .search-caption { display: none; }
.search-row .global-search { flex: 0 1 57%; max-width: 720px; }
.header-remote-programming {
  position: relative; flex: 1 1 0; min-width: 0; height: 46px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid #155a9b; border-radius: 4px; background: #052457;
}
.header-remote-programming img {
  display: block; width: min(100%, 430px); height: 44px;
  object-fit: cover; object-position: var(--banner-position, 50% 50%);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.header-remote-programming .remote-banner-frame {
  position: absolute; inset: 0; margin: auto; opacity: 0;
  transition: opacity .45s ease; pointer-events: none;
}
.header-remote-programming .remote-banner-frame.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .header-remote-programming .remote-banner-frame { transition: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .search-row .global-search { flex-basis: 55%; }
  .search-row .search-picker { flex-basis: 144px; }
}
/* The original Download Center shortcut was desktop-only. Keep the full
   search input on phones and retain the same compact mobile row height. */
@media (max-width: 760px) {
  .header-remote-programming { display: none; }
  .search-row .global-search { flex: 1; max-width: none; }
}

/* Welcome and Services share the full strip below the hero. */
.home-intro > .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-block: 34px 22px; align-items: start; }
.home-intro .home-intro-copy { min-width: 0; }
.home-intro .home-intro-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.home-intro .home-intro-heading .icon { width: 22px; height: 22px; flex-shrink: 0; }
.home-intro h2 { margin: 0; font: 700 16px/1.35 Arial, Helvetica, sans-serif; letter-spacing: -.1px; }
.home-intro .home-intro-copy p,
.home-intro .home-intro-copy li { font-size: 12px; line-height: 1.65; color: var(--muted); }
.home-intro .home-intro-copy p { margin: 0 0 10px; }
.home-intro .home-intro-copy p:last-child { margin-bottom: 0; }
.home-intro .home-intro-copy ul { margin: 0 0 10px; padding-left: 16px; }
.home-intro .home-intro-copy li + li { margin-top: 3px; }
.home-intro .home-intro-copy li::marker { color: var(--accent); }
@media (max-width: 760px) {
  .home-intro > .wrap { grid-template-columns: 1fr; gap: 16px; padding-block: 28px 18px; }
}

/* Separate the home sections and give the support/trust cards room to breathe. */
.contact-band.home-trust { display: block; padding: 22px 24px; margin-bottom: 44px; }
.home-trust > h2,
.resource-v2 .store-section-title h2,
.home-products .store-section-title h2,
.product-info > h3,
.catalog-results .product-info > h3 { font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.2px; }
.home-trust > h2 { margin: 0 0 12px; text-align: center; }
.home-trust > h2.section-title { margin-bottom: 24px !important; }
.resource-v2 .store-section-title h2 { margin-top: 8px; }
.store-section.home-products { padding-bottom: 28px; }
.home-products .price-note { margin-bottom: 0; }
.store-section.resource-v2 { padding-top: 32px; padding-bottom: 40px; }
.resource-v2 .store-section-title { margin-bottom: 36px; }
.resource-v2 .resource-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.resource-v2 .resource-cards > a { min-width: 0; display: flex; flex-direction: column; padding: 16px; }
.resource-v2 .resource-cards > a > .icon { width: 22px; height: 22px; margin-bottom: 10px; }
.resource-v2 .resource-cards h3 { font-family: inherit; font-size: 14px; line-height: 1.4; letter-spacing: 0; margin-bottom: 6px; }
.resource-v2 .resource-cards p { font-size: 12px; line-height: 1.6; flex: 1; }
.resource-v2 .resource-cards span { margin-top: 12px; font-size: 11px; }
.workflow-section { padding-block: 32px; }
.workflow-layout > div > .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
.workflow-layout h2 { font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.2px; margin: 8px 0; }
.workflow-layout > div > p { font-size: 12px; line-height: 1.65; margin: 12px 0 16px; }
.workflow-steps article { padding: 11px 0; gap: 16px; }
.workflow-steps article:first-child { padding-top: 0; }
.workflow-steps article:last-child { padding-bottom: 0; border-bottom: 0; }
.workflow-steps article > span { font-size: 18px; }
.workflow-steps h3 { font-size: 13px; line-height: 1.35; margin-bottom: 4px; }
.workflow-steps p { font-size: 10.5px; line-height: 1.55; }
.workflow-steps .icon { width: 15px; height: 15px; flex-shrink: 0; }
/* Shared page/section typography; the photographic hero keeps its own design. */
.section-title {
  font: 700 16px/22px Arial, Helvetica, sans-serif !important;
  letter-spacing: 0 !important;
  margin-top: 0 !important; margin-bottom: 10px !important;
}
.section-heading-inline {
  display: flex; align-items: center; min-width: 0; max-width: 100%;
  margin-bottom: 10px;
}
.section-heading-inline > .eyebrow {
  margin: 0; flex-shrink: 0; font: 500 14px/22px Arial, Helvetica, sans-serif;
  letter-spacing: .7px; white-space: nowrap; text-transform: uppercase;
  color: var(--accent);
}
.section-heading-inline.section-heading-support > .eyebrow { font-size: 16px; }
.section-heading-inline > :is(h1, h2, h3) {
  margin: 0 0 0 14px !important; padding-left: 14px; border-left: 1px solid var(--muted);
  font: 700 14px/22px Arial, Helvetica, sans-serif !important; letter-spacing: 0;
  color: var(--ink); min-width: 0; text-transform: none; overflow-wrap: normal;
}
.section-heading-inline > :is(h1, h2, h3) > span { color: inherit; }
.section-heading-inline > .icon { width: 16px; height: 16px; flex-shrink: 0; margin: 0 0 0 10px; color: var(--accent); }
:root[data-theme=light] .section-heading-inline > :is(.eyebrow, .icon) { color: #527700; }
.home-products .section-heading-inline,
.resource-v2 .section-heading-inline { margin-bottom: 0; }
.home-products .store-section-title,
.resource-v2 .store-section-title { align-items: center; }
@media (max-width: 480px) {
  .section-heading-inline { align-items: flex-start; }
  .section-heading-inline > .eyebrow { font-size: 14px; letter-spacing: .3px; white-space: normal; flex: 0 0 41%; }
  .section-heading-inline.section-heading-support > .eyebrow { font-size: 16px; }
  .section-heading-inline > :is(h1, h2, h3) {
    font-size: 14px !important; margin-left: 9px !important; padding-left: 9px; flex: 1;
  }
}
.home-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-trust-card { min-width: 0; padding: 12px 16px; text-align: center; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.home-trust-card > .icon { display: block; width: 24px; height: 24px; margin: 0 auto 8px; color: var(--accent); }
.home-trust-card > h3 { font-family: inherit; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.home-trust-card > p { margin: 7px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
:root[data-theme=light] .home-trust-card > .icon { color: #527700; }
@media (max-width: 900px) {
  .resource-v2 .resource-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .resource-v2 .resource-cards { grid-template-columns: 1fr; gap: 14px; }
  .resource-v2 .resource-cards > a { padding: 14px 16px; }
  .workflow-section { padding-block: 28px; }
  .workflow-layout { gap: 20px; }
  .store-section.resource-v2 { padding-top: 28px; padding-bottom: 36px; }
  .resource-v2 .store-section-title { margin-bottom: 28px; }
  .contact-band.home-trust { padding: 20px 16px; margin-bottom: 36px; }
  .home-trust > h2.section-title { margin-bottom: 20px !important; }
  .home-trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-trust-card { padding: 12px 16px; }
}

.company-section { padding-block: 24px 32px; }
.company-section > .crumb { margin-bottom: 18px; }
.company-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; gap: 28px; }
.company-copy { min-width: 0; }
.company-intro h1 { font: 700 18px/1.35 Arial, Helvetica, sans-serif; margin: 0 0 12px; }
.company-section p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.company-copy > p { margin: 0 0 12px; }
.company-copy > p:last-child { margin-bottom: 0; }
.company-visual { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface2); }
.company-visual img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.company-signature a { color: var(--ink); font-weight: 700; }
.company-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.company-values > section { padding: 16px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface2); }
.company-values h2 { font: 700 15px/1.4 Arial, Helvetica, sans-serif; margin: 0 0 8px; }
.company-values p { margin: 0; }
@media (max-width: 760px) {
  .company-intro { grid-template-columns: 1fr; gap: 18px; }
  .company-visual { aspect-ratio: 3 / 2; }
  .company-values { grid-template-columns: 1fr; gap: 12px; }
}

.development-intro { background: var(--surface2); border-bottom: 1px solid var(--line); padding: 24px 0 28px; }
.development-intro .crumb { margin-bottom: 20px; }
.development-copy > h1,
.development-copy > h2 { font-family: inherit; font-size: 18px; letter-spacing: -.2px; line-height: 1.35; margin-bottom: 10px; }
.development-copy > p { font-size: 13px; line-height: 1.65; }
.development-copy > .development-service-label { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--ink); }
.development-intro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); align-items: center; gap: 32px; }
.development-visual { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #07131d; }
.development-visual img { display: block; width: 100%; height: auto; }
.development-services { padding-block: 28px 32px; }
.development-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.development-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--surface); }
.development-number { display: inline-block; color: var(--accent); font-size: 10px; font-weight: 750; margin-bottom: 6px; }
:root[data-theme=light] .development-number { color: #476600; }
.development-card h3 { font-size: 14px; line-height: 1.3; margin-bottom: 6px; }
.development-card p { font-size: 12px; line-height: 1.55; }
.development-support { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); align-items: center; gap: 32px; }
.development-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); background: var(--surface2); border-radius: 8px; padding: 16px 20px; margin-top: 24px; }
.development-contact h2 { font-size: 18px; letter-spacing: -.3px; line-height: 1.3; }
.development-contact p { font-size: 12px; line-height: 1.6; margin-top: 6px; max-width: 780px; }
.development-contact .button { flex-shrink: 0; height: var(--compact-control-height); min-height: var(--compact-control-height); padding-block: 0; border-radius: 4px; }
@media (max-width: 900px) {
  .development-intro-grid, .development-support { grid-template-columns: 1fr; gap: 22px; }
  /* Keep each stacked section's explanation and services before its own image. */
  .development-support > .development-copy { order: -1; }
}
@media (max-width: 760px) {
  .development-intro { padding-block: 22px 24px; }
  .development-services { padding-block: 24px 28px; }
  .development-grid { grid-template-columns: 1fr; gap: 10px; }
  .development-card { padding: 14px; }
  .development-contact { flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; }
}

.site-nav > button,
.site-nav > a,
.site-nav > .support-menu > button,
.site-nav .support-links > a {
  /* Measured from the archived Company page's primary navigation. */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.2px;
  font-weight: 400;
  font-style: normal;
  line-height: 20px;
  letter-spacing: normal;
  text-transform: none;
}
/* Keep the open menu above the adjacent programming banner. */
.site-nav .support-menu { z-index: 61; }
@media (min-width: 1001px) {
  .main-nav .site-nav { --menu-gap: 20px; column-gap: var(--menu-gap); }
  .main-nav .site-nav > * { position: relative; }
  .main-nav .site-nav > * + *::before {
    content: "";
    position: absolute; top: 50%; left: calc(var(--menu-gap) / -2);
    width: 1px; height: 20px; transform: translateY(-50%);
    background: var(--muted); opacity: .4; pointer-events: none;
  }
}
@media (min-width: 1001px) and (max-width: 1250px) {
  .main-nav .site-nav { --menu-gap: 13px; row-gap: 0; flex-wrap: nowrap; justify-content: center; }
}

/* Upper-bar wordmark uses the same green as the adjoining slogan. */
.utility-bar > .wrap { gap: 12px; }
.utility-social { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.utility-social a { display: flex; align-items: center; justify-content: center; width: 22px; height: 24px; color: var(--ink); border-radius: 3px; }
.utility-social svg { display: block; width: 14px; height: 14px; fill: currentColor; }
.utility-social a:hover { color: var(--accent); }
.utility-social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) {
  .utility-bar > .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding-block: 4px; }
  .utility-bar .hours { grid-column: 1 / -1; justify-content: center; }
  .utility-social { justify-self: start; }
  .utility-controls { justify-self: end; }
}
:root[data-theme=light] .utility-bar {
  --surface: #151a17;
  --ink: #f3f5f1;
  --muted: #b8c1ba;
  --line: #2b342d;
  background: #151a17;
  color: var(--ink);
  color-scheme: dark;
}
.utility-bar .utility-brand .brand-name {
  margin-left: 0;
  font-weight: 500;
  white-space: nowrap;
  color: var(--accent);
}
.utility-controls select[data-setting="lang"] { width: 76px; }
.utility-controls select[data-setting="currency"] { width: 56px; }
.utility-controls select option:disabled { color: var(--muted); }
.hours .icon { flex-shrink: 0; }
.hours-copy { display: flex; flex-wrap: wrap; gap: 3px 6px; }
.hours-schedule, .hours-zone { white-space: nowrap; }
.hours-zone::before { content: "· "; }
.hours-mobile { display: none; }
@media (max-width: 760px) {
  /* Compact wording keeps the Dallas schedule readable on one phone row. */
  .hours-copy { display: none; }
  .hours-mobile { display: inline; white-space: nowrap; line-height: 1.4; }
  .utility-bar > .wrap { padding-block: 5px; }
}

/* Native select menus need explicit option colors on Windows. */
.global-search select {
  background-color: var(--surface2);
  color: var(--ink);
  color-scheme: dark;
}
.global-search select option,
.global-search select optgroup {
  background-color: #1c221e;
  color: #f3f5f1;
}
:root[data-theme=light] .global-search select { color-scheme: light; }
:root[data-theme=light] .global-search select option,
:root[data-theme=light] .global-search select optgroup {
  background-color: #edf2e8;
  color: #17201b;
}

/* Bring the product grid up while retaining a clear category heading. */
.catalog-heading.catalog-heading-compact { padding-block: 14px; }
.catalog-heading-compact .crumb { margin: 0; }
.catalog-heading-compact h1:not(.sr-only) {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.5px;
}

/* Archived legal footer: trademarks on the left, company block on the right. */
.footer-top p { font-size: 12px; }
.footer-top > span { font-size: 10px; }
:root[data-theme=light] .footer-top p { color: #476600; }
.footer-columns a,
.footer-columns button,
.footer-columns p { font-size: 12px; }
a[data-contact-email] { cursor: pointer; }
.footer-contact .footer-contact-line,
.footer-hours .footer-contact-line {
  display: flex; align-items: center; gap: 8px; line-height: 1.5;
}
.footer-contact-line .footer-contact-icon,
.footer-contact-line .icon,
.footer-icon-heading .icon,
.footer-menu-link .icon {
  width: 17px; height: 17px; flex: 0 0 17px; color: var(--accent);
}
.footer-columns h3 { min-height: 18px; }
.footer-icon-heading { display: flex; align-items: center; gap: 8px; }
.footer-columns .footer-menu-link {
  display: flex; align-items: center; gap: 8px; line-height: 1.5; text-align: left;
}
.footer-locations { display: grid; gap: 7px; }
.footer-hours {
  display: grid; gap: 7px;
  color: var(--muted); font-size: 12px; text-align: left;
}
.footer-hours .footer-contact-line { white-space: nowrap; }
.footer-legal-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.footer-legal-columns p { margin: 0; }
.footer-trademarks { text-align: justify; }
.footer-company { text-align: center; }
.footer-company button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.footer-company button:hover { color: var(--ink); }
.footer-company .site-last-update { margin-top: 3px; }
.footer-payments {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  text-align: center;
}
.footer-payments .payment-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 758px);
}
.payment-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 6px;
  background: #fff;
  border: 1px solid #dce3d9;
  border-radius: 5px;
}
.payment-logo img { display: block; width: calc(100% - 2px); max-width: 74px; height: 26px; object-fit: contain; }
.payment-logo-zelle { background: #6d1ed4; border-color: #6d1ed4; }
.payment-logo-zelle img { max-width: 54px; }
.footer-payments .payment-footnote { color: var(--muted); }
.footer-v2 {
  padding-bottom: 24px;
}
@media (min-width: 761px) {
  .footer-columns {
    padding-right: 168px;
    column-gap: 24px;
    min-height: var(--quick-contact-dock-height, 262px);
    align-items: start;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .footer-contact { grid-column: 1 / -1; }
  .footer-v2 { padding-bottom: max(70px, var(--quick-contact-clearance, 70px)); }
  .footer-legal-columns { grid-template-columns: 1fr; gap: 20px; }
  .footer-payments .payment-list { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 352px; gap: 8px; }
}
.site-last-update {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: center;
}
.site-last-update time { white-space: nowrap; }
.portal-main > .site-last-update,
.admin-main > .site-last-update { margin-top: 28px; }

/* Equal-height cards keep price and action rows aligned across each row. */
.product-card { display: flex; flex-direction: column; }
.product-image { flex-shrink: 0; }
.product-info { display: flex; flex-direction: column; flex: 1; }
.product-info > .product-bottom { margin-top: auto; }
.product-info > .product-part { margin-bottom: 8px; }

/* Match the reviewed action buttons to the Quick Contact heading height. */
:root { --compact-control-height: 32px; }
.main-nav .quote-nav,
.hero-v2-buttons .button,
.workflow-layout .button,
.contact-band .button,
.quick-contact-send {
  height: var(--compact-control-height);
  min-height: var(--compact-control-height);
  padding-block: 0;
  border-radius: 4px;
}

/* A little taller, with a compact width that leaves room for Contact. */
.main-nav .quote-nav {
  height: 30px;
  min-height: 30px;
  font-size: 11px;
  padding-inline: 6px;
  gap: 5px;
  flex-shrink: 0;
}

/* Compact contact form; drag only from the heading, never from the fields. */
.quick-contact {
  position: fixed; right: 12px; bottom: 12px; z-index: 45;
  width: 180px; max-width: calc(100vw - 24px);
  border: 1px solid var(--accent); border-radius: 9px;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 12px 40px #0006; overflow: auto;
  font-family: inherit;
}
.quick-contact-heading { display: flex; background: var(--accent); color: #172000; min-height: var(--compact-control-height); }
.quick-contact-handle {
  display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0;
  border: 0; background: transparent; color: inherit; padding: 3px 4px;
  font: inherit; font-size: 12px; line-height: 1.1; font-weight: 750; cursor: grab;
  touch-action: none; user-select: none; text-align: left;
  white-space: nowrap;
}
.quick-contact-handle .icon { width: 16px; height: 16px; flex-shrink: 0; }
.quick-contact-grip { display: none; }
.quick-contact.is-dragging .quick-contact-handle { cursor: grabbing; }
.quick-contact-toggle {
  width: 28px; min-height: var(--compact-control-height); flex-shrink: 0; border: 0;
  color: inherit; background: transparent; font-size: 22px; line-height: 1; padding: 0; cursor: pointer;
}
.quick-contact-body { padding: 7px; }
.quick-contact-body[hidden], .quick-contact-status[hidden] { display: none; }
#quick-contact-form { display: grid; gap: 7px; margin: 0; }
#quick-contact-form input {
  width: 100%; min-width: 0; height: 34px; padding: 7px 8px;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--surface2); color: var(--ink); font: inherit; font-size: 12px;
}
#quick-contact-form input::placeholder { color: var(--muted); opacity: 1; }
.quick-contact-send {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 0;
  background: var(--accent); color: #172000; font: inherit; font-size: 12px;
  font-weight: 750; cursor: pointer;
}
.quick-contact-send .icon { height: 15px; width: 15px; }
.quick-contact-note { color: var(--muted); text-align: center; font-size: 10px; line-height: 1.4; }
.quick-contact-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quick-contact-send:disabled { opacity: .65; cursor: wait; }
.quick-contact-status[data-state="error"] { color: #ee8b78; }
html[data-theme="light"] .quick-contact-status[data-state="error"] { color: #a52b1c; }
.quick-contact-status { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.5; }
#contact-form .field > span { color: inherit; font: inherit; }
#contact-form .contact-required { color: var(--accent); font-weight: 700; }
.contact-form-status { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink); }
.contact-form-status[hidden] { display: none; }
.contact-form-status[data-state="error"] { color: #ee8b78; }
html[data-theme="light"] .contact-form-status[data-state="error"] { color: #a52b1c; }
.quick-contact :is(button,input):focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
@media (max-width: 760px) {
  :root { --compact-control-height: 30px; }
  /* Mobile contact strip; desktop retains the compact vertical widget. */
  .quick-contact { width: calc(100% - 24px); }
  /* The minimized mobile control stays compact; opening it restores the form width. */
  .quick-contact:has(> .quick-contact-body[hidden]) { width: 180px; }
  .quick-contact-handle { gap: 6px; padding: 4px 7px; }
  #quick-contact-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 44px;
    gap: 6px;
  }
  #quick-contact-form input { font-size: 16px; height: 38px; padding: 7px 5px; }
  .quick-contact-toggle { width: 44px; }
  .quick-contact-send { align-self: center; padding-inline: 4px; gap: 0; }
  .quick-contact-send .icon { display: none; }
  .quick-contact-note, .quick-contact-status { grid-column: 1 / -1; }
  .quick-contact-note { font-size: 9px; line-height: 1.3; }
}

.carousel-controls > .carousel-autoplay {
  width: auto;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
}
.carousel-autoplay:focus-visible { outline: 2px solid white; outline-offset: 3px; }
/* Promotions belong to the photograph, independently of the headline and actions. */
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
.hero-photo-promotions {
  position: absolute; z-index: 2; right: 28px;
  transform: translate(var(--promotion-shift-x, 0px), var(--promotion-shift, 0px));
}
.hero-photo-promotions.promotions-top { top: 80px; }
.hero-photo-promotions.promotions-top-right { top: 12px; right: 16px; }
.hero-photo-promotions.promotions-bottom { bottom: 84px; right: 184px; }
.hero-photo-promotions.promotions-controls { bottom: 20px; right: 184px; }
.hero-promotions {
  display: flex; flex-wrap: wrap; gap: 10px; width: fit-content; max-width: 100%;
}
.hero-promotion {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 11px; border: 1px solid #b3e01940; border-radius: 5px;
  background: #101b14d9; color: #f3f7ef; font-size: 12px; font-weight: 650; line-height: 1.4;
}
.hero-promotion-icon { width: 22px; height: 22px; flex: 0 0 22px; color: #b6e500; }
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-photo-promotions.promotions-top { top: auto; bottom: 84px; right: 184px; }
}
@media (max-width: 760px) {
  .hero-visual { top: auto; bottom: 0; height: 340px; }
  .hero-visual:has(.composite-photo) { bottom: 53px; height: auto; aspect-ratio: 2; }
  .hero-visual .hero-picture.composite-photo { inset: 0; height: 100%; aspect-ratio: auto; }
  .hero-photo-promotions {
    left: 18px; right: 18px;
    transform: translateY(var(--mobile-promotion-shift, 0px));
  }
  .hero-photo-promotions.promotions-top { top: 12px; }
  .hero-photo-promotions.promotions-top-right { top: 6px; left: auto; right: 12px; }
  .hero-photo-promotions.promotions-bottom { bottom: 70px; right: 18px; }
  .hero-photo-promotions.promotions-controls { bottom: 70px; right: 18px; }
  .hero-promotions { flex-wrap: nowrap; gap: 7px; }
  .hero-promotion { gap: 5px; padding: 7px; font-size: 10.5px; }
  .hero-promotion-icon { width: 18px; height: 18px; flex-basis: 18px; }
}
@media (max-width: 360px) {
  .hero-promotions { flex-wrap: wrap; }
}
/* Keep both vehicles visible in the panoramic composite scenes. */
.hero-picture.composite-photo .hero-backdrop {
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(180deg, transparent 9%, #000 25%, #000 88%, transparent 100%);
}
@media (max-width: 760px) {
  .hero-picture.composite-photo {
    height: auto;
    aspect-ratio: 2;
    bottom: 53px;
  }
  .hero-picture.composite-photo .hero-backdrop {
    object-fit: cover;
    object-position: right center;
    mask-image: linear-gradient(180deg, transparent, #000 15%, #000 90%, transparent);
  }
  .hero-v2:has(.composite-photo) .hero-shade {
    background: linear-gradient(180deg, #101610 0%, #101610 50%, #10161000 68%, #10161000 90%, #101610 100%);
  }
}
@media (max-width: 480px) {
  .carousel-controls { gap: 8px; }
  .carousel-controls > .carousel-autoplay { padding-inline: 7px; }
}

/* Hover or click category, brand and model panels. */
.catalog-picker { position: relative; }
.catalog-picker .category-trigger,
.catalog-picker .catalog-menu-button,
.catalog-picker .catalog-menu-back,
.catalog-picker .catalog-panel-title,
.catalog-picker .catalog-model-note { text-transform: none; }
.search-picker { flex: 0 0 176px; min-width: 0; }
.global-search .category-trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; width: 100%; height: 36px; padding: 0 12px;
  border: 0; border-right: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); font-size: 11px; text-align: left;
}
.category-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.global-search .category-trigger .icon { width: 12px; flex-shrink: 0; transform: rotate(90deg); }
.catalog-flyout { position: absolute; top: calc(100% + 7px); left: 0; display: flex; align-items: flex-start; width: max-content; z-index: 60; }
.catalog-flyout[hidden], .catalog-panel[hidden] { display: none !important; }
.catalog-panel {
  flex: 0 0 210px; width: 210px; max-height: min(68vh, 540px); overflow-y: auto;
  padding: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 5px; box-shadow: 0 14px 35px #0005; color: var(--ink);
}
.catalog-panel + .catalog-panel { margin-left: 4px; }
.catalog-picker .catalog-menu-button,
.catalog-picker .catalog-menu-back {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; width: 100%; height: auto; min-height: 36px; padding: 9px 10px;
  border: 0; border-radius: 3px; background: transparent;
  color: var(--ink); font-size: 11px; line-height: 1.5; text-align: left;
}
.catalog-picker .catalog-menu-button .icon { width: 12px; height: 12px; flex-shrink: 0; }
.catalog-picker .catalog-menu-button:hover,
.catalog-picker .catalog-menu-button.selected,
.catalog-picker .catalog-menu-button[aria-expanded=true] { background: var(--surface2); color: var(--accent); }
:root[data-theme=light] .catalog-picker .catalog-menu-button:hover,
:root[data-theme=light] .catalog-picker .catalog-menu-button.selected,
:root[data-theme=light] .catalog-picker .catalog-menu-button[aria-expanded=true] { color: #426600; }
.catalog-picker button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.catalog-picker .catalog-menu-back { color: var(--muted); font-size: 10px; min-height: 28px; }
.catalog-panel-title { padding: 9px 10px; margin-bottom: 5px; font-size: 10px; font-weight: 700; border-bottom: 1px solid var(--line); }
.catalog-model-note { color: var(--muted); font-size: 11px; padding: 0 10px; line-height: 1.6; }
.sidebar-picker { width: 100%; }
.catalog-sidebar > .catalog-sidebar-toggle { display: none; }
.sidebar-picker .catalog-flyout { position: relative; top: auto; width: 100%; z-index: 10; }
.sidebar-picker .catalog-root-panel { width: 100%; flex-basis: 100%; padding: 0; border: 0; background: none; box-shadow: none; }
.sidebar-picker .catalog-root-panel > .catalog-menu-button { padding: 15px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 12px; }
.sidebar-picker .catalog-brands-panel { position: absolute; left: 100%; top: 0; }
.sidebar-picker .catalog-models-panel { position: absolute; left: calc(100% + 214px); top: 0; }
/* Match the main navigation in the All Products dropdown and catalog sidebar. */
.global-search .catalog-picker .category-trigger,
.catalog-picker .catalog-root-panel > .catalog-menu-button,
.catalog-picker .catalog-menu-button,
.catalog-picker .catalog-menu-back {
  font: 400 13.2px/20px Arial, Helvetica, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

/* Request intake uses the approved compact type and existing field grid. */
.tuning-equipment .field { min-width: 0; }
.tuning-options { border: 0; margin: 0; padding: 0; min-width: 0; }
.tuning-options legend { font-size: 12px; font-weight: 650; margin-bottom: 6px; }
.tuning-options p { font-size: 12px; margin-bottom: 12px; }
.tuning-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.tuning-checks label {
 display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
 border: 1px solid var(--line); border-radius: 5px; padding: 7px 11px;
 font-size: 12px; cursor: pointer;
}
.tuning-checks label:has(input:checked) { border-color: var(--accent); }
.tuning-checks input { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; }
.tuning-category { margin-bottom: 18px; }
.tuning-category-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tuning-category-options label { min-width: 0; }
.tuning-category-options input { flex-shrink: 0; }
.tuning-category-options label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 700px) {
 .tuning-category-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tuning-work-details { margin-top: 18px; }
.tuning-work-details textarea { min-height: 100px; }
.tuning-page { padding-top:20px; padding-bottom:32px; }
.tuning-customer>p,.tuning-account-note { font-size:12px; line-height:1.6; color:var(--muted); }
.tuning-customer .fields { margin:16px 0 12px; }
.tuning-preview-note { display:block; font-size:13px; color:var(--muted); margin-top:8px; }
.tuning-account-receipt { text-align:left; margin:20px 0; padding:18px; border:1px solid var(--line); border-radius:8px; }
.tuning-account-receipt p,.tuning-email-preview p { font-size:12px; line-height:1.6; }
.tuning-account-receipt small { color:var(--muted); }
.tuning-notifications details { margin-top:16px; font-size:12px; }
.tuning-notifications summary { cursor:pointer; color:var(--accent); }
.tuning-email-preview { padding:14px 0; overflow-wrap:anywhere; }
.tuning-details { margin: 18px 0; font-size: 12px; }
.tuning-details > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.tuning-details dt { color: var(--muted); }
.tuning-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#summary-service { overflow-wrap: anywhere; }

/* Two equal groups translate by one group width, without a gap or restart jump. */
.brands-strip > .brands-heading {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 22px;
}
.brands-heading p {
  margin: 0; font-size: 8px; letter-spacing: 2px; text-align: center;
}
.brands-playback {
  border: 1px solid var(--line); border-radius: 4px;
  background: transparent; color: var(--muted); font: inherit;
  font-size: 10px; padding: 5px 10px; cursor: pointer;
}
.brands-playback:hover { color: var(--ink); border-color: var(--muted); }
.brands-playback:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.brands-strip > .brands-window {
  display: block; overflow: hidden; width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.brand-carousel-track {
  display: flex; width: max-content; gap: 0;
  animation: brands-scroll-left var(--brands-duration) linear infinite !important;
}
.brand-carousel-group {
  display: flex; flex: 0 0 auto; align-items: center; gap: 48px;
  list-style: none; margin: 0; padding: 0 48px 0 0;
}
.brand-carousel-item {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 128px; width: 128px; height: 64px;
}
.brands-strip .brand-carousel-item img {
  width: 128px; height: 48px; max-width: 128px; object-fit: contain;
  filter: none; opacity: 1;
}
.brand-logo-frame { display: flex; align-items: center; justify-content: center; }
/* The supplied lockup includes International at left. Frame only the original
   MaxxForce wordmark, keeping International's separate carousel entry intact. */
.brands-strip [data-brand="MaxxForce"] .brand-logo-frame {
  position: relative; width: 128px; height: 40px; overflow: hidden;
}
.brands-strip [data-brand="MaxxForce"] img {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 202.1px; max-width: none; height: auto;
}
/* Retain original logo colors; a fine neutral edge keeps dark lettering legible. */
:root[data-theme=dark] .brands-strip .brand-carousel-item img {
  filter: drop-shadow(0 0 0.7px #ffffffc0);
}
:root[data-theme=dark] .brands-strip [data-brand="Mack"] img {
  filter: brightness(0) invert(1);
}
/* Follow the logo's transparency with a fine white edge, keeping the original
   colors and transparent background rather than outlining a rectangular tile. */
:root .brands-strip .brand-carousel-item:is(
  [data-brand="Mack"], [data-brand="New Holland"], [data-brand="AGCO"],
  [data-brand="Terex"], [data-brand="Renault Trucks"], [data-brand="Case IH"],
  [data-brand="Caterpillar"], [data-brand="Hino"]
) img {
  filter: drop-shadow(0.5px 0 0 #fff) drop-shadow(-0.5px 0 0 #fff)
    drop-shadow(0 0.5px 0 #fff) drop-shadow(0 -0.5px 0 #fff);
}
/* This source has a square canvas; frame its centered red artwork at the same height. */
.brands-strip [data-brand="MAN"] { overflow: hidden; height: 48px; }
.brands-strip [data-brand="MAN"] img { width: 96px; height: 96px; max-width: 96px; flex-shrink: 0; }
.brands-strip[data-paused=true] .brand-carousel-track { animation-play-state: paused !important; }
@keyframes brands-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .brands-strip > .brands-heading { gap: 10px; margin-bottom: 16px; }
  .brands-heading p { font-size: 7px; letter-spacing: 1px; line-height: 1.7; }
  .brands-playback { flex-shrink: 0; min-height: 36px; }
  .brand-carousel-group { gap: 32px; padding-right: 32px; }
  .brand-carousel-item { flex-basis: 112px; width: 112px; height: 54px; }
  .brands-strip .brand-carousel-item img { width: 112px; max-width: 112px; height: 42px; }
  .brands-strip [data-brand="MaxxForce"] .brand-logo-frame { width: 112px; height: 35px; }
  .brands-strip [data-brand="MaxxForce"] img { width: 176.84px; max-width: none; height: auto; }
  .brands-strip [data-brand="MAN"] { height: 42px; }
  .brands-strip [data-brand="MAN"] img { width: 84px; max-width: 84px; height: 84px; }
  .search-picker { flex-basis: 128px; }
  .global-search .category-trigger { font-size: 10px; padding-inline: 8px; }
  .catalog-flyout { display: block; width: min(320px, calc(100vw - 40px)); }
  .catalog-panel { width: 100%; max-height: 60vh; }
  .catalog-panel + .catalog-panel { margin-left: 0; }
  .sidebar-picker .catalog-brands-panel,
  .sidebar-picker .catalog-models-panel { position: static; }
  .catalog-flyout[data-stage=brands] > .catalog-root-panel,
  .catalog-flyout[data-stage=models] > .catalog-root-panel,
  .catalog-flyout[data-stage=models] > .catalog-brands-panel { display: none; }
}

/* Shared readable body sizes; navigation and product titles retain their sizing. */
:root {
  --readable-menu: 14px;
  --readable-search: 14px;
  --readable-copy: 15px;
  --readable-note: 12px;
  --readable-label: 13px;
  --readable-field: 14px;
}
.site-nav > :is(a, button),
.site-nav > .support-menu > button,
.site-nav .support-links > a,
.global-search .catalog-picker .category-trigger,
.catalog-picker .catalog-menu-button,
.catalog-picker .catalog-root-panel > .catalog-menu-button,
.catalog-picker .catalog-menu-back {
  font-size: var(--readable-menu);
}
.global-search input { font-size: var(--readable-search); }
.home-intro .home-intro-copy :is(p, li),
.company-section p,
.development-copy > p,
.development-card p,
.development-contact p,
.workflow-layout > div > p,
.resource-v2 .resource-cards p,
.resource-v2 .store-section-title > p,
.home-trust-card > p,
.tuning-customer > p,
.tuning-account-note,
.tuning-account-receipt p,
.tuning-email-preview p,
.tuning-page .page-heading p {
  font-size: var(--readable-copy);
}
.workflow-steps p { font-size: 13px; }
.field,
.tuning-options legend,
.tuning-checks label { font-size: var(--readable-label); }
.field :is(input, select, textarea),
.contact-dialog .field input,
.contact-dialog textarea,
#quick-contact-form input { font-size: var(--readable-field); }
.field small,
.tuning-options p,
.tuning-preview-note,
.tuning-notifications details,
.tuning-details,
.upload-zone p,
.summary-row,
.summary-hint,
.summary-hint b,
.payment-copy small,
.submit-area p,
.crumb,
.price-note,
.results-heading,
.catalog-panel-title,
.catalog-model-note,
.resource-v2 .resource-cards span,
.quick-contact-note,
.quick-contact-status,
.contact-form-status,
.contact-dialog > p,
.footer-columns :is(p, a, button),
.footer-top > span,
.footer-trademarks p,
.footer-company :is(p, button),
.development-copy > .development-service-label {
  font-size: var(--readable-note);
}
.brands-heading p { font-size: 12px; letter-spacing: 1px; }
.brands-playback { font-size: 12px; }
.utility-bar > .wrap,
.utility-bar strong,
.utility-controls select,
.hours { font-size: 12px; }
.utility-controls select[data-setting="lang"] { width: 84px; }
.upload-zone strong { font-size: 14px; }
@media (min-width: 1001px) and (max-width: 1400px) {
  .main-nav { gap: 14px; }
  .main-nav .site-nav { --menu-gap: 13px; column-gap: var(--menu-gap); }
}
@media (min-width: 1001px) and (max-width: 1140px) {
  .main-nav.wrap { width: calc(100% - 32px); gap: 7px; }
  .main-nav .store-brand { flex-basis: 124px; }
  .main-nav .store-brand img { width: 124px; }
  .main-nav .site-nav { --menu-gap: 6px; column-gap: var(--menu-gap); }
  .main-nav .nav-icons { gap: 4px; flex-shrink: 0; }
}
@media (max-width: 1000px) {
  :root { --readable-menu: 16px; }
  .main-nav { position: relative; }
  .main-nav .site-nav { top: 100%; }
}
@media (max-width: 760px) {
  :root {
    --readable-search: 16px;
    --readable-copy: 16px;
    --readable-note: 13px;
    --readable-label: 14px;
    --readable-field: 16px;
  }
  .global-search .category-trigger { padding-inline: 8px; }
  .brands-heading p { min-width: 0; line-height: 1.6; }
  .catalog-sidebar > h2 { display: none; }
  .catalog-sidebar > .catalog-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    font: inherit;
    font-size: 16px;
    text-align: left;
    color: var(--text);
    background: var(--surface);
  }
  .catalog-sidebar-toggle > span:first-child { font-weight: 600; }
  .catalog-sidebar-toggle .catalog-current-category {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .catalog-sidebar > .catalog-sidebar-toggle .icon {
    display: block;
    flex-shrink: 0;
    transform: rotate(90deg);
  }
  .catalog-sidebar > .catalog-sidebar-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
  .sidebar-picker:not(.is-mobile-open) { display: none; }
}

/* Approved second readability pass: larger type, with wrapping instead of scaling down. */
/* Keep the mobile page still while the six scenes rotate; desktop remains natural. */
@media (max-width: 760px) {
  .hero-v2 { min-height: var(--hero-mobile-height, 625px); }
}
.hero-v2 h1 { letter-spacing: -1px; line-height: 1.1; }
.product-info .product-part,
.product-info > p,
.product-info small,
.product-brand,
.catalog-help p { font-size: 12px; }
.product-info > .delivery-line { font-size: 12px !important; }
.product-info .product-part { overflow-wrap: anywhere; }
.product-info .delivery-line .icon { flex-shrink: 0; }

.library-head p,
.download-row p,
.catalog-card p,
.page-heading p,
.panel-header p,
.ready-box p,
.resource-links small,
.sidebar-help p,
.modal-body p,
.form-summary > p { font-size: 14px; }
.session-mode,
.session-mode select,
.search-box input,
.library-note,
.download-row .button,
.download-row > .tag,
.catalog-card .eyebrow,
.stat label,
.stat small,
.stat.credit button,
.panel-header .text-link,
.mini-resources :is(a, button),
.jobs-table,
.jobs-table :is(th, td, .tag),
.job-id,
.job-name,
.portal-main .notice,
.library-content .notice,
.portal-footer,
.sidebar-help b,
.sidebar-label,
.profile small { font-size: 13px; }
.portal-main .button.small,
.portal-main .chip,
.ready-box .button,
.site-last-update,
.page-heading .button { font-size: 13px; }
.download-row h3 { font-size: 14px; }
.workflow-layout .secondary-link { font-size: 13px; }
.sidebar nav a { font-size: 14px; }
.library-content .tag { white-space: normal; }

@media (max-width: 760px) {
  .hero-v2-inner > p { font-size: 14px; }
  .hero-v2:has(.hero-picture:not(.composite-photo)) .hero-v2-inner { padding-bottom: 360px; }
  .hero-v2-buttons { flex-wrap: wrap; gap: 10px; }
  .hero-v2-buttons .button { font-size: 13px; min-height: 44px; height: auto; padding: 8px 12px; }
  .carousel-controls { gap: 6px; }
  .carousel-controls .slide-count { font-size: 12px; flex-shrink: 0; }
  .carousel-controls .slide-dots { gap: 2px; margin: 0; }
  .carousel-controls .slide-dots button,
  .carousel-controls .slide-dots button.active {
    position: relative; width: 24px; height: 36px; flex-shrink: 0; background: transparent;
  }
  .carousel-controls .slide-dots button::after {
    content: ''; position: absolute; inset: 16px 4px auto; height: 3px;
    background: #ffffff50;
  }
  .carousel-controls .slide-dots button.active::after { background: var(--accent); inset-inline: 0; }
  .carousel-controls > button { width: 36px; height: 36px; flex-shrink: 0; font-size: 16px; }
  .carousel-controls > .carousel-autoplay { width: auto; font-size: 12px; padding-inline: 8px; }
  .product-info .product-part,
  .product-info > p,
  .product-info small,
  .product-brand { font-size: 13px; }
  .product-info > .delivery-line { font-size: 13px !important; }
  .library-tools :is(input, select),
  .portal-main :is(input, select, textarea) { font-size: 16px; }
  .home-products .store-section-title { flex-wrap: wrap; gap: 12px; }
  .home-products .store-section-title > .section-heading-inline { flex: 1 1 100%; }
}
@media (max-width: 370px) {
  /* Lift the count above the controls to keep every touch target inside the photo. */
  .carousel-controls { gap: 3px; width: calc(100% - 24px); justify-content: space-between; }
  .carousel-controls .slide-count { position: absolute; left: 0; bottom: 40px; }
  .carousel-controls > button { width: 32px; }
  .carousel-controls > .carousel-autoplay { padding-inline: 4px; }
  .carousel-controls .slide-dots { gap: 0; }
}

/* Complete-site review: preserve the established desktop navigation and hero. */
.quick-contact-label { font-size: 12px; line-height: 1.4; font-weight: 600; }
.required-mark { color: var(--accent); font-weight: 750; }
/* Dark green retains the brand color while remaining readable on light surfaces. */
:root[data-theme=light] .tuning-page .upload-zone em,
:root[data-theme=light] .tuning-page .upload-zone > span,
:root[data-theme=light] .tuning-page .field > span { color: #476600; }
:root[data-theme=light] .tuning-page .field > small { color: #53604f; }
#quick-contact-form { gap: 5px; }
#quick-contact-form > input { margin-bottom: 5px; }
.quick-contact-send { min-height: 36px; border-radius: 4px; }
.quick-contact-note, .quick-contact-status { font-size: 12px; }
.pending-feature { padding-block: 32px 64px; }
.pending-feature .panel { padding: 30px; max-width: 800px; }
.pending-feature h2 { font-size: 22px; margin: 18px 0 12px; }
.pending-feature p { font-size: 16px; line-height: 1.7; max-width: 680px; }
.feature-status { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.feature-status .icon { color: var(--accent); width: 24px; height: 24px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.info-actions .button { min-height: 44px; font-size: 14px; }
.business-info section { margin-block: 22px; }
.business-info h3 { font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
.business-info p { font-size: 14px; line-height: 1.7; }
.library-head h1.section-title,
.tuning-page .page-heading h1.section-title,
.company-copy > h1.section-title,
.development-page h1.section-title { font-size: 22px !important; line-height: 1.3 !important; }
.image-pending { gap: 14px; color: #53604f; }
.image-pending > .icon { width: 52px; height: 52px; opacity: .7; }
.image-pending > span { font-size: 13px; letter-spacing: .2px; color: inherit; }
html[data-theme="light"] .image-pending { color: #53604f; }
.product-photo-note { font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Photo area matches the description; fine full-card outline uses the site accent. */
.product-card {
  border-color: transparent;
  box-shadow: 0 0 0 .5px var(--accent);
}
.product-image, .product-detail > img {
  background: var(--surface);
  border: 0;
}
.product-image { border-radius: 6px 6px 0 0; }
.product-detail > img { border-radius: 6px; }
.product-image > img { mix-blend-mode: normal; }
.product-brand { color: var(--muted); }
.tuning-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.tuning-checks label { min-height: 44px; min-width: 0; align-items: center; line-height: 1.5; }
.tuning-checks input { width: 18px; height: 18px; flex-shrink: 0; }
.tuning-category-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-row strong { overflow-wrap: anywhere; }
.tuning-page .form-summary { display: block; }
.tuning-page #request-form > .form-summary { margin: 24px; padding: 20px; background: var(--surface2); }
.product-description > summary { padding-block: 12px; line-height: 1.5; cursor: pointer; }
.close-modal { min-height: 40px; min-width: 40px; }

/* Contact stays above the page without an overlay or an interaction barrier. */
.contact-dialog[open] {
  position: fixed;
  inset: auto 22px 80px auto;
  margin: 0;
  width: 390px;
  max-width: calc(100vw - 44px);
  max-height: calc(100dvh - 104px);
  overflow: auto;
  z-index: 80;
}
@media (max-width: 600px) {
  .contact-dialog[open] {
    inset: auto 12px 12px auto;
    width: calc(100% - 24px);
    max-width: none;
    max-height: calc(100dvh - 96px);
  }
}
@media (max-width: 760px) {
  .quick-contact-body { padding: 12px; }
  #quick-contact-form { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  #quick-contact-form > input { height: 44px; font-size: 16px; padding: 10px; margin-bottom: 5px; }
  .quick-contact-label { font-size: 14px; }
  .quick-contact-send { min-height: 44px; font-size: 15px; gap: 8px; }
  .quick-contact-send .icon { display: block; }
  .quick-contact-toggle, .quick-contact-handle { min-height: 44px; }
  .quick-contact-handle { font-size: 14px; }
  .quick-contact-note { font-size: 12px; line-height: 1.5; }
  .nav-icons { gap: 2px; }
  .nav-icons .icon-button, .nav-icons .mobile-toggle { width: 40px; height: 44px; padding: 8px; margin-left: 0; }
  .main-nav { gap: 6px; }
  .utility-controls > a { min-width: 32px; min-height: 40px; justify-content: center; }
  .global-search button { min-height: 44px; min-width: 44px; }
  .global-search select { width: 116px; }
  .global-search input { padding-inline: 8px; }
  .site-nav :is(a, button), .support-links :is(a, button) { min-height: 44px; }
  .tuning-checks, .tuning-category-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuning-checks label { padding: 10px; }
  .tuning-page #request-form > .form-summary { margin: 16px; padding: 16px; }
  .tuning-page .form-summary .summary-row { font-size: 14px; gap: 12px; }
  .tuning-page .form-summary h3 { font-size: 16px; }
  .library-head h1.section-title, .tuning-page .page-heading h1.section-title,
  .company-copy > h1.section-title, .development-page h1.section-title { font-size: 20px !important; }
  .pending-feature .panel { padding: 22px; }
  .pending-feature p { font-size: 15px; }
  .store-section :is(.text-link, .add-product), .resource-cards .button { min-height: 44px; }
  .product-image .favorite { min-width: 40px; min-height: 40px; }
}
@media (max-width: 370px) {
  .utility-bar > .wrap { grid-template-columns: minmax(0, 1fr) auto; column-gap: 6px; }
  .utility-controls { gap: 4px; }
  .utility-controls select[data-setting="lang"] { width: 72px; }
  .utility-controls select[data-setting="currency"] { width: 48px; }
  .utility-social { gap: 2px; }
  .utility-social a { width: 24px; height: 36px; }
}

/* Comfortable supporting copy without changing the approved main navigation. */
.tuning-customer>p,.tuning-account-note,.tuning-page .tuning-preview-note,.tuning-page .field small,.tuning-page .form-summary>p,.tuning-page .notice,.tuning-page .summary-hint,.tuning-page .payment-copy small,.tuning-page .submit-area p{font-size:13px;line-height:1.6}

/* Approved local readability adjustments: keep the established layout and palette. */
:root[data-theme=light] .main-nav .site-nav :is(a, button):is(.active, :hover, :focus-visible, [aria-expanded="true"]) {
  color: #476600;
}
.skip {
  background: #fff;
  color: #17201b;
  z-index: 100;
}
.skip:focus-visible {
  outline: 3px solid #476600;
  outline-offset: 3px;
}
.tuning-page .file-selected > div { flex: 1; min-width: 0; }
.tuning-page .file-selected > div > div { min-width: 0; }
.tuning-page .file-selected > div > .icon,
.tuning-page .file-selected > button { flex-shrink: 0; }
.tuning-page .file-selected :is(b, small) {
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
.tuning-page .file-selected small { display: block; margin-top: 3px; }
@media (max-width: 760px) {
  .footer-trademarks { text-align: left; }
}

/* Show the complete selected category without narrowing the phone search field. */
@media (max-width: 760px) {
  .global-search .search-picker .category-trigger {
    height: auto;
    min-height: 44px;
    padding-block: 4px;
  }
  .global-search .search-picker .category-trigger > span {
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    line-height: 20px;
  }
}
@media (max-width: 480px) {
  .search-row .global-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }
  .global-search .search-picker { grid-column: 1 / -1; }
  .global-search .search-picker .category-trigger {
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .global-search > input:not([type=hidden]) {
    width: 100%;
    min-height: 44px;
  }
  .global-search > button {
    width: 44px;
    height: 44px;
    border-radius: 0 0 3px 0;
  }
}

/* Scoped to Home–Contact. Menu typography, geometry and mobile layout are unchanged. */
.store-header .main-nav .site-nav > :is(a, button)[aria-current="page"],
.store-header .main-nav .site-nav .support-links > a[aria-current="page"],
.store-header .main-nav .site-nav > .support-menu.has-current-page > button {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.store-header .main-nav .site-nav > :is(a, button):focus-visible,
.store-header .main-nav .site-nav > .support-menu > button:focus-visible,
.store-header .main-nav .site-nav .support-links > a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* The shared desktop panel starts below the header; retain the original bottom clearance. */
@media (min-width: 1001px) {
  #modal.contact-dialog.contact-below-header[open] {
    top: var(--contact-panel-top);
    bottom: auto;
    max-height: max(0px, calc(100dvh - var(--contact-panel-top) - 80px));
  }
  #modal.contact-dialog.contact-below-header .modal-body { padding: 18px; }
  #modal.contact-dialog.contact-below-header .modal-top { margin-bottom: 8px; }
  #modal.contact-dialog.contact-below-header .modal-top h2 { margin-bottom: 0; }
  #modal.contact-dialog.contact-below-header .modal-body > p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  #modal.contact-dialog.contact-below-header #contact-form .field {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  #modal.contact-dialog.contact-below-header #contact-form .field :is(input, textarea) {
    font-size: 14px;
    line-height: 20px;
    padding: 7px 9px;
    margin-top: 4px;
  }
  #modal.contact-dialog.contact-below-header #contact-form .field input {
    height: 36px;
    min-height: 36px;
  }
  #modal.contact-dialog.contact-below-header #contact-form textarea {
    height: 60px;
    min-height: 60px;
  }
  #modal.contact-dialog.contact-below-header #contact-form > .button {
    min-height: 40px;
    padding: 9px 16px;
    margin-top: 0;
  }
}

/* Preserve readable text while saving a little more space on shorter desktops. */
@media (min-width: 1001px) and (max-height: 740px) {
  #modal.contact-dialog.contact-below-header .modal-body { padding: 16px; }
  #modal.contact-dialog.contact-below-header #contact-form .field { margin-bottom: 8px; }
  #modal.contact-dialog.contact-below-header #contact-form .field input {
    height: 34px;
    min-height: 34px;
    padding-block: 6px;
  }
  #modal.contact-dialog.contact-below-header #contact-form textarea {
    height: 48px;
    min-height: 48px;
  }
}

/* Local mobile trial: one shared photographic scene, not stacked copy/photo. */
@media (max-width: 760px) {
  .hero-v2 { min-height: var(--hero-mobile-height, 440px); }
  .hero-v2 .hero-visual,
  .hero-v2 .hero-visual:has(.composite-photo),
  .hero-v2 .hero-picture,
  .hero-v2 .hero-picture.focused-photo,
  .hero-v2 .hero-visual .hero-picture.composite-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .hero-v2 .hero-picture .hero-backdrop,
  .hero-v2 .hero-picture.focused-photo .hero-backdrop,
  .hero-v2 .hero-picture.composite-photo .hero-backdrop {
    inset: 50% 0 auto;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: right center;
    transform: translateY(-50%);
    mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  }
  .hero-v2 .hero-shade,
  .hero-v2:has(.focused-photo) .hero-shade,
  .hero-v2:has(.composite-photo) .hero-shade {
    background: linear-gradient(90deg, #080e0cf2 0%, #080e0cce 35%, #080e0c55 68%, #080e0c00 100%);
  }
  .hero-v2 .hero-v2-inner,
  .hero-v2:has(.hero-picture:not(.composite-photo)) .hero-v2-inner {
    padding-block: 65px 92px;
  }
  .hero-v2 .hero-v2-inner > .eyebrow,
  .hero-v2 .hero-v2-inner > h1,
  .hero-v2 .hero-v2-inner > p,
  .hero-v2 .hero-v2-buttons { max-width: 72%; }
  .hero-v2 .hero-v2-inner > h1 {
    font-size: clamp(22px, 6vw, 34px);
    letter-spacing: -.65px;
    margin-block: 18px 16px;
  }
  .hero-v2 .hero-v2-inner > p { line-height: 1.6; }
  .hero-v2 .hero-v2-buttons { margin-top: 18px; gap: 8px; }
  .hero-v2 .hero-photo-promotions {
    top: 12px;
    right: 18px;
    bottom: auto;
    left: 18px;
    transform: none;
  }
  .hero-v2 .hero-promotions { justify-content: flex-end; width: 100%; }
}
@media (max-width: 370px) {
  /* Two promotion rows above; the existing slide count sits above its controls. */
  .hero-v2 .hero-v2-inner,
  .hero-v2:has(.hero-picture:not(.composite-photo)) .hero-v2-inner {
    padding-block: 98px 118px;
  }
}
