/* Styles pour les formules de produits */
.single-product-formule {
    position: relative;
    background: transparent;
    display: flex;
    justify-content: center;
    z-index: 10;
    transform: translateY(-5%);
    top: 0;
}

.single-product-formule p {
    margin: 0;
    padding: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-transform: uppercase;
}

/* Styles pour le premier mot (FORMULE) - Single Product */
.single-product-formule .first-word {
    color: #ff3742;
    font-size: 30px;
    font-weight: 400;
    padding: 0 80px;
    margin-bottom: 10px;
    background: white;
    line-height: 1;
}

.single-product-formule .remaining-words {
    background-color: #ff3742;
    color: white;
    padding: 8px 60px;
    font-size: 40px;
    font-weight: 700;
    display: inline-block;
    line-height: 1;
    margin-top: -2px;
}

/* Styles pour les post cards formule */
.post-cards-formule {
    position: relative;
    background: transparent;
    display: flex;
    justify-content: center;
    z-index: 999;
}

.post-cards-formule p {
    margin: 0 !important;
    padding: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-transform: uppercase;
}

/* Styles pour le premier mot (Formule) - Post Cards */
.post-cards-formule .first-word {
    color: #ff3742;
    font-size: 20px;
    font-weight: 400;
    padding: 0 40px;
    margin-bottom: 8px;
    background: white;
    line-height: 1;
}

.post-cards-formule .remaining-words {
    background-color: #ff3742;
    color: white;
    padding: 6px 30px;
    font-size: 28px;
    font-weight: 700;
    display: inline-block;
    line-height: 1;
    margin-top: -2px;
}

/*******************************************************************/

/* Style automatique pour les titres avec + */
.post-cards-title .fusion-title-heading a,
.post-cards-title .fusion-title-heading .title-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
    text-decoration: none;
}

.post-cards-title .title-line {
    display: block;
    color: inherit;
    padding: 8px 0;
    text-align: center;
    min-width: 200px;
    font-weight: inherit;
}

.post-cards-title .plus-symbol {
    font-size: 25px;
    font-weight: bold;
    color: #e53e3e;
    background: white;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    border: 2px solid #e53e3e;
    margin: 0px 0;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .post-cards-title .fusion-title-heading a,
    .post-cards-title .fusion-title-heading .title-content {
        gap: 3px;
    }
    
    .post-cards-title .title-line {
        min-width: 180px;
        font-size: 0.9em;
    }
    
    .post-cards-title .plus-symbol {
        width: 22px;
        height: 22px;
        font-size: 20px;
        margin: 0px 0;
    }
}


/*******************************************************************/

/* Correction de la largeur du conteneur pour afficher 4 cartes complètes */
/* .container-slider-product .fusion-builder-row {
    max-width: 1400px !important;
}

.fusion-post-cards-1.fusion-grid-archive.slider-pcp {
    position: relative;
    overflow: hidden;
    margin: 0 80px;
    width: calc(100% - 160px);
}

.slider-pcp .fusion-grid.fusion-grid-4 {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    width: calc(100% * 2);
}

.slider-pcp .fusion-post-cards-grid-column {
    flex: 0 0 12.6%;
    width: 12.6%;
    max-width: 12.6%;
    padding: 0 5px;
    box-sizing: border-box;
}


.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #ff3742;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}    

.slider-nav:hover {
    background: #ff3742;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:hover img {
    filter: brightness(0) invert(1);
}

.slider-nav img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
}

.slider-prev {
    left: -80px;
}

.slider-next {
    right: -80px;
}


@media (max-width: 1550px) { 
    .slider-prev {
        left: 0;
    }
    .slider-next {
        right: 0;
    }
    .slider-pcp .fusion-post-cards-grid-column {
        flex: 0 0 16.8%;
        width: 16.8%;
        max-width: 16.8%;
    }
}

@media (max-width: 1024px) {
    .slider-pcp .fusion-post-cards-grid-column {
        flex: 0 0 26%;
        width: 26%;
        max-width: 26%;
    }
}

@media (max-width: 640px) {

    .fusion-post-cards-1.fusion-grid-archive.slider-pcp {
        margin: 0 0 80px 0; 
        width: 100%; 
    }
    
    .slider-pcp .fusion-post-cards-grid-column {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 0; 
    }
    
    .slider-pcp .fusion-post-cards-grid-column .fusion-post-card {
        width: 100%;
        margin: 0;
    }
    

    .slider-pcp .fusion-post-cards-grid-column .fusion-post-card img {
        width: 100%;
        height: auto;
    }

    .slider-prev {
        top: auto;
        bottom: -70px; 
        left: 50%;
        transform: translateX(-120%);
        width: 50px;
        height: 50px;
    }
    
    .slider-next {
        top: auto;
        bottom: -70px; 
        right: auto;
        left: 50%;
        transform: translateX(20%);
        width: 50px;
        height: 50px;
    }
    

    .slider-prev:hover {
        transform: translateX(-120%) scale(1.1);
    }
    
    .slider-next:hover {
        transform: translateX(20%) scale(1.1);
    }
    
    .slider-nav img {
        width: 25px !important;
        height: 25px !important;
    }
} */

/*******************************************************************/

/* Masquer les onglets d'origine */
.fusion-woo-tabs-tb .tabs.wc-tabs {
    display: none !important;
}

.fusion-woo-tabs-tb .woocommerce-tabs {
    padding-top: 0px !important;
    width: 90% !important;
}

/* Style accordéon */
.fusion-woo-tabs-tb .woocommerce-Tabs-panel {
    display: block !important;
    border: none !important;
    margin: 0;
    padding: 0 !important;
    background: white;
}

/* Header cliquable avec bordure */
.fusion-woo-tabs-tb .woocommerce-Tabs-panel .yikes-custom-woo-tab-title {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
    margin: 0;
    cursor: pointer;
    background: white;
    transition: none;
    font-size: 18px;
    font-weight: 600;
    color: #010306;
    border-bottom: 2px solid rgba(1, 3, 6, 0.4) !important;
}

.fusion-woo-tabs-tb .woocommerce-Tabs-panel .yikes-custom-woo-tab-title:hover {
    background: white;
}

/* Icône + par défaut */
.fusion-woo-tabs-tb .woocommerce-Tabs-panel .yikes-custom-woo-tab-title::after {
    content: "+";
    width: 24px;
    height: 24px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: #010306;
    transition: all 0.3s ease;
}

/* Contenu masqué par défaut */
.fusion-woo-tabs-tb .woocommerce-Tabs-panel p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    margin: 0;
    background: #fafafa;
}

/* État ouvert - icône devient - */
.fusion-woo-tabs-tb .woocommerce-Tabs-panel.faq-open .yikes-custom-woo-tab-title::after {
    content: "−";
    background-color: #e74c3c;
    color: white;
}

.fusion-woo-tabs-tb .woocommerce-Tabs-panel.faq-open .yikes-custom-woo-tab-title {
    background: white;
}

.fusion-woo-tabs-tb .woocommerce-Tabs-panel.faq-open p {
    max-height: 200px;
    padding: 20px 25px;
	font-size: 16px;
}

@media screen and (max-width: 1200px) { 

	.single-product #single-product {
		margin 0 20px !important;
	}
    .fusion-woo-tabs-tb .woocommerce-tabs {
        padding: 0 20px !important;
        width: 100% !important;
        margin-bottom: 25px;
    }
    .single-product-content {
        margin: 20px 20px 0px 20px !important;
    }
    .bowling-custom-widget {
        max-width: 100% !important;
        margin: 0 20px !important;
    }
    #single-product h1 {
        margin: 0 20px !important;
    }
    .single-product #single-product .single-product-left .fusion-builder-row {
        margin-top: 0 !important;
    }
    .single-product #single-product .col-left-single-product {
        margin-top: -20px;
    }
    .single-product #single-product .fusion-image-element {
        margin: 0 20px;
    }
    .single-product #single-product .single-product-left .single-product-image {
        height: 390px !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 640px) { 
    .single-product #single-product .first-word {
        font-size: 20px !important;
    }
    .single-product #single-product .remaining-words {
        font-size: 24px !important;
    }
    .single-product #single-product {
        padding: 0 !important;
        margin-top: 60px;
    }
    .single-product #single-product .bowling-top-row {
        flex-wrap: wrap;
    }
    .single-product #single-product .bowling-top-row .bowling-qty-input {
        height: 25px !important;
    }
    .single-product #single-product .bowling-top-row .bowling-quantity-label,
    .single-product #single-product .bowling-top-row .bowling-price-label {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .single-product #single-product .bowling-purchase-btn {
        margin-top: 20px;
    }
    .single-product #single-product h1 {
        font-size: 0.8em !important;
    }

	.single-product #single-product .single-product-left .single-product-image {
		height: 190px !important;
	}
}

/*******************************************************************/

.single-product #single-product .price,
.single-product #single-product .quantity,
.single-product #single-product .single_add_to_cart_button {
    display: none !important;
} 

/* Container principal */
.bowling-custom-widget {
    max-width: 400px;
    margin: 0 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ligne du haut avec quantité et prix */
.bowling-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

/* Section quantité à gauche */
.bowling-quantity-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
}

.bowling-quantity-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #00101C;
    font-weight: 400;
}

.bowling-quantity-controls {
    display: flex;
    align-items: center;
    background: #D9D9D9;
    border-radius: 20px;
    padding: 2px;
	margin-top: 15px;
}

.bowling-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}             

.bowling-qty-input {
    text-align: center !important;
    width: 50px !important;
    border: none;
    background: #D9D9D9 !important;
    font-size: 20px !important;
    font-weight: 600;
    color: black !important;
    margin: 0 5px;
    border: none !important;
    padding: 0 !important;
}

.bowling-qty-input:focus {
    outline: none;
}

/* Masquer les flèches des inputs number */
.bowling-qty-input {
    -moz-appearance: textfield; /* Firefox */
}

.bowling-qty-input::-webkit-outer-spin-button,
.bowling-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    margin: 0;
}

/* Section prix à droite */
.bowling-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bowling-price-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #00101C;
    font-weight: 400;
}

.bowling-price-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
	margin-top: 20px;
}

.bowling-price-value {
    font-size: 30px;
    font-weight: 700;
    color: #ff4757;
}

.bowling-price-currency {
    font-size: 30px;
    font-weight: 400;
    color: #ff4757;
}

.bowling-price-ttc {
    font-size: 20px;
    color: #ff4757;
    font-weight: 400;
    text-transform: uppercase;
}

/* Bouton d'achat */
.bowling-purchase-btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100%;
    background: #FF2B35;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0;
}

.bowling-purchase-btn:hover {
    background: #ff3742;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

/* Responsive */
@media (max-width: 480px) {
    .bowling-custom-widget {
        margin: 15px 0;
    }
    
    .bowling-top-row {
        margin-bottom: 12px;
    }
    
    .bowling-price-value,
    .bowling-price-currency {
        font-size: 20px;
    }
    
    .bowling-purchase-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}
