/*
Theme Name: Thème rebeau.rebelle
Template: twentytwentyone
Description: Thème enfant de Twenty Twenty-One
Author: quentino.io
Version: 1.0
*/

/* Importer les styles du thème parent */
@import url('../twentytwentyone/style.css');

/* Importer les styles générés par Tailwind */
@import url('./assets/css/dist/tailwind.css');

/* Styles personnalisés */
@keyframes rotation360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hover\:rotate-360:hover {
    animation: rotation360 1s linear;
}

.menu-item {
    margin-left: 0px !important;
}

@media (min-width: 1024px) {
    #mobile-menu {
        display: none !important;
    }
}

@media (max-height: 500px) {
    .menu-dot-mobile {
        display: none !important;
    }
}

.slide-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}
  
.slide-down.active {
    transform: translateY(0);
}

/* Couleur pour les éléments strong dans la section engagements */
.text-engagements strong {
    font-weight: normal;
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.description-container:empty {
    display: none;
}

/* Classes spécifiques pour contrôler les br dans les listes */
.clean-list > br {
    height: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    font-size: 0 !important;
}

.clean-list li + br {
    height: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    font-size: 0 !important;
}

/* Forcer la couleur blanche pour les extraits d'articles */
.excerpt-content,
.excerpt-content * {
    color: white !important;
}

/* Masquer la notice de checkout invité WooCommerce */
#wc-guest-checkout-notice {
    display: none !important;
}

.wcpay-payment-element {
    margin-bottom: 0 !important;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child::after, .wc-block-checkout__payment-method .wc-block-components-radio-control__option:last-child::after {
    border-width: 0 !important;
}

#pwgc-purchase-container {
    border: solid 2px #be123c !important;
    border-radius: 10px !important;
    padding: 24px !important;
}

/* Masquer complètement le champ de message pour les cartes cadeaux */
#pwgc-message {
    display: none !important;
}

/* Masquer également le conteneur parent du champ message */
.pwgc-field-container:has(#pwgc-message) {
    display: none !important;
}

/* Aligner le contenu des inputs à droite */
.pwgc-input-text {
    text-align: left !important;
    border: 0 !important;
    border-bottom: 1px solid #be123c !important;
    width: 100% !important;
}

.pwgc-label {
    text-align: left !important;
    margin-bottom: 0 !important;
}

#pwgc-redeem-gift-card-form {
    display: none !important;
}

#pwgc-redeem-gift-card-container {
    margin : 0 !important;
    padding: 0 !important;
}

.pwgc-remove-gift-card {
    background: none !important;
    color: #be123c !important;
}

.pwgc-remove-gift-card:hover {
    color: #be123d6e !important;
}

.pwgc-gift-card-amount {
    display: flex !important;
    align-items: center !important;
}

.variation-De {
    padding-left: 0 !important;
}

.variation-Pour {
    padding-left: 0 !important;
}

#ppcp-recaptcha-v2-container {
    margin: 0 !important;
}

.pwgc-subtitle {
    display: none !important;
}