.gmar{--gmar-ink:#2c4c4f;--gmar-muted:#687a7c;max-width:1320px;margin:0 auto;padding:28px 24px 64px;color:var(--gmar-ink)}.gmar *{box-sizing:border-box}.gmar-crumb{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;margin-bottom:26px;color:var(--gmar-muted)}.gmar a{color:inherit}.gmar-layout{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start}.gmar-main-image{background:#ededed;border-radius:20px;overflow:hidden;aspect-ratio:1}.gmar-main-image img{width:100%;height:100%;display:block;object-fit:contain;object-position:center bottom}.gmar-thumbs{display:flex;gap:12px;margin-top:14px;overflow:auto}.gmar-thumbs button{flex:0 0 80px;width:80px;height:80px;border:2px solid transparent;border-radius:12px;padding:0;overflow:hidden;background:#ededed;cursor:pointer}.gmar-thumbs button[aria-pressed=true]{border-color:#2c4c4f}.gmar-thumbs img{width:100%;height:100%;object-fit:contain}.gmar-label{display:block;font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--gmar-muted)}.gmar-summary h1{font-size:clamp(23px,2.1vw,32px);line-height:1.25;margin:10px 0 12px;color:var(--gmar-ink)}.gmar-meta{font-size:13px;color:var(--gmar-muted);margin:0 0 20px}.gmar-status{padding:17px 20px;background:#f0f3f3;border-left:3px solid #8ea8a7;border-radius:0 10px 10px 0;margin-bottom:24px}.gmar-status strong{font-size:15px}.gmar-status p{font-size:13px;line-height:1.6;margin:5px 0 0;color:var(--gmar-muted)}.gmar-reco{border:1px solid #d7e3e1;border-radius:18px;padding:22px;background:#f8fbfa;box-shadow:0 8px 30px #2c4c4f05}.gmar-reco-head h2{font-size:22px;line-height:1.3;margin:8px 0;color:var(--gmar-ink)}.gmar-reco-head p{font-size:13px;color:var(--gmar-muted);margin:0 0 20px}.gmar-reco-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.gmar-reco-item{display:block;background:#fff;border:1px solid #e1e9e8;border-radius:12px;overflow:hidden;text-decoration:none!important;transition:box-shadow .2s,transform .2s}.gmar-reco-item:hover{transform:translateY(-2px);box-shadow:0 6px 20px #2c4c4f14}.gmar-reco-image{aspect-ratio:1;background:#ededed;overflow:hidden}.gmar-reco-image img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}.gmar-reco-info{padding:12px}.gmar-reco-info h3{font-size:13px;font-weight:600;line-height:1.4;min-height:36px;margin:0 0 10px;color:var(--gmar-ink)}.gmar-reco-info>strong{display:block;font-size:17px;line-height:1.4}.gmar-reco-info small{display:block;color:var(--gmar-muted);font-size:11px;margin-top:2px}.gmar-cta{display:flex;justify-content:space-between;gap:6px;border-top:1px solid #e8eeed;padding-top:10px;margin-top:10px;font-size:12px;font-weight:600}.gmar-description{margin-top:40px;max-width:840px}.gmar-description h2{font-size:23px;color:var(--gmar-ink)}.gmar-description p,.gmar-description li{font-size:15px;line-height:1.8;color:#526466}.gmar-browse{display:inline-block;background:#2c4c4f;color:#fff!important;padding:12px 20px;border-radius:8px;text-decoration:none}.gmar-no-results{font-size:14px;line-height:1.6}.gmar a:focus-visible,.gmar button:focus-visible{outline:3px solid #4d8988;outline-offset:3px}@media(max-width:900px){.gmar-layout{gap:24px}.gmar-reco{padding:16px}.gmar-reco-grid{gap:10px}}@media(max-width:680px){.gmar{padding:18px 16px 40px}.gmar-layout{grid-template-columns:1fr;gap:24px}.gmar-main-image{max-height:440px}.gmar-crumb{margin-bottom:16px}.gmar-summary h1{font-size:25px}.gmar-reco-head h2{font-size:21px}.gmar-thumbs button{flex-basis:68px;height:68px}.gmar-description{margin-top:28px}}@media(prefers-reduced-motion:reduce){.gmar-reco-item{transition:none;transform:none!important}}

/* Desktop: compact offer rows balance the gallery without changing mobile. */
@media(min-width:981px){
 .gmar-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}
 .gmar-summary{min-width:0}
 .gmar-summary h1{font-size:clamp(24px,2vw,30px)}
 .gmar-status{margin-bottom:18px;padding:14px 18px}
 .gmar-reco{padding:20px;background:#f8fbfa;box-shadow:none}
 .gmar-reco-head h2{font-size:21px;margin:7px 0}
 .gmar-reco-head p{margin-bottom:16px}
 .gmar-reco-grid{grid-template-columns:minmax(0,1fr);gap:9px}
 .gmar-reco-item{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:stretch;border-radius:10px;min-height:88px}
 .gmar-reco-image{aspect-ratio:1;width:88px;height:88px;min-height:0;align-self:center;background:#ededed}
 .gmar-reco-image img{object-fit:contain;object-position:center bottom}
 .gmar-reco-info{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;align-items:center;gap:5px 14px;padding:12px 14px}
 .gmar-reco-info h3{grid-column:1;grid-row:1;min-height:0;margin:0;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
 .gmar-reco-info>strong{grid-column:2;grid-row:1;text-align:right;font-size:16px;white-space:nowrap}
 .gmar-reco-info small{grid-column:2;grid-row:2;text-align:right;margin:0;font-size:11px}
 .gmar-cta{grid-column:1;grid-row:2;justify-content:flex-start;gap:8px;border:0;padding:0;margin:0;font-size:12px;line-height:1.5}
 .gmar-cta>span{font-family:Arial,sans-serif;font-variant-emoji:text}
 .gmar-description{margin-top:32px;max-width:900px}
}

/* Original aspect ratio: never use a cropped WooCommerce square for JD. */
.gmar .gmar-reco-image{position:relative;overflow:hidden;display:block}
.gmar .gmar-reco-image img{position:absolute!important;inset:auto 0 0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important}
.gmar .gmar-reco-image-jd{background:#ededed!important}
.gmar .gmar-reco-image-jd img{transform:scaleX(-1)!important;transform-origin:center center}

/* Historical description and specifications, independent of Woo taxonomies. */
.gmar-details{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;margin-top:36px;align-items:start}
.gmar-details.gmar-details-with-features{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}
.gmar .gmar-details .gmar-description{max-width:none;min-width:0;margin:0;overflow-wrap:anywhere}
.gmar-details h2{font-size:23px;line-height:1.35;margin:0 0 20px;color:var(--gmar-ink)}
.gmar-features{min-width:0;padding:24px;border:1px solid #d7e3e1;border-radius:16px;background:#f8fbfa}
.gmar-features dl{margin:0}
.gmar-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;padding:13px 0;border-bottom:1px solid #e1e9e8;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.gmar-feature:first-child{padding-top:0}.gmar-feature:last-child{border-bottom:0;padding-bottom:0}
.gmar-feature dt{font-weight:600;color:var(--gmar-ink)}.gmar-feature dd{margin:0;color:#526466}
@media(max-width:900px){.gmar-details.gmar-details-with-features{grid-template-columns:minmax(0,1fr)}.gmar-details{gap:24px;margin-top:28px}.gmar-features{padding:20px}}

/* 1.0.6: grid children must shrink to the mobile viewport, including galleries. */
.gmar .gmar-layout>*,.gmar .gmar-details>*,.gmar .gmar-reco-grid>*{min-width:0}
.gmar .gmar-gallery,.gmar .gmar-summary,.gmar .gmar-thumbs{max-width:100%;min-width:0}
.gmar .gmar-thumbs{overflow-x:auto;overscroll-behavior-x:contain}
.gmar .gmar-features dl,.gmar .gmar-feature dt,.gmar .gmar-feature dd{min-width:0;max-width:100%}
@media(max-width:900px){
 .gmar .gmar-details,.gmar .gmar-details.gmar-details-with-features{display:block;width:100%;min-width:0;max-width:100%}
 .gmar .gmar-details .gmar-description{width:100%;max-width:100%;min-width:0}
 .gmar .gmar-features{display:block;width:100%;max-width:100%;min-width:0;margin:24px 0 0;float:none}
 .gmar .gmar-description img,.gmar .gmar-description video,.gmar .gmar-description iframe{max-width:100%}
 .gmar .gmar-feature{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
}
@media(max-width:680px){
 .gmar .gmar-layout{grid-template-columns:minmax(0,1fr)}
 .gmar .gmar-reco-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gmar .gmar-reco-info{min-width:0;overflow-wrap:anywhere}
}
