.st-product-layout .slider-for132 { position: relative; }
.st-product-layout .tov-carousel .flickity-viewport { touch-action: pan-y; }
.st-pagoda-lightbox .fancybox-stage { touch-action: none; }
@media (prefers-reduced-motion: reduce) {
    .st-pagoda-lightbox,
    .st-pagoda-lightbox :is(.fancybox-slide,.fancybox-image-wrap) {
        transition-duration: 0ms !important;
    }
}
.st-pagoda-gallery-control,
.st-pagoda-gallery-count {
    position: absolute;
    z-index: 2;
    color: #212821;
    background: #fff;
    border: 1px solid #d0d5cc;
    border-radius: 8px;
}
.st-pagoda-gallery-control {
    top: 50%;
    translate: 0 -50%;
    width: 44px;
    height: 44px;
    line-height: 1;
    font-size: 28px;
    cursor: pointer;
}
.st-pagoda-gallery-control[data-st-pagoda-prev] { left: 12px; }
.st-pagoda-gallery-control[data-st-pagoda-next] { right: 12px; }
.st-pagoda-gallery-count { display: none; bottom: 10px; left: 10px; padding: 5px 9px; }
/* Match the mobile reading order and place the full technical block beside the gallery on desktop. */
.st-flow--product ~ #wrapper .tov_id.st-product-layout:has(> .st-flow-product-top) > .st-flow-product-top {
    grid-template-areas: "gallery specs" "order specs";
    grid-template-rows: auto 1fr;
    gap: 12px 28px;
}
.st-flow--product ~ #wrapper .tov_id.st-product-layout:not(:has(.st-pagoda-details)) > .st-flow-product-top {
    grid-template-areas: "gallery ." "order .";
}
.st-flow--product ~ #wrapper .tov_id.st-product-layout:not(:has(.tov-carousel)):has(.st-pagoda-details) > .st-flow-product-top {
    grid-template-areas: "order specs";
    grid-template-rows: auto;
}
.st-product-layout .st-flow-product-top > .tabs-h:empty,
.st-product-layout .st-flow-product-top > .info:empty { display: none; }
.st-product-layout .st-flow-product-top > .tabs-h { grid-area: gallery; }
.st-product-layout .st-flow-product-top > .info { grid-area: order; }
.st-product-layout .st-flow-product-top > .st-pagoda-details {
    grid-area: specs;
    min-width: 0;
}
#wrapper .st-product-layout .st-pagoda-details > .st-pagoda-specifications {
    min-width: 0;
    margin: 0;
    scroll-margin-top: 96px;
    overflow-wrap: anywhere;
}
#wrapper .st-pagoda-specifications > .text { min-width: 0; margin-top: 0; }
.st-pagoda-specifications :is(table,img) { max-width: 100%; }
.st-pagoda-specifications img { height: auto; }
#wrapper .tov_id.st-product-layout .tov-carousel {
    aspect-ratio: 3 / 2;
    background: #e9ece6;
}
#wrapper .tov_id.st-product-layout .tov-carousel .carousel-cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.st-product-layout .st-pagoda-price-unit {
    color: var(--flow-muted, #454b43);
    font-size: 14px;
    font-weight: 600;
}
#wrapper .st-pagoda-specifications h2 {
    margin: 0 0 9px;
    color: var(--flow-ink, #20211e);
    font: 700 22px/1.25 var(--flow-font, sans-serif);
    text-align: left;
    text-transform: none;
}
.st-pagoda-specifications h2 a { color: inherit; }
#wrapper .st-product-layout .st-product-specs-list {
    margin: 0;
    padding-inline-start: 18px;
    list-style: disc;
    color: var(--flow-ink, #20211e);
    font: 400 15px/24px var(--flow-font, sans-serif);
}
#wrapper .st-pagoda-product .char td:has(> [data-st-specs-preview]) {
    padding: 0 !important;
}
.st-product-specs-list:empty { display: none; }
#product-specifications table.char:has(> tbody:empty) { display: none; }
.st-product-layout :is([data-st-specs-more], #product-specifications-continued)[hidden] { display: none !important; }
.st-product-layout [data-st-specs-more]:not([hidden]) {
    display: inline-block;
    min-height: 36px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--flow-ink, #20211e);
    font: inherit;
    text-align: left;
    text-decoration: underline;
    text-transform: none;
    cursor: pointer;
}
.st-product-layout [data-st-specs-more]:focus-visible {
    outline: 2px solid #20432b;
    outline-offset: 3px;
}
#product-specifications-continued:not([hidden]) { margin: 10px 0 0; }
@media (max-width: 767px) {
    .st-flow--product ~ #wrapper .tov_id.st-product-layout > .st-flow-product-top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    #wrapper .st-product-layout .st-pagoda-details > .st-pagoda-specifications { scroll-margin-top: 80px; }
    #wrapper .st-pagoda-specifications .text td {
        color: var(--flow-ink, #20211e);
        font-size: 14px;
        line-height: 1.5;
    }
}
#wrapper .tov_id.st-product-layout .st-flow-product-top > .info { container-type: inline-size; }
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form > .info__unit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "price quantity" "actions actions";
    align-items: center;
    gap: 8px;
}
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form > .info__unit:has(> .shop_additional_cost) {
    grid-template-areas: "extras extras" "price quantity" "actions actions";
}
.st-product-layout .info__unit > .shop_additional_cost { grid-area: extras; }
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form .info__prices {
    grid-area: price;
    margin-bottom: 0 !important;
}
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form :is(.pay__block__product,.pay__block__flex) {
    display: contents;
}
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form .st-product-quantity {
    grid-area: quantity;
    justify-self: end;
}
@container (min-width: 610px) {
    #wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form > .info__unit {
        grid-template-columns: fit-content(36%) max-content minmax(240px, 1fr);
        grid-template-areas: "price quantity actions";
    }
    #wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form > .info__unit:has(> .shop_additional_cost) {
        grid-template-areas: "extras extras extras" "price quantity actions";
    }
}
.st-pagoda-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 480px;
    margin: 0;
}
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form .st-pagoda-actions > :is(.btn_bay,.btn_one_click) {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 48px;
    min-height: 48px;
    padding: 0 8px;
    margin: 0;
    border-radius: 7px;
    font: 700 15px/1.3 var(--flow-font, sans-serif);
    text-align: center;
    white-space: normal;
}
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form .st-pagoda-actions > .btn_one_click {
    background-color: #51b947;
    color: #20211e;
}
#wrapper .tov_id.st-product-layout .st-flow-product-top form.shop_form .st-pagoda-actions > .btn_one_click:hover {
    background-color: #47aa3e;
}
.st-pagoda-quick-summary { margin: 10px 0 14px; }
.st-pagoda-quick-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0;
}
.st-pagoda-quick-summary dd { margin: 0; font-weight: 700; }
.st-pagoda-quick-summary > [hidden] { display: none; }
.st-pagoda-product #st-quick-order-21 .st-request-field--phone { grid-column: 1 / -1; }
#wrapper .st-product-layout > .st-flow-product-native-description {
    max-width: none;
    margin: 16px 0 28px;
}
.st-pagoda-documents { margin: 16px 0 0; }
.st-pagoda-documents .files__block__btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
}
.st-pagoda-documents .files__block__btn a.files__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    width: auto;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #9aa597;
    border-radius: 6px;
    background: #fff;
    color: #213f29;
    font-weight: 650;
}
.st-pagoda-documents .files__block__btn a.files__btn:hover { background: #edf3eb; }
@media (max-width: 672px) {
    .st-product-layout .slider-nav123,
    .st-pagoda-gallery-control { display: none; }
    .st-pagoda-gallery-count { display: inline-block; }
    .st-flow--product ~ #wrapper .tov_id.st-product-layout > h1.st-flow-product-heading { min-height: 0; margin-bottom: 20px; }
    .st-pagoda-actions { grid-template-columns: minmax(0, 1fr); max-width: none; }
}
