/* Portails : shell et composants communs Onlybaie V2, sans styles de l'archive. */
#op-produits .ob-portail-pagination{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:24px 0}
#op-produits .ob-portail-pagination>span{font-size:13px;color:#666;margin-right:12px}
#op-produits .ob-portail-pagination>a{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #ccc;border-radius:4px;background:#fff;font-size:14px;font-weight:700}
#op-produits .ob-portail-pagination>a[aria-current=page]{background:#D81F26;color:#fff;border-color:#D81F26}
#op-produits .ob-portail-pagination>a:focus-visible{outline:3px solid #D81F26;outline-offset:3px}
#op-produits .ob-portail-familles{grid-template-columns:repeat(3,minmax(0,1fr))}
#op-produits .ob-portail-famille{display:flex;flex-direction:column}
#op-produits .ob-portail-famille .obp-card-image{aspect-ratio:8/5;background:#fff}
#op-produits .ob-portail-famille .obp-card-image img{width:100%;height:100%;object-fit:contain!important}
#op-produits .ob-portail-famille .obp-card-body{display:flex;flex-direction:column;flex:1}
#op-produits .ob-portail-famille .obp-card-body>p{font-size:15px;line-height:1.6;margin:12px 0 24px}
#op-produits .ob-portail-famille .obp-card-actions{margin-top:auto}
#op-produits .ob-portail-preparation{margin-top:30px}
@media(max-width:800px){#op-produits .ob-portail-familles{grid-template-columns:1fr}}
.ob-portail-notice{border-left:3px solid #D81F26;padding:12px 16px;background:#f5f5f5;color:#555;font-size:14px;line-height:1.6}
#op-produits .ob-portail-styles{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}#op-produits .ob-portail-styles a{display:flex;gap:24px;align-items:center;padding:15px 20px;border:1px solid #ddd;border-radius:6px;color:#111;text-decoration:none;font-size:16px;font-weight:700}#op-produits .ob-portail-styles a[aria-current=page]{border-color:#D81F26;background:#fff5f5;box-shadow:inset 0 -3px #D81F26}#op-produits .ob-portail-styles span{color:#777;font-size:14px}
#op-produits .ob-portail-filters{display:flex;flex-wrap:wrap;gap:18px;align-items:end;margin:0 0 26px}#op-produits .ob-portail-filters label{font-size:14px;font-weight:700;display:grid;gap:8px}#op-produits .ob-portail-filters input,#op-produits .ob-portail-filters select{height:46px;border:1px solid #ccc;background:#fff;border-radius:4px;font:inherit;padding:10px 12px;max-width:100%}#op-produits .ob-portail-filters p{font-size:14px;color:#666;margin-left:auto}
#op-produits .ob-portail-card .obp-card-image{aspect-ratio:960/550!important;background:#f2f0eb}#op-produits .ob-portail-card .obp-card-image img{width:100%;height:100%;object-fit:contain!important}#op-produits .ob-portail-card .obp-card-body>p{font-size:14px;line-height:1.6;margin:8px 0}#op-produits .ob-portail-card .obp-card-actions small{display:block;text-align:center;font-size:12px;color:#666;line-height:1.6;margin-top:8px}#op-produits .ob-portail-dessin{font-weight:700}
#op-produits .ob-portail-palette{display:flex;align-items:center;gap:6px;padding:14px 0;font-size:14px;color:#555}#op-produits .ob-portail-palette i{width:24px;height:24px;border-radius:50%;border:1px solid #ccc}#op-produits .ob-portail-palette span{margin-left:8px}#op-produits .ob-portail-footnote{font-size:14px;color:#666;line-height:1.6;margin-top:24px}
#op-produits .ob-portail-fiche{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:48px;align-items:center;padding-bottom:50px}#op-produits .ob-portail-fiche figure{margin:0;min-width:0}#op-produits .ob-portail-fiche figure img{display:block;width:100%;height:auto;border-radius:8px}#op-produits .ob-portail-fiche figcaption{font-size:14px;color:#666;text-align:center;margin-top:12px}#op-produits .ob-portail-specs{display:grid;gap:12px;margin:24px 0}#op-produits .ob-portail-specs div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #eee;padding-bottom:12px;font-size:14px}#op-produits .ob-portail-specs dt{color:#777}#op-produits .ob-portail-specs dd{margin:0;text-align:right;font-weight:600}
#op-produits .ob-portail-config-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}#op-produits .ob-portail-config-heading h1{font:800 clamp(28px,3vw,40px)/1.15 Manrope,sans-serif;letter-spacing:-1px;margin:6px 0 10px}#op-produits .ob-portail-config-heading p{margin:0;color:#666;font-size:16px}#op-produits .ob-portail-config-heading>a{color:#555;font-size:14px;text-underline-offset:4px}

#onlybaie-perspective #op-produits:has(.pb-config){max-width:none;padding-inline:24px}
#op-produits .ob-portail-config-heading{margin-bottom:18px}
#op-produits .ob-portail-config-heading h1{font-size:32px;margin:0 0 6px}
#op-produits .ob-portail-config-heading p{font-size:14px}
#op-produits .pb-config{padding-bottom:20px;scroll-margin-top:150px;font-family:'DM Sans',sans-serif;color:#111}
#op-produits .pb-config *{box-sizing:border-box}
#op-produits .pb-config :is(button,input){font-family:inherit}
#op-produits .pb-config button{cursor:pointer}
#op-produits .pb-config button:disabled{opacity:.4;cursor:not-allowed}
#op-produits .pb-config :is(button,a,input):focus-visible,#op-produits .ob-portail-filters :focus-visible,#op-produits .ob-portail-styles a:focus-visible{outline:3px solid #D81F26;outline-offset:3px}
#op-produits .pb-steps{margin-bottom:16px}
#op-produits .pb-steps .ob-stepwrap{position:relative;display:inline-flex;pointer-events:none}
#op-produits .pb-steps .ob-step{pointer-events:auto}
@media(hover:hover) and (min-width:651px){.pb-steps .ob-stepwrap:hover:after{content:attr(data-etape);position:absolute;left:50%;transform:translateX(-50%);top:46px;background:#D81F26;color:#fff;border-radius:4px;padding:7px 10px;white-space:nowrap;font-size:12px;box-shadow:0 2px 8px #0002}}
#op-produits .pb-layout{display:grid;grid-template-columns:400px minmax(0,1fr) 280px;gap:16px;align-items:stretch;min-width:0}
#op-produits .pb-panel,#op-produits .pb-visual-panel,#op-produits .pb-summary{border:1px solid #ddd;border-radius:8px;background:#fff;min-width:0;overflow:hidden;display:flex;flex-direction:column}
#op-produits .pb-panel-heading{font-size:12px;line-height:1.5;letter-spacing:.2px;margin:0;font-weight:700;color:#fff;text-transform:uppercase;padding:12px 14px;min-height:42px;flex-shrink:0;scroll-margin-top:12px}
#op-produits .pb-panel-heading span{font-weight:400;opacity:.7}
#op-produits .pb-panel-body{padding:12px 14px;overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#bbb transparent}
#op-produits .pb-panel .pg-options-nav{display:none}
#op-produits .pb-help{font-size:12px;color:#777;line-height:1.5;margin:0 0 14px}
#op-produits .pb-group{border:0;margin:0 0 18px;padding:0;min-width:0}
#op-produits .pb-group legend{font-size:13px;font-weight:750;margin-bottom:10px;padding:0}
#op-produits .pb-choices{display:grid;gap:8px}
#op-produits .pb-choice{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:11px 12px;background:#fff;color:#111;border:1px solid #ddd;border-radius:6px;text-align:left}
#op-produits .pb-choice[aria-pressed=true]{border-color:#D81F26;background:#fff8f8;box-shadow:inset 0 0 0 .5px #D81F26}
#op-produits .pb-choice:not(:disabled):hover{border-color:#999}
#op-produits .pb-choice[aria-pressed=true]:hover{border-color:#D81F26}
#op-produits .pb-choice-copy{display:block;flex:1;min-width:0}
#op-produits .pb-choice strong,#op-produits .pb-accessory strong{font-size:13px;font-weight:750;line-height:1.4;display:block}
#op-produits .pb-choice small,#op-produits .pb-accessory small,#op-produits .pb-check small{display:block;font-size:12px;line-height:1.5;color:#737373;margin-top:3px}
#op-produits .pb-choice .pb-choice-type{font-size:10px;text-transform:uppercase;letter-spacing:.45px;color:#777;margin:0 0 4px}
#op-produits .pb-choice img{width:74px;height:68px;object-fit:contain;background:#fff;border-radius:4px;flex-shrink:0}
#op-produits .pb-choice-check{display:grid;place-items:center;width:17px;height:17px;border:1px solid #ccc;border-radius:50%;flex-shrink:0;font-size:11px;color:#fff}
#op-produits .pb-choice[aria-pressed=true] .pb-choice-check{background:#D81F26;border-color:#D81F26}
#op-produits .pb-mini-vantaux{display:block;width:118px;height:39px;margin-top:3px}
#op-produits .pb-choice-copy:has(.pb-mini-vantaux){display:grid;grid-template-columns:1fr 118px;gap:8px;align-items:center}
#op-produits .pb-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#op-produits .pb-field{display:block;margin-bottom:14px;font-size:12px;font-weight:700;min-width:0}
#op-produits .pb-field>span:first-child{display:flex;gap:6px;align-items:center;min-height:30px;line-height:1.3}
#op-produits .pb-field i{display:inline-grid;place-items:center;width:20px;height:20px;flex-shrink:0;font-style:normal;background:#D81F26;color:#fff;border-radius:3px;font-size:12px}
#op-produits .pb-input-unit{display:flex;align-items:center;margin-top:7px;border:1px solid #bbb;border-radius:5px;overflow:hidden;background:#fff}
#op-produits .pb-input-unit:focus-within{outline:2px solid #D81F26;outline-offset:1px}
#op-produits .pb-input-unit input,#op-produits .pb-input-unit select{width:100%;min-width:0;padding:11px 10px;border:0;font:inherit;font-size:17px;font-weight:700;color:#111;background:#fff;outline:none!important}
#op-produits .pb-input-unit b{font-size:12px;font-weight:500;color:#888;padding-right:10px}
#op-produits .pb-field>small{display:block;font-weight:400;color:#777;font-size:11px;margin-top:6px;line-height:1.5}
#op-produits .pb-check{display:flex;align-items:start;gap:9px;font-size:13px;line-height:1.5;padding:12px;border:1px solid #ddd;border-radius:5px;margin:0 0 16px}
#op-produits .pb-config input[type=checkbox]{accent-color:#D81F26;width:16px;height:16px;margin:2px 0 0;flex-shrink:0}
#op-produits .pb-error{display:block;color:#b31219;font-size:12px;line-height:1.5;margin:5px 0 10px;font-weight:500}
#op-produits .pb-text-button{display:block;border:0;background:none;color:#666;padding:4px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px;text-align:left;line-height:1.5;margin:0 0 14px}
#op-produits .pb-info{padding:12px;background:#f5f5f5;border-radius:5px;font-size:12px;color:#555;line-height:1.6;margin:0 0 14px}
#op-produits .pb-info .pb-text-button{margin:6px 0 0;color:#D81F26}
#op-produits .pb-finish-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 10px}
#op-produits .pb-finish-tabs button{font-size:11px;color:#666;padding:6px 9px;border:1px solid #ddd;border-radius:4px;background:#fff}
#op-produits .pb-finish-tabs button[aria-pressed=true]{color:#fff;background:#444;border-color:#444}
#op-produits .pb-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#op-produits .pb-swatches button{padding:4px;border:1px solid #ddd;border-radius:4px;background:#fff;min-width:0}
#op-produits .pb-swatches button[aria-pressed=true]{border:2px solid #D81F26;padding:3px}
#op-produits .pb-swatches button>span{display:block;height:30px;border:1px solid #0001;border-radius:2px}
#op-produits .pb-swatches small{display:block;font-size:11px;color:#444;padding-top:4px}
#op-produits .pb-swatches em{display:block;font-style:normal;font-size:9px;color:#888}
#op-produits .pb-color-label{font-size:12px;font-weight:700;line-height:1.5;margin:10px 0 0}
#op-produits .pb-accessory{display:flex;align-items:center;gap:10px;border:1px solid #ddd;border-radius:6px;padding:10px;cursor:pointer}
#op-produits .pb-accessory:has(input:checked){background:#fff8f8;border-color:#D81F26}
#op-produits .pb-accessory img{width:60px;height:60px;object-fit:contain;background:#fff}
#op-produits .pb-accessory span{flex:1;min-width:0}
#op-produits .pb-view-buttons{display:flex;gap:5px;padding:9px 10px;flex-shrink:0}
#op-produits .pb-view-buttons button{background:#fff;border:1px solid #ddd;border-radius:4px;padding:6px 8px;color:#666;font-size:11px;font-weight:600}
#op-produits .pb-view-buttons button[aria-pressed=true]{background:#444;border-color:#444;color:#fff}
#op-produits .pb-scene{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;background:#fafaf8;overflow:hidden}
#op-produits .pb-visuel{width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;background:#fafaf8}
/* Le viewBox entier doit tenir en largeur ET en hauteur, même dans une fenêtre basse. */
#op-produits .pb-visuel>svg,#op-produits .pb-scene>svg{display:block;width:100%;height:100%!important;max-height:100%;min-height:0;object-fit:contain}
#op-produits .pb-visual-caption{font-size:10px;line-height:1.5;color:#888;text-align:center;padding:8px 10px}
#op-produits .pb-scene-navigation{display:flex;justify-content:space-between;align-items:center;gap:8px;row-gap:8px;flex-wrap:wrap;border-top:1px solid #eee;padding:12px 14px;flex-shrink:0}
#op-produits .pb-visual-tools{display:flex;align-items:center;gap:10px}
#op-produits .pb-loupe{display:inline-flex;align-items:center;background:none;color:#4a4f54;border:0;padding:3px}
#op-produits .pb-chevron{border:0;background:linear-gradient(180deg,#e2413f,#b3161c);color:#fff;font-size:12px;font-weight:700;padding:10px 23px 10px 13px;flex-shrink:0;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%)}
#op-produits .pb-chevron-prev{background:linear-gradient(180deg,#9aa0a6,#6e7379);padding:10px 13px 10px 23px;clip-path:polygon(14px 0,100% 0,100% 100%,14px 100%,0 50%)}
#op-produits .pb-restart{background:linear-gradient(180deg,#9aa0a6,#6e7379);color:#fff;border:0;border-radius:6px;font-size:11px;font-weight:700;padding:9px 12px}
#op-produits .pb-summary-body{flex:1;min-height:0;overflow:auto;padding:0 14px;scrollbar-width:thin;scrollbar-color:#ccc transparent}
#op-produits .pb-recap-table{margin:0}
#op-produits .pb-recap-table>div{padding:10px 0;border-bottom:1px solid #eee}
#op-produits .pb-recap-table dt{display:flex;justify-content:space-between;gap:5px;font-size:11px;line-height:1.4;color:#888}
#op-produits .pb-recap-table dt button{border:0;background:none;color:#888;text-decoration:underline;font-size:10px;padding:0;flex-shrink:0}
#op-produits .pb-recap-table dd{margin:4px 0 0;font-size:13px;line-height:1.45;font-weight:650;color:#222}
#op-produits .pb-price{border-top:1px solid #ddd;padding:13px 14px 6px;flex-shrink:0}
#op-produits .pb-price>small{display:block;color:#888;font-size:10px;line-height:1.5}
#op-produits .pb-price>strong{display:block;color:#D81F26;font-size:27px;font-weight:800;letter-spacing:-.7px;line-height:1.25;margin:4px 0}
#op-produits .pb-price strong span{font-size:12px;letter-spacing:0}
#op-produits .pb-price p{font-size:10px;color:#888;line-height:1.45;margin:6px 0 0}
#op-produits .pb-delivery{display:block;font-size:11px;color:#52715a;font-weight:700;margin-top:6px}
#op-produits .pb-summary-actions{padding:9px 14px}
#op-produits .pb-summary-actions .pb-text-button{margin:6px auto 0;text-align:center;font-size:10px}
#op-produits .pb-primary,#op-produits .pb-secondary{width:100%;padding:12px 10px;border-radius:5px;font-size:13px;font-weight:750;line-height:1.4}
#op-produits .pb-primary{background:#D81F26;color:#fff;border:1px solid #D81F26}
#op-produits .pb-secondary{background:#fff;color:#444;border:1px solid #ccc}
#op-produits .pb-status{font-size:13px;color:#555;line-height:1.5;margin:14px 0 0}
#op-produits .pb-status:empty{display:none}
#op-produits .pb-local-notice{font-size:11px;line-height:1.5;color:#888;margin:12px 0 0}
#op-produits .pb-mobile-action{display:none}
#op-produits .pb-zoom,#op-produits .pb-recap-dialog{width:min(1200px,96vw);max-height:94dvh;margin:auto;border:0;border-radius:8px;padding:0;box-shadow:0 20px 80px #0005}
#op-produits .pb-zoom::backdrop,#op-produits .pb-recap-dialog::backdrop{background:#0009}
#op-produits .pb-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#292c31;color:#fff;padding:12px 16px;font-size:14px;position:sticky;top:0;z-index:1}
#op-produits .pb-dialog-heading .pb-secondary{width:auto;font-size:12px;padding:7px 12px}
#op-produits .pb-zoom .pb-visuel,#op-produits .pb-zoom>svg{height:min(68.75vw,75dvh)!important;max-height:75dvh;width:100%}
#op-produits .pb-zoom>.pb-help{padding:12px 16px;margin:0}
#op-produits .pb-recap-dialog{width:min(560px,94vw)}
#op-produits .pb-dialog-body{padding:4px 20px 20px}
#op-produits .pb-dialog-body .pb-price{margin-top:16px;padding-inline:0}
#op-produits .pb-price-details{font-size:12px;line-height:1.5;color:#666;margin:12px 0 16px}
#op-produits .pb-price-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#op-produits .pb-price-details dl>div{display:flex;justify-content:space-between;gap:12px;margin:8px 0}
#op-produits .pb-price-details dd{margin:0;white-space:nowrap;font-weight:650}
@media(min-width:1051px){
  #op-produits:has(.pb-config) .obp-crumbs{padding:12px 0}
  #op-produits .ob-portail-config-heading h1{font-size:28px;line-height:1.15;margin-bottom:4px}
  #op-produits .ob-portail-config-heading{margin-bottom:12px}
  #op-produits .pb-steps{margin-bottom:10px}
  .pb-panel,.pb-visual-panel,.pb-summary{height:clamp(370px,calc(100dvh - 265px),636px)}
}
@media(min-width:1051px) and (max-width:1150px){#onlybaie-perspective #op-produits:has(.pb-config){padding-inline:14px}#op-produits .pb-layout{grid-template-columns:350px minmax(0,1fr) 245px;gap:13px}#op-produits .pb-scene-navigation{padding:10px}#op-produits .pb-choice-copy:has(.pb-mini-vantaux){grid-template-columns:1fr 94px}#op-produits .pb-mini-vantaux{width:94px}}
@media(max-width:1050px){
  #onlybaie-perspective #op-produits:has(.pb-config){padding-inline:16px}
  #op-produits .pb-config{padding-bottom:105px}
  #op-produits .pb-layout{display:flex;flex-direction:column;gap:16px}
  #op-produits .pb-visual-panel{order:-1;width:100%}
  #op-produits .pb-panel-body{overflow:visible}
  #op-produits .pb-panel .pg-options-nav{display:flex}
  #op-produits .pb-scene-navigation{justify-content:center}
  #op-produits .pb-scene-navigation>.pb-chevron{display:none}
  #op-produits .pb-summary{display:none}
  #op-produits .pb-scene{flex:none;aspect-ratio:1536/880;max-height:435px}
  #op-produits .pb-scene>.pb-visuel,#op-produits .pb-scene>svg{max-width:760px}
  #op-produits .pb-mobile-action{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;align-items:center;gap:14px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ddd;box-shadow:0 -3px 16px #0001}
  #op-produits .pb-mobile-action>div{flex:0 0 auto;max-width:42%}
  #op-produits .pb-mobile-action small{display:block;font-size:10px;color:#888}
  #op-produits .pb-mobile-action strong{display:block;color:#D81F26;font-size:20px;line-height:1.4}
  #op-produits .pb-mobile-action button{flex:1;min-width:0;font-size:12px}
  #op-produits .ob-portail-config-heading{align-items:start;flex-direction:column;gap:10px}
  #op-produits .ob-portail-config-heading h1{font-size:28px}
  #op-produits .ob-portail-config-heading>a{font-size:12px}
  #op-produits .ob-portail-fiche{grid-template-columns:1fr;gap:24px}
  #op-produits .ob-portail-fiche figure{grid-row:1}
  #op-produits .ob-portail-filters label{flex:1 1 160px}
  #op-produits .ob-portail-filters p{margin-left:0}
  #op-produits .ob-portail-styles{gap:8px}
  #op-produits .ob-portail-styles a{flex:1 1 40%;justify-content:space-between;padding:12px;font-size:14px}
}
@media(max-width:360px){.pb-choice-copy:has(.pb-mini-vantaux){grid-template-columns:1fr 84px}#op-produits .pb-mini-vantaux{width:84px}#op-produits .pb-dimensions{gap:8px}#op-produits .pb-field>span:first-child{font-size:11px}#op-produits .pb-mobile-action{gap:8px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.pb-config *{scroll-behavior:auto!important}}

#op-produits .pb-opening-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#op-produits .pb-opening-grid .pb-choice{position:relative;padding:10px 8px;align-items:start}
#op-produits .pb-opening-grid .pb-choice-check{position:absolute;right:7px;top:10px;width:14px;height:14px}
#op-produits .pb-opening-grid strong{padding-right:13px}
#op-produits .pb-opening-diagram{display:block;width:100%;height:auto;margin:8px 0 0}
#op-produits .pb-mini-ouverture{display:block;width:100%;height:auto;margin:8px 0 0}
@media(max-width:1050px){#op-produits .pb-config[data-type-portail="portillon"] .pb-scene{aspect-ratio:1030/1050;max-height:435px}}
#op-produits .pb-color-search{width:100%;border:1px solid #ccc;border-radius:5px;padding:10px;font-size:14px;margin-bottom:10px}
#op-produits .pb-swatches{max-height:238px;overflow:auto;padding:3px;scrollbar-width:thin}
#op-produits .pb-swatches small{font-size:12px;line-height:1.25}
#op-produits .pb-finitions{border:0;padding:0;margin:16px 0 0;min-width:0}
#op-produits .pb-finitions legend{font-size:14px}
#op-produits .pb-finitions legend span{font-weight:400;color:#777;font-size:12px}
#op-produits .pb-finitions .pb-finish-tabs button{font-size:13px;min-height:38px;padding:8px 10px}
#op-produits .pb-finitions .pb-finish-tabs button[aria-pressed=true]{background:#D81F26;border-color:#D81F26}
#op-produits .pb-visual-caption{flex-shrink:0}
