.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: 12px;
    height: 12px;
    background: url(../images/white-vi.svg) center no-repeat;
    display: none;
    margin: auto;
    position: absolute;
    top: 12px;
    left: 21px;
    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;
}

/* Dynamic modal specific styles */
#wup-dynamic-modal {
    display: none;
}

#wup-dynamic-modal.wup-modal-open {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Loader styles */
.wup-modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    min-height: 200px;
}

.wup-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #314d41;
    border-radius: 50%;
    animation: wup-spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes wup-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wup-modal-loader p {
    margin: 0;
    color: #666;
    font-size: 16px;
    font-family: 'Assistant', sans-serif;
}

/* Smooth transitions */
#wup-modal-product-content {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#wup-modal-product-content.show {
    opacity: 1;
}

.wup-modal-loader {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.wup-modal-loader.hide {
    opacity: 0;
}

.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;
}
.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: 24px;
    height: 24px;
    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: 24px;
    height: 24px;
    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;*/
	text-align: right;
}

/* 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;
}

.wp-block-video figcaption br{
	display:none;
}
.wp-block-video figcaption .wcct_countdown_timer_wrap{
	margin-top: 15px;
}
.wcct_countdown_timer[data-type="single"] p, .wcct_counter_bar[data-type="single"] p{
	font-family:'Assistant';
}
.wup-upsells h2{
	font-family: unset;
}
.wup-upsells{
	flex: 1 1 100%;
}
.wup-upsells ul.products li.product {
	margin: 0 !important;
}
.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: 15px;
}
.wup-upsells ul.products li.product .wrap-for-top-part img{
	margin: 0;
	position: static !important;
}
@media only screen and (max-width:767px){
	.wup-upsells ul.products li.product{
		width: 50%;
	}
}
.wup-upsells ul.products{
	flex-direction: row;
	gap: 10px;
}
.wup-upsells ul.products:before{
	display:none;
}
.wup-upsells ul.products li.product .item_wrap{
	flex-direction: column;
	gap: 0;
}
.wup-upsells ul.products li.product{
	width: 25%;
}
.woocommerce .wup-upsells ul.products li.product .woocommerce-loop-product__title{
	margin: 0 0 5px;
}
.woocommerce .wup-upsells ul.products li.product .price{
	margin: 0;
}
.woocommerce .wup-upsells ul.products li.product a img{
	width: 100%;
}
.wup-modal-header span br{
	display:none
}
.wup-upsell-option{
	position: absolute;
	top: 5px;
	right: 35px;
}
.wup-upsells h2{
	padding-top: 5px;
}
.wup-upsells{
	padding-bottom: 20px;
}
.wup-upsell-option:before{
	border: 1px solid #000;
}
.wup-upsell-option:after{
	background-color:white;
}
@media only screen and (max-width: 768px) {
	.wup-upsells ul.products li.product{
		width: 50%;
	}
}

body.wup-modal-is-open #content div.product div.images .share-product-links--container{
	display:none!important;
}
body.wup-modal-is-open.woocommerce div.product .woocommerce-tabs ul.tabs li.active{
	z-index: 0;
}
form.cart .wup-upsells ul.products li.product .wrap-for-top-part{
	width: 100%;
}
form.cart .wup-upsells ul.products li.product .item_wrap .wrap-for-top-part .wrap-for-top-part-inner .product-images-slider--container{
	width: 100%;
    height: auto;
    position: static;
}
form.cart .wup-upsells ul.products li.product .item_wrap .wrap-for-top-part .wrap-for-top-part-inner .product-images-slider--container img{
	width: 100%;
    height: auto;
    object-fit: contain;
    border: none;
}
form.cart .wup-upsells ul.products li.product{
	padding-right: 0;
}
form.cart .wup-upsells ul.products li.product:nth-child(2n) {
    padding-right: 0;
}
form.cart .wup-upsells ul.products li.product .bottom-part{
	width: 100%;
    padding-right: 0;
	flex-direction: column;
}
form.cart .wup-upsells ul.products li.product .bottom-part .woo-add-to-cart-variable-loop--container{
	display:none;
}
form.cart .wup-upsells ul.products li.product{
	width: calc(33.33% - 7px);
}
form.cart .wup-upsells ul.products{
	max-height: none;
	overflow: visible;
	padding-left: 0;
}
form.cart li.product .attributes-panel-container{
	display: block;
    text-align: right;
}
form.cart .attributes-wrap{
	display: flex;
	flex-wrap: nowrap;
}
body .wup-upsells li.product .woocommerce-loop-product__title, .woocommerce .wup-upsells ul.products li.product .woocommerce-loop-product__title{
	min-height: 88px;
}
form.cart .wup-upsells ul.products li.product .item_wrap{
	gap: 0;
    padding-bottom: 10px;
}
@media only screen and (max-width:767px){
	form.cart .wup-upsells ul.products li.product {
		width: calc(50% - 7px);
	}
    form.cart .wup-upsells ul.products{
        display: block !important;
        -webkit-overflow-scrolling: touch;
        overflow: auto !important;
        white-space: nowrap;
        display: block !important;
        padding-right: 0;
        opacity: 1 !important;
        padding-bottom: 0;
        padding-left: 0;
        margin-left: -15px;
    }
	form.cart .wup-upsells ul.products li.product{
		list-style: none;
        display: inline-block !important;
        width: 40vw !important;
        padding: 0;
        text-align: right;
        vertical-align: top;
        white-space: normal;
		float:none;
	}
	form.cart .wup-upsells ul.products li.product .bottom-part{
		text-align: center;
	}
	.wup-upsells ul.products li.product .price_wrap{
		margin-top: 0;
	}
}
