/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/



/* Style variation radio buttons */
.variation-radios {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 12px;
}

.variation-radios input[type="radio"] {
    display: none;
}

.variation-radios span {
    padding: 10px 18px;
    border: 2px solid #d1d1d1;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    transition: 0.2s ease;
}

.variation-radios input[type="radio"]:checked + span {
    background: #6BBC48;
    color: #fff;
    border-color: #6BBC48;
}

.variation-radios span:hover {
    border-color: #6BBC48;
}

/* .single-product .variations select{
	display : none;	
} */
.single-product .variations select#size-lxwxh-mm{
	display : block;	
}

.single-product table.variations th,.single-product table.variations td{
	background-color: #fff !important;
	border : none !important;
	
}
.single-product table.variations th{
	padding: 0px!important;
	margin-bottom: -15px;
}
.single-product table.variations{
	border: none !important;
}
.single-product table.variations .rudr-variation-radios .custom-radio{
	flex : 0 0 48%;
}
.single-product table.variations .rudr-variation-radios .custom-radio span{
	width: 100%;
    display: block;
    text-align: center;
}
.single-product .variations select#size-lxwxh-mm{
	height: 50px;
	width : 100%;
}





.efp-logo-cart-row .product-remove .remove {
    color: #e2401c;
    font-size: 18px;
    text-decoration: none;
}

.efp-logo-cart-row .product-remove .remove:hover {
    color: #b71c1c;
}

/* @media (min-width: 768px) {

.woocommerce-cart .product-price-quantity{
	display :none !important;
}
.woocommerce-cart .product-subtotal.elementor-hidden-tablet.elementor-hidden-desktop	
	{
	display :none !important;
}
	.mobile-view.data {
    display: none!important;
}
	
} */


th.product-remove.elementor-hidden-mobile {
    display: none!important;
}
td.product-remove.elementor-hidden-mobile {
    display: none;
}

.woocommerce-cart .actions {
    display: none !important;
}


th.product-price.elementor-hidden-mobile,
th.product-sku.elementor-hidden-mobile,
th.product-quantity.elementor-hidden-mobile,
th.product-subtotal.elementor-hidden-mobile{
    display: none;
}

td.product-price.elementor-hidden-mobile,
td.product-sku.elementor-hidden-mobile,
td.product-quantity.elementor-hidden-mobile,
td.product-subtotal.elementor-hidden-mobile{
    display: none;
}


span.cart-product-sku {
    font-size: 12px;
	font-weight: 400;
}

.product-price medium {
    font-size: 15.2px !important;
    color: #222222 !important;
}


div#logo_color_option {
    width: 100%;
    margin-bottom: 10px;
}
.logo-upload-option {
    width: 100%;
	 margin-bottom: 10px;
}







/* ===============================
   LOGO OPTION CARD STYLE
================================ */

/* Wrapper */
.logo-upload-option {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 0px;
    margin-bottom: -10px;
}

/* Individual option block */
.logo-upload-option > label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f7f7f7;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 15px!important;
    transition: all 0.25s ease;
}

/* Active (checked) style */
.logo-upload-option input[type="checkbox"]:checked + strong {
    color: #1b5e20;
}

/* Green background when checked */
.logo-upload-option label:has(input[type="checkbox"]:checked) {
    background: #eaffea;
/*     border: 1px solid #bfe7bf; */
	border-radius: 15px 15px 0px 0px;
}

/* Checkbox hidden */
.logo-upload-option input[type="checkbox"] {
    appearance: none;
    width: 44px;
    height: 24px;
    background: #ddd;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    outline: none;
}

/* Toggle circle */
.logo-upload-option input[type="checkbox"]::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 4px;
    transition: 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Checked toggle */
.logo-upload-option input[type="checkbox"]:checked {
    background: #7bc043;
}

.logo-upload-option input[type="checkbox"]:checked::before {
    left: 22px;
}

/* Upload & email inner boxes */
#logo_upload_field,
#logo_email_field {
    background: #f0fff0;
    padding: 14px;
   border-radius: 0px 0px 15px 15px;
   margin-top: -16px;
   margin-bottom: 16px;
}

/* File button */
#logo_upload_field input[type="file"] {
    color: #000;
    padding: 5px 14px;
    border-radius: 8px;
    border: none;
	margin-top: -15px;
}

/* Email field */
#logo_email_field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Small helper text */
.logo-upload-option small {
    display: block;
    margin-top: -20px;
    font-size: 13px;
    color: #555;
    margin-left: 20px;
}
div#logo_email_field small {
    display: block;
    margin-top:15px;
    font-size: 13px;
    color: #555;
    margin-left:3px;
}




/* .woocommerce .elementor-4267 .elementor-element.elementor-element-c83f3e3 form.cart table.variations label {
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000 !important;
    margin-bottom: 0px!important;
}


.custom-radio.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.custom-radio input:disabled + span {
  color: #999;
  text-decoration: line-through;
   background-color : lightgray;
}
.custom-radio.disabled span{
	background-color: gray !important;
} */

/* Make sure cart form uses fixed ordering */
.single-product form.cart {
    display: flex;
    flex-direction: column;
}

/* 1️⃣ Quantity (+ / −) — NEVER MOVE */
.single-product form.cart .quantity {
    order: 20 !important;
    margin-bottom: 20px;
}

/* 2️⃣ Add Your Logo toggle */
.single-product form.cart .logo-upload-option {
    order: 30 !important;
}

/* 3️⃣ Provide logo later block */
.single-product form.cart #logo_email_field {
    order: 40 !important;
}

/* 4️⃣ Choose Print Color Type — ALWAYS AFTER logo options */
.single-product form.cart #logo_color_option {
    order: 50 !important;
    margin-top: 15px;
}

/* 5️⃣ Add to cart button */
.single-product form.cart .single_add_to_cart_button {
    order: 60 !important;
}

/* Prevent reflow jump when toggling */
#logo_upload_field,
#logo_email_field,
#logo_color_option {
    width: 100%;
}


table.variations {
    margin-bottom: 0px;
}

#logo_upload_field.product-builder-form .fileinput{
    background-color : #f0fff0;
}



/* HIDE STRENGTH label and value on shop/category listing */
ul.products li.product:has(.wc-block-grid__product .wc-block-components-text:contains("Strength")) {
  display: contents !important;
}

ul.products li.product .wc-block-grid__product .wc-block-components-text:contains("Strength"),
ul.products li.product .wc-block-grid__product .wc-block-components-text:contains("Single Wall") {
  display: none !important;
}

/* HIDE QUANTITY label and value */
ul.products li.product .wc-block-grid__product .wc-block-components-text:contains("Quantity"),
ul.products li.product .wc-block-grid__product .wc-block-components-text:contains("25/Piece") {
  display: none !important;
}

.swatchly_loop_variation_form table.variations tbody tr:nth-child(1) .label {
    display: none !important;
}

.swatchly_loop_variation_form table.variations tbody tr:nth-child(1) .value .swatchly-type-wrap .swatchly-swatch{
    font-size : 6px;
    padding : 15px 5px;
}

.swatchly_loop_variation_form table.variations tbody tr:nth-child(1) .value .swatchly-type-wrap .swatchly-swatch:nth-child(1) {
    background-color: #000;
    color : #fff;
}
.swatchly_loop_variation_form table.variations tbody tr:nth-child(1) .value .swatchly-type-wrap .swatchly-swatch:nth-child(2) {
    background-color: #cda27d;
    color : #fff;
}

.swatchly_loop_variation_form table.variations tbody tr:nth-child(2),
.swatchly_loop_variation_form table.variations tbody tr:nth-child(3) {
    display: none !important;
}




li.type-label.subtype-square.selected {
	color: white;
    background-color: #6BBC48;
    border-color: #6bbc48;
    padding: 8px 16px;
    border-radius: 11px;
    box-shadow: 0px 4px 12px rgba(92, 184, 92, .35);
}

li.type-label.subtype-square {
color: #000;
    background-color: #fff;
    border-color: #6bbc48;
    padding: 8px 16px;
    border-radius: 11px;
    box-shadow: 0px 4px 12px rgba(92, 184, 92, .35);	
}

.variations_form .woo-variation-items-wrapper ul[data-attribute_name="attribute_size-lxwxh-mm"]{
    display : none;
}

.variations_form .woo-variation-items-wrapper ul[data-attribute_name="attribute_quantity"]:not(:has(.selected)){
   
    box-shadow : none;
}
.variations_form .woo-variation-items-wrapper ul[data-attribute_name="attribute_quantity"]:not(:has(.selected)) .variable-item-contents{
    color: #000;
    background-color: #fff;
    border-color: #6bbc48;
    border-radius: 11px;
       border: solid 1px #d5d5d5 !important;
}
.variations_form .variations th.label span.woo-selected-variation-item-name,
.variations_form .variations th.label label::after{
    display : none;
}


ul.st-swatch-size-large li.type-label a, ul.st-swatch-size-large li.type-label span {
    font-size: 16px;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 6px;
      border: solid 1px #d5d5d5 !important;
    padding: 18px 10px;
	font-size: 14px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover
Specificity: (0,5,0)
{
	box-shadow: none;
border: solid 1px #d5d5d5 !important;
}


.st-swatch-preview li.selected{
	border-color: #6bbc48;
    box-shadow: 0px 4px 12px rgba(92, 184, 92, .35);
	padding: 17px;

}
.woocommerce-product-details__short-description p {
    font-size: 14px !important;
}
ul.variable-items-wrapper.button-variable-items-wrapper.wvs-style-squared {
    margin-bottom: 10px;
}



