/* Localized shell polish; do not touch the English Magento header or any purchase UI. */
.cmc-de-header .cmc-de-nav-small > summary {
  display: flex; align-items: center; justify-content: flex-end;
  list-style: none; min-height: 44px;
}
.cmc-de-header .cmc-de-nav-small > summary::marker { content: ''; }
.cmc-de-header .cmc-de-nav-small > summary::-webkit-details-marker { display: none; }
.cmc-de-header .cmc-de-nav-small > summary:focus-visible { outline: 2px solid #315243; outline-offset: 2px; }
html[lang="ko-KR"] :is(.market-ko,.cmc-de-contact) :is(h1,h2,h3,p) { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja-JP"] .market-ja .mk-lead { line-break: strict; }
.market-ja .mk-lead .cmc-ja-lexeme { white-space: nowrap; }

/* Italy: give the three actual service options the same visual weight. */
.market-it .it-modelli { grid-template-columns: repeat(3,minmax(0,1fr)); }
.market-it .it-modelli > .cmc-it-index { grid-column: 1 / -1; display: grid; grid-template-columns: 1.22fr 1fr; gap: .5rem 2rem; align-items: end; padding-bottom: .75rem; border-bottom: 1px solid #dfd4ce; }
.cmc-it-index .mk-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.market-it .cmc-it-index h2 + p { max-width: 48ch; margin-top: 0; }
.market-it .it-modelli .mk-card { border-bottom: 1px solid #dfd4ce; padding-bottom: .85rem; }

/* Portugal: keep two existing models, but let an asymmetric image pair lead into buyer paths. */
.market-pt .pt-fotos { grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); align-items: start; }
.market-pt .pt-fotos a:nth-child(2) { margin-top: clamp(12px,3.6vw,48px); }
.market-pt .pt-fotos a { border-bottom: 1px solid #cbdcda; }
.market-pt .pt-fotos a:first-child img { background: #fff; }
.market-pt .pt-fotos a:nth-child(2) img { aspect-ratio: 1; }
.market-pt .pt-fotos a:focus-visible, .market-it .it-modelli .mk-card:focus-visible { outline-offset: 2px; }
.market-pt .pt-usos { gap: clamp(10px,2vw,22px); }
.market-pt .pt-usos .cmc-pt-index { grid-column: 1 / -1; margin-bottom: .3rem; }
.market-pt .cmc-pt-index h2 { margin-bottom: 0; }
.market-pt .pt-usos a { background: #edf3f1; padding: .85rem 1rem; }
.market-pt .pt-usos a > span:last-child { font: inherit; color: inherit; }
.market-pt .pt-faixa h1 { font-size: clamp(2.25rem,4.7vw,5.05rem); }
.market-pt .pt-faixa h1 span { display: block; }
@media (max-width: 640px) {
  .market-it .it-modelli { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-it .it-modelli > .cmc-it-index { grid-template-columns: 1fr; }
  .market-it .it-modelli > .cmc-it-index h2 + p { margin-top: .3rem; }
  .market-it .it-modelli .mk-card:last-child { grid-column: 1 / -1; grid-template-columns: minmax(90px, 1fr) minmax(0, 1.75fr); grid-template-rows: 1fr auto 1fr; gap: .35rem .65rem; align-content: center; background: #f4eeea; padding: .5rem; }
  .market-it .it-modelli .mk-card:last-child img { grid-row: 1 / 4; }
  .market-it .it-modelli .mk-card:last-child strong { grid-row: 2; }
  .market-it .it-modelli .mk-card:last-child span { grid-row: 3; }
  .market-pt .pt-faixa h1 { font-size: clamp(2.17rem,10.3vw,3.15rem); }
  .market-pt .pt-fotos { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: .4rem; }
  .market-pt .pt-fotos a:nth-child(2) { margin-top: .95rem; }
}

/* The external map is only created when a visitor opts to open the preview. */
.cmc-de-contact-card .cmc-address-map { margin: .72rem 0 .22rem; }
.cmc-address-map [hidden] { display: none !important; }
.cmc-de-contact-card .cmc-address-map__toggle {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  max-width: 100%; min-height: 44px; padding: .55rem .86rem;
  background: #fff; border: 1px solid #aabbb0; color: #243f34; border-radius: .38rem;
  font: 650 .91rem/1.25 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  text-align: start; cursor: pointer;
}
.cmc-address-map__toggle:hover { background: #e5eee7; }
.cmc-address-map__toggle:focus-visible { outline: 2px solid #305541; outline-offset: 2px; }
.cmc-address-map__toggle svg { flex: none; width: 1.05em; height: 1.05em; }
.cmc-de-contact-card .cmc-address-map__notice { margin: .34rem 0 0; color: #44594c; font: 400 .8rem/1.46 system-ui,sans-serif; }
.cmc-address-map__frame { margin: .65rem 0 .2rem; width: 100%; min-height: 215px; overflow: hidden; border: 1px solid #c5d5c9; border-radius: .45rem; background: #e6eee8; }
.cmc-address-map__frame iframe { display: block; width: 100%; height: clamp(215px,28vw,315px); border: 0; }
.cmc-de-contact-card .cmc-de-contact-card__map { margin-block: .36rem .5rem; }
