/* Loaded only for narrow viewports and phones in landscape. */
html { scroll-padding-top: 76px; }
:where(a, button, .showcase-swipe) { font-variant-emoji: text; }
.container { width: min(100% - 36px, 640px); }
.header { height: 64px; padding-inline: 18px; }
.header .brand img { width: 119px; height: 48px; }
.header-contact { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; padding: 0 13px; color: white; border: 1px solid #ffffff40; border-radius: 9px; background: transparent; }
.header nav { display: none; position: absolute; inset: 100% 0 auto; margin: 0; background: #15161b; }
.header nav.open { display: grid; gap: 0; padding: 4px 18px 14px; max-height: calc(100dvh - 64px); overflow: auto; box-shadow: 0 12px 18px #0003; }
.header nav a { display: flex; align-items: center; min-height: 46px; border-top: 1px solid #ffffff20; }
.floating-contact { width: 46px; height: 46px; justify-content: center; padding: 10px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
.floating-contact span { display: none; }

/* Keep the introduction and the offers in normal reading order. */
.hero.home-carousel { height: auto; min-height: 0; margin: 0; border-radius: 0; background: #15161b; }
.home-carousel .home-carousel-track { display: block; width: 100%; height: auto; transform: none; transition: none; }
.home-carousel .home-panorama { inset: 0 0 auto; width: 100%; height: clamp(176px,52vw,275px); object-fit: cover; object-position: center 53%; }
.home-slide { height: auto; }
.home-slide-intro { padding-top: clamp(144px,44vw,235px); }
.home-slide-intro .hero-shade { background: linear-gradient(180deg,transparent clamp(110px,34vw,195px),#15161b clamp(178px,53vw,277px)); }
.home-slide-intro .hero-content { width: min(100% - 36px,640px); height: auto; padding: 24px 0 20px; }
.home-slide-intro .eyebrow { max-width: none; margin-bottom: 12px; color: #ffbb53; font-size: .72rem; }
.home-slide-intro h1 { font-size: clamp(2.8rem,11.5vw,4rem); line-height: 1.02; }
.home-slide-intro p { max-width: 44ch; font-size: 1rem; line-height: 1.5; margin: 15px 0 18px; }
.home-slide-intro .actions { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(155px,100%),1fr)); gap: 8px; max-width: 420px; }
.home-slide-intro .button { justify-content: space-between; gap: 6px; min-height: 46px; padding: 12px 16px; font-size: .88rem; }
.home-slide-intro .hero-foot { margin: 18px 0 0; padding: 8px 0 0; min-height: 40px; gap: 10px; flex-wrap: wrap; font-size: .78rem; }
.hero-foot a { padding-block: 8px; }
.home-carousel-nav, .home-slide-shade { display: none; }
.home-slide-offers { background: #24272c; border-top: 1px solid #ffffff24; }
.home-showcase { padding: 28px 0; }
.home-showcase > .container { width: min(100% - 36px,640px); }
.showcase-heading { display: block; text-shadow: none; }
.showcase-heading h2 { font-size: clamp(1.7rem,7vw,2.3rem); max-width: 19ch; }
.showcase-heading > a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; }
.hero .home-showcase p { max-width: none; }
.home-showcase .showcase-grid { grid-template-columns: none; grid-template-rows: auto; grid-auto-flow: column; grid-auto-columns: min(92%,345px); gap: 10px; padding: 3px 2px 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
.home-showcase .showcase-item, .home-showcase article.showcase-item[data-showcase-product] { grid-template-columns: minmax(62px,25%) minmax(0,1fr); gap: 10px; min-height: 170px; padding: 12px; scroll-snap-align: start; }
.home-showcase [data-showcase-product] .showcase-photo { width: 100%; height: 120px; }
.showcase-copy > strong { white-space: normal; font-size: 1rem; }
.showcase-kicker,.showcase-detail,.showcase-total { font-size: .76rem; }
.home-showcase .showcase-note,.home-showcase .showcase-swipe { font-size: .78rem !important; color: #e0e3e8 !important; text-shadow: none; }
.showcase-info[popover] { inset: auto 10px max(10px,env(safe-area-inset-bottom)) !important; width: auto; max-height: 80dvh; margin: 0; overflow-y: auto; overscroll-behavior: contain; }
.showcase-info .showcase-info-close { width: 44px; height: 44px; }

.page-intro { padding-block: 24px 20px; }
.page-intro .back-link { margin-bottom: 18px; }
.page-intro h1 { font-size: clamp(2.25rem,9vw,3.25rem); }
.section-heading h2,.contact-band h2 { font-size: clamp(2rem,8vw,3rem); }
.section:not(.compact) { padding-block: 48px; }
.content-layout,.store-detail,.catalogue-inquiry { grid-template-columns: minmax(0,1fr); }
.content-layout > *, .contact-form label,.form-pair > *, .catalogue-controls,.catalogue-main,.catalogue-side { min-width: 0; }
.contact-form :is(input,textarea,select),.product-inquiry :is(input,select),.catalogue-controls :is(input,select) { font-size: 1rem; min-height: 44px; max-width: 100%; }
.contact-card,.contact-form { padding: clamp(16px,5vw,26px); }
.email-link,.legal-copy,.warranty-document-title { overflow-wrap: anywhere; }
.legal-section .warranty-document { align-items: center; flex-wrap: nowrap; padding: 14px; gap: 10px; }
.warranty-document-copy { flex: 1; min-width: 0; }
.legal-section summary { padding-block: 16px; }
.services-catalog .service-card { min-height: 220px; }
.services-catalog .service-number { margin-bottom: 40px; }
.services-hero__photo { max-height: 210px; }
.store-body { padding: 18px; }
.store-actions a,.phone-link { display: inline-flex; align-items: center; min-height: 44px; }
.store-actions { margin-top: 9px; padding-top: 6px; }
.catalogue-intro { min-height: auto; padding-block: 24px; }
.catalogue-intro h1 { max-width: 18ch; }
.promo-catalogue .catalogue-tabs { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(90px,100%),1fr)); gap: 6px; }
.promo-catalogue .catalogue-tabs button { min-height: 44px; font-size: .84rem; }
.catalogue-controls select { width: 100%; min-width: 0; }
.promo-catalogue .catalogue-filters--compact > label { min-width: 0; font-size: .83rem; }
.footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
.footer-top a:not(.brand) { padding-block: 7px; font-size: .93rem; }
.footer-bottom { padding-bottom: 66px; }

/* The same city links work as a touch-friendly directory over the terrain. */
.lojas-hero__copy { padding: 22px 18px 16px; width: 100%; }
.lojas-hero__copy h1 br { display: none; }
.lojas-hero__hint,.lojas-regions,.lojas-hero__map-note { display: none; }
.lojas-hero__scene { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; margin: 0; }
.lojas-hero__terrain { object-fit: cover; }
.lojas-hero__shade { background: #10181ad4; }
.lojas-map { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 18px; }
.lojas-map .lojas-pin { position: static; transform: none; filter: none; white-space: normal; gap: 6px; padding: 7px; border: 1px solid #ffffff38; border-radius: 8px; background: #171b1fe8; }
.lojas-map .lojas-pin .lojas-pin__name { position: static; transform: none; background: none; color: white; padding: 0; font-size: .84rem; text-align: left; overflow-wrap: anywhere; }
.lojas-map .lojas-pin__icon { width: 21px; height: 28px; }
.lojas-map .lojas-pin__icon b { top: 3px; line-height: 14px; font-size: 10px; }
.lojas-map .lojas-pin.is-selected { border-color: #ffac25; }
.lojas-list .store-filter { align-items: end; }
@media (max-width: 480px) {
  .service-grid { grid-template-columns: minmax(0,1fr); }
  .service-grid .service-card { min-height: 190px; }
  .catalogue-inquiry { padding: 22px 16px; }
}
.section.promo-catalogue { padding-top: 0; }
.home-slide-intro .actions { align-items: stretch; }
.home-slide-intro .actions .button { padding-inline: 12px; justify-content: center; white-space: nowrap; }
.showcase-heading > a { margin-block: 10px 4px; }
@media (max-width: 650px) {
  .services-hero__inner { margin-top: 0; padding-top: 18px; }
  .services-hero::after { background: linear-gradient(180deg,transparent 140px,#14181b 212px); }
}
/* Home directory and repeated store cards. */
.home-stores .cities-list:has(select) { display:grid; gap:5px; margin-top:18px; }
.home-stores .cities-list:has(select) a { display:none; }
.home-stores .cities-list strong { font-size:.85rem; }
.home-stores .mobile-city-choice[hidden] { display:block !important; width:100%; min-height:44px; border:1px solid #c9cbd0; border-radius:8px; padding:8px 12px; background:white; color:#15161b; font:inherit; }
.home-stores .store-grid { gap:12px; }
.home-stores .store-card { display:grid; grid-template-columns: clamp(75px,24vw,125px) minmax(0,1fr); }
.home-stores .store-photo { min-height:100%; position:relative; }
.home-stores .store-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.home-stores .store-body { padding:12px; }
.home-stores .store-body h3 { font-size:1.16rem; }
.home-stores .store-body .eyebrow { font-size:.72rem; margin-bottom:3px; }
.home-stores .store-body p { margin:4px 0; font-size:.86rem; line-height:1.4; }
.home-stores .phone-link { min-height:34px; }
.home-stores .store-actions { margin:1px 0 0; padding:0; flex-wrap:wrap; gap:0 8px; }
.home-stores .store-actions a { min-height:36px; font-size:.8rem; }
.home-stores .section-heading > .text-link,.showcase-heading > a,.section-cta { min-height:44px; padding:6px 8px 6px 14px; gap:10px; }
.home-stores .section-heading > .text-link > span,.showcase-heading > a > span,.section-cta > span { width:27px; height:27px; flex-basis:27px; font-size:1rem; }
.review-card { min-height:0; padding:16px; }
.review-card blockquote { margin:10px 0 14px; }
.home-stores .section-heading { margin-bottom:18px; }

/* Display the complete illustrated map in its own space above the city links. */
.lojas-hero__scene .lojas-hero__terrain { display:block; position:static; width:100%; height:auto; object-fit:contain; }
.lojas-hero__scene .lojas-hero__shade { display:none; }
.lojas-hero__scene .lojas-map { background:#172021; padding:10px 18px 16px; }
.lojas-hero__scene .lojas-hero__map-note { display:block; top:8px; bottom:auto; right:10px; font-size:.68rem; padding:3px 6px; background:#101518bc; border-radius:4px; }
.lojas-hero__copy .lojas-hero__back { margin-bottom:12px; }
.lojas-hero__copy p { margin:12px 0; }
.service-grid:not(.catalog) .service-card { --service-reveal:1; background:#17191d; color:white; min-height:166px; display:flex; flex-direction:column; justify-content:flex-end; padding:15px; }
.service-grid:not(.catalog) .service-card .service-number { margin:0 0 auto; color:#fff; }
.service-grid:not(.catalog) .service-card p { color:#fff; line-height:1.4; }
.service-grid:not(.catalog) .service-card h3 { margin:10px 0 4px; }
.service-grid:not(.catalog) .service-card .service-photo { transform:none; }
.service-grid:not(.catalog) { gap:10px; border:0; }
.service-grid:not(.catalog) .service-card { border:0; border-radius:8px; }

/* Offer prices are final. The badge communicates the discount already included. */
.mobile-discount[hidden] { display:inline-flex !important; align-items:center; justify-content:center; background:var(--accent); color:#16181d; }
.showcase-badges { flex-wrap:wrap; }
.showcase-badges .mobile-discount[hidden],.oil-copy .offer-badges .mobile-discount[hidden] { background:var(--accent); color:#16181d; }
.mobile-map-markers[hidden] { position:absolute; top:0; left:0; width:100%; aspect-ratio:1536/640; display:block !important; pointer-events:none; }
.mobile-map-markers span,.lojas-map .mobile-map-key[hidden] { display:inline-grid !important; place-items:center; width:19px; height:19px; border:1.5px solid white; border-radius:50%; background:#ffac25; color:#1b160e; font:bold 12px/1 Arial,sans-serif; }
.mobile-map-markers span { position:absolute; transform:translate(-50%,-50%); box-shadow:0 1px 4px #142521; }
.lojas-map .lojas-pin:has(.mobile-map-key) .lojas-pin__icon { display:none; }
.lojas-map .mobile-map-key { flex:none; }

/* Keep the original tire cards in catalogue order, reserving rows for complements. */
.catalogue-content.container { width:min(calc(100% - 22px),640px); }
.has-offer-strips .catalogue-main { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; reading-flow:grid-rows; }
.has-offer-strips .catalogue-main > .promo-grid { display:contents; }
.has-offer-strips .catalogue-main > .catalogue-group-heading { grid-row:1; margin:0 0 3px; }
.has-offer-strips .catalogue-group-heading h2 { font-size:1.5rem; }
.has-offer-strips .catalogue-complements { display:none; }
.has-offer-strips .catalogue-pagination { order:1; }
.catalogue-main .promo-card .promo-body { padding:15px; }
.catalogue-main .promo-body h3 { min-height:0; }
.catalogue-main .promo-card .promo-validity { margin-block:8px; }
.catalogue-main .promo-body .offer-applications { min-height:0; }
.offer-strip { display:flex; justify-content:center; gap:7px; min-width:0; padding:8px; border:1px solid #ecd0a1; border-top:3px solid #f7a01d; border-radius:14px; background:#fff0d6; }
.strip-product { display:flex; flex-direction:column; gap:3px; flex:0 0 calc((100% - 7px) / 2); min-width:0; padding:8px; color:#15161b; background:white; border:1px solid #e3d7c2; border-radius:9px; text-decoration:none; }
.strip-product:focus-visible { outline:3px solid #ac5700; }
.strip-product img { width:100%; height:65px; object-fit:contain; }
.strip-product b { font-size:.94rem; line-height:1.15; overflow-wrap:anywhere; }
.strip-product small { font-size:.74rem; color:#50545b; line-height:1.25; }
.strip-product .strip-price { margin-top:auto; font-size:1.1rem; color:#bd2429; letter-spacing:-.03em; }
.strip-badges { display:flex; flex-wrap:wrap; gap:3px; margin:3px 0; }
.strip-badges span { font-size:.66rem; line-height:1.3; font-weight:750; border-radius:4px; background:#f7a01d; padding:2px 4px; color:#21170a; }
.strip-badges span:first-child { background:var(--accent); color:#16181d; }
.strip-category { font-size:.78rem; font-weight:700; }
.strip-action { color:#694507; font-weight:650; font-size:.75rem; margin-top:4px; text-decoration:underline; }
