.wup-upsells {
    margin-bottom: 20px;	border-top: 1px solid #D4D0CD;	border-bottom: 1px solid #D4D0CD;
}.woocommerce .wup-upsells ul.products li.product .woocommerce-loop-product__title{	line-height: 15px;}
.wup-upsells h2 {
    margin-bottom: 25px;    padding-top: 25px;    font-size:20px;    font-weight: normal;
}
.wup-upsells ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;	flex-direction: column;
}
.wup-upsells ul.products li.product {
    margin: 0 !important;   display: block;    width: 100%;	margin-right: 0 !important;	margin-bottom: 30px !important;
}
.wup-upsells ul.products li.product .ocwsu-custom-add-to-cart{
    display: none;
}.woocommerce .wup-upsells ul.products li.product a img{	width: 105px;	cursor: pointer;	margin-bottom: 0;}
.wup-upsells ul.products li.product input[type="checkbox"] {	display: none;
}.wup-upsells ul.products li.product .item_wrap{	display: flex;	gap: 20px;}.wup-upsells ul.products li.product .bottom-part{	padding: 0;}.wup-upsells ul.products li.product .bottom-part .woocommerce-loop-product__title a{	font-size: 17px;}.wup-upsells .main-product-image--container{	display: flex;    flex-direction: row-reverse;    gap: 0;	justify-content: flex-end;}.wup-upsell-option{	position:static;	cursor: pointer;	margin-left: 15px;}.wup-upsells .wrap-for-top-part{	position: static;}.woocommerce .wup-upsells ul.products li.product .price{	font-size: 17px;font-weight: normal;}.wup-upsell-option:before{	content:"";	border:1px solid #908B85;	width:20px;	height:20px;	display:block;}
.wup-upsell-option:after{
	    content: "";
    width: 17px;
    height: 17px;
    background: url(../images/white-vi.svg) center no-repeat;
    display: none;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.wup-upsells ul.products li.product.active .wup-upsell-option:after{	display:block}.quantity-style-3 .product .summary .wup-upsells .main-product-image--container .quantity, .woocommerce.quantity-style-3 .product .summary .wup-upsells .main-product-image--container .quantity,.wup-upsells .main-product-image--container .quantity{    display: none;    position: absolute;    height: 40px;    left: 0;    bottom: 0;    background: #fff;    width: 132px;    background: #fff;    border-radius: 30px;    flex-direction: row-reverse;    padding: 0 10px;}.wup-upsells .main-product-image--container .quantity input.wup-upsell-quantity{    width: 50% !important;    border: none !important;    text-align: center !important;    font-size: 28px !important;    font-family: Aduma !important;    color: #314D41 !important;    padding: 0 !important;    line-height: 40px !important;    font-weight: 700 !important;	display:block!important;    margin: 0!important;}.wup-upsells .main-product-image--container .quantity button.btn-qty.plus {    background: url(../images/plus-on.svg) center no-repeat;	padding: 0 !important;    width: 25% !important;    height: 40px !important;    font-size: 0;    display: block !important;    position: static !important;    border: none !important;}.wup-upsells .main-product-image--container .quantity button.btn-qty.minus {    background: url(../images/minus.svg) center no-repeat;padding: 0 !important;    width: 25% !important;    height: 40px !important;    font-size: 0;    display: block !important;    position: static !important;    border: none !important;}li.product .price-cart .ocwsu-quantity-input .ocwsu-quantity {    background: transparent;    width: 50%;    border: none;    text-align: center;    font-size: 28px;    font-family: Aduma;    color: #314D41;    padding: 0;    line-height: 40px;    font-weight: 700;}.wup-upsells ul.products li.product .wrap-for-top-part{	width: auto;}.woocommerce .wup-upsells ul.products li.product .woocommerce-loop-product__title{	margin: 0 0 11px;}@media only screen and (max-width:850px ){	.quantity-style-3 .product .summary .wup-upsells .main-product-image--container .quantity, .woocommerce.quantity-style-3 .product .summary .wup-upsells .main-product-image--container .quantity, .wup-upsells .main-product-image--container .quantity{		    bottom: -10px;	}}
.wup-variable-options {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
    justify-content: center;
    align-items: center;
}

.wup-variable-preview {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    pointer-events: auto !important;
}

.wup-preview-image-section {
    flex: 1;
    position: sticky;
    top: 0;
}

.wup-preview-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.wup-preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wup-variable-preview h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #333;
    line-height: 1.2;
}

.wup-price {
    font-size: 22px;
    margin-bottom: 20px;
    color: #314d41;
    font-weight: bold;
}

.wup-description {
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.variations_form {
    margin-top: 20px;
}

.variations {
    width: 100%;
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.variations td.label {
    padding-bottom: 8px;
}

.variations td.label label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.variations td.value {
    width: 100%;
}

.variations select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.variations select:focus {
    border-color: #314d41;
    outline: none;
}

.reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.reset_variations:hover {
    color: #314d41;
}

.wup-variable-preview .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #666;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.wup-variable-preview .close-modal:hover {
    background: #f5f5f5;
    color: #333;
}

@media (max-width: 768px) {
    .wup-variable-preview {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .wup-preview-image-section {
        max-width: 300px;
        margin: 0 auto;
    }

    .wup-variable-preview h3 {
        font-size: 20px;
    }

    .wup-price {
        font-size: 18px;
    }
}

/* Make form elements more specific and override theme styles */
.wup-variable-preview .variations_form {
    margin-top: 20px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}

.wup-variable-preview .variations {
    width: 100% !important;
    margin-bottom: 25px !important;
    border-top: 1px solid #eee !important;
    padding-top: 20px !important;
    display: table !important;
    border-collapse: separate !important;
    border-spacing: 0 15px !important;
}

.wup-variable-preview .variations tr {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

.wup-variable-preview .variations td.label {
    padding-bottom: 8px !important;
    display: block !important;
    text-align: left !important;
    background: transparent !important;
}

.wup-variable-preview .variations td.label label {
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 14px !important;
    margin: 0 !important;
    display: block !important;
}

.wup-variable-preview .variations td.value {
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    background: transparent !important;
}

.wup-variable-preview .variations select {
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    background-color: #f9f9f9 !important;
    height: auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10000002 !important;
}

.wup-variable-preview .variations select:focus {
    border-color: #314d41 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #314d41 !important;
}

.wup-variable-preview .reset_variations {
    display: inline-block !important;
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #666 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    float: none !important;
    clear: both !important;
}

.wup-variable-preview .reset_variations:hover {
    color: #314d41 !important;
    text-decoration: underline !important;
}

/* Ensure dropdown options are visible */
.wup-variable-preview .variations select option {
    padding: 5px !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #333 !important;
}

/* Add confirmation button */
.wup-variable-preview .variation-confirmation {
    margin-top: 20px !important;
    text-align: center !important;
}

.wup-variable-preview .confirm-variation {
    background: #314d41 !important;
    color: #fff !important;
    padding: 12px 25px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    width: 100% !important;
    max-width: 200px !important;
    transition: background-color 0.2s !important;
}

.wup-variable-preview .confirm-variation:hover {
    background: #263c33 !important;
}

/* Fix any potential z-index issues */
.wup-variable-preview .variations_form,
.wup-variable-preview .variations,
.wup-variable-preview .variations select,
.wup-variable-preview .variations td.value {
    position: relative !important;
    z-index: 10000001 !important;
    pointer-events: auto !important;
}

/* Modal base */
.wup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
}

.wup-modal.wup-modal-open {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.wup-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
}

.wup-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 8px;
    z-index: 1000001;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Modal header */
.wup-modal-header {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wup-modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.wup-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #666;
}

/* Modal content */
.wup-modal-content {
    padding: 20px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.wup-modal-product-info {
    display: flex;
    gap: 30px;
}

.wup-modal-image {
    flex: 1;
}

.wup-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.wup-modal-details {
    flex: 1;
}

/* Variations form */
.wup-variation-row {
    margin-bottom: 20px;
}

.wup-variation-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.wup-variation-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

/* Footer */
.wup-modal-footer {
    /*padding-top: 15px;*/
    /*border-top: 1px solid #eee;*/
    text-align: right;
}

.wup-confirm-variation {
    background: #314d41;
    color: #fff;
    padding:9px 22px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

/*.wup-confirm-variation:hover {
    background: #263c33;
}*/
.wup-modal-header span{
	font-size: 19px;
}
/* Utilities */
body.wup-modal-is-open {
    overflow: hidden;
}
body.wup-modal-is-open.sticky-header .site-header{	position: static;}.wup-modal .color-attribute{	    border: 1px solid #f5f5f5!important;}.wup-modal .color-attribute[data-val="white"]{	    border-color: #000!important;}
/* Responsive */
@media (max-width: 768px) {
    .wup-modal-product-info {
        flex-direction: column;
    }
    
    .wup-modal-image {
        /*max-width: 300px;*/
        margin: 0 auto;
    }
}

/* Attribute Buttons Panel */
.attributes-panel-container {
    margin-bottom: 20px;
}

.buttons-attrs-panel--wrapper {
    /*margin-bottom: 15px;*/
}

.attribute-title {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.attributes-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wup-attribute-btn:not(.color-attribute) {
    min-width: 70px;
    height: 30px;
    background-color: transparent;
    padding: 0 8px;
    border: 1px solid #EBEBEB;
    border-radius: 3px;
    font-size: 15px;
    color: #848484;
margin-bottom: 0;    margin-left: 7px;
}

.attribute-btn:hover {
    border-color: #314d41;
}

.attribute-btn.selected {
    background: #314d41;
    color: #fff;
    border-color: #314d41;
}

/* Hide original selects */
.hide {
    display: none !important;
}

/* Reset variations button */
.wup-reset-variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.wup-reset-variations:hover {
    color: #314d41;
    text-decoration: underline;
}

.wup-modal .color-attribute {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    border: none;
    margin: 2px;
    position: relative;
    cursor: pointer;
}

.wup-modal .color-attribute::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.wup-modal .color-attribute.selected::before {
    border: 2px solid #000;
}

.wup-modal .color-attributes-container {
    margin-top: 10px;
}

.wup-modal .color-attributes-container .attributes-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hide text content for color buttons */
.wup-modal .color-attribute span {
    display: none;
}

/* Hide before pseudo-element for buttons inside modal */
.wup-modal .wup-attribute-btn::before {
    display: none !important;
}

/* Specifically for color buttons */
.wup-modal .color-attribute::before {
    display: none !important;
}

/* In case there are other button types */
.wup-modal .size-attributes-container .wup-attribute-btn::before {
    display: none !important;
}

.wup-attribute-btn::before{
    display:none;
}

/* Color button active/selected state */
/*.wup-modal .color-attribute.active,
.wup-modal .color-attribute.selected {
    border: 2px solid #000;
    box-shadow: 0 0 0 1px #fff inset;
}*/
.wup-modal .color-attribute.selected{	outline: 1px solid #000;}
/* Adjust size to account for border */
.wup-modal .color-attribute {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    padding: 0;
    margin: 2px;
    position: relative;
    cursor: pointer;
    box-sizing: content-box;
}

.wup-modal-close::before{
    display:none !important;
}
.wup-modal .attributes-panel-container .attribute-title{
	margin-top: 15px;
}
.wup-modal-description{
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}
.wup-modal-description .wup-modal-description-title{
	    margin-bottom: 10px;
}
.wup-modal-price{
    font-size:1.2em;
    /*margin-top:25px;*/
}

/* Non-color attribute button active/selected state */
.wup-modal .wup-attribute-btn:not(.color-attribute).active,
.wup-modal .wup-attribute-btn:not(.color-attribute).selected {
    border-color: black;
}

/* Hover state for non-color buttons */
.wup-modal .wup-attribute-btn:not(.color-attribute):hover {
    border-color: #314d41;
}

.product form.cart, .woocommerce div.product form.cart, .woocommerce-variation-add-to-cart{
    flex-wrap:wrap;
}

.wup-upsells .berocket_better_labels_image{
    display:none;
}

.wup-upsell-option:before{
    background:white;
}
.wup-modal-footer .wup-modal-footer{
	padding: 10px 22px;
}
.wup-attribute-btn img{
    border-radius:50%;
}

.wup-upsells .product-images-slider--container img:nth-child(n+2){
    display:none;
}

.wup-upsells .wrap-for-top-part .product-images-slider--container .woocommerce-product-gallery__image:nth-child(n+2)
{
    display:none;
}

.wup-upsells .oc-product-video-container{
    display:none;
}
.wup-tab-content {
    display: none;
}

.wup-tab-content.active {
    display: block;
}

.wup-attribute-btn img{
    visibility: visible!important;
    opacity: 1!important;
}

.wup-attribute-btn.color-attribute{
    background-color:transparent!important;
}