.spalvota-configurator {
    position: relative;
}

.spalvota-form-fields {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.spalvota-configurator.spalvota-loading {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.spalvota-configurator.spalvota-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid #e0e0e0;
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: spalvota-spin 0.6s linear infinite;
    z-index: 10;
}

@keyframes spalvota-spin {
    to { transform: rotate(360deg); }
}

.spalvota-product-code {
    margin-bottom: 16px;
    font-size: 13px;
    color: #666;
}

.spalvota-product-code .spalvota-code-label {
    font-weight: 600;
    color: #333;
}

.spalvota-field {
    margin-bottom: 16px;
    position: relative;
}

.spalvota-field--hidden {
    display: none !important;
}

.spalvota-field--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.spalvota-label {
	font-family:'URW Geometric';
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #372747;
    margin-bottom: 6px;
    letter-spacing: 0;
}

.spalvota-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    font-size: 15px;
    color: #1a1a2e;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    text-align: left;
}

.spalvota-dropdown-toggle:hover {
    border-color: #1a1a2e;
}

.spalvota-dropdown-toggle:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
}

.spalvota-field--open .spalvota-dropdown-toggle {
    border-color: #1a1a2e;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.spalvota-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
    color: #888;
}

.spalvota-field--open .spalvota-chevron {
    transform: rotate(180deg);
}

.spalvota-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #1a1a2e;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.spalvota-field--open .spalvota-dropdown-options {
    display: block;
}

.spalvota-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 15px;
    color: #1a1a2e;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.spalvota-option:hover {
    background-color: #f5f6f8;
}

.spalvota-option--active {
    background-color: #f0f4ff;
    font-weight: 600;
}

.spalvota-option--unavailable {
    opacity: 0.35;
    text-decoration: line-through;
    pointer-events: none;
}

.spalvota-option--disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.spalvota-check {
    color: #1a73e8;
    flex-shrink: 0;
    margin-left: 8px;
}

.spalvota-accessories-section {
    margin-top: 8px;
    margin-bottom: 16px;
    border: 1.5px solid #e8eaed;
    border-radius: 6px;
    overflow: hidden;
}

.spalvota-accessories-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1a73e8;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.spalvota-accessories-toggle:hover {
    background: #f8f9fa;
}

.spalvota-plus-icon {
    color: #1a73e8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.spalvota-accessories-toggle--open .spalvota-plus-icon {
    transform: rotate(45deg);
}

.spalvota-accessories-list {
    border-top: 1px solid #e8eaed;
}

.spalvota-accessory-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.spalvota-accessory-item:last-child {
    border-bottom: none;
}

.spalvota-accessory-item--selected {
    background: #f0f7ff;
}

.spalvota-acc-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    background: #fafafa;
    flex-shrink: 0;
}

.spalvota-acc-info {
    flex: 1;
    min-width: 0;
}

.spalvota-acc-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spalvota-acc-price {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.spalvota-acc-add {
    padding: 6px 16px;
    background: #fff;
    border: 1.5px solid #1a73e8;
    border-radius: 4px;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
}

.spalvota-acc-add:hover {
    background: #1a73e8;
    color: #fff;
}

.spalvota-acc-add.spalvota-acc-added {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.spalvota-product-info-bar {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spalvota-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.spalvota-info-item svg {
    color: #888;
    flex-shrink: 0;
}

.spalvota-stock-info {
    margin-top: 8px;
    font-size: 13px;
	width:100%;
}

.spalvota-stock--instock {
    color: #2e7d32;
}

.spalvota-stock--outofstock {
    color: #c62828;
    font-weight: 600;
}

.spalvota-service-addons {
    margin: 16px 0;
}

.spalvota-service-addons {
    margin: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.spalvota-service-addon-item {
    margin-bottom: 16px;
}
/*
.spalvota-service-addon-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    max-width: 100%;
    box-sizing: border-box;
	width:1000px;
	max-width:100%;
}*/
/*
.spalvota-service-option {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 1400px;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    font-size: 15px;
    color: #1a1a2e;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
    word-break: break-word;
}

.spalvota-service-option:hover {
    border-color: #1a1a2e;
}

.spalvota-service-option input[type="radio"] {
    margin: 0;
    accent-color: #E5175B;
}

.spalvota-service-option input[type="radio"]:checked + span {
    font-weight: 600;
}
*/
.spalvota-service-sku {
    font-size: 11px;
    color: #888;
}

.spalvota-service-price {
    font-size: 11px;
    color: #E5175B;
}

.spalvota-service-sub-field {
    margin-top: 10px;
    margin-left: 16px;
    position: relative;
}

.spalvota-service-sub-field--hidden {
    display: none;
}

.spalvota-service-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a2e;
    cursor: pointer;
    transition: border-color 0.15s ease;
    font-family: inherit;
    text-align: left;
}

.spalvota-service-dropdown-toggle:hover {
    border-color: #1a1a2e;
}

.spalvota-service-sub-field--open .spalvota-service-dropdown-toggle {
    border-color: #1a1a2e;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.spalvota-service-sub-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #1a1a2e;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.spalvota-service-sub-field--open .spalvota-service-sub-options {
    display: block;
}

.spalvota-service-sub-option {
    padding: 10px 14px;
    font-size: 14px;
    color: #1a1a2e;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

.spalvota-service-sub-option:hover {
    background-color: #f5f6f8;
}

.spalvota-service-sub-option--active {
    background-color: #f0f4ff;
    font-weight: 600;
}

/* Shortcode: bjpc_product_title */
.spalvota-dynamic-title {
    transition: opacity 0.15s ease;
}

/* Shortcode: bjpc_product_price */
.spalvota-dynamic-price {
    transition: opacity 0.15s ease;
}

.spalvota-price-line1 {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}

.spalvota-current-price {
    font-weight: 700;
    font-size: 1.3em;
}

.spalvota-regular-price {
    color: #999;
    font-size: 1em;
}

.spalvota-discount-badge {
	font-family: 'Config Rounded', sans-serif;
    display: inline-block;
    background: #E4175B;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 100%;
}

.spalvota-price-line2 {
    margin-top: 4px;
    font-size: 0.85em;
    color: #666;
}

.spalvota-price-excl-tax {
    font-weight: 500;
}

@media (max-width: 768px) {
    .spalvota-dropdown-toggle {
        padding: 10px 14px;
        font-size: 14px;
    }

    .spalvota-option {
        padding: 10px 14px;
        font-size: 14px;
    }

    .spalvota-accessory-item {
        gap: 8px;
        padding: 8px 12px;
    }

    .spalvota-acc-image {
        width: 40px;
        height: 40px;
    }
}

.spalvota-info-container {
    background-color: #F6F5F7;
    padding: 7px 7px 7px 10px !important;
    border-radius: 5px !important;
    width: 100% !important;
}

.spalvota-info-container .et-icon.et-exclamation {
    color: #E5175B !important;
}

.spalvota-info-container li {
    margin-bottom: 0px !important;
    line-height: 1 !important;
}

.spalvota-info-list {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.spalvota-info-item {
    display: flex;
    align-items: center;
    font-family: "URW Geometric", sans-serif;
    font-size: 16px;
    font-weight: 400;
    word-break: break-word;
}

.spalvota-info-icon {
    display: flex;
    position: relative;
    font-size: 14px;
}

.spalvota-info-icon + .spalvota-info-text {
    align-self: center;
    padding-left: 5px;
}

.spalvota-info-text {
    color: #372747;
    transition: color 0.3s;
}

.daznai-kartu .bought-together-products-wrapper {
    max-width: 100%;
    width: 700px;
}
.sale-wrapper {
    display: none !important;
}
/* Mygtuku konteineris */
.spalvota-designer-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin: 20px 0;
}

.spalvota-designer-button-wrapper {
    flex: 1;
    width: 50%;
    margin-bottom: 15px;
}

.spalvota-designer-button {
    display: inline-block;
    width: 100%;
    background-color: #FFFFFF;
    font-family: "COCOGOOSE", sans-serif;
    font-size: 15px;
    color: #E5175B;
    border: 2px solid #E5175B;
    border-radius: 30px;
    padding: 15px 0 9px 0;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s;
}

.spalvota-designer-button-content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.spalvota-designer-button-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.spalvota-designer-button:hover {
    background-color: #E5175B;
    color: #FFFFFF;
}

.spalvota-designer-button:hover .spalvota-designer-button-icon svg path {
    stroke: #FFFFFF;
}

@media (max-width: 768px) {
    .spalvota-designer-buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    .spalvota-designer-button-wrapper {
        width: 100%;
    }

    .spalvota-service-option {
        padding: 10px 14px;
        font-size: 14px;
    }

    #spalvota-smartcustomizer-section .sc-var-panel {
        padding: 8px;
    }

    .spalvota-designer-button {
        font-size: 13px;
        padding: 12px 0 8px 0;
    }
}

/* SmartCustomizer sekcija */
#spalvota-smartcustomizer-section {
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

#spalvota-smartcustomizer-section .sc-var-panel {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

/* Hide the original SC "Customize product" button -- our "Sukurti maketa" replaces it */
form.cart > .smartcustomizer-link,
form.cart > #smartcustomizer-link {
    display: none !important;
}

/* Uztikrinti, kad mygtukai butu pries kieki */
.quantity,
.single_add_to_cart_button {
    margin-top: 15px;
}

/* Pasalinkite raudona background testavimui */
#spalvota-create-layout-wrapper {
    background: none !important;
}




/* Service Addon Dropdown stilius - toks pat kaip spalvota-field */
.spalvota-service-addon-dropdown-wrapper {
    position: relative;
    margin-top: 4px;
}

.spalvota-service-addon-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 6px;
    font-size: 15px;
    color: #1a1a2e;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
    text-align: left;
	text-transform:none;
	height: 50px;
}



.spalvota-service-addon-toggle:hover {
    border-color: #1a1a2e;
	background-color:white!important;
	color: #1a1a2e!important;
}

.spalvota-service-addon-toggle:focus {
    outline: none;
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.08);
	
}

.spalvota-service-addon-dropdown-wrapper.spalvota-open .spalvota-service-addon-toggle {
    border-color: #1a1a2e;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.spalvota-service-addon-options {
    display: none;
    position: relative;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #1a1a2e;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

.spalvota-service-addon-dropdown-wrapper.spalvota-open .spalvota-service-addon-options {
    display: block;
}

.spalvota-service-addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 15px;
    color: #1a1a2e;
    cursor: pointer;
    transition: background-color 0.1s ease;
    gap: 12px;
    flex-wrap: wrap;
}

.spalvota-service-addon-option:hover {
    background-color: #f5f6f8;
}

.spalvota-service-addon-option--active {
    background-color: #f0f4ff;
    font-weight: 600;
}

.spalvota-service-addon-option-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.spalvota-service-addon-option .spalvota-service-price {
    font-size: 13px;
    color: #E5175B;
}

.spalvota-service-addon-option .spalvota-service-sku {
    font-size: 11px;
    color: #888;
}

.spalvota-service-addon-option .spalvota-check {
    color: #1a73e8;
    flex-shrink: 0;
    margin-left: 4px;
}
.spalvota-service-addons {
    width: 1000px;
    overflow: visible;
}