/* theme-pd5-product.css: bản xem trước ?view=pd5 (28/10). Chỉ bố cục, khoảng cách, vùng bấm. Không thêm màu mới: dùng biến --pd3-* có sẵn. */

/* Vùng bấm ≥ 44px cho các link nhỏ trong khối mua / mô tả / khung phải. */
.template-product .pd3-desc__spec-anchor { min-height: 44px; box-sizing: border-box; }
.template-product .pd3-side .pd3-side__hotline a { display: flex; align-items: center; min-height: 44px; }
.template-product .pd3-buy .pd3-buy__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }

/* Video YouTube: ảnh bìa + nút phát, giữ đúng khung 16:9 của mô tả. */
.template-product .pd5-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #000; cursor: pointer; }
.template-product .youtube-embed-wrapper > .pd5-yt { position: absolute; inset: 0; height: 100%; }
.template-product .pd5-yt img { position: absolute; left: 0; top: -16.7%; width: 100%; height: 133.4%; max-width: none; object-fit: cover; display: block; margin: 0 !important; }
.template-product .pd5-yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(0,0,0,.7); }
.template-product .pd5-yt__play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.template-product .pd5-yt:focus-visible { outline: 3px solid #007FAE; outline-offset: 3px; }
