/* Product presentation only. Native controls, prices and request runtime are unchanged. */
#product:has(.lst-order-host) .product__price{margin-bottom:0}
#product:has(.lst-order-host) .product__description-short:empty{display:none}
#product:has(.lst-order-host) .lst-product-specs{flex-wrap:wrap;gap:6px 18px}
#product:has(.lst-order-host) .lst-product-specs__item{align-items:baseline;gap:6px;border:0}
#product:has(.lst-order-host) .lst-product-specs dt{margin:0}
#product:has(.lst-order-host) .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{height:auto;aspect-ratio:1;object-fit:contain}
#product:has(.lst-order-host) .product__variants{margin-bottom:12px;gap:12px}
#product:has(.lst-order-host) .product__variants .product-variants-item{margin-bottom:0}
#product:has(.lst-order-host) .lst-metal-colors{margin:10px 0 0}
#product:has(.lst-order-host) .lst-metal-colors legend{font-size:14px;margin-bottom:8px}
#product:has(.lst-order-host) .lst-metal-colors-grid{gap:6px}
#product:has(.lst-order-host) .lst-metal-color{min-height:44px;padding:6px;gap:6px}
#product:has(.lst-order-host) .lst-metal-color-sample{width:22px;height:24px;flex-basis:22px}
#product:has(.lst-order-host) .lst-metal-colors-selected{margin-top:8px;font-size:14px}
#product:has(.lst-order-host) .lst-metal-color-note{margin-top:5px;line-height:1.4}
#product:has(.lst-order-host) .lst-metal-coating-note{margin-top:8px;padding:8px 10px;font-size:12px;line-height:1.4}
/* Source features remain in the native lower tab; suppress only the duplicate. */
#product:has(.lst-order-host):has(#lst-panel-features) .lst-card-features{display:none}
#product:has(.lst-order-host) .product__additional-info{gap:12px}
#product:has(.lst-order-host) .product__additional-info>.ps-sharebuttons{order:10;margin-top:0;font-size:13px}
#product .lst-order-host--compact{margin:0;padding:16px;background:#f5f7fb}
.lst-order-host--compact h2{font-size:18px;margin:0 0 6px}
.lst-order-host--compact>p{font-size:13px;line-height:1.45;margin-bottom:10px}
.lst-order-host--compact .lst-order-field{margin:8px 0;font-size:13px;line-height:1.4}
.lst-order-host--compact .lst-order-field input,.lst-order-host--compact .lst-order-field select,.lst-order-host--compact .lst-order-field textarea{padding:8px 10px;min-height:44px;font-size:14px}
.lst-order-host--compact .lst-order-grid{gap:0 12px}
.lst-order-host--compact .small{font-size:12px;line-height:1.45;margin-bottom:6px}
.lst-order-note{border-top:1px solid #dce3ee;border-bottom:1px solid #dce3ee;margin:10px 0}
.lst-order-note>summary{padding:12px 0;min-height:44px;font-size:13px;font-weight:600;cursor:pointer}
.lst-order-note>summary:focus-visible{outline:3px solid #123b8f;outline-offset:2px}
.lst-order-host--compact .lst-source-info{margin-top:10px}
.lst-order-host--compact .lst-source-info p{margin-bottom:5px}
.lst-order-host--compact .lst-source-info strong{color:#17233c;font-size:13px}
.lst-order-host--compact .lst-order-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}
.lst-order-host--compact .lst-order-actions button{font-size:13px;padding:9px 12px;min-height:46px}
.lst-order-host--compact .lst-order-result:empty{margin:0}
@media(max-width:991px){
  #product:has(.lst-order-host) .product__container{grid-template-columns:minmax(0,1fr);gap:18px}
  #product:has(.lst-order-host) .product__left{width:100%;max-width:440px;justify-self:center}
  #product:has(.lst-order-host) .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{max-height:300px}
}
@media(max-width:575px){
  #product:has(.lst-order-host) .product__right{padding:14px}
  #product:has(.lst-order-host) .lst-metal-colors-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #product:has(.lst-order-host) .lst-metal-color{font-size:11px;gap:4px;padding:5px}
  #product:has(.lst-order-host) .lst-metal-color-sample{width:18px;flex-basis:18px}
  #product .lst-order-host--compact{padding:12px}
  .lst-order-host--compact .lst-order-actions{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:359px){#product:has(.lst-order-host) .lst-metal-colors-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 2026-10-27: native form hierarchy retained; presentation in three columns. */
.lst-card-selection-title{display:none}
.lst-card-facts{padding:12px 16px}
.lst-card-photo-note{color:#68748a;font-size:12px;line-height:1.45}
.lst-card-features-link,.lst-card-volume-help{display:inline-flex;align-items:center;min-height:44px;color:#123b8f;font-size:14px}
.lst-card-chips{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 12px}
.lst-card-chip{min-width:58px;min-height:44px;border:1px solid #dce3ee;border-radius:6px;padding:8px 12px;background:#fff;color:#17233c;font:inherit;font-size:14px}
.lst-card-chip[aria-pressed=true]{border:2px solid #123b8f;background:#edf2fb;color:#102e70;padding:7px 11px}
.lst-card-chip:disabled{opacity:.5;cursor:wait}
.lst-card-chip-source{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;clip-path:inset(50%);overflow:hidden}
.lst-card-chip:focus-visible,.lst-card-guide summary:focus-visible{outline:3px solid #123b8f;outline-offset:3px}
.lst-card-guide{border-block:1px solid #dce3ee;padding:4px 0;margin:12px 0;font-size:13px}
.lst-card-guide summary{padding:12px 0;min-height:44px;cursor:pointer;color:#123b8f}
.lst-card-summary{font-size:14px;margin:16px 0}
.lst-card-summary>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;border-bottom:1px solid #dce3ee;padding:8px 0}
.lst-card-summary dt{font-weight:400;color:#68748a}.lst-card-summary dd{margin:0;font-weight:600;overflow-wrap:anywhere}
#product:has(.lst-order-host) .product__container{grid-template-columns:minmax(0,.26fr) minmax(0,.74fr);gap:24px;align-items:start}
#product:has(.lst-order-host) .product__left{max-width:none;width:auto;min-width:0;align-self:start}
#product:has(.lst-order-host) .product__right{padding:0;background:transparent;border:0;min-width:0}
#product:has(.lst-order-host) .product__name{margin:0 0 16px;font-size:clamp(24px,2vw,32px)}
#product:has(.lst-order-host) #add-to-cart-or-refresh{display:grid;grid-template-columns:minmax(0,1.47fr) minmax(0,1fr);gap:16px 24px;align-items:start}
#product:has(.lst-order-host) .lst-card-price-slot{grid-column:2;grid-row:1}
#product:has(.lst-order-host) .product__prices{margin:0;padding:14px 16px;border-radius:8px;font-size:14px}
#product:has(.lst-order-host) .product__price{font-size:23px}
#product:has(.lst-order-host) .lst-card-variants{grid-column:1;grid-row:1 / span 2;min-width:0}
#product:has(.lst-order-host) .lst-card-selection-title{display:block;font-size:19px;margin:0 0 14px}
#product:has(.lst-order-host) .product__additional-info,#product:has(.lst-order-host) .lst-order-host:not([data-lst-order-edit]),#product:has(.lst-order-host) .lst-order-host:not([data-lst-order-edit])>.lst-order-form{display:contents}
#product:has(.lst-order-host) .lst-card-fields{grid-column:1;grid-row:3;padding:0;min-width:0}
#product:has(.lst-order-host) .lst-card-order{grid-column:2;grid-row:2 / span 3;background:#f5f7fb;border:1px solid #dce3ee;border-radius:10px;padding:16px;min-width:0}
#product:has(.lst-order-host) .lst-card-order>h2{font-size:19px;margin:0 0 8px}
#product:has(.lst-order-host) .lst-card-order>p{font-size:13px;line-height:1.5}
#product:has(.lst-order-host) .lst-order-grid{grid-template-columns:minmax(0,1fr)}
#product:has(.lst-order-host) .lst-order-actions{grid-template-columns:minmax(0,1fr)}
#product:has(.lst-order-host) .lst-order-actions [data-lst-order-action=add]{background:#d71920;border-color:#d71920;color:white;font-weight:600}
#product:has(.lst-order-host) .lst-product-contact{grid-column:2;grid-row:5;margin:0;padding:14px;border-top:1px solid #dce3ee;min-width:0;background:transparent}
#product:has(.lst-order-host) .lst-product-contact__title{font-size:16px;margin:0 0 6px}
#product:has(.lst-order-host) .lst-product-contact p{font-size:13px;line-height:1.5}
#product:has(.lst-order-host) .lst-product-contact a{white-space:normal;min-height:44px}
#product:has(.lst-order-host) .lst-metal-colors-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
#product:has(.lst-order-host) .lst-metal-color{font-size:12px;white-space:normal}
#product:has(.lst-order-host) .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{max-height:310px;padding:12px}
#product:has(.lst-order-host) .lst-product-specs{display:block;margin:12px 0}
#product:has(.lst-order-host) .lst-product-specs__item{display:block;padding:7px 0;border-bottom:1px solid #dce3ee}
#product:has(.lst-order-host) .lst-product-specs dt{font-size:12px;color:#68748a;font-weight:400}
#product:has(.lst-order-host) .lst-product-specs dd{font-size:14px;margin:3px 0 0}
#product:has(.lst-order-host) .product__bottom{display:block;margin-top:28px}
#product:has(.lst-order-host) .product__bottom-left{width:100%;max-width:none}
#product:has(.lst-order-host) .product__bottom-right:empty{display:none}
#product:has(.lst-order-host) .product__description-short{font-size:14px;line-height:1.5}
@media(max-width:1100px){
 #product:has(.lst-order-host) .product__container{grid-template-columns:minmax(0,.29fr) minmax(0,.71fr);gap:16px}
 #product:has(.lst-order-host) #add-to-cart-or-refresh{gap:14px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
 #product:has(.lst-order-host) .lst-metal-colors-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
 #product:has(.lst-order-host) .product__container{grid-template-columns:minmax(0,1fr);gap:18px}
 #product:has(.lst-order-host) .product__left{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%;max-width:none}
 #product:has(.lst-order-host) .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{max-height:230px}
 #product:has(.lst-order-host) .lst-card-facts{padding:0 8px}
}
@media(max-width:600px){
 #product:has(.lst-order-host) .product__right{padding:0}
 #product:has(.lst-order-host) #add-to-cart-or-refresh{display:flex;flex-direction:column;gap:16px}
 #product:has(.lst-order-host) #add-to-cart-or-refresh>*{width:100%}
 #product:has(.lst-order-host) .lst-card-price-slot{order:3}
 #product:has(.lst-order-host) .lst-card-variants{order:1}
 #product:has(.lst-order-host) .lst-card-fields{order:2}
 #product:has(.lst-order-host) .lst-card-order{order:4;padding:14px}
 #product:has(.lst-order-host) .lst-product-contact{order:5;padding:12px 0}
 #product:has(.lst-order-host) .product__left{gap:6px;align-items:center}
 #product:has(.lst-order-host) .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{max-height:170px;padding:4px}
 #product:has(.lst-order-host) .lst-metal-colors-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #product:has(.lst-order-host) .lst-card-photo-note{font-size:11px}
}
/* Related manager help stays beside the action, not at the bottom of the selection column. */
#product:has(.lst-order-host) #add-to-cart-or-refresh>.lst-product-contact{display:none}
.lst-card-assist{border-top:1px solid #dce3ee;margin-top:14px;padding-top:14px;font-size:13px}
.lst-card-assist p{margin:6px 0 10px}.lst-card-assist a{white-space:normal;width:100%;min-height:44px}
/* Known painted metal: thickness -> coating -> RAL. Same native DOM/form ancestors. */
#product.lst-card-metal-layout .lst-card-variants,#product.lst-card-metal-layout .product__variants,#product.lst-card-metal-layout .lst-card-fields{display:contents}
#product.lst-card-metal-layout .lst-card-selection-title{grid-column:1;grid-row:1;align-self:end}
#product.lst-card-metal-layout .lst-card-thickness{grid-column:1;grid-row:2;margin:0;min-width:0;width:100%}
#product.lst-card-metal-layout .lst-card-coating{grid-column:1;grid-row:3;min-width:0;width:100%}
#product.lst-card-metal-layout .lst-metal-colors{grid-column:1;grid-row:4;margin:0;min-width:0;width:100%}
#product.lst-card-metal-layout .lst-card-options-rest{grid-column:1;grid-row:5;min-width:0;width:100%}
#product.lst-card-metal-layout .lst-card-order{grid-row:2 / span 5}
#product.lst-card-metal-layout .lst-metal-colors>.lst-metal-color-note:last-child{display:none}
@media(max-width:600px){
 #product.lst-card-metal-layout .lst-card-selection-title{order:0}
 #product.lst-card-metal-layout .lst-card-thickness{order:1}
 #product.lst-card-metal-layout .lst-card-coating{order:2}
 #product.lst-card-metal-layout .lst-metal-colors{order:3}
 #product.lst-card-metal-layout .lst-card-options-rest{order:4}
 #product.lst-card-metal-layout .lst-card-price-slot{order:5}
 #product.lst-card-metal-layout .lst-card-order{order:6}
}
/* 2026-10-28: native variants occupy one grid row, not two.
   Empty native variants are hidden (requested thickness is not a SKU).
   Preserve special metal/coating layout and the narrow flex-column view. */
#product:has(.lst-order-host):not(.lst-card-metal-layout) .lst-card-variants:not(:has(.product-variants-item,.product-variant)){display:none}
@media(min-width:601px){
 #product:has(.lst-order-host):not(.lst-card-metal-layout) .lst-card-variants{grid-row:1;align-self:start}
 #product:has(.lst-order-host):not(.lst-card-metal-layout) .lst-card-fields{grid-row:2;align-self:start}
}

/* 2026-10-28: Product information tabs under photo/selection, beside the taller
   order sidebar. JS computes the offset from actual visible sections: do not
   hard-code a height or overlap an active checkout. Mobile stays full width. */
@media (min-width:1200px) {
  #product:has(.lst-order-host):not(.lst-card-metal-layout).lst-tabs-inline .product__bottom {
    box-sizing:border-box;
    width:var(--lst-tabs-width,70%);
    max-width:100%;
    margin-top:calc(28px - var(--lst-tabs-lift, 0px));
    min-height:var(--lst-tabs-safety, auto);
    align-self:start;
  }
  #product:has(.lst-order-host).lst-tabs-inline .product__bottom-left {
    width:100%;max-width:none;min-width:0;
  }
}


/* LST_COMMON_PRODUCT_UI_20261029: data-driven native choices and shared layout. */
#product.lst-card-unified-layout .product__container{grid-template-columns:minmax(0,.26fr) minmax(0,.74fr);gap:24px;align-items:start}
#product.lst-card-unified-layout .product__left{width:auto;max-width:none;min-width:0;align-self:start}
#product.lst-card-unified-layout .product__right{padding:0;border:0;background:transparent;min-width:0}
#product.lst-card-unified-layout .product__name{margin:0 0 16px;font-size:clamp(24px,2vw,32px)}
#product.lst-card-unified-layout .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{height:auto;aspect-ratio:1;object-fit:contain;max-height:310px;padding:12px}
#product.lst-card-unified-layout #add-to-cart-or-refresh{display:grid;grid-template-columns:minmax(0,1.47fr) minmax(0,1fr);grid-template-rows:min-content min-content min-content minmax(0,1fr);gap:16px 24px;align-items:start}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__additional-info,
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-order-host:not([data-lst-order-edit]),
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-order-host:not([data-lst-order-edit])>.lst-order-form{display:contents}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-variants{display:block;grid-column:1;grid-row:1;min-width:0;align-self:start}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__variants{display:flex;flex-direction:column;gap:12px;margin:0;min-width:0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__variants>*{order:initial;margin:0;min-width:0;width:100%}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-selection-title{display:block;margin:0 0 12px;font-size:19px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-chips{gap:8px;margin:6px 0 0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__variants select:not(.lst-card-chip-source){width:100%;min-height:44px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product-variant__radios{display:flex;flex-wrap:wrap;gap:8px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product-variant__radio>.btn{min-height:44px;border-radius:6px;padding:8px 12px;font-size:14px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product-variant__colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:8px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-color{display:flex;align-items:center;gap:8px;width:auto;height:auto;min-height:44px;border:1px solid #dce3ee;border-radius:6px;padding:8px;background:#fff;color:#17233c;box-shadow:none}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-color .color{display:block;width:28px;height:28px;flex:0 0 28px;border:1px solid #dce3ee;border-radius:4px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-color-name{font-size:13px;line-height:1.3;overflow-wrap:anywhere}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-color-selected{border:2px solid #123b8f;padding:7px;background:#edf2fb}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-color-disabled{opacity:.5}
#product.lst-card-unified-layout #add-to-cart-or-refresh .input-color__input:focus-visible+.lst-card-native-color{outline:3px solid #123b8f;outline-offset:3px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-fields{display:flex;flex-direction:column;gap:12px;grid-column:1;grid-row:2;min-width:0;align-self:start}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-fields>*{order:initial;grid-column:auto;grid-row:auto;min-width:0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-empty-group{display:none}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-guide,
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-order-note{margin:0 0 12px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-price-slot{grid-column:2;grid-row:1;align-self:start}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__prices{margin:0;padding:14px 16px;border-radius:8px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__price{font-size:23px;margin-bottom:0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-order,
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-order,
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-contact{grid-column:2;grid-row:1 / span 4;align-self:start;margin-top:var(--lst-card-order-offset,0px);min-width:0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-order,
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-contact{background:#f5f7fb;border:1px solid #dce3ee;border-radius:10px;padding:16px}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__additional-info>.ps-sharebuttons{grid-column:1;grid-row:3;margin:0;align-self:start}
#product.lst-card-unified-layout #add-to-cart-or-refresh .product__additional-info>:not(.lst-order-host):not(.ps-sharebuttons){grid-column:1;align-self:start}
#product.lst-card-unified-layout #add-to-cart-or-refresh>.lst-product-contact:not(.lst-card-native-contact){grid-column:2;grid-row:5;margin:0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-screw-finish{margin:0}
#product.lst-card-unified-layout #add-to-cart-or-refresh .lst-screw-finish fieldset{margin-bottom:12px}
#product.lst-card-unified-layout.lst-card-no-native-choices #add-to-cart-or-refresh .lst-card-variants{display:none}
#product.lst-card-unified-layout.lst-card-no-native-choices #add-to-cart-or-refresh .lst-card-fields{grid-row:1}
@media(max-width:1100px){
 #product.lst-card-unified-layout .product__container{grid-template-columns:minmax(0,.29fr) minmax(0,.71fr);gap:16px}
 #product.lst-card-unified-layout #add-to-cart-or-refresh{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}
}
@media(max-width:900px){
 #product.lst-card-unified-layout .product__container{grid-template-columns:minmax(0,1fr);gap:18px}
 #product.lst-card-unified-layout .product__left{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%}
 #product.lst-card-unified-layout .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{max-height:230px}
}
@media(max-width:600px){
 #product.lst-card-unified-layout #add-to-cart-or-refresh{display:flex;flex-direction:column;gap:16px}
 #product.lst-card-unified-layout #add-to-cart-or-refresh>*{width:100%}
 #product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-variants{order:1}
 #product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-fields{order:2}
 #product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-price-slot{order:3}
 #product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-order,
 #product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-order,
 #product.lst-card-unified-layout #add-to-cart-or-refresh .lst-card-native-contact{order:4;margin-top:0;width:100%}
 #product.lst-card-unified-layout #add-to-cart-or-refresh .product__additional-info>.ps-sharebuttons{order:5}
 #product.lst-card-unified-layout #add-to-cart-or-refresh>.lst-product-contact:not(.lst-card-native-contact){order:6}
 #product.lst-card-unified-layout .product__left{gap:6px;align-items:center}
 #product.lst-card-unified-layout .product__images>.product__carousel>.carousel-inner>.carousel-item>picture>img{max-height:170px;padding:4px}
}

/* LENSTAL_MONTERREY_TABS_FLOW_20261112 -- native roof only; prevent overlap. */
@media (min-width:1200px) {
  #product:has(.lst-order-host.lst-native-roof-host):not(.lst-card-metal-layout).lst-tabs-inline .product__bottom {
    margin-top: 28px;
    min-height: 0;
  }
}
