.pl-pco-options-wrapper {
    width: 100%;
}

#pco-ce.pl-pco-options {
    width: 100%;
}

.pl-pco-options__placeholder {
    padding: 16px;
    border: 1px dashed #c3c4c7;
    color: #50575e;
    text-align: center;
}

.pl-pco-options__editor-label {
    grid-column: 1 / -1;
    margin: 0 0 8px;
    color: #6d6d6d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pl-pco-options-wrapper--editor #pco_widget input,
.pl-pco-options-wrapper--editor #pco_widget select,
.pl-pco-options-wrapper--editor #pco_widget textarea,
.pl-pco-options-wrapper--editor #pco_widget button,
.pl-pco-options-wrapper--editor .pl-pco-options__purchase-skeleton a {
    pointer-events: none;
}

.pl-pco-options-wrapper--editor .pco-image-wrapper:empty {
    aspect-ratio: 1;
    background: #e5e5e5;
}

.pl-pco-options-wrapper--editor .ce-product-quantity {
    display: flex;
    justify-content: flex-end;
}

.pl-pco-options-wrapper--editor .ce-product-quantity .form-control {
    width: 72px;
}

.pl-pco-options__placeholder--warning {
    border-color: #dba617;
    background: #fcf9e8;
    color: #614200;
}

.pl-pco-options-anchor {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    scroll-margin-top: 120px;
}

.pl-pco-options-wrapper {
    scroll-margin-top: 120px;
}

.elementor-section-tabbed:has(.pl-pco-options-wrapper),
.elementor-widget-tabs:has(.pl-pco-options-wrapper) {
    scroll-margin-top: 120px;
}

body.has-pco #content .elementor-widget-product-carousel .elementor-widget-product-price,
body.has-pco #content .elementor-widget-product-carousel .elementor-widget-product-quantity,
body.has-pco #content .elementor-widget-product-carousel .elementor-widget-product-add-to-cart,
body.has-pco #content .elementor-widget-product-grid .elementor-widget-product-price,
body.has-pco #content .elementor-widget-product-grid .elementor-widget-product-quantity,
body.has-pco #content .elementor-widget-product-grid .elementor-widget-product-add-to-cart {
    display: revert !important;
}

.pco-widget__purchase {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 0;
}

.pco-widget__purchase .elementor-widget-product-add-to-cart a.disabled,
.pco-widget__purchase .elementor-widget-product-add-to-cart button.disabled,
.pco-widget__purchase .elementor-widget-product-add-to-cart [aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

body:not(.has-pco):not(.elementor-editor-active) #content .elementor-widget-button:has(a[href="#configure"]),
body:not(.has-pco):not(.elementor-editor-active) #content .elementor-widget-button:has(a[href="#product-configurator"]),
body:not(.has-pco):not(.elementor-editor-active) #content .elementor-widget-pl-pco-options {
    display: none !important;
}
