/* Shared product-card rules. The image and controls never change frame height. */
.product-card-wrapper .card__inner{--ratio-percent:100%!important;isolation:isolate;background:#faf7f0}
.product-card-wrapper .card__media{inset:0!important;margin:0!important;width:100%!important;background:#faf7f0}
.product-card-wrapper e8-card-gallery{position:absolute!important;inset:0!important;width:100%;height:100%}
.product-card-wrapper e8-card-gallery>.media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:#faf7f0}
.product-card-wrapper .card__media .media>img,.product-card-wrapper e8-card-gallery[data-card-view=rolled] .media>img[data-card-current]{object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;padding:5% 5% 16%!important;box-sizing:border-box;transform:none!important}
.product-card-wrapper .e8-card-gallery__controls{position:absolute!important;inset:auto 8px 6px!important;height:44px!important;width:auto!important;display:flex;align-items:center;justify-content:space-between;margin:0!important;padding:0!important;pointer-events:none;background:transparent!important}
.product-card-wrapper .e8-card-gallery__controls[hidden]{display:none!important}
.product-card-wrapper .e8-card-gallery__arrow{position:static;transform:none;width:44px!important;height:44px!important;pointer-events:auto;border:0!important;background:transparent!important;box-shadow:none;border-radius:50%;color:#493b30}
.product-card-wrapper .e8-card-gallery__arrow::before{content:"";position:absolute;width:30px;height:30px;border-radius:50%;background:#fffdf8e8;border:1px solid #d8cabb;z-index:-1}
.product-card-wrapper .e8-card-gallery__arrow{position:relative;isolation:isolate}
.product-card-wrapper .e8-card-gallery__arrow svg{width:14px;height:14px}
.product-card-wrapper .e8-card-gallery__count{display:none}
.product-card-wrapper .card{height:100%}
.product-card-wrapper .card>.card__content{flex:1 1 auto}
.product-card-wrapper .card>.card__content>.card__information{display:flex;flex-direction:column;height:100%;gap:8px;padding-top:12px}
.product-card-wrapper .card>.card__content .card__heading{font-size:clamp(2.2rem,2vw,2.7rem);line-height:1.2;min-height:2.4em}
.product-card-wrapper .e8-belt-card__leather{white-space:normal!important;min-height:3em!important;line-height:1.5!important;font-size:1.4rem!important;margin:0}
.product-card-wrapper .card-information{margin-top:auto;gap:8px}
.product-card-wrapper .e8-card-colors{min-height:44px!important;margin:0!important;gap:0!important}
.product-card-wrapper .e8-card-color{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:12px!important;border:0!important;position:relative}
.product-card-wrapper .e8-card-color[aria-current=true]::after{content:"";position:absolute;inset:9px;border:1px solid #695544;border-radius:50%}
.product-card-wrapper .e8-card-color .e8-color-dot{width:18px!important;height:18px!important;min-width:18px!important}
.e8-showroom .e8-signature-card .card__media .media,.e8-showroom .e8-sr-quick-view .e8-signature-card .card__media .media{aspect-ratio:1!important;background:#faf7f0}
.e8-showroom .e8-signature-card .media img{object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;padding:5%;box-sizing:border-box;transform:none!important}
.predictive-search__image{width:64px!important;height:64px!important;aspect-ratio:1;object-fit:contain!important;object-position:center;padding:3px;background:#faf7f0}
.e8-product-help{margin-top:1.8rem;padding-top:1.8rem;border-top:1px solid #ddd2c4}
.e8-product-help h3{font-size:1.7rem;font-weight:700;margin:1.6rem 0 .5rem}
.e8-product-help p,.e8-product-help li{font-size:1.5rem;line-height:1.65}
.e8-product-help a,.e8-guide a{text-decoration:underline;text-underline-offset:3px}
.e8-guide{max-width:86rem;margin:0 auto;padding:3rem 2rem 5rem;font-size:1.7rem;line-height:1.7}
.e8-guide h2{font-size:2.6rem;line-height:1.25;margin:3rem 0 1rem}
.e8-guide table{width:100%;border-collapse:collapse;font-size:1.5rem}
.e8-guide th,.e8-guide td{text-align:left;padding:1.2rem;border:1px solid #d9cbbb;vertical-align:top}
.e8-guide th{background:#eee5d8}.e8-guide img{max-width:100%;height:auto}
.e8-guide-nav{display:flex;flex-wrap:wrap;gap:12px;margin:2rem 0}.e8-guide-nav a{padding:8px 12px;border:1px solid #d9cbbb;border-radius:4px}
@media(max-width:599px){.product-card-wrapper .card>.card__content .card__heading{min-height:0}.product-card-wrapper .e8-belt-card__leather{min-height:0!important}.e8-product-help p,.e8-product-help li{font-size:1.6rem}.e8-guide{padding:2rem 1.6rem 4rem;font-size:1.6rem}.e8-guide table{font-size:1.3rem}.e8-guide th,.e8-guide td{padding:8px}}
@media(prefers-reduced-motion:reduce){.product-card-wrapper *{scroll-behavior:auto!important;transition:none!important}}

/* Reset inherited middle-of-image offsets inside the bottom control rail. */
.product-card-wrapper .e8-card-gallery__arrow{top:auto!important;left:auto!important;right:auto!important;bottom:auto!important}
.e8-belt-product-grid .e8-belt-card:not(.e8-catalog-card) .card>.card__content .card__heading{min-height:1.2em}
