/* Un seul format pour les modèles, les volets et la sélection de l'accueil. */
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-grid{gap:20px;align-items:stretch}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card{display:flex;height:auto;border-radius:12px;background:#fff;min-width:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-image{display:block;height:auto;min-height:0;aspect-ratio:1;padding:0;background:#f7f7f5}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-image img{display:block;height:100%;width:100%;aspect-ratio:auto;object-fit:cover;filter:none;transform:none}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-origin{position:static;white-space:nowrap;padding:5px 7px;font-size:9px;gap:6px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-origin i{width:18px;height:12px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-body{padding:10px 16px 14px;gap:0;min-width:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:27px;margin-bottom:5px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-meta>small{font-size:9px;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;color:#70706b}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-profile{width:56px;height:26px;object-fit:contain}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-meta .obp-motor-brand{width:53px;height:26px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-meta .obp-vr-brands{margin:0;flex-shrink:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-meta .obp-vr-brands>small{display:none}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-meta .obp-vr-brands>div{margin:0;gap:8px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-title{font-size:20px;line-height:1.2;letter-spacing:-.025em;margin:0 0 8px;min-height:0;overflow-wrap:anywhere}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-copy{font-size:12px;line-height:1.5;margin:0 0 12px;color:#686863}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-keypoints{padding:8px 0 6px;border-top:1px solid #eeeee9}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-keypoints dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-keypoints dt{font-size:10px;color:#6d6d68;margin-bottom:4px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-keypoints dd{font-size:15px;font-weight:650;line-height:1.3;margin:0;color:#222;white-space:nowrap}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-keypoints dd span{font-size:10px;font-weight:400;color:#777}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-keypoints>small{display:block;font-size:9px;line-height:1.45;color:#777;margin-top:6px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:35px;font-size:11px;padding:3px 0 8px;color:#666}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options>strong{font-weight:550;color:#333;text-align:right}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-swatches{display:flex;align-items:center;gap:4px;flex-shrink:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-swatches .obp-swatches{gap:3px;margin:0;flex-wrap:nowrap}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-swatches .obp-swatch{width:16px;height:16px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-swatches>small{font-size:10px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-colors{padding:0;margin:0;border:0;background:none;gap:8px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-colors svg{width:25px;height:25px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-colors strong{font-size:11px;font-weight:550}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more{border-top:1px solid #eeeee9;min-width:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;list-style:none;cursor:pointer;font-size:11px;font-weight:550;color:#444}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more>summary::-webkit-details-marker{display:none}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more>summary>span{color:#d81f26;font-size:18px;line-height:1}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more[open]>summary>span{transform:rotate(45deg)}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more>div{padding:2px 0 12px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more .obp-features{margin:0 0 12px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more p{font-size:11px;line-height:1.55}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-actions{padding-top:2px;gap:6px;margin-top:auto}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-actions .obp-button{min-height:46px;font-size:13px;padding:12px 15px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-actions>small{font-size:9px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more>summary:focus-visible{outline:2px solid #d81f26;outline-offset:2px;border-radius:3px}
/* Les lignes suivent le contenu le plus long, sans masquer ni tronquer les textes. */
@supports(grid-template-rows:subgrid){
 #onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card{display:grid;grid-row:span 7;grid-template-rows:subgrid;row-gap:0}
 #onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-body{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0}
}
@media(max-width:650px){
 #onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card{display:flex;grid-row:auto}
 #onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-body{display:flex;padding:10px 16px 14px}
 #onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card .obp-card-title{font-size:19px}
}

/* Le repère de commande reste visible sur les variantes de volet. */
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-command{padding:0;margin:0;min-height:44px;gap:7px;border:0}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-command img{width:40px;height:40px;object-fit:contain}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-command strong{font-size:10px}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-options .obp-vr-command span{display:none}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-vr-card .obp-card-options .obp-vr-colors svg{display:none}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-vr-card .obp-card-options .obp-vr-colors strong{font-size:10px;text-align:right}

/* Ces photos très verticales montrent le seuil entier, sans recadrer la menuiserie. */
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-unified-card:is([data-model="porte-fenetre-1-vantail"],[data-model="porte-fenetre-1-vantail-alu"]) .obp-card-image img{object-fit:contain}
#onlybaie-perspective :is(#op-produits,#op-bestsellers) .obp-card-more .obp-card-copy{margin:4px 0 14px}
