/**
Theme Name: astra-child
Author: Maydoo
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Conteneur des swatches en ligne */
.cfvsw-swatches-container.cfvsw-product-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
	padding-bottom: 20px;
}

/* Chaque bouton variation */
.cfvsw-swatches-option.cfvsw-label-option {
    min-width: 120px !important;
    min-height: 120px !important;
    border: 1px solid #F5C518 !important;
    border-radius: 12px !important;
    background: #1A1A1A;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Contenu interne du swatch */
.cfvsw-swatches-option .cfvsw-swatch-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 18px;
    color: #F5C518;
}

/* État sélectionné */
.cfvsw-swatches-option.cfvsw-selected-swatch {
    border-color: #F5C518 !important;
	border: 4px solid #F5C518 !important;
    background: #1A1A1A !important;
}

/* Hover */
.cfvsw-swatches-option:hover {
    border-color: #F5C518 !important;
}

.variations th.label label,
.variations .form-row label {
    display: none;
}

/* Structure verticale du swatch */
.cfvsw-swatch-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Poids (3g, 5g, 10g...) */
.swatch-weight {
    font-weight: 700;
    font-size: 18px;
    color: #FFF;
}

/* Prix total */
.swatch-price {
    font-weight: 600;
    font-size: 18px;
    color: #F5C518;
}

/* Prix au gramme */
.swatch-unit-price {
    font-weight: 400;
    font-size: 12px;
    color: #9B7CB6;
}

.woocommerce-variation-description,
.woocommerce-variation-price {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.reset_variations {
    display: none !important;
}

@media (max-width: 768px) {
    .cfvsw-swatches-container.cfvsw-product-container {
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }
    .cfvsw-swatches-option.cfvsw-label-option {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 70px !important;
        padding: 8px 4px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    .cfvsw-swatches-option .cfvsw-swatch-inner {
        font-size: 10px !important;
        gap: 2px !important;
        white-space: normal !important;
        text-align: center !important;
        word-break: break-word !important;
    }
}

.single-product .summary .price, 
.single-product-category, .quantity {
  display: none !important;
}

.single-product h1.product_title {
    font-size: 32px;
    font-weight: 700;
    color: #F5C518;
    margin-bottom: 16px;
}

/* Titre des boucles de catégorie */
.woocommerce-js ul.products li.product .ast-shop-product-out-of-stock, .woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-page ul.products li.product .ast-shop-product-out-of-stock, .woocommerce-page ul.products li.product .woocommerce-loop-category__title {
  	position: absolute;
  	background-color: rgba(255,255,255,.60);
  	transition: background .3s;
  	text-align: center;
  	padding: .5em 0 .7em;
    text-align: center;
  	padding: .5em 0 .7em;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
  	color: #000;
  	border-radius: 10px;
}	

/*Cacher le nombre de produit des boucles de catégorie */
.woocommerce ul.products li.product .woocommerce-loop-category__title .count {
    display: none;
}

.woocommerce ul.products li.product-category {
    border: 1px solid;
    border-radius: 10px;
    overflow: hidden;
}
.woocommerce ul.products li.product-category img {
    border-radius: 10px 10px 0 0;
}

.single_add_to_cart_button {
    padding: 18px 32px !important;   /* vertical | horizontal → hauteur du bouton */
    font-size: 18px !important;      /* taille du texte */
    min-width: 660px;                /* largeur minimum (optionnel) */
    border-radius: 8px;              /* arrondi des coins (optionnel) */
	font-weight: 700 !important;
}

@media (max-width: 600px) {
    .single_add_to_cart_button {
        width: 100% !important;
        min-width: 0 !important; 
        padding: 14px 16px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }
}

.site-title {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
}

/* Masque le SVG "sac" réinjecté par le fragment */
.ast-addon-cart-wrap svg,
.cart-container svg {
    display: none !important;
}

/* Masque le SVG "sac" réinjecté par le fragment WooCommerce */
.ast-addon-cart-wrap svg,
.cart-container svg {
    display: none !important;
}

/* Affiche TON icône panier (SVG intégré, aucune URL nécessaire) */
.ast-addon-cart-wrap .ast-icon {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='826 826 140 140'%3E%3Cpath d='M955.418,887.512c2.344,0,4.343,0.829,6.002,2.486c1.657,1.659,2.486,3.659,2.486,6.002c0,2.343-0.829,4.344-2.486,6.001c-1.659,1.658-3.658,2.487-6.002,2.487h-0.994l-7.627,43.9c-0.354,2.033-1.326,3.713-2.917,5.04c-1.593,1.326-3.405,1.989-5.438,1.989h-84.883c-2.033,0-3.846-0.663-5.438-1.989c-1.591-1.327-2.564-3.007-2.918-5.04l-7.626-43.9h-0.995c-2.343,0-4.344-0.829-6.001-2.487c-1.658-1.657-2.487-3.658-2.487-6.001c0-2.343,0.829-4.343,2.487-6.002c1.658-1.658,3.659-2.486,6.001-2.486H955.418z M860.256,940.563c1.149-0.089,2.111-0.585,2.885-1.491c0.773-0.907,1.116-1.936,1.028-3.085l-2.122-27.586c-0.088-1.15-0.585-2.111-1.492-2.885c-0.906-0.774-1.934-1.117-3.083-1.028c-1.149,0.088-2.111,0.586-2.885,1.492s-1.116,1.934-1.028,3.083l2.122,27.587c0.088,1.105,0.542,2.034,1.359,2.785c0.818,0.752,1.78,1.128,2.885,1.128H860.256z M887.512,936.319v-27.587c0-1.149-0.42-2.144-1.26-2.984c-0.84-0.84-1.834-1.26-2.984-1.26s-2.144,0.42-2.984,1.26c-0.84,0.841-1.26,1.835-1.26,2.984v27.587c0,1.149,0.42,2.145,1.26,2.984c0.84,0.84,1.835,1.26,2.984,1.26s2.144-0.42,2.984-1.26C887.092,938.464,887.512,937.469,887.512,936.319z M912.977,936.319v-27.587c0-1.149-0.42-2.144-1.26-2.984c-0.841-0.84-1.835-1.26-2.984-1.26s-2.145,0.42-2.984,1.26c-0.84,0.841-1.26,1.835-1.26,2.984v27.587c0,1.149,0.42,2.145,1.26,2.984s1.835,1.26,2.984,1.26s2.144-0.42,2.984-1.26C912.557,938.464,912.977,937.469,912.977,936.319z M936.319,936.65l2.122-27.587c0.088-1.149-0.254-2.177-1.027-3.083s-1.735-1.404-2.885-1.492c-1.15-0.089-2.178,0.254-3.084,1.028c-0.906,0.773-1.404,1.734-1.492,2.885l-2.122,27.586c-0.088,1.149,0.254,2.178,1.027,3.085c0.774,0.906,1.736,1.402,2.885,1.491h0.332c1.105,0,2.066-0.376,2.885-1.128C935.777,938.685,936.23,937.756,936.319,936.65z M859.66,855.946l-6.167,27.322h-8.753l6.698-29.245c0.84-3.89,2.807-7.062,5.902-9.516c3.095-2.453,6.632-3.68,10.611-3.68h11.074c0-1.149,0.42-2.144,1.26-2.984c0.84-0.84,1.835-1.26,2.984-1.26h25.465c1.149,0,2.144,0.42,2.984,1.26c0.84,0.84,1.26,1.834,1.26,2.984h11.074c3.979,0,7.516,1.227,10.611,3.68c3.094,2.454,5.062,5.626,5.901,9.516l6.697,29.245h-8.753l-6.168-27.322c-0.486-1.945-1.491-3.537-3.017-4.774c-1.525-1.238-3.282-1.857-5.272-1.857h-11.074c0,1.15-0.42,2.144-1.26,2.984c-0.841,0.84-1.835,1.26-2.984,1.26h-25.465c-1.149,0-2.144-0.42-2.984-1.26c-0.84-0.84-1.26-1.834-1.26-2.984h-11.074c-1.99,0-3.747,0.619-5.272,1.857C861.152,852.409,860.146,854,859.66,855.946z'/%3E%3C/svg%3E") no-repeat center / contain !important;
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

