/* Sprint 913 — Product gallery + center UI hard fix */
.product-page-v2 .product-media-card{display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px!important}
.product-page-v2 .product-main-media{width:100%!important;height:510px!important;min-height:0!important;padding:10px!important;border-radius:14px!important;background:#f8fafc!important}
.product-page-v2 .product-main-media>img{width:100%!important;height:100%!important;object-fit:contain!important}
.product-page-v2 .product-thumb-rail.tf-reference-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;width:100%!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important}
.product-page-v2 .tf-reference-gallery .product-thumb{position:relative!important;display:block!important;width:100%!important;height:92px!important;min-width:0!important;margin:0!important;padding:4px!important;border:1px solid #dce5ed!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important}
.product-page-v2 .tf-reference-gallery .product-thumb.is-active{border:2px solid #efb223!important;box-shadow:0 0 0 2px rgba(239,178,35,.10)!important}
.product-page-v2 .tf-reference-gallery .product-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:6px!important}
.tf-gallery-more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(16,39,63,.68);color:#fff;font-size:18px;font-weight:900}
.tf-gallery-actions{display:flex!important;align-items:center!important;gap:24px!important;padding:9px 4px 2px!important;border-top:1px solid #edf1f4!important}
.tf-gallery-actions button{display:inline-flex!important;align-items:center!important;gap:7px!important;border:0!important;background:transparent!important;color:#173954!important;font-size:10px!important;font-weight:800!important;cursor:pointer!important}
.tf-gallery-actions svg,.media-zoom-button svg{width:20px;height:20px}
.media-zoom-button{display:grid!important;place-items:center!important}
.product-page-v2 .product-buy-card{padding:20px!important;border:1px solid #dce5ed!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 34px rgba(16,50,82,.06)!important}
.product-page-v2 .commerce-mode-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;margin:10px 0 0!important;padding:12px!important;border:1px solid #dde6ed!important;border-radius:11px!important;background:#fbfcfd!important}
.tf-quantity-control{min-width:140px!important}.tf-quantity-control>span{display:block!important;margin-bottom:5px!important;color:#596f83!important;font-size:7px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.tf-quantity-stepper{display:grid!important;grid-template-columns:34px 72px 34px!important;width:140px!important;border:1px solid #d6e0e8!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important}
.tf-quantity-stepper button{display:grid!important;place-items:center!important;height:36px!important;border:0!important;background:#f6f8fb!important;color:#173e64!important;font-size:16px!important;font-weight:800!important;cursor:pointer!important}
.tf-quantity-stepper input{display:block!important;width:100%!important;height:36px!important;min-width:0!important;margin:0!important;padding:0 4px!important;border:0!important;border-left:1px solid #e1e7ed!important;border-right:1px solid #e1e7ed!important;border-radius:0!important;background:#fff!important;text-align:center!important;font-size:11px!important;font-weight:800!important;color:#173e64!important}
.product-page-v2 .desktop-purchase-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:10px!important}
.product-page-v2 .desktop-purchase-actions .button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:43px!important;border-radius:8px!important;font-size:9px!important;font-weight:900!important}
.tf-commerce-assurance{display:block!important;margin-top:10px!important;border:1px solid #dde6ed!important;border-radius:11px!important;background:#fff!important;overflow:hidden!important}
.tf-payment-strip{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 11px!important;border-bottom:1px solid #edf1f4!important}
.tf-payment-title{display:flex!important;align-items:center!important;gap:7px!important;color:#516b82!important;font-size:7px!important;font-weight:900!important}.tf-payment-title svg{width:18px;height:18px;color:#173e64}
.tf-payment-methods{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;justify-content:flex-end!important}.tf-payment-methods b{display:inline-flex!important;padding:5px 7px!important;border:1px solid #dfe6ed!important;border-radius:5px!important;background:#fafbfd!important;color:#294b69!important;font-size:6px!important;white-space:nowrap!important}
.tf-order-timeline{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.tf-order-timeline article{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:11px!important;border-right:1px solid #edf1f4!important}.tf-order-timeline article:last-child{border-right:0!important}
.tf-timeline-icon{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:8px!important;background:#fff4cf!important;color:#996a08!important}.tf-timeline-icon svg{width:18px;height:18px}
.tf-order-timeline article div{min-width:0!important}.tf-order-timeline b{display:block!important;color:#173e64!important;font-size:7px!important;line-height:1.25!important}.tf-order-timeline article div>span{display:block!important;margin-top:2px!important;color:#8393a2!important;font-size:6px!important;line-height:1.35!important}
.tf-product-social-row{display:flex!important;align-items:center!important;gap:6px!important;padding:9px 11px!important;border-top:1px solid #edf1f4!important}.tf-product-social-row>span{margin-right:auto!important;color:#687d90!important;font-size:7px!important;font-weight:900!important}
.tf-product-social-row button,.tf-product-social-row a{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:6px 8px!important;border:1px solid #dce4eb!important;border-radius:6px!important;background:#fff!important;color:#28567f!important;text-decoration:none!important;font-size:6px!important;font-weight:900!important}.tf-product-social-row svg{width:15px;height:15px}
.product-page-v2 .confidence-icon{display:grid!important;place-items:center!important}.product-page-v2 .confidence-icon svg{width:18px!important;height:18px!important}
@media(max-width:760px){.product-page-v2 .product-main-media{height:390px!important}.product-page-v2 .product-thumb-rail.tf-reference-gallery{display:flex!important;overflow-x:auto!important;gap:8px!important}.product-page-v2 .tf-reference-gallery .product-thumb{width:76px!important;height:76px!important;flex:0 0 76px!important}.product-page-v2 .commerce-mode-card{grid-template-columns:1fr auto!important}.tf-quantity-stepper{grid-template-columns:30px 58px 30px!important;width:118px!important}.tf-payment-strip{align-items:flex-start!important;flex-direction:column!important}.tf-payment-methods{justify-content:flex-start!important}.tf-order-timeline{grid-template-columns:1fr!important}.tf-order-timeline article{border-right:0!important;border-bottom:1px solid #edf1f4!important}.tf-order-timeline article:last-child{border-bottom:0!important}.tf-product-social-row{flex-wrap:wrap!important}.tf-product-social-row>span{width:100%!important;margin:0!important}}
