#cut-to-size-tabs {
    width: 100%;
}

#cut-to-size-tabs .tab {
    float: left;
    margin-right: 10px;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
}

#cut-to-size-tabs .tab.active {
    background: #eee;
}

#cut-to-size-tabs .tabs-content	{
    border: 1px solid #ddd;
    padding: 20px 15px 10px;
}

#cut-to-size-tabs #sheets-content {
    display: none;
}

#cut-to-size-tabs .field-wrapper {
    display: block;
    margin-bottom: 20px;
    clear: left;
}

#cut-to-size-tabs .field-wrapper h5 {
    margin: 5px 0;
}

#cut-to-size-tabs .field-wrapper input[type="text"],
#cut-to-size-tabs .field-wrapper select {
    line-height: 20px;
    height: 30px;
    width: 300px;
    max-width: 100%;
    font-size: 13px;
    padding: 0 10px;
    color: #555;
}

#cut-to-size-tabs .field-wrapper.length,
#cut-to-size-tabs .field-wrapper.width {
    float: left;
    width: 20%;
    margin-right: 40px;
    clear: right;
}

#cut-to-size-tabs .product-drilled-holes-fields {
    display: none;
    border: 1px solid #ccc;
    padding: 0 10px;
}

/* Add to cart */

.add-to-cart-live-update {
    width: 100%;
    margin-top: 20px;
    background: #aaa;
    border-radius: 5px;
    padding: 12px 12px 12px 20px;
}

.add-to-cart-live-update .quantity-text {
    float: left;
    line-height: 35px;
    color: #fff;
    padding-right: 10px;
}

.live-price-wrapper p {
    display: inline;
}

.add-to-cart-live-update .live-price-wrapper {
    float: left;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 35px;
}

.add-to-cart-live-update .live-price-wrapper .amount {
    color: inherit !important;
}

.add-to-cart-live-update .quantity-wrapper {
    float: right;
}

.product .cart .add-to-cart-live-update .quantity-wrapper .quantity.buttons_added {
    margin: 0 15px 0 0;
    width: auto;
    border: 0;
}

.add-to-cart-live-update .quantity-wrapper .quantity.buttons_added input.qty {
    background: #fff;
    height: 35px !important;
}

.add-to-cart-live-update .quantity-wrapper .quantity.buttons_added input.minus,
.add-to-cart-live-update .quantity-wrapper .quantity.buttons_added input.plus {
    display: none;
}

.add-to-cart-live-update .quantity-wrapper  .single_add_to_cart_button {
    padding: 10px 20px !important;
    font-weight: bold !important;
    background: #e10707 !important;
}

/* Custom Cut-to-Size Layout */

.kp-cut-to-size-wrapper {
    font-family: "Work Sans", sans-serif;
    font-size: 1rem;
}

.kp-section-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.kp-dimension-field {
    margin-bottom: 0.5rem;
}

.kp-dimensions-grid {
    display: flex;
    gap: 1rem;
}

.kp-dimensions-grid .kp-dimension-field {
    flex-grow: 1;
    width: 100%;
}

.kp-divider {
    margin-bottom: 0.5rem;
    font-style: italic;
}

.kp-section {
    margin-bottom: 0.5rem;
}

.kp-muted {
    color: #666;
    font-size: 0.9rem;
}

.kp-price-wrapper {
    padding-top: 1rem;
    border-top: 1px solid #cfcfcf;
    margin-top: 1rem;
}

.kp-price {
    display: none;
}

.kp-price-note {
    margin-left: 0.5rem;
    font-size: 12px;
}

.kp-price-amount {
    font-size: 1.75rem;
    font-weight: 600;
    height: 40px;
}

.kp-calculating {
    display: none;
    width: 100px;
    height: 40px;
    background-color: #eeeeee;
    border-radius: 40px;
    animation: kpPulse 1.5s ease-in-out infinite;
}

/* Form Elements */

.kp-label,
.kp-dimension-field label {
    font-size: 14px;
    display: block;
    margin-bottom: 0.25rem;
}

.kp-select {
    display: block;
    width: 100%;
}

.kp-input,
.kp-select,
.kp-dimension-field input,
.kp-dimension-field input[type=number],
.kp-dimension-field select {
    font-size: 14px;
    padding: 6px;
    height: unset;
}

.kp-input::placeholder,
.kp-dimension-field input::placeholder {
    color: #aaa;
}


.kp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.kp-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.kp-constraint {
    font-size: 12px;
    margin-top: 0.25rem;
}

@keyframes kpPulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}
