/*
 * HCL PDP Trust Strip V1
 * Approved V12 layout — product-page scope only.
 * No global selectors or duplicate WooCommerce controllers.
 */


/*
 * HCL PDP Gallery — fluid desktop/tablet column ownership.
 * Preserve approved 1024px geometry and reserve about 656px for details at wider viewports.
 */
@media (min-width: 1000px) {
    body.single-product main .hcl-pdp-gallery-column {
        flex-basis: clamp(
            320px,
            max(calc(62.5% - 255px), calc(100% - 680px)),
            600px
        ) !important;
    }
}

/*
 * Below 1000px, stack the existing columns instead of
 * clipping the trust strip or product-specific feature pills.
 */
@media (min-width: 782px) and (max-width: 999px) {
    body.single-product main
    .wp-block-columns:has(> .hcl-pdp-gallery-column) {
        flex-wrap: wrap !important;
    }

    body.single-product main
    .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column {
        flex-basis: 100% !important;
    }

    body.single-product main
    .hcl-pdp-gallery-column .wp-block-woocommerce-product-gallery {
        margin-inline: auto;
    }
}
/* HCL_P22_STEP32_FRACTIONAL_HERO */
@media (min-width:782px) and (width > 999px) and (width < 1000px) {
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) {
        flex-wrap:wrap !important;
    }
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column {
        flex-basis:100% !important;
        min-width:0 !important;
        max-width:100% !important;
    }
}




/* HCL Modern Product Gallery V2 — single canonical gallery owner. */

body.single-product main .hcl-pdp-gallery-column
.wp-block-woocommerce-single-product {
    width: 100%;
    max-width: none;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: var(--hcl-pdp-gallery-width, 100%);
    max-width: var(--hcl-pdp-gallery-max, 500px);
    min-width: 0;
    margin: 0 auto;
}

@media (min-width: 741px) and (max-width: 767px) {
    body.single-product main .hcl-pdp-gallery-column {
        --hcl-pdp-gallery-max: 630px;
    }
}

@media (min-width: 768px) and (max-width: 999px) {
    body.single-product main .hcl-pdp-gallery-column {
        --hcl-pdp-gallery-width: calc(100% - 32px);
        --hcl-pdp-gallery-max: 689.3px;
    }
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-large-image {
    box-sizing: border-box;
    position: relative;
    order: 0;
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-large-image::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 30;
    box-sizing: border-box;
    border: 2px solid #2F6B3D;
    border-top: 3px solid #C9963D;
    border-radius: 11px;
    pointer-events: none;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-large-image__container {
    width: 100%;
    min-width: 0;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-thumbnails {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    height: 93px;
    min-width: 0;
    aspect-ratio: auto;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-thumbnails__scrollable {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    height: 100%;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-thumbnails__thumbnail {
    box-sizing: border-box;
    flex: 0 0 74px;
    width: 74px;
    height: 93px;
    padding: 3px;
    border: 1px solid #D3DAD3;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-thumbnails__thumbnail:has(
.wc-block-product-gallery-thumbnails__thumbnail__image--is-active) {
    padding: 2px;
    border: 2px solid #C9963D;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-thumbnails__thumbnail__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

body.single-product main .hcl-pdp-gallery-column
.hcl-pdp-gallery-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 100px);
    pointer-events: none;
}

body.single-product main .hcl-pdp-gallery-column
.hcl-pdp-gallery-badge {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #183F31;
    font: 800 11px/1.2 Montserrat,sans-serif;
    white-space: nowrap;
    box-shadow: none;
}

body.single-product main .hcl-pdp-gallery-column
.hcl-pdp-gallery-badge:is(
.hcl-pdp-gallery-badge--trending,
.hcl-pdp-gallery-badge--staff-pick,
.hcl-pdp-gallery-badge--custom-teal) {
    background: #087A70;
}

body.single-product main .hcl-pdp-gallery-column
.hcl-pdp-gallery-badge:is(
.hcl-pdp-gallery-badge--best-seller,
.hcl-pdp-gallery-badge--limited-edition,
.hcl-pdp-gallery-badge--custom-bronze) {
    background: #895114;
}

body.single-product main .hcl-pdp-gallery-column
.hcl-pdp-gallery-badge--trending::before {
    content: "↗";
    color: #FFDB8A;
    font-size: 15px;
}

body.single-product main .hcl-pdp-gallery-column
.hcl-pdp-gallery-badge:is(
.hcl-pdp-gallery-badge--best-seller,
.hcl-pdp-gallery-badge--limited-edition)::before {
    content: "★";
    color: #FFDB8A;
    font-size: 14px;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-product-gallery-large-image__inner-blocks
.wp-block-woocommerce-product-sale-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    left: auto;
    z-index: 16;
    margin: 0;
    pointer-events: none;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-components-product-sale-badge {
    box-sizing: border-box;
    width: auto;
    margin: 0;
    padding: 9px 11px;
    border: 0;
    border-radius: 8px;
    background: #AD4931;
    color: #fff;
    font: 800 11px/1.2 Montserrat,sans-serif;
    text-align: center;
    box-shadow: none;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-next-previous-buttons__button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #183F31;
    color: #fff;
    cursor: pointer;
}

body.single-product main .hcl-pdp-gallery-column
.wc-block-next-previous-buttons__button:is(:hover,:focus-visible) {
    background: #2F6B3D;
    outline: 2px solid #C9963D;
    outline-offset: 2px;
}

@media (min-width: 741px) and (max-width: 1024px) {
    body.single-product main .hcl-pdp-gallery-column
    .wc-block-next-previous-buttons__button[aria-label="Previous image"] {
        translate: 19px 0;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-next-previous-buttons__button[aria-label="Next image"] {
        translate: -19px 0;
    }
}

body.single-product main
.wp-block-columns:has(> .hcl-pdp-gallery-column) {
    align-items: flex-start;
}

body.single-product main
.wp-block-columns:has(> .hcl-pdp-gallery-column)
> .wp-block-column:not(.hcl-pdp-gallery-column)
.wp-block-woocommerce-product-details {
    width: 100%;
    max-width: 100%;
    margin: 32px 0 0;
}

/* Approved tall and medium-height desktop sticky policy. */
@media (min-width: 1200px) and (min-height: 900px),
       (min-width: 1280px) and (min-height: 721px) and (max-height: 899px) {

}

/* Medium-height desktop uses left-side thumbnails. */
@media (min-width: 1280px) and (min-height: 721px) and (max-height: 899px) {
    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
        max-width: 544px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-thumbnails {
        order: 0;
        flex: 0 0 74px;
        width: 74px;
        height: auto;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-thumbnails__scrollable {
        flex-direction: column;
        gap: 10px;
        overflow-y: auto;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-large-image {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }
}

@media (max-width: 740px) {
    body.single-product main .hcl-pdp-gallery-column
    .hcl-pdp-gallery-badges {
        top: 9px;
        left: 9px;
        gap: 5px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .hcl-pdp-gallery-badge {
        padding: 7px 9px;
        font-size: 10px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-large-image__inner-blocks
    .wp-block-woocommerce-product-sale-badge {
        top: 4px;
        right: 4px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-components-product-sale-badge {
        padding: 7px 9px;
        font-size: 10px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-thumbnails {
        height: 78px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-thumbnails__thumbnail {
        flex-basis: 62px;
        width: 62px;
        height: 78px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-thumbnails__scrollable {
        gap: 8px;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-next-previous-buttons__button {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
}

@media (max-width: 600px) {
    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery .wc-block-next-previous-buttons {
        display: flex;
    }

    body.single-product main .hcl-pdp-gallery-column
    .wc-block-product-gallery-thumbnails {
        order: 1;
        height: 78px;
        aspect-ratio: auto !important;
    }
}

body.single-product main .hcl-pdp-proof,
body.single-product main .hcl-pdp-proof * {
    box-sizing: border-box;
}

body.single-product main .hcl-pdp-proof {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    gap: 0;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #19231d;
    font-family: var(
        --wp--preset--font-family--primary,
        Montserrat, sans-serif
    );
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
/* Product 22: content-driven trust row, any width. */
body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .hcl-pdp-proof {
    width:100%;
    margin-left:0;
    flex-wrap:wrap;
    row-gap:4px;
}


body.single-product main .hcl-pdp-proof__item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #19231d;
    font: inherit;
    white-space: nowrap;
}

body.single-product main .hcl-pdp-proof__value {
    display: inline-flex;
    align-items: center;
    height: 24px;
    margin: 0;
    padding: 0;
    color: #19231d;
    font: inherit;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

body.single-product main
.hcl-pdp-proof__item:not(:first-child)::before {
    content: "|";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    margin: 0 8px 0 12px;
    color: #a5aea6;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
}

body.single-product main .hcl-pdp-proof__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 19px;
    width: 19px;
    height: 24px;
    padding: 0;
    margin: 0;
}

body.single-product main .hcl-pdp-proof__icon svg {
    display: block;
    width: 19px;
    height: 19px;
    margin: 0;
}

body.single-product main
.hcl-pdp-proof__rating .hcl-pdp-proof__icon {
    color: #da9b00;
}

body.single-product main
.hcl-pdp-proof__sold .hcl-pdp-proof__icon {
    color: #d7840d;
}

body.single-product main
.hcl-pdp-proof__genuine .hcl-pdp-proof__icon {
    color: #24834c;
}

body.single-product main
.hcl-pdp-proof__quality .hcl-pdp-proof__icon {
    color: #008f86;
}

/* Compact H1 — product pages only. */

body.single-product main h1.hcl-pdp-title {
    font-family: var(
        --wp--preset--font-family--primary,
        Montserrat, sans-serif
    ) !important;
    font-size: clamp(30px, 2.5vw, 38px) !important;
    font-weight: 650 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
    margin-top: 0 !important;

    padding-top: 0 !important;
    overflow-wrap: break-word;
}

/* Exclusive title spacing: with and without product pills. */
body.single-product main h1.hcl-pdp-title--features {
    margin-bottom: 0 !important;
}

body.single-product main
h1.hcl-pdp-title:not(.hcl-pdp-title--features) {
    margin-bottom: 15px !important;
}

@media (min-width: 741px) and (max-width: 1199px) {
    body.single-product main .hcl-pdp-proof {
        font-size: 13.5px;
    }

    body.single-product main .hcl-pdp-proof__icon {
        flex-basis: 18px;
        width: 18px;
    }

    body.single-product main .hcl-pdp-proof__icon svg {
        width: 18px;
        height: 18px;
    }

    body.single-product main
    .hcl-pdp-proof__item:not(:first-child)::before {
        margin-left: 7px;
        margin-right: 5px;
    }
}

@media (max-width: 740px) {
    body.single-product main .hcl-pdp-proof {
        font-size: 13px;
        margin-left: -4px;
        width: calc(100% + 4px);
        margin-bottom: 6px;
    }
    /* Product 22: align trust badges. */



    body.single-product main .hcl-pdp-proof__genuine {
        display: none;
    }

    body.single-product main .hcl-pdp-proof__item {
        gap: 3px;
        height: 22px;
        min-height: 22px;
    }

    body.single-product main .hcl-pdp-proof__value {
        height: 22px;
    }

    body.single-product main .hcl-pdp-proof__icon {
        flex-basis: 16px;
        width: 16px;
        height: 22px;
    }

    body.single-product main .hcl-pdp-proof__icon svg {
        width: 16px;
        height: 16px;
    }

    body.single-product main
    .hcl-pdp-proof__item:not(:first-child)::before {
        height: 22px;
        margin: 0 3px 0 5px;
        font-size: 12px;
    }

    body.single-product main h1.hcl-pdp-title {
        font-size: clamp(23px, 6.6vw, 27px) !important;
        line-height: 1.19 !important;

    }
}

@media (max-width: 740px) {
    body.single-product main
    h1.hcl-pdp-title:not(.hcl-pdp-title--features) {
        margin-bottom: 12px !important;
    }
}

@media (max-width: 350px) {
    body.single-product main .hcl-pdp-proof {
        font-size: 11.5px;
    }

    body.single-product main .hcl-pdp-proof__item {
        gap: 2px;
    }

    body.single-product main .hcl-pdp-proof__icon {
        flex-basis: 13px;
        width: 13px;
    }

    body.single-product main .hcl-pdp-proof__icon svg {
        width: 13px;
        height: 13px;
    }

    body.single-product main
    .hcl-pdp-proof__item:not(:first-child)::before {
        margin: 0 2px 0 3px;
        font-size: 11px;
    }
}

/*
 * HCL Product Feature Pills V1
 * Approved responsive V8.1 design.
 * Product-specific data, no external dependencies.
 */

body.single-product main .hcl-pdp-features,
body.single-product main .hcl-pdp-features * {
    box-sizing: border-box;
}

body.single-product main .hcl-pdp-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 8px;
    row-gap: 6px;
    width: 100%;
    max-width: 100%;
    margin: 8px 0 8px !important;
    padding: 0;
    border: 0;
    background: transparent;
}

body.single-product main .hcl-pdp-feature-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: max-content;
    min-width: 0;
    max-width: 100%;
    min-height: 34px;

    padding: 7px 12px;
    gap: 6px;

    border: 1px solid #285341;
    border-radius: 999px;
    background: #183F31;
    color: #fff;

    font-family: var(
        --wp--preset--font-family--primary,
        Montserrat,
        sans-serif
    );

    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: none;
}

body.single-product main .hcl-pdp-feature-icon {
    display: inline-flex;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

body.single-product main .hcl-pdp-feature-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

body.single-product main .hcl-pdp-feature-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
}

body.single-product main .hcl-pdp-feature-short {
    display: none;
}

/* Tablet — four full labels on one row. */
@media (min-width: 741px) and (max-width: 1199px) {
    body.single-product main .hcl-pdp-features {
        flex-wrap: nowrap;
        column-gap: 6px;
    }

    body.single-product main .hcl-pdp-feature-pill {
        padding: 7px 9px;
        gap: 5px;
        font-size: 12.5px;
    }

    body.single-product main .hcl-pdp-feature-icon {
        flex-basis: 15px;
        width: 15px;
        height: 15px;
    }
}

/*
 * Mobile feature pills — content-based responsive wrapping.
 * One authoritative mobile layout owner.
 * Existing SVG icons and product labels remain unchanged.
 */
@media (max-width: 740px) {
    body.single-product main .hcl-pdp-features {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: flex-start;
        column-gap: 4px;
        row-gap: 6px;
        margin: 6px 0 6px !important;
    }

    body.single-product main .hcl-pdp-feature-pill {
        display: inline-flex;
        flex: 0 0 auto;
        width: max-content;
        min-width: 0;
        max-width: 100%;
        min-height: 32px;
        padding: 6px 7px;
        gap: 4px;
        font-size: 12.5px;
        font-weight: 600;
        justify-content: center;
        white-space: normal;
    }

    body.single-product main .hcl-pdp-feature-icon {
        flex: 0 0 14px;
        width: 14px;
        height: 14px;
    }

    body.single-product main .hcl-pdp-feature-label {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.single-product main .hcl-pdp-feature-full {
        display: none;
    }

    body.single-product main .hcl-pdp-feature-short {
        display: inline;
    }
}

/*
 * Ultra-narrow mobiles retain the existing compact
 * font and SVG icon sizes without forcing grid columns.
 */
@media (max-width: 350px) {
    body.single-product main .hcl-pdp-feature-pill {
        font-size: 12px;
    }

    body.single-product main .hcl-pdp-feature-icon {
        flex-basis: 13px;
        width: 13px;
        height: 13px;
    }

    /* Product 22: narrow-mobile pills, one row. */
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column:not(.hcl-pdp-gallery-column) > .hcl-pdp-features {
        --hcl-p22-pill-gap:4px;
    }
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column:not(.hcl-pdp-gallery-column) > .hcl-pdp-features > .hcl-pdp-feature-pill {
        padding-left:6px;
        padding-right:6px;
    }
}

/* Product 22: compact natural-width hero pills. */
@media (max-width: 740px) {
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column:not(.hcl-pdp-gallery-column) > .hcl-pdp-features {
        display:flex;
        flex-flow:row wrap;
        justify-content:flex-start;
        align-items:center;
        column-gap:var(--hcl-p22-pill-gap,6px);
        row-gap:6px;
        width:100%;
        max-width:100%;
    }
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column:not(.hcl-pdp-gallery-column) > .hcl-pdp-features > .hcl-pdp-feature-pill {
        display:inline-flex;
        flex:0 0 auto;
        width:max-content;
        min-width:0;
        max-width:100%;
        justify-content:center;
    }
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .wp-block-columns:has(> .hcl-pdp-gallery-column) > .wp-block-column:not(.hcl-pdp-gallery-column) > .hcl-pdp-features > .hcl-pdp-feature-pill:nth-child(4) {
        display:none !important;
    }
}

/*
 * HCL PDP Price V2 — server-rendered single price.
 * No JS-ready swap or duplicate native price renderer.
 */
body.single-product main
.hcl-pdp-features + .wp-block-woocommerce-product-price.hcl-pdp-price-host {
    margin-block-start: 0;
}

body.single-product main:has(.hcl-pdp-price-host)
form.variations_form .woocommerce-variation-price {
    display: none;
}

body.single-product main .hcl-pdp-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    row-gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: var(--wp--preset--font-family--primary, Montserrat, sans-serif);
    font-variant-numeric: lining-nums tabular-nums;
}

body.single-product main .hcl-pdp-price-old {
    flex: 0 0 auto;
    transform: translateY(2px);
    margin: 0;
    padding: 0;
    color: #68736C;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

body.single-product main .hcl-pdp-price-current {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    color: #183F31;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
    white-space: nowrap;
}

body.single-product main .hcl-pdp-price-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 5px 8px;
    border-radius: 4px;
    background: #2F6B3D;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}



/*
 * HCL Premium Size Selector:
 * One canonical form grid track.
 * Native WooCommerce owns purchase submission.
 */
body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) {
    grid-template-columns:minmax(0,1fr);
    --hcl-pdp-purchase-width:min(100%,510px);
    --hcl-pdp-quantity-width:156px;
    --hcl-pdp-control-height:56px;
}

body.single-product main form.variations_form:has(> .hcl-size-selector[data-hcl-count="3"]):not(.hcl-size-fallback) {
    --hcl-pdp-purchase-width:min(100%,630px);
}

/* HCL Premium Size Selector V1 — authoritative responsive owner. */
body.single-product main form.variations_form > .hcl-size-selector {
    box-sizing:border-box;
    grid-column:1/-1;
    min-width:0;
    width:100%;
    max-width:100%;
    margin:2px 0 0;
    padding:0;
    font-family:Montserrat,system-ui,sans-serif;
}
/*
 * HCL Size Selector V1 — single first-paint visibility owner.
 * Native select remains in the WooCommerce form.
 */
@media (scripting: enabled) {
    body.single-product main
    form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback)
    > table.variations {
        display: none !important;
    }

    body.single-product main
    form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback)
    > .single_variation_wrap {
        grid-column: 1 / -1;
        min-width: 0;
    }
}

@media (scripting: none) {
    body.single-product main
    form.variations_form > .hcl-size-selector {
        display: none !important;
    }
}

body.single-product main
form.variations_form.hcl-size-fallback > .hcl-size-selector {
    display: none !important;
}
body.single-product main .hcl-size-selector__heading {
    margin:0 0 22px;
    color:#183F31;
    font:800 17px/1.3 Montserrat,system-ui,sans-serif;
}
body.single-product main .hcl-size-selector__grid {
    box-sizing:border-box;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:14px;
    width:100%;
    max-width:510px;
    min-width:0;
    margin:0;
    padding:0;
}
body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-selector__grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-width:var(--hcl-pdp-purchase-width);
    gap:12px;
}
body.single-product main .hcl-size-card {
    box-sizing:border-box;
    appearance:none;
    -webkit-appearance:none;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    min-width:0;
    width:100%;
    height:100%;
    min-height:116px;
    margin:0;
    padding:17px 14px 12px;
    border:1px solid #DDE1E4;
    border-radius:19px;
    background:#FFF;
    color:#172025;
    text-align:left;
    cursor:pointer;
    font:inherit;
    box-shadow:none;
}
body.single-product main .hcl-size-card.is-selected {
    border-color:#914CB9;
    background:#FAF6FF;
}
body.single-product main .hcl-size-card:focus-visible {
    outline:2px solid #C9963D;
    outline-offset:3px;
}
body.single-product main .hcl-size-card__badge {
    box-sizing:border-box;
    position:absolute;
    top:-13px;
    left:50%;
    transform:translateX(-50%);
    width:max-content;
    max-width:calc(100% - 4px);
    padding:4px 12px;
    border-radius:999px;
    background:#078C78;
    color:#FFF;
    font:700 11px/1.1 Montserrat,system-ui,sans-serif;
    text-align:center;
    white-space:nowrap;
}
body.single-product main .hcl-size-card__badge[hidden] {
    display:none;
}
body.single-product main .hcl-size-card[data-hcl-base-badge="Best Value"] .hcl-size-card__badge {
    background:#F6A000;
}
body.single-product main .hcl-size-card[data-hcl-base-badge="Most Popular"] .hcl-size-card__badge {
    background:#168957;
}
body.single-product main .hcl-size-selector[data-hcl-count="2"] .hcl-size-card.is-selected .hcl-size-card__badge {
    background:#078C78;
}
body.single-product main .hcl-size-card__top {
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
}
body.single-product main .hcl-size-card__radio {
    box-sizing:border-box;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 18px;
    width:18px;
    height:18px;
    border:1px solid #CCD0D5;
    border-radius:50%;
    background:#FFF;
}
body.single-product main .hcl-size-card.is-selected .hcl-size-card__radio {
    border-color:#8F48B7;
}
body.single-product main .hcl-size-card.is-selected .hcl-size-card__radio::after {
    content:"";
    width:9px;
    height:9px;
    border-radius:50%;
    background:#8745AB;
}
body.single-product main .hcl-size-card__label {
    min-width:0;
    font-size:15px;
    font-weight:750;
    line-height:1.3;
    overflow-wrap:break-word;
}
body.single-product main .hcl-size-card__saving {
    display:block;
    padding-left:27px;
    min-height:16px;
    color:#2F6B3D;
    font-size:12px;
    font-weight:700;
    line-height:1.25;
}
body.single-product main .hcl-size-card__money {
    display:flex;
    flex-wrap:nowrap;
    align-items:baseline;
    gap:7px;
    min-width:0;
    margin-top:4px;
    white-space:nowrap;
}
body.single-product main .hcl-size-card__price {
    font-size:20px;
    font-weight:800;
    line-height:1.2;
    color:#101827;
}
body.single-product main .hcl-size-card__old {
    font-size:12px;
    font-weight:600;
    line-height:1.2;
    color:#374151;
    text-decoration:line-through;
    opacity:1;
}
body.single-product main .hcl-size-card__unit {
    display:block;
    margin-top:auto;
    color:#374151;
    font-size:12px;
    font-weight:600;
    line-height:1.25;
}
body.single-product main .hcl-size-card__money .woocommerce-Price-amount,
body.single-product main .hcl-size-card__unit .woocommerce-Price-amount,
body.single-product main .hcl-size-card__saving .woocommerce-Price-amount {
    font:inherit;
    color:inherit;
}
@media(max-width:740px) {
    body.single-product main form.variations_form > .hcl-size-selector {
        grid-column:1/-1;
        min-width:0;
        width:100%;
        max-width:100%;
    }
    body.single-product main .hcl-size-selector__heading {
        font-size:14px;
        margin-bottom:22px;
    }
    body.single-product main .hcl-size-selector__grid {
        box-sizing:border-box;
        width:100%;
        max-width:470px;
        margin-inline:auto;
        padding-inline:clamp(10px,3.9vw,14px);
        gap:8px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-selector__grid {
        width:100%;
        max-width:100%;
        padding-inline:0;
        gap:4px;
    }
    body.single-product main .hcl-size-card {
        min-height:116px;
        border-radius:14px;
        padding:15px 10px 10px;
        gap:3px;
    }
    body.single-product main .hcl-size-card__top {
        gap:6px;
    }
    body.single-product main .hcl-size-card__radio {
        flex-basis:16px;
        width:16px;
        height:16px;
    }
    body.single-product main .hcl-size-card__label {
        font-size:13px;
    }
    body.single-product main .hcl-size-card__saving {
        padding-left:22px;
        font-size:11.5px;
    }
    body.single-product main .hcl-size-card__money {
        gap:4px;
        margin-top:2px;
    }
    body.single-product main .hcl-size-card__price {
        font-size:16px;
    }
    body.single-product main .hcl-size-card__old {
        font-size:11.5px;
    }
    body.single-product main .hcl-size-card__unit {
        font-size:11.5px;
    }
    body.single-product main .hcl-size-card__badge {
        top:-12px;
        padding:4px 8px;
        font-size:10px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card {
        padding:15px 5px 10px;
        gap:3px;
        border-radius:11px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__top {
        gap:4px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__radio {
        flex-basis:13px;
        width:13px;
        height:13px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__label {
        font-size:11.5px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__saving {
        padding-left:0;
        font-size:10px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__money {
        gap:3px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__price {
        font-size:13px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__old {
        font-size:10px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__unit {
        font-size:10.5px;
    }
    body.single-product main .hcl-size-selector[data-hcl-count="3"] .hcl-size-card__badge {
        padding:4px 5px;
        font-size:9px;
    }
}


/*
 * Native WooCommerce purchase row.
 * Scoped to the existing HCL size selector.
 * Single authoritative purchase-control CSS owner.
 */
body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) .woocommerce-variation-add-to-cart {
    box-sizing:border-box;
    display:flex;
    flex-flow:row nowrap;
    align-items:stretch;
    justify-content:flex-start;
    gap:10px;
    width:var(--hcl-pdp-purchase-width);
    max-width:100%;
    min-width:0;
    margin:0;
    padding:0;
    justify-self:start;
}

body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) .woocommerce-variation-add-to-cart .quantity {
    box-sizing:border-box;
    flex:0 0 var(--hcl-pdp-quantity-width);
    width:var(--hcl-pdp-quantity-width);
    min-width:0;
    max-width:var(--hcl-pdp-quantity-width);
    height:var(--hcl-pdp-control-height);
    margin:0;
    box-shadow:none;
}

body.single-product main form.variations_form.hcl-size-qty-ready .woocommerce-variation-add-to-cart .quantity.hcl-size-qty {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0;
    padding:3px;
    border:1px solid #D3DAD3;
    border-radius:12px;
    background:#fff;
    overflow:hidden;
}

body.single-product main form.variations_form.hcl-size-qty-ready .quantity.hcl-size-qty .hcl-size-qty-step {
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 40px;
    width:40px;
    height:100%;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    color:#183F31;
    font:700 20px/1 Montserrat,system-ui,sans-serif;
    box-shadow:none;
    cursor:pointer;
}

body.single-product main form.variations_form.hcl-size-qty-ready .quantity.hcl-size-qty .hcl-size-qty-step:disabled {
    opacity:.4;
    cursor:default;
}

body.single-product main form.variations_form.hcl-size-qty-ready .quantity.hcl-size-qty input.qty {
    box-sizing:border-box;
    display:block;
    flex:1 1 auto;
    width:1px;
    min-width:0;
    max-width:none;
    height:100%;
    margin:0;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    color:#183F31;
    text-align:center;
    font-size:17px;
    font-weight:700;
    box-shadow:none;
    appearance:textfield;
    -moz-appearance:textfield;
}

body.single-product main form.variations_form.hcl-size-qty-ready .quantity.hcl-size-qty input.qty::-webkit-inner-spin-button,
body.single-product main form.variations_form.hcl-size-qty-ready .quantity.hcl-size-qty input.qty::-webkit-outer-spin-button {
    -webkit-appearance:none;
    margin:0;
}

body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    box-sizing:border-box;
    display:flex;
    flex:1 1 0;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:auto;
    min-width:0;
    max-width:none;
    height:var(--hcl-pdp-control-height);
    margin:0;
    padding:0 12px;
    border:0;
    border-radius:12px;
    background:#2F6B3D;
    color:#fff;
    font-weight:600;
    white-space:nowrap;
    box-shadow:none;
    float:none;
}

/* PDP purchase benefits V4 — single consolidated responsive owner. */
/*
 * The native WooCommerce cart form has a 2em bottom margin.
 * Only remove it when this PDP column contains the benefits
 * component immediately below the purchase section.
 * Do not alter global WooCommerce forms or cart behavior.
 */
body.single-product main .wp-block-column:has(> .hcl-pdp-cta-benefits) .wp-block-add-to-cart-form form.cart {
    margin-bottom:0;
}

body.single-product main .hcl-pdp-cta-benefits {
    box-sizing:border-box;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:7px;
    width:min(100%,510px);
    max-width:100%;
    margin:10px 0 24px;
    padding:0;
    background:transparent;
    border:0;
    box-shadow:none;
    list-style:none;
}

body.single-product main .hcl-pdp-cta-benefits__item {
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    width:100%;
    min-width:0;
    min-height:66px;
    margin:0;
    padding:8px 6px;
    border:1px solid #CFE0D0;
    border-radius:8px;
    background:#EDF4EC;
    box-shadow:none;
    list-style:none;
    color:#183F31;
    font-family:Montserrat,system-ui,sans-serif;
    font-size:13.5px;
    font-weight:600;
    line-height:1.25;
    text-align:center;
    white-space:normal;
}

body.single-product main .hcl-pdp-cta-benefits__item svg {
    box-sizing:border-box;
    display:block;
    width:24px;
    height:24px;
    flex:0 0 24px;
    padding:0;
    border-radius:0;
    background:transparent;
    color:#2F6B3D;
}

body.single-product main .hcl-pdp-cta-benefits__label {
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    color:inherit;
    font:inherit;
    line-height:inherit;
    text-align:center;
    white-space:normal;
}

body.single-product main .hcl-pdp-cta-benefits__line {
    display:inline;
    color:inherit;
    font:inherit;
    line-height:inherit;
}

body.single-product main .hcl-pdp-cta-benefits__line--mobile-only {
    display:none;
}

/* Keep the same track as the three-variation purchase controls. */
body.single-product main .wp-block-column:has(.hcl-size-selector[data-hcl-count="3"]) .hcl-pdp-cta-benefits {
    width:min(100%,630px);
}

@media (max-width:1198px) and (min-width:1000px) {
    body.single-product main .wp-block-column:has(.hcl-size-selector[data-hcl-count="3"]) .hcl-pdp-cta-benefits {
        width:min(100%,574.25px);
    }
}

@media (max-width:999px) and (min-width:741px) {
    body.single-product main .hcl-pdp-cta-benefits {
        margin-inline:auto;
    }
}

@media (max-width:740px) {
    body.single-product main .hcl-pdp-cta-benefits {
        width:calc(min(100%,470px) - 2 * clamp(10px,3.9vw,14px));
        max-width:100%;
        gap:5px;
        margin:10px auto 20px;
    }
    /* Product 22: match the hero and Related Products track. */
    body.single-product main:has(#hcl-reviews-v1[data-hcl-product-id="22"]) .hcl-pdp-cta-benefits {
        width:100%;
        max-width:100%;
        margin-inline:0;
    }


    body.single-product main .wp-block-column:has(.hcl-size-selector[data-hcl-count="3"]) .hcl-pdp-cta-benefits {
        width:100%;
        margin-inline:0;
    }

    body.single-product main .hcl-pdp-cta-benefits__item {
        min-height:72px;
        gap:4px;
        padding:7px 3px;
        border-radius:7px;
        font-size:12px;
        line-height:1.2;
    }

    body.single-product main .hcl-pdp-cta-benefits__item svg {
        width:22px;
        height:22px;
        flex-basis:22px;
    }

    body.single-product main .hcl-pdp-cta-benefits__label {
        font-size:clamp(10.5px,3.05vw,12px);
        line-height:1.25;
    }

    body.single-product main .hcl-pdp-cta-benefits__line,
    body.single-product main .hcl-pdp-cta-benefits__line--mobile-only {
        display:block;
        white-space:nowrap;
    }

    body.single-product main .hcl-pdp-cta-benefits__label {
        white-space:nowrap;
    }
}

@media (min-width:700px) and (max-width:740px) {
    body.single-product main .wp-block-column:has(.hcl-size-selector[data-hcl-count="2"]) .hcl-pdp-cta-benefits {
        width:min(100%,442px);
        margin-inline:0;
    }
}


/*
 * Mobile and tablet control dimensions.
 * Preserve native form behavior.
 */
@media (max-width:999px) {
    body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) {
        --hcl-pdp-quantity-width:120px;
        --hcl-pdp-control-height:50px;
    }
}

/* Mobile two-card intrinsic track and three-card full-width track. */
@media (max-width:740px) {
    body.single-product main form.variations_form:has(> .hcl-size-selector[data-hcl-count="2"]):not(.hcl-size-fallback) {
        --hcl-pdp-purchase-width:calc(min(100%,470px) - 2 * clamp(10px,3.9vw,14px));
    }

    body.single-product main form.variations_form:has(> .hcl-size-selector[data-hcl-count="3"]):not(.hcl-size-fallback) {
        --hcl-pdp-purchase-width:100%;
    }

    body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) .woocommerce-variation-add-to-cart {
        margin-inline:auto;
    }
}

@media (max-width:350px) {
    body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) {
        --hcl-pdp-quantity-width:110px;
    }
}

/*
 * Approved two-card alignment at 740px.
 * First card aligns with selector heading.
 */
@media (min-width:700px) and (max-width:740px) {
    body.single-product main form.variations_form:has(> .hcl-size-selector[data-hcl-count="2"]):not(.hcl-size-fallback) {
        --hcl-pdp-purchase-width:min(100%,442px);
    }

    body.single-product main .hcl-size-selector[data-hcl-count="2"] .hcl-size-selector__grid {
        width:min(100%,442px);
        max-width:442px;
        margin-inline:0;
        padding-inline:0;
    }

    body.single-product main form.variations_form:has(> .hcl-size-selector[data-hcl-count="2"]):not(.hcl-size-fallback) .woocommerce-variation-add-to-cart {
        margin-inline:0;
    }
}

/*
 * Tablet:
 * Center the card group and purchase row together.
 */
@media (min-width:741px) and (max-width:999px) {
    body.single-product main .hcl-size-selector__grid {
        margin-inline:auto;
    }

    body.single-product main form.variations_form:has(> .hcl-size-selector):not(.hcl-size-fallback) .woocommerce-variation-add-to-cart {
        margin-inline:auto;
    }
}

/*
 * 1024px constrained details column:
 * Keep cards and purchase controls on one 574.25px track.
 */
@media (min-width:1000px) and (max-width:1198px) {
    body.single-product main form.variations_form:has(> .hcl-size-selector[data-hcl-count="3"]):not(.hcl-size-fallback) {
        --hcl-pdp-purchase-width:min(100%,574.25px);
    }
}

/* HCL PDP SSR price host. */
body.single-product main .hcl-pdp-price-host {
    display: inline-grid;
    grid-template-columns: max-content;
    max-width: 100%;
    vertical-align: top;
}











@media (max-width: 1199px) {
    body.single-product main .hcl-pdp-price-current {
        font-size: 32px;
    }
}

@media (max-width: 740px) {
    






    body.single-product main .hcl-pdp-price-line {
        column-gap: 8px;
        row-gap: 5px;
    }

    body.single-product main .hcl-pdp-price-current {
        font-size: 27px;
    }

    body.single-product main .hcl-pdp-price-old {
        font-size: 16px;
    }

    body.single-product main .hcl-pdp-price-badge {
        font-size: 11px;
        padding: 4px 7px;
    }
}

@media (max-width: 350px) {
    body.single-product main .hcl-pdp-price-line {
        column-gap: 7px;
    }

    body.single-product main .hcl-pdp-price-current {
        font-size: 26px;
    }

    body.single-product main .hcl-pdp-price-old {
        font-size: 15px;
    }
}
