/* Refinamento da página de produto: moldura, galeria e abas do layout aprovado. */
.product-gallery [hidden], .product-readmore[hidden], .product-tab-panel[hidden] { display: none !important; }
.product-gallery__stage { position: relative; border: 1px solid #999; background: #fff; }
.product-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.gallery-ready .product-gallery__track { touch-action: pan-y; }
.product-gallery__track::-webkit-scrollbar { display: none; }
.product-gallery__slide { flex: 0 0 100%; min-width: 0; height: 420px; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; padding: 2rem 2.5rem; }
.product-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.product-gallery__empty { min-height: 300px; display: flex; flex-direction: column; gap: .75rem; align-items: center; justify-content: center; color: #777; }
.product-gallery__empty i { font-size: 3rem; }
.product-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; background: rgb(255 255 255 / 90%); color: var(--mk-red); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.product-gallery__arrow.is-prev { left: 0; }
.product-gallery__arrow.is-next { right: 0; }
.product-gallery__arrow:hover { background: var(--mk-gray-100); }
.product-gallery__zoom { position: absolute; right: .2rem; bottom: .2rem; border: 0; background: #fff; color: #555; font-size: 1.2rem; width: 44px; height: 44px; }
.product-gallery__thumbs { display: flex; gap: .6rem; overflow-x: auto; flex-wrap: nowrap; padding: .25rem; margin: .75rem -.25rem 0; }
.product-gallery__thumb { width: 78px; height: 78px; flex: 0 0 78px; border: 1px solid #999; border-radius: 0; padding: .3rem; }
.product-gallery__thumb.is-active { border: 2px solid var(--mk-red); }
.product-gallery__dots { display: flex; justify-content: center; gap: .05rem; margin-top: .5rem; }
.product-gallery__dots button { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; padding: 0; background: transparent; }
.product-gallery__dots button::after { content: ''; width: 9px; height: 9px; background: #858585; border-radius: 50%; }
.product-gallery__dots button.is-active::after { background: var(--mk-red); }
body:has(.product-lightbox[open]) { overflow: hidden; }
.product-lightbox { width: min(1000px, 95vw); max-width: 95vw; max-height: 92dvh; padding: 3rem 3rem 1rem; border: 0; background: #fff; overflow: auto; }
.product-lightbox:not([open]) { display: none; }
.product-lightbox::backdrop { background: rgb(0 0 0 / 75%); }
.product-lightbox > img { display: block; width: 100%; height: min(68dvh, 700px); object-fit: contain; }
.product-lightbox > p { text-align: center; font-size: .9rem; color: #666; margin: 1rem 0 0; }
.product-lightbox__close { position: absolute; top: .25rem; right: .25rem; width: 44px; height: 44px; border: 0; color: var(--mk-red); background: #fff; }
.product-info__title { font-family: 'Barlow',sans-serif; font-weight: 700; color: #555; font-size: 1.45rem; line-height: 1.4; }
.product-info__code { color: var(--mk-red); font-weight: 500; }
.product-info__buybox { border-radius: 0; border: 0; padding: 1.25rem; }
.product-info__price { font-family: 'Barlow',sans-serif; }
.product-info__cta { width: 100%; justify-content: center; border-radius: 4px; }
.product-info__meta { font-size: .9rem; }
.product-config { --product-collapse-height: 180px; margin-bottom: 1rem; }
.product-config .product-info__config { margin-bottom: 0; font-size: 1rem; padding-left: 0; list-style: none; }
.product-info__config li { margin-bottom: .25rem; }
.product-readmore { border: 0; background: transparent; color: var(--mk-red); font-family: 'Barlow',sans-serif; font-weight: 700; font-size: .95rem; padding: .5rem 0; text-align: left; min-height: 44px; }
.product-readmore::before { content: ':: '; }
[data-collapse-content].is-collapsed { max-height: var(--product-collapse-height, 480px); overflow: hidden; }
.product-information { margin-top: 2rem; border-top: 1px solid #555; padding-top: 1rem; }
.product-tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--mk-gray-200); }
.product-tabs button { position: relative; border: 0; background: #fff; color: #222; font-family: 'Barlow',sans-serif; font-size: 1rem; font-weight: 600; text-transform: uppercase; padding: .8rem 0; min-height: 44px; }
.product-tabs button[aria-selected="true"]::after { content: ''; position: absolute; height: 2px; background: var(--mk-red); left: 0; right: 0; bottom: -1px; }
.product-tab-panel { padding: 1.5rem; background: var(--mk-gray-100); color: #333; }
.product-panel-title { font-family: 'Barlow',sans-serif; font-size: 1.1rem; margin-bottom: 1rem; }
.tabs-ready .product-panel-title { display: none; }
.product-specification { --product-collapse-height: 480px; }
.product-specs__block { border-bottom: 1px solid #777; padding-bottom: .6rem; margin-bottom: .65rem; }
.product-specs__group { margin: 0 0 .1rem; font-family: 'Barlow',sans-serif; font-size: 1rem; font-weight: 600; }
.product-specs__list { margin: 0; font-size: .95rem; line-height: 1.45; }
.product-specs__list dt, .product-specs__list dd { display: inline; font-weight: 400; margin: 0; overflow-wrap: anywhere; }
.product-support__details { display: grid; gap: 1rem; }
.product-support__details dt { font-weight: 600; }
.product-support__details dd { margin: 0; }
.product-support__links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.product-support__links a { color: var(--mk-red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.product-description { padding-top: 2.5rem; }
.product-description__body { max-width: 100%; overflow-wrap: anywhere; }
.product-description__body h2, .product-description__body h3 { font-family: 'Barlow',sans-serif; color: #555; margin-top: 1.5rem; font-size: 1.5rem; font-weight: 600; }
.product-description__body figure { margin: 1.5rem 0; }
.product-description__body img { display: block; margin: 1rem auto; border-radius: 0; }
.product-downloads-wrap { scroll-margin-top: 1rem; }
.product-downloads-wrap .download-card { border-radius: 0; border-color: #999; padding: 2rem 1rem; }
.product-downloads-wrap .download-card i { font-size: 2.5rem; color: #222; }
.product-downloads-wrap .download-card__label { font-family: 'Barlow',sans-serif; font-size: 1.3rem; }
.product-downloads-wrap .download-card__cta { min-width: 140px; font-size: 1rem; }
.product-related__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.product-related__item { flex: 0 0 calc((100% - 3.75rem) / 4); min-width: 0; padding: 1rem; background: var(--mk-gray-100); color: #555; scroll-snap-align: start; }
.product-related__item img { width: 100%; height: 140px; object-fit: contain; margin-bottom: .75rem; }
.product-related__item h3 { font-family: 'Barlow',sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 0; }
.product-related__item:hover { color: var(--mk-red); }
.product-related__cta { display: block; width: fit-content; min-width: 280px; max-width: 100%; margin: 2rem auto 0; background: var(--mk-red); color: #fff; border-radius: 4px; text-align: center; font-weight: 600; padding: .65rem 1.25rem; }
.product-related__cta:hover { background: var(--mk-red-dark); color: #fff; }
@media (min-width: 992px) { .product-gallery__dots { display: none; } }
@media (max-width: 991.98px) {
    .product-gallery__stage { border: 0; }
    .product-gallery__slide { height: 320px; padding: 0; }
    .product-gallery__thumbs { display: none; }
    .product-gallery__zoom { bottom: 0; right: .25rem; font-size: 1rem; }
    .product-gallery__arrow { width: 40px; height: 44px; }
    .product-info { margin-top: 2rem !important; }
    .product-info__buybox { border: 1px solid #777; background: var(--mk-gray-100); }
    .product-info__price { font-size: 2.4rem; }
    .product-info__cta { padding-left: .5rem; padding-right: .5rem; font-size: 1rem; }
    .product-config { margin: 0 0 1.5rem; padding: 1rem; border: 1px solid #777; }
    .product-information { border-top: 0; padding-top: 0; }
    .product-tabs { gap: 1.5rem; }
    .product-tabs button { font-size: .9rem; white-space: nowrap; }
    .product-tab-panel { padding: 1.25rem .75rem; }
    .product-specification { --product-collapse-height: 480px; }
    .product-specs__list { font-size: .95rem; }
    .product-lightbox { padding: 3rem 2.5rem 1rem; }
    .product-lightbox > img { height: 60dvh; }
    .product-related__track { gap: 1rem; }
    .product-related__item { flex-basis: calc((100% - 1rem) / 2); padding: .75rem; }
    .product-related__item img { height: 110px; }
    .product-related__item h3 { font-size: 1rem; }
    .product-related__cta { width: 100%; min-width: 0; }
}
@media (min-width: 992px) {
    .product-info__buybox { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 1.25rem; }
    .product-info__old, .product-info__price, .product-info__installments, .product-info__consult-note, .product-info__cta { grid-column: 1; }
    .product-info__meta { grid-column: 2; grid-row: 1 / 5; align-self: center; border-top: 0; border-left: 1px solid #999; padding: .5rem 0 .5rem 1rem; margin: 0; }
    .product-quote { grid-column: 1 / -1; }
    .product-info__cta { font-size: .95rem; padding-left: .5rem; padding-right: .5rem; }
}
.product-related__item h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
