.jpp-product{--jses-line:#dde2e6;--jses-green:#287b43}
.jses-product-card.jpp-product{height:100%;display:flex;flex-direction:column}
.jpp-product .jses-product-card__media{aspect-ratio:1/1;height:auto;min-height:0;display:flex;align-items:center;justify-content:center;background:#f4f5f6;overflow:hidden}
.jpp-product .jses-product-card__media img{width:82%;height:82%;max-width:82%;max-height:82%;object-fit:contain}
.jpp-product .jses-product-card__badge{font-size:12px;letter-spacing:.1em;line-height:1.35;padding:10px 13px}
.jpp-product .jses-product-card__body{display:flex;flex-direction:column;flex:1;gap:0}
.jpp-product .jses-product-card__model{font-size:12px;line-height:1.5;letter-spacing:.1em;margin:0 0 12px;overflow-wrap:anywhere}
.jpp-product .jses-product-card__title{font-size:clamp(19px,1.9vw,25px);line-height:1.25;margin:0 0 22px;overflow-wrap:anywhere}
.jpp-product .jses-product-card__facts{font-size:14px;line-height:1.5;margin:0}
.jpp-product .jses-product-card__facts>div{display:grid;grid-template-columns:minmax(72px,.7fr) minmax(0,1.7fr);gap:10px;margin:0 0 10px}
.jpp-product .jses-product-card__facts dt{font-weight:400;color:#707780}
.jpp-product .jses-product-card__facts dd{margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere}
.jpp-product .jses-product-card__guarantee{margin:18px 0 16px;color:#287b43}
.jpp-product .jses-product-card__footer{margin-top:auto;padding-top:12px}
.jpp-product .jlc-card-note{font-size:12px;color:#707780;margin:12px 0 0}
.jpp-product .jses-product-detail__visual{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.jpp-product .jses-product-detail__rim,.jpp-product .jses-product-detail__tire{min-width:0;min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f4f5f6}
.jpp-product .jses-product-detail__rim img,.jpp-product .jses-product-detail__tire img{object-fit:contain;max-width:92%;max-height:340px;width:100%;height:300px}
.jpp-product .jses-product-detail__media-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;font-size:11px;line-height:1.5;margin-top:12px}
.jpp-product .jses-product-detail__media-notes span{justify-content:center;text-align:center}
.jpp-product .jpp-sku{font-size:13px;color:#707780;overflow-wrap:anywhere;margin:8px 0 12px}
.jpp-product .jses-fit-guarantee__icon{color:#fff!important;flex:none}
.jpp-product .jses-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.jpp-product .jses-spec-card{min-width:0;overflow-wrap:anywhere}
.jpp-product .jses-spec-card dl>div{display:grid;grid-template-columns:minmax(90px,.9fr) minmax(0,1.1fr);gap:10px}
.jpp-product .jses-spec-card dd{margin:0;text-align:right;overflow-wrap:anywhere}
.jpp-product .jew-tyre-brand{width:100%;min-height:210px}
.jpp-product .jew-tyre-brand strong{white-space:normal;font-size:clamp(14px,1.5vw,22px)}
@media(max-width:600px){.jpp-product .jses-product-card__body{padding:20px}.jpp-product .jses-product-card__facts{font-size:14px}.jpp-product .jses-spec-grid{grid-template-columns:1fr}.jpp-product .jses-product-detail__rim,.jpp-product .jses-product-detail__tire{min-height:210px}.jpp-product .jses-product-detail__rim img,.jpp-product .jses-product-detail__tire img{height:220px;max-height:220px}.jpp-product .jses-product-card__badge{font-size:11px}.jpp-product .jses-product-detail__media-notes{font-size:10px}}

@media(max-width:600px){.jpp-product .jses-product-detail__media-notes{grid-template-columns:1fr}}

/* Premium tyre marker: presentation only, no changes to product data. */
.jpp-product .jses-product-card__media{position:relative}
.jpp-product .jpp-premium-badge{position:absolute;top:14px;left:14px;z-index:2;display:inline-flex;align-items:center;justify-content:center;max-width:calc(100% - 28px);padding:10px 14px;border:1px solid #ad842d;border-radius:4px;background:linear-gradient(115deg,#f4df9e 0%,#dbb85b 100%);color:#352709;font-size:12px;font-weight:850;line-height:1.25;letter-spacing:.1em;text-transform:uppercase;box-shadow:0 2px 6px #35270914;pointer-events:none}
@media(max-width:600px){.jpp-product .jpp-premium-badge{top:12px;left:12px;font-size:11px;padding:9px 12px;max-width:calc(100% - 24px)}}

/* Season marker opposite the premium badge, also on non-premium sets. */
.jpp-product .jses-product-detail__media{position:relative}
.jpp-product .jpp-season-badge{position:absolute;top:14px;right:14px;z-index:2;display:flex;align-items:center;justify-content:center;width:42px;height:42px;box-sizing:border-box;border:1px solid #c4dce9;border-radius:50%;background:#eff8fd;color:#126797;box-shadow:0 2px 6px #183e5514;pointer-events:none}
.jpp-product .jpp-season-badge svg{display:block;width:28px;height:28px;flex:none}
.jpp-product .jpp-season-badge--summer{background:#fff7e3;border-color:#e8cd91;color:#a66305}
.jpp-product .jpp-season-badge--allseason{background:linear-gradient(90deg,#fff7e3 50%,#eff8fd 50%);border-color:#d5d8ce}
@media(max-width:600px){.jpp-product .jpp-season-badge{top:12px;right:12px;width:38px;height:38px}.jpp-product .jpp-season-badge svg{width:25px;height:25px}}


/* Shared card actions: details above the native WooCommerce cart button. */
.jpp-product .jses-product-card__footer.jpp-card-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;margin-top:auto;border-top:1px solid var(--jses-line);padding-top:18px}
.jpp-product .jpp-card-summary{display:flex;flex-direction:column;justify-content:space-between;align-self:stretch;gap:20px;min-width:0}
.jpp-product .jpp-card-summary .jses-product-card__guarantee{margin:0;padding:0;border:0}
.jpp-product .jpp-card-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:130px}
.jpp-product .jpp-card-actions .jses-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:13px 18px;border:0;border-radius:0;background:var(--jses-red,#ed292f);color:#fff;font:inherit;font-weight:800;line-height:1.3;text-align:center;text-decoration:none;white-space:nowrap}
.jpp-product .jpp-card-actions .jses-button:hover{background:#c91e24;color:#fff}
.jpp-product .jpp-card-actions .jses-button:focus-visible{outline:3px solid #242424;outline-offset:3px}
.jpp-product .jpp-card-actions .loading{opacity:.65;pointer-events:none}
.jpp-product .jpp-card-actions .added_to_cart{font-size:14px;text-align:center;text-decoration:underline;padding:0}
@media(max-width:640px){.jpp-product .jses-product-card__footer.jpp-card-footer{grid-template-columns:1fr;gap:18px}.jpp-product .jpp-card-summary{gap:12px}.jpp-product .jpp-card-actions{width:100%}}

/* Larger product pagination: twice the previous 15px type, touch-friendly targets. */
body .woocommerce-pagination{width:100%}
body .woocommerce-pagination ul.page-numbers{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%;max-width:100%;padding:0;list-style:none}
body .woocommerce-pagination ul.page-numbers>li{display:block;flex:0 0 auto;margin:0;padding:0}
body .woocommerce-pagination ul.page-numbers>li>.page-numbers{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:52px;min-height:52px;padding:8px 12px;font-size:30px;line-height:1.2;text-align:center}
body .woocommerce-pagination a.page-numbers:focus-visible{outline:3px solid #333;outline-offset:3px}

/* NDI Aegir photo: compensate for padding so the rim matches the catalogue scale. */
.jpp-product .jses-product-card__media img[src*="ndi-a212689b26840a809b07"]{transform:scale(1.3)}


