/* Consistent product body typography and compact attribute details. */
body.single-product .pz-product-page .pz-product-info :is(p, label, select, option, input, button, th, td, .woocommerce-breadcrumb, .woocommerce-breadcrumb a),
body.single-product .pz-product-page .pz-product-cart form.cart table.variations select[name="attribute_pa_color"] {
    font-family: "Rooyin Dots 1", sans-serif !important;
    font-style: normal !important;
}
body.single-product .pz-product-page .pz-product-info .pz-product-tabs .woocommerce-Tabs-panel {
    padding: 16px 0 !important;
    border-bottom: 0 !important;
}
body.single-product .pz-product-page .pz-product-tabs table.shop_attributes {
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    width: 100% !important;
}
body.single-product .pz-product-page .pz-product-tabs table.shop_attributes th,
body.single-product .pz-product-page .pz-product-tabs table.shop_attributes td {
    background: transparent !important;
    border: 0 !important;
    color: #2a2a2a !important;
    font-size: 16px !important;
    line-height: 1.9 !important;
    text-align: right !important;
    padding: 8px 0 !important;
    vertical-align: top !important;
}
body.single-product .pz-product-page .pz-product-tabs table.shop_attributes th {
    width: 64px !important;
    font-weight: 600 !important;
    padding-left: 16px !important;
    white-space: nowrap !important;
}
body.single-product .pz-product-page .pz-product-tabs table.shop_attributes td {
    font-weight: 400 !important;
}
body.single-product .pz-product-page .pz-product-tabs table.shop_attributes p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit !important;
    color: inherit !important;
}
html[data-pelazo-theme="dark"] body.single-product .pz-product-page .pz-product-tabs table.shop_attributes th,
html[data-pelazo-theme="dark"] body.single-product .pz-product-page .pz-product-tabs table.shop_attributes td {
    color: #f4f1e0 !important;
}
body.single-product .pz-product-page .pz-product-info .pz-product-tabs {
    margin-bottom: 0 !important;
}
body.single-product .pz-product-page .pz-product-info > .pz-product-related {
    margin-top: 12px !important;
    padding-top: 24px !important;
}
/* Color label and select share one aligned RTL row. */
body.single-product .pz-product-page .pz-product-cart form.cart table.variations tr:has(select[name="attribute_pa_color"]) {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    direction: rtl !important;
}
body.single-product .pz-product-page .pz-product-cart form.cart table.variations tr:has(select[name="attribute_pa_color"]) > th,
body.single-product .pz-product-page .pz-product-cart form.cart table.variations tr:has(select[name="attribute_pa_color"]) > td {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.single-product .pz-product-page .pz-product-cart form.cart table.variations label[for="pa_color"] {
    display: inline-block !important;
    font-family: "Rooyin Dots 1", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}
body.single-product .pz-product-page .pz-product-cart form.cart table.variations label[for="pa_color"]::after {
    content: ":";
}
body.single-product .pz-product-page .pz-product-cart form.cart table.variations select[name="attribute_pa_color"] {
    font-size: 16px !important;
    font-weight: 400 !important;
}
/* Compact variation selection and a comfortably sized purchase action. */
body.single-product .pz-product-page .pz-product-info .pz-product-meta {
    display: none !important;
}
body.single-product .pz-product-page .pz-product-cart form.cart table.variations {
    width: min(100%, 280px) !important;
    max-width: 100% !important;
    flex: 0 1 280px !important;
    margin-right: 0 !important;
    margin-left: auto !important;
}
body.single-product .pz-product-page .pz-product-cart .single_variation_wrap {
    width: 100% !important;
    flex: 1 1 100% !important;
}
body.single-product .pz-product-page .pz-product-cart .woocommerce-variation-add-to-cart {
    width: min(100%, 340px) !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}
body.single-product .pz-product-page .pz-product-cart form.cart .single_add_to_cart_button {
    margin-right: auto !important;
    margin-left: auto !important;
}
body.single-product .pz-product-page .pz-product-cart form.cart .single_add_to_cart_button {
    width: min(100%, 340px) !important;
    min-width: min(100%, 340px) !important;
    max-width: 100% !important;
    min-height: 56px !important;
    height: 56px !important;
    max-height: none !important;
    padding-inline: 24px !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    letter-spacing: normal !important;
    word-spacing: 2px !important;
}
body.single-product .pz-product-page .pz-product-cart .single_add_to_cart_button .pz-atc-label {
    font-size: 18px !important;
    line-height: 1.7 !important;
    letter-spacing: normal !important;
    word-spacing: 2px !important;
    margin-left: 0 !important;
}
/* Reserve the cart-link row so AJAX success cannot move recommendation CTAs. */
body.single-product .pz-product-page .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product {
    position: relative !important;
    padding-bottom: 54px !important;
}
body.single-product .pz-product-page .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button {
    flex-direction: row !important;
    gap: 8px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
}
body.single-product .pz-product-page .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button.added::after {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    float: none !important;
    margin: 0 !important;
    line-height: 1 !important;
}
body.single-product .pz-product-page .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.added_to_cart.wc-forward {
    position: absolute !important;
    inset-inline: 0 !important;
    bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ff5234 !important;
    font-family: "Rooyin Dots 1", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}
body.single-product .pz-product-page .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.added_to_cart.wc-forward:focus-visible {
    outline: 2px solid #ff5234 !important;
    outline-offset: 2px !important;
}
/* Single-product controls: match Pelazo's existing primary button. */
body.single-product .pz-product-cart form.variations_form .reset_variations {
    display: none !important;
}
body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}
body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: auto 0 0 !important;
    padding: 12px 16px !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    background: #2a2a2a !important;
    color: #f4f1e0 !important;
    font-family: "Rooyin Dots 1", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease !important;
}
body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.woocommerce-LoopProduct-link {
    margin-bottom: 18px !important;
}
html[data-pelazo-theme="dark"] body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button {
    background: #f4f1e0 !important;
    border-color: #f4f1e0 !important;
    color: #0b0c0e !important;
}
html body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button:hover,
html body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button:focus-visible {
    background: #ff5234 !important;
    border-color: #ff5234 !important;
    color: #f4f1e0 !important;
}
body.single-product .pz-product-info > .pz-product-related .pz-product-grid ul.products li.product > a.button:focus-visible {
    outline: 2px solid #ff5234 !important;
    outline-offset: 3px !important;
}
/* Let product information and recommendations determine the section height. */
body.single-product .pz-product-page,
body.single-product .pz-product-page .pz-product-hero {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
body.single-product .pz-product-page .pz-product-info {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    min-width: 0 !important;
}
body.single-product .pz-product-info > .pz-product-related,
body.single-product .pz-product-info > .pz-product-related .pz-product-grid {
    flex-shrink: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
@media (min-width: 1025px) {
    body.single-product .pz-product-page .pz-product-gallery {
        align-self: start !important;
        height: var(--pz-two-images-height, 112vw) !important;
        max-height: var(--pz-two-images-height, 112vw) !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        scrollbar-gutter: stable;
    }
    body.single-product .pz-product-gallery .woocommerce-product-gallery__image,
    body.single-product .pz-product-gallery .woocommerce-product-gallery__image > a {
        box-sizing: border-box !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
    }
}
/* The mascot keeps its reveal animation inside the actual footer boundary. */
html.pz-footer-scroll-ready .pz-elementor-preview-footer .elementor-785 {
    clip-path: inset(0);
}
html.pz-footer-scroll-ready .pz-elementor-preview-footer[data-pz-footer-motion="scroll"] .elementor-785 > .pz-footer-mascot-overlay {
    transform: translate3d(0, calc(var(--pz-ft-mascot-y, 0px) + var(--pz-ft-shell-y, 0px)), 0) !important;
    clip-path: inset(max(0px, calc(0px - var(--pz-ft-mascot-top, 16px) - var(--pz-ft-mascot-y, 0px))) 0 max(0px, calc(100% + var(--pz-ft-mascot-top, 16px) + var(--pz-ft-mascot-y, 0px) - var(--pz-ft-stage-height, 753px))) 0);
}
@media (prefers-reduced-motion: reduce) {
    html.pz-footer-scroll-ready .pz-elementor-preview-footer[data-pz-footer-motion="scroll"] .elementor-785 > .pz-footer-mascot-overlay {
        transform: none !important;
    }
}
