<?php
/** Critical layout shared by product landing pages — hero, lightbox, sale frame */
?>
.sub-hero-intro { margin-bottom: 1.75rem; }
.sub-hero-kicker {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.sub-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin: 0 auto;
    width: 100%;
    max-width: var(--sub-content-width, 820px);
}
.sub-hero-img-btn, .sub-showcase-img-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    border-radius: 16px;
    overflow: hidden;
}
.sub-hero-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    margin-bottom: 0;
}
.sub-hero-cta {
    display: block;
    width: 100%;
    max-width: 360px;
    text-align: center;
    margin: 0;
}
.sub-zoom-hint {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.sub-hero-img-btn:hover .sub-zoom-hint,
.sub-showcase-img-btn:hover .sub-zoom-hint { opacity: 1; }
.sub-showcase-img-btn img {
    width: 100%; height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    display: block;
}
.sub-image-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box;
}
.sub-image-modal.is-open { display: flex; }
.sub-image-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(8, 14, 32, 0.92);
    cursor: zoom-out;
}
.sub-image-modal__dialog {
    position: relative; z-index: 1;
    max-width: min(96vw, 1200px); max-height: 96vh;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.sub-image-modal__close {
    position: absolute; top: 8px; right: 8px;
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: #fff; color: #0f172a; font-size: 1.5rem; line-height: 1;
    cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); z-index: 2;
}
.sub-image-modal__title { margin: 0; color: #e2e8f0; font-size: 0.9rem; text-align: center; }
.sub-image-modal__img {
    max-width: min(96vw, 1200px); max-height: 88vh;
    width: auto; height: auto; object-fit: contain;
    border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.sub-page .kos-site-footer-bleed { width: 100%; max-width: 100%; background: #fff; }
