/* Stock catalogue additions: preserve image proportions and shared branding. */
#products-section .stock-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:28px 0 40px;border-bottom:1px solid #dbe3ed}
#products-section .stock-tabs button{font:inherit;font-size:16px;padding:14px 18px;color:#334155;cursor:pointer}
#products-section .stock-tabs button.active{color:#0056b3;border-bottom:3px solid #0056b3}
#products-section .stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#products-section .tab-content.stock-grid:not(.active){display:none}
#products-section .stock-product{min-width:0;display:flex;flex-direction:column;border:1px solid #e1e7ef;border-radius:20px;background:#fff;overflow:hidden;content-visibility:auto;contain-intrinsic-size:auto 510px}
#products-section .stock-photo{height:245px;display:flex;align-items:center;justify-content:center;background:#fff;padding:20px}
#products-section .stock-photo img{width:100%!important;height:100%!important;object-fit:contain!important;transform:none!important;border-radius:0!important}
#products-section .stock-product-copy{display:flex;flex-direction:column;flex:1;padding:24px;gap:14px}
#products-section .stock-product h3{font-size:24px;line-height:1.25;margin:0;overflow-wrap:anywhere}
#products-section .stock-product-copy>p{font-size:16px;line-height:1.6;color:#475569;margin:0}
#products-section .stock-product-copy>.stock-category{font-size:14px;color:#0056b3;font-weight:700}
#products-section .stock-product-copy .jf-commerce-actions{margin-top:auto}
#products-section .stock-product [hidden]{display:none!important}
#products-section .stock-product .jf-commerce-actions a,#products-section .stock-product .jf-commerce-actions button{font-size:14px;min-width:0}
#products-section .stock-product-copy>.grid:not([hidden]){display:flex;gap:12px;margin-top:auto;font-size:16px;color:#0056b3}
#products-section .stock-legacy{grid-column:1/-1;margin-top:24px}
#products-section .stock-legacy>h2{font-size:28px;margin-bottom:24px}
.stock-image-note{font-size:14px;color:#475569;text-align:center;position:relative}
.stock-card-image-note{font-size:13px!important;line-height:1.4!important;color:#526174!important;text-align:center;margin:0!important;padding:0 16px 10px!important}
#products-section .stock-legacy img{object-fit:contain!important;transform:none!important;background:white}
.stock-legacy-caption{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);background:#fff;color:#526174;font-size:13px;padding:2px 10px;border-radius:4px;white-space:nowrap}
.stock-confirm{border-left:3px solid #f08300;background:#fff7ed;padding:16px;color:#7c3500;font-size:16px}
.hero-grid.stock-text-detail{grid-template-columns:minmax(0,1fr);max-width:920px}
.stock-text-detail h1{max-width:900px}
@media(max-width:1000px){#products-section .stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#products-section .stock-grid{grid-template-columns:minmax(0,1fr)}#products-section .stock-tabs{justify-content:flex-start;gap:6px}#products-section .stock-tabs button{font-size:14px;padding:12px}#products-section .stock-product-copy{padding:20px}}
