.single-product form.variations_form select[name="attribute_peso"] { --cn-weight-chips-ready: 1; }
.single-product form.variations_form select.cn-weight-select-enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: -1px !important;
    border: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}
.single-product form.variations_form .cn-single-weight-chips:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form button.cn-single-weight-chip {
    box-sizing: border-box;
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #D8D1C4;
    border-radius: 8px;
    background: #FFF9EE;
    color: #243f25;
    font: inherit;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: none;
    cursor: pointer;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form button.cn-single-weight-chip[aria-pressed="true"] {
    background: #243f25;
    border-color: #243f25;
    color: #fff;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form button.cn-single-weight-chip:focus-visible {
    outline: 2px solid #243f25;
    outline-offset: 3px;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form button.cn-single-weight-chip:disabled {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Compact label and native reset link, only after weight chips initialize. */
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form table.variations tr:has(select.cn-weight-select-enhanced) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form table.variations tr:has(select.cn-weight-select-enhanced) > :is(th.label, td.value) {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form table.variations tr:has(select.cn-weight-select-enhanced) label {
    display: block;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #243f25;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form table.variations tr:has(select.cn-weight-select-enhanced) .reset_variations {
    display: block;
    width: fit-content;
    margin: 6px 0 0;
    padding: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #243f25;
    opacity: .7;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.single-product .elementor .elementor-element.elementor-widget-woocommerce-product-add-to-cart form.variations_form table.variations tr:has(select.cn-weight-select-enhanced) .reset_variations:is(:hover, :focus-visible) {
    opacity: 1;
}
