/* Shared product detail only; no home/category selectors. */
.tagrm-detail-20261029 .tagrm-ref-product__page-grid{display:block;max-width:1240px}
.tagrm-detail-20261029 .tagrm-ref-product__content{min-width:0;width:100%}
.tagrm-detail-20261029 .tagrm-detail-evidence{background:#fff;border:1px solid #e5e7eb;padding:28px;margin:24px 0}
.tagrm-detail-20261029 .tagrm-detail-evidence h2{font-size:26px;line-height:1.25;margin:0 0 18px}
.tagrm-detail-20261029 .tagrm-detail-evidence p{font-size:14px;line-height:1.55;color:#53616c}
.tagrm-detail-20261029 .tagrm-detail-evidence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
.tagrm-detail-20261029 .tagrm-detail-evidence-grid figure{margin:0;min-width:0;width:auto!important}
.tagrm-detail-20261029 .tagrm-detail-evidence-grid img{width:100%;height:180px;object-fit:cover;display:block}
.tagrm-detail-20261029 .tagrm-detail-certificates .tagrm-detail-evidence-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tagrm-detail-20261029 .tagrm-detail-certificates img{height:240px;object-fit:contain;background:#f5f6f7}
.tagrm-detail-20261029 .tagrm-detail-evidence figcaption{font-size:13px;line-height:1.5;margin-top:8px;color:#46545f;overflow-wrap:anywhere}
.tagrm-detail-20261029 .tagrm-detail-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px}
.tagrm-detail-20261029 .tagrm-ref-product__product-card--related{display:flex;flex-direction:column;min-width:0;border:1px solid #e5e7eb}
.tagrm-detail-20261029 .tagrm-ref-product__product-card--related .tagrm-ref-product__product-image{height:180px;display:flex;align-items:center;justify-content:center}
.tagrm-detail-20261029 .tagrm-ref-product__product-card--related img{max-height:100%;width:100%;object-fit:contain}
.tagrm-detail-20261029 .tagrm-ref-product__product-card--related .tagrm-ref-product__product-card-body{padding:14px}
.tagrm-detail-20261029 .tagrm-ref-product__product-card--related h3{font-size:17px;line-height:1.4;margin:0 0 12px;overflow-wrap:anywhere}
.tagrm-detail-20261029 .tagrm-detail-view-product{display:inline-block;text-decoration:underline;font-size:14px;padding:8px 0}
.tagrm-detail-20261029 .tagrm-detail-form-dock{padding:24px;scroll-margin-top:100px}
@media(min-width:922px){
 .tagrm-detail-20261029 .tagrm-ref-product__inquiry-dialog.is-inline{position:static;inset:auto;display:block;width:100%;max-width:760px;max-height:none;height:auto;margin:0 auto;padding:0;border:0;box-shadow:none;overflow:visible}
 .tagrm-detail-20261029 .is-inline>[data-inquiry-close],.tagrm-detail-20261029 .is-inline>h2{display:none}
 .tagrm-detail-20261029 .is-inline .wpforms-container input:not([type=hidden]),.tagrm-detail-20261029 .is-inline .wpforms-container textarea{max-width:100%;width:100%}
 .tagrm-detail-20261029 .tagrm-ref-product__mobile-cta{display:none}
}
@media(max-width:921px){
 .tagrm-detail-20261029 .tagrm-ref-product__inquiry{display:none}
 .tagrm-detail-20261029 .tagrm-ref-product__card-cta{display:none}
 .tagrm-detail-20261029 .tagrm-detail-evidence{padding:16px;margin:18px 0}
 .tagrm-detail-20261029 .tagrm-detail-evidence h2{font-size:22px}
 .tagrm-detail-20261029 .tagrm-detail-evidence-grid,.tagrm-detail-20261029 .tagrm-detail-certificates .tagrm-detail-evidence-grid,.tagrm-detail-20261029 .tagrm-detail-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .tagrm-detail-20261029 .tagrm-detail-related-grid{padding:12px}
 .tagrm-detail-20261029 .tagrm-detail-evidence-grid img{height:135px}
 .tagrm-detail-20261029 .tagrm-detail-certificates img{height:190px}
 .tagrm-detail-20261029 .tagrm-ref-product__product-card--related .tagrm-ref-product__product-image{height:130px}
 .tagrm-detail-20261029 .tagrm-ref-product__product-card--related .tagrm-ref-product__product-card-body{padding:10px}
 .tagrm-detail-20261029 .tagrm-ref-product__product-card--related h3{font-size:15px}
 .tagrm-detail-20261029 .tagrm-ref-product__mobile-cta{display:grid;grid-template-columns:1fr 1fr;position:fixed;bottom:0;left:0;right:0;z-index:999;background:#fff;border-top:1px solid #ddd;padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:10px}
 .tagrm-detail-20261029 .tagrm-ref-product__mobile-cta a,.tagrm-detail-20261029 .tagrm-ref-product__mobile-cta button{min-height:48px;display:flex;align-items:center;justify-content:center}
}
.tagrm-detail-lightbox{background:#fff;border:0;padding:14px;max-width:94vw;max-height:94dvh;overflow:auto}
.tagrm-detail-lightbox::backdrop{background:rgba(0,0,0,.78)}
.tagrm-detail-lightbox img{display:block;max-width:85vw;max-height:78dvh;object-fit:contain;margin:auto}
.tagrm-detail-lightbox button{display:block;margin:0 0 10px auto;min-width:44px;min-height:44px;background:#26333d;color:#fff}
.tagrm-detail-lightbox p{margin:10px 0 0;font-size:14px;max-width:80vw}

/* Desktop contact rail occupies reserved outer space, never the product column. */
.tagrm-detail-rail{display:none}
@media(min-width:922px){
 html:has(.tagrm-detail-rail){scrollbar-gutter:stable}
 html.tagrm-detail-modal-open{overflow:hidden}
 .tagrm-detail-20261029{max-width:calc(100% - 136px);margin-left:auto;margin-right:auto}
 .tagrm-detail-rail{display:flex;flex-direction:column;gap:8px;position:fixed;right:12px;top:50%;transform:translateY(-50%);z-index:998}
 .tagrm-detail-rail>a,.tagrm-detail-rail>button{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;padding:11px;border:0;border-radius:6px;background:#263b47;color:#fff;box-shadow:0 2px 8px #0002;text-decoration:none;cursor:pointer}
 .tagrm-detail-rail>button{background:#cf392d}.tagrm-detail-rail>a[aria-label=WhatsApp]{background:#087e60}.tagrm-detail-rail>a[aria-label=Facebook]{background:#1769c2}
 .tagrm-detail-rail svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .tagrm-detail-rail span{position:absolute;right:58px;white-space:nowrap;background:#263b47;color:#fff;padding:7px 11px;border-radius:4px;opacity:0;visibility:hidden;pointer-events:none;font-size:14px}
 .tagrm-detail-rail>:hover span,.tagrm-detail-rail>:focus-visible span{opacity:1;visibility:visible}
 .tagrm-detail-rail>:focus-visible{outline:3px solid #f0b93b;outline-offset:3px}
 body:has(.tagrm-detail-rail) .tagrm-floating-contact{display:none}
 .tagrm-detail-20261029 .tagrm-ref-product__inquiry-dialog:not(.is-inline){position:fixed;inset:0;width:min(600px,calc(100vw - 48px));height:auto;max-height:calc(100dvh - 48px);margin:auto;overflow:auto;overscroll-behavior:contain;padding:28px}
}
