/* Shared catalogue-card layout: identity on the image, then name, account price and action. */
.opti-store .og-product-card{--og-part-surface:#edf0f2;--og-card-action:#343a40;--og-card-hover:#202427;min-width:0;display:flex;flex-direction:column}
.opti-store .og-product-card[data-brand-tone="fuel"]{--og-part-surface:#f9eeeb;--og-card-action:#a52f32;--og-card-hover:#872629}
.opti-store .og-product-card[data-brand-tone="wave"]{--og-part-surface:#eaf1ed;--og-card-action:#006a70;--og-card-hover:#00545a}
.opti-store .og-product-card[data-brand-tone="power"]{--og-part-surface:#eaf1fb;--og-card-action:#0b57d0;--og-card-hover:#0842a0}
.opti-store .og-product-card .og-product-media{position:relative;isolation:isolate}
.opti-store .og-product-card .og-product-part{position:absolute;z-index:2;inset:14px auto auto 14px;display:inline-flex;align-items:center;width:fit-content;max-width:calc(100% - 28px);min-height:26px;margin:0;padding:4px 11px;border:0;border-radius:999px;background:var(--og-part-surface);color:#202124;font:400 12px/18px var(--og-catalogue-font);overflow-wrap:anywhere;letter-spacing:0;text-transform:none}
.opti-store .og-product-card .og-product-media img{padding-top:48px}
.opti-store .og-product-card .og-badge{inset:auto 14px 14px auto;margin:0}
.opti-store .og-product-card .og-product-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding-top:16px;min-width:0}
.opti-store .og-product-card .og-product-name{display:block;width:100%;min-height:44px}
.opti-store .og-product-card .og-product-copy :is(h2,h3){margin:0;overflow-wrap:anywhere;text-transform:none}
.opti-store .og-product-card .og-card-price{width:100%;min-height:24px;margin:8px 0 14px;line-height:22px}
body.opti-store .og-product-card .og-card-price a.og-trade-register-price,
body.opti-store .og-product-card .og-card-price a.button.wsp_button{font:400 13px/22px var(--og-catalogue-font)!important;color:#5f6368!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;min-height:0!important;padding:0!important;text-decoration:none!important;white-space:nowrap!important}
body.opti-store .og-product-card .og-card-price a:hover{color:var(--og-card-action)!important;text-decoration:none!important}
.opti-store .og-product-card .og-product-view{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:40px;max-width:100%;margin-top:auto;padding-block:5px;padding-inline:16px 6px;border:0;border-radius:999px;background:var(--og-card-action);color:#fff;font:500 13px/20px var(--og-font);text-decoration:none!important;white-space:nowrap;transition:background-color .15s ease}
.opti-store .og-product-card .og-product-view:hover{background:var(--og-card-hover);text-decoration:none!important}
.opti-store .og-product-view-arrow{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#ffffff26}
.opti-store .og-product-view-arrow .og-icon{display:flex;width:17px;height:17px}
.opti-store .og-product-view-arrow svg{width:100%;height:100%}
@media(max-width:600px){
 .opti-store .og-product-card .og-product-part{inset:12px auto auto 12px;max-width:calc(100% - 24px);padding:4px 9px;font-size:11px;line-height:17px;min-height:25px}
 .opti-store .og-product-card .og-product-copy{padding-top:14px}
 .opti-store .og-product-card .og-product-name{min-height:42px}
 .opti-store .og-product-card .og-product-view{gap:8px;min-height:40px;padding-left:13px;font-size:12px}
 .opti-store .og-product-card .og-card-price{margin:7px 0 12px}
}
@media(max-width:360px){
 .opti-store .og-product-card .og-product-view{padding-left:10px;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.opti-store .og-product-card .og-product-view{transition:none}}

/* OP1004/OP1007 have tighter source canvases than the approved OP1001.
   Scale the image only, keeping the card, labels and purchase controls fixed. */
body.opti-store :is(.og-product-media,.og-compare-image,.og-category-card,.og-menu-card) img[data-og-card-scale]{transform:scale(var(--og-card-image-scale,1))!important;transform-origin:center;transition:none!important}
