.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.admin-bar .site-header {
    top: 32px;
}
.pdp-price .korst-vat-label,
.product-foot .korst-vat-label {
    display: none;
}
.pdp-tagline p:last-child {
    margin-bottom: 0;
}
.pdp-tab-panel table {
    width: 100%;
}
.category-filter-choice {
    text-decoration: none;
}
.pdp-option-group li:has(input:disabled:not(:checked)) > label > span {
    color: #8b95a1;
}
.pdp-option-group li:has(input:disabled:not(:checked)) > label > input,
.pdp-option-group li:has(input:disabled:not(:checked)) > .opt-price,
.pdp-option-group li:has(input:disabled:not(:checked)) > .korst-table-count {
    opacity: 0.55;
}
.pdp-opt-info:hover,
.pdp-opt-info.is-open {
    z-index: 30;
}
.pdp-options-card .pdp-options .korst-table-count {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.5;
    align-items: center;
    flex-wrap: wrap;
}
.pdp-options .korst-table-count select {
    font: inherit;
    color: var(--korst-ink);
    background-color: #fff;
    border: 1px solid #cbdde8;
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.5rem;
    max-width: 100%;
}
.pdp-options .korst-table-count select:focus-visible {
    outline: 2px solid var(--korst-blue);
    outline-offset: 2px;
}
.request-fields [hidden],
.request-form [hidden] {
    display: none;
}
.product-foot .price .woocommerce-Price-amount,
.product-foot .price bdi,
.product-foot .price .woocommerce-Price-currencySymbol {
    font: inherit;
    color: inherit;
    display: inline;
}
.product-foot .price ins,
.pdp-price ins {
    text-decoration: none;
}
.product-foot .price del {
    font-size: 0.75em;
}
.korst-order-error:empty {
    display: none;
}
.entry-content img {
    max-width: 100%;
    height: auto;
}
.pdp-installed-options h4 {
    font-size: 0.95rem;
    margin: 0 0 0.65rem;
}
@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.product-card .stock-options-title {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--korst-navy-900);
}
.product-card .stock-options-list {
    gap: 0.45rem;
}
#in-stock .filter-pill.active,
.stock-category-pills .filter-pill.active {
    background: var(--korst-blue);
    border-color: var(--korst-blue);
    color: #fff;
}
.stock-category-pills {
    margin-top: 1rem;
}
.product-grid.view-list .product-specs + .category-stock-slot {
    margin-top: 1rem;
}
.product-card .stock-options-list li {
    position: relative;
    display: block;
    padding-left: 1rem;
    line-height: 1.5;
}
.product-card .stock-options-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: var(--korst-blue);
}

.stock-quantity {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #16965b;
}
.product-card .product-body > .stock-quantity {
    margin-top: auto;
    padding-top: 0.75rem;
}
.product-card .stock-quantity + .product-foot {
    margin-top: 0;
}
.product-card .product-body-main h3 {
    height: auto;
    min-height: 0;
    line-height: 1.3;
    overflow: visible;
    display: block;
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
}

.category-products-section {
    padding-top: 2.25rem;
}
.product-grid.view-list .product-body-main h3 {
    height: auto;
    min-height: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    margin-bottom: 0.75rem;
}
.category-products-section .category-subcategories {
    margin-bottom: 2rem;
}
.category-filters.is-collapsed,
.category-filters-heading {
    cursor: pointer;
}
.product-card .product-body-main .product-specs-inline li {
    display: block;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.product-card .product-body-main .product-specs-inline li > span,
.product-card .product-body-main .product-specs-inline li > b {
    display: inline;
    margin: 0;
    white-space: normal;
}

.pdp-video-gallery .pdp-video-tile {
    margin: 0;
    min-width: 0;
}
.pdp-video-gallery .pdp-video-tile-player {
    aspect-ratio: 16/9;
    background: #000;
}
.pdp-video-gallery .korst-video-embed {
    height: 100%;
    margin: 0 !important;
}
.pdp-video-gallery .korst-video-embed iframe,
.pdp-video-gallery .korst-video-embed video {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}
.pdp-video-gallery .pdp-video-tile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    aspect-ratio: 16/9;
    color: var(--korst-blue);
    text-decoration: none;
    background: #f8fbfd;
}
.pdp-video-gallery .showroom-gallery-caption a {
    color: inherit;
    text-decoration: none;
}
.pdp-video-gallery .showroom-gallery-caption a:hover {
    text-decoration: underline;
}

/* Masonry photo gallery: preserve portrait and landscape image proportions. */
.showroom-gallery.korst-product-photo-gallery {
    display: block;
    columns: 3;
    column-gap: 1.25rem;
}
.korst-product-photo-gallery .showroom-gallery-item {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    margin: 0 0 1.25rem;
    break-inside: avoid;
}
.korst-product-photo-gallery .showroom-gallery-photo {
    aspect-ratio: auto;
}
.korst-product-photo-gallery .showroom-gallery-photo img {
    width: 100%;
    height: auto;
    padding: 0;
}
@media (max-width: 991.98px) {
    .showroom-gallery.korst-product-photo-gallery {
        columns: 2;
    }
}
@media (max-width: 575.98px) {
    .showroom-gallery.korst-product-photo-gallery {
        columns: 1;
    }
}

/* Place images in their saved order instead of filling CSS columns vertically. */
.showroom-gallery.korst-product-photo-gallery {
    display: grid;
    columns: auto;
    align-items: start;
    gap: 20px;
}
.korst-product-photo-gallery .showroom-gallery-item {
    margin: 0;
}
.showroom-gallery.korst-product-photo-gallery.is-masonry {
    display: block;
    position: relative;
}
.korst-product-photo-gallery.is-masonry .showroom-gallery-item {
    position: absolute;
    top: 0;
    left: 0;
}

/* Related accessories show only the price and sales unit. */
.pdp-consumable-price .korst-vat-label {
    display: none;
}

/* Keep the description separated when the model switcher is absent. */
.pdp-product-info-col > .pdp-title + .pdp-tagline {
    margin-top: 1rem;
}

/* Optional equipment price note. */
.pdp-price-comment {
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px solid #cce4f2;
    border-radius: var(--radius-sm);
    background: #eaf5fc;
    color: var(--korst-navy-900);
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.pdp-opt-photo-preview {
    width: 220px;
    padding: 0.5rem;
    background: #fff;
}
.pdp-opt-photo-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}
.pdp-opt-info:focus-visible .pdp-opt-tooltip {
    opacity: 1;
    visibility: visible;
}
.pdp-option-video-modal {
    width: min(860px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 1.5rem;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--korst-navy-900);
}
.pdp-option-video-modal::backdrop {
    background: rgba(10, 24, 38, 0.7);
}
.pdp-option-video-modal h3 {
    padding-right: 2rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.pdp-option-video-close {
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 2rem;
    line-height: 1;
}

/* Optional catalogue card copy replaces brief specifications. */
.product-card .korst-product-card-description {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #56616c;
    overflow-wrap: anywhere;
}

/* Variation rows display the price without the VAT caption. */
.pdp-variants .pdp-variant-price .korst-vat-label {
    display: none;
}

.pdp-doc-list .pdp-doc-item {
    display: block;
    padding: 0;
}
.pdp-doc-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.9rem 1.1rem;
    border-radius: inherit;
    text-decoration: none;
}
.pdp-doc-link:hover .name {
    text-decoration: underline;
}
.pdp-doc-link:focus-visible {
    outline: 2px solid var(--korst-blue);
    outline-offset: 2px;
}

.pdp-equipment-disclaimer {
    margin-top: 1.5rem;
    color: #78838e;
    font-size: 0.75rem;
    line-height: 1.6;
}
.pdp-equipment-disclaimer p {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.footer-disclaimer {
    margin: 1rem 0 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.65;
}

.pdp-gallery-main.is-embed {
    aspect-ratio: auto;
}
.pdp-gallery-main .pdp-gallery-arrow {
    z-index: 3;
}
.pdp-gallery-embed {
    width: 100%;
    position: relative;
    z-index: 2;
}
.pdp-gallery-embed .korst-video-embed {
    margin: 0 !important;
}
.pdp-gallery-embed p {
    margin: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
}

.lb-video {
    width: min(1100px, calc(100vw - 100px), calc((100dvh - 140px) * 16 / 9));
}
.lb-video[hidden],
.lb-image[hidden] {
    display: none !important;
}
.lb-video .korst-video-embed {
    margin: 0 !important;
}
.lb-video p {
    text-align: center;
    font-size: 0.8rem;
    margin: 0.5rem 0;
}
