/*
Theme Name: Ecomus-Child
Theme URI: https://lucarusso.me/ecomus
Author: Luca Russo
Author URI: http://lucarusso.me
Description: Multipurpose WooCommerce WordPress Theme
Version: 1.0
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ecomus
Text Domain: ecomus-child
*/

/* .variations_form .variations .wcboost-variation-swatches {
	background: rgba(0, 0, 0, 0.07);
    padding: 10px;
    border: solid 1px #aaa;
    border-radius: 6px;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.2);
}

.single-product div.product table.variations .wcboost-variation-swatches--round .wcboost-variation-swatches__item {
	border-color: #00000020!important;
} */

/* Colore-payper: immagine rotonda */
.color-payper-option {
    width:36px; height:36px; border-radius:50%; overflow:hidden;
    border:2px solid #ccc; cursor:pointer; display:flex;
    align-items:center; justify-content:center; transition: all .15s ease;
}
.color-payper-option img {
    width:1000px; height:1000px; object-fit:cover; object-position:center; pointer-events:none;
}
.color-payper-option:hover { border-color:#666; transform:scale(1.05); }
.color-payper-option.active { border-color:#000; transform:scale(1.1); }

/* Taglia-payper: ovale con testo */
.taglia-payper-swatch {
    min-width:40px;
    height:36px;
    padding:0 10px;
    border-radius:16px;
    border:2px solid #000;      /* bordo nero */
    background:#fff;            /* sfondo bianco */
    color:#000;                 /* testo nero */
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.1em;
    font-weight:600;
    transition: all 0.15s ease;
}

.taglia-payper-swatch:hover {
    background:#000;            /* sfondo nero al passaggio */
    color:#fff;                 /* testo bianco */
}

.taglia-payper-swatch.active {
    background:#000;            /* sfondo nero selezionato */
    color:#fff;                 /* testo bianco selezionato */
    transform:scale(1.05);
}
/* Contenitori */
.color-payper-swatches, .taglia-payper-swatches { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }



.qty-discount-progress-wrapper { margin-top: 8px; }
.qty-discount-progress-bar {
    width: 100%;
    background: #eee;
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}
.qty-discount-progress-fill {
    background: #4caf50;
    height: 100%;
    transition: width .4s ease;
}
.qty-discount-message {
    font-size: 12px;
    margin-top: 5px;
    color: #333;
}
        

.product-featured-icons .ecomus-quickview-button,
.product-featured-icons .add_to_cart_button,
.wcboost-products-compare__table .product-add-to-cart
 { display: none!important; }


 .lr-quantity-discount {
    margin-bottom: 10px;
    font-size: 14px;
 }





 .swatches {
    display:flex;
    gap:8px;
    margin:10px 0;
    flex-wrap:wrap;
}

.swatch {
    cursor:pointer;
    border:2px solid #ccc;
    padding:6px 12px;
    border-radius:20px;
    background:#fff;
    transition:.2s;
    user-select:none;
}

.swatch.selected {
    border-color:#000;
    background:#000;
    color: #fff;
    box-shadow:0 0 0 2px #000 inset;
}

/* Swatches colore */
.swatch-color {
    padding:0;
    width:40px;
    height:40px;
    border-radius:50%;
    overflow:hidden;
}

.swatch-color-img {
    width:100%;
    height:100%;
    background-size:1000;
    background-position:center;
    border-radius:50%;
}

/* Swatches testuali (taglie ecc.) */
.swatch-text {
    font-size:14px;
    font-weight:600;
    line-height:20px;
    background:#fff;
    color:#000;
}

#ecomus-sticky-add-to-cart { display: none; }