:root {
    --pofw-accent: #F4690A;
    --pofw-dark: #3a3a3a;
    --pofw-bg: #f6f6f6;
}

.pofw-product-options-wrapper {
    margin-bottom: 24px;
}

.pofw-product-options-wrapper .field {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.pofw-product-options-wrapper .field > label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--pofw-dark);
    margin-bottom: 12px;
}

.pofw-product-options-wrapper .field.pofw-required > label > span:first-child:after {
    color: var(--pofw-accent);
    content: ' *';
    display: inline;
}

.pofw-product-options-wrapper .field > label span.pofw-price {
    font-weight: 600;
    font-size: 12px;
    color: var(--pofw-accent);
}

.pofw-product-options-wrapper .field .control select {
    width: 100%;
    height: auto;
    line-height: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233a3a3a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.pofw-product-options-wrapper .field .control input[type="text"],
.pofw-product-options-wrapper .field .control input[type="number"],
.pofw-product-options-wrapper .field .control textarea {
    width: 100%;
    padding: 10px 14px;
    line-height: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.pofw-product-options-wrapper .field .control input[type="text"]:focus,
.pofw-product-options-wrapper .field .control input[type="number"]:focus,
.pofw-product-options-wrapper .field .control textarea:focus,
.pofw-product-options-wrapper .field .control select:focus {
    border-color: var(--pofw-accent);
    outline: none;
}

.pofw-product-options-wrapper .field .control .choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, background 0.15s ease-in-out;
}

.pofw-product-options-wrapper .field .control .choice:hover {
    border-color: var(--pofw-accent);
}

.pofw-product-options-wrapper .field .control .choice:has(input:checked) {
    border-color: var(--pofw-accent);
    background: #fff6ef;
}

.pofw-product-options-wrapper .field .control .choice label {
    display: inline;
    padding-left: 3px;
    margin: 0;
    cursor: pointer;
    flex: 1 1 auto;
    color: var(--pofw-dark);
}

.pofw-product-options-wrapper .field .control .choice input[type="radio"],
.pofw-product-options-wrapper .field .control .choice input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--pofw-accent);
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    order: 2;   
}

.pofw-product-options-wrapper .field .control .choice .pofw-price {
    color: var(--pofw-accent);
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
    order: 1;
}

.pofw-product-options-wrapper .field .control .choice .pofw-crossed-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
}

.pofw-product-options-wrapper .field.pofw-required.pofw-not-valid .control input[type="text"],
.pofw-product-options-wrapper .field.pofw-required.pofw-not-valid .control .options-list {
    border: 1px solid #e32;
}

.pofw-product-options-wrapper .field.pofw-required.pofw-not-valid .pofw-required-text {
    color: #e32;
    font-style: italic;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}