/* Product Inquiry Form Styles */
.product-inquiry-section {
    margin-top: 60px;
    padding: 40px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.inquiry-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.inquiry-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.inquiry-form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

.form-group {
    width: 100%;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.inquiry-submit-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.inquiry-submit-btn:hover {
    background: #0056b3;
}

.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cart,
.single_add_to_cart_button,
.ts-buy-now-button,
.loop-add-to-cart,
.add_to_cart_button,
.ajax_add_to_cart {
    display: none !important;
}



.summary .price {
    font-size: 24px;
    font-weight: 600;
    color: #007bff;
    margin: 20px 0;
}

.summary .price del {
    color: #999;
    font-size: 18px;
    margin-right: 10px;
}

.product_meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 44px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.modal-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 40px 60px 40px;
    overflow: hidden;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 70px 35px 60px 35px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 36px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 75px 30px 65px 30px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        font-size: 32px;
        width: 38px;
        height: 38px;
    }
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
    z-index: 10000;
    width: 100%;
    box-sizing: border-box;
}

.modal-prev,
.modal-next {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 30px;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    pointer-events: auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    margin: 0;
}

.modal-prev {
    margin-left: 20px;
}

.modal-next {
    margin-right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.modal-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 8px 20px;
    border-radius: 30px;
    z-index: 10001;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.woocommerce-product-gallery__image img {
    cursor: pointer;
}

/* ============ NOUVEAUX STYLES ============ */

/* Flamme animée */
.sales-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    font-size: 14px;
    color: #e65100;
    margin: 15px 0;
}

.fire-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fire-icon-animated {
    font-size: 22px;
    animation: fireFlicker 0.4s infinite alternate;
    display: inline-block;
}

@keyframes fireFlicker {
    0% {
        transform: scale(1) rotate(-3deg);
    }

    50% {
        transform: scale(1.2) rotate(3deg);
    }

    100% {
        transform: scale(1.05) rotate(-1deg);
    }
}

/* Compte à rebours */
.countdown-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
    margin: 10px 0;
}

.clock-icon-animated {
    font-size: 18px;
    animation: clockPulse 2s infinite;
    display: inline-block;
}

@keyframes clockPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* Visiteurs */
.visitor-count {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #2e7d32;
    margin: 10px 0;
}

.visitor-pulse {
    width: 10px;
    height: 10px;
    background: #4caf50;
    border-radius: 50%;
    animation: visitorPulse 2s infinite;
}

@keyframes visitorPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Section panier personnalisé */
.custom-cart-section {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-qty-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.custom-qty-selector {
    display: flex;
    align-items: center;

    overflow: hidden;
}

.custom-qty-selector button {
    width: 38px;
    height: 42px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.custom-qty-selector button:hover {
    background: #FC6702;
    color: white;
}

.custom-qty-selector input {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.custom-qty-selector input:focus {
    outline: none;
}

.custom-add-to-cart-btn {
    flex: 1;
    padding: 14px 20px;
    color: white;
    border: none;

    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-add-to-cart-btn:hover {
    background: #e55d00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252, 103, 2, 0.3);
}

.custom-add-to-cart-btn:active {
    transform: scale(0.96);
}

/* Bouton Acheter maintenant */
.buy-now-btn {
    padding: 14px 20px;
    background: #F6A2A2;
    color: white;
    border: none;

    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.buy-now-btn:hover {
    background: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.buy-now-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Conditions */
.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    margin: 5px 0;
}

.terms-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #FC6702;
}

.terms-checkbox a {
    color: #FC6702;
    text-decoration: underline;
}

/* Boutons supplémentaires */
.extra-buttons {
    display: flex;
    gap: 10px;
}

.extra-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.extra-btn:hover {
    border-color: #FC6702;
    color: #FC6702;
}

/* Trust badges */
.trust-section {
    margin-top: 15px;
}

.trust-badges {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 12px;
    color: #555;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.safe-checkout {
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #777;
}

/* Réseaux sociaux */
.share-section {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #777;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.share-section .label-share {
    font-weight: 600;
    color: #555;
}

.share-links {
    display: flex;
    gap: 8px;
}

.share-links a {
    color: white;
    text-decoration: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 14px;
}



/* Notification */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 10000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Description en bas */
.product-description-section {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.product-description-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FC6702;
}