.cgu-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 150px;
    margin-bottom: 50px;
}

.cgu-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.cgu-header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.cgu-header p {
    color: #666;
    font-size: 1.1em;
}

.cgu-section {
    margin-bottom: 30px;
}

.cgu-section h2 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #333;
}

.cgu-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.cgu-section ul {
    color: #555;
    line-height: 1.6;
    margin-left: 20px;
}

.cgu-section li {
    margin-bottom: 8px;
}

.age-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.age-warning h3 {
    color: #856404;
    margin-bottom: 15px;
}

.age-warning p {
    color: #856404;
    margin-bottom: 0;
}

.back-button {
    text-align: center;
    margin-top: 40px;
}

.back-button a {
    display: inline-block;
    background-color: #856404;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-button a:hover {
    background-color: #333;
}

.contact-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.contact-info h3 {
    color: #856404;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .cgu-container {
        margin: 20px 10px;
        padding: 20px 15px;
    }

    .cgu-header h1 {
        font-size: 2em;
    }

    .cgu-section h2 {
        font-size: 1.3em;
    }
}

.products {
    margin-bottom: 25px !important;
    height: 450px !important;
    display: flex;
    flex-direction: column;
}

.products figure {
    height: 300px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.products figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.products {
    margin-bottom: 25px !important;
    height: 650px !important;
    display: flex;
    flex-direction: column;
}

.products .img-box {
    height: 550px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.products .img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.bg-img {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding-top: 100px;
}

.bg-img-br {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background: #000;
    padding-top: 50px;
}

.bg-img-dark {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background: #000;
    padding-top: 100px;
}

.collection-box {
    background-color: var(--bg-white);
    border: 1px solid var(--main-color);
}

/* Styles pour l'indicateur de chargement */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: var(--main-color);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Styles pour les messages d'erreur */
.error-message {
    text-align: center;
    padding: 50px 20px;
    color: #dc3545;
}

.error-message h2 {
    color: #dc3545;
    margin-bottom: 20px;
}

.error-message p {
    font-size: 16px;
    margin: 0;
}

.hover-img {
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    transition: all 0.7s
    ease 0s;
    margin: 0 auto;
}
.main-img:hover .hover-img{
    opacity: 1;
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
}

.title_style1{
    margin: 0 0;
    font-weight: 600;
    font-family: 'Audiowide', cursive;
    text-align: center;
}

.products {
    margin-bottom: 25px !important;
    height: 450px !important;
    display: flex;
    flex-direction: column;
}

.products figure {
    height: 300px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.products figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.category-item:last-child {
    border-bottom: none;
}

.product-count {
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.pagination {
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.no-products {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.color-btn.active {
    border-color: #a16e0dff !important;
    background-color: #f0f8ff !important;
    font-weight: bold;
}
.color-btn:hover {
    border-color: #a16e0dff !important;
}

.products {
    margin-bottom: 25px !important;
    height: 450px !important;
    display: flex;
    flex-direction: column;
}

.products figure {
    height: 300px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.products figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.age-verification-modal {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease;
    position: relative;
}

.age-verification-icon {
    font-size: 4em;
    color: #007bff;
    margin-bottom: 20px;
}

.age-verification-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.age-verification-subtitle {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.4;
}

.age-verification-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    color: #856404;
    font-size: 0.9em;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.age-btn-yes {
    background-color: #28a745;
    color: white;
}

.age-btn-yes:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.age-btn-no {
    background-color: #dc3545;
    color: white;
}

.age-btn-no:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.age-verification-footer {
    margin-top: 20px;
    font-size: 0.8em;
    color: #999;
}

.age-verification-footer a {
    color: #007bff;
    text-decoration: none;
}

.age-verification-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .age-verification-modal {
        padding: 30px 20px;
        margin: 20px;
    }

    .age-verification-title {
        font-size: 1.6em;
    }

    .age-verification-subtitle {
        font-size: 1em;
    }

    .age-verification-buttons {
        flex-direction: column;
        align-items: center;
    }

    .age-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Hide the modal when user is verified */
.age-verified .age-verification-overlay {
    display: none !important;
}

/* FAQ Button Styles */
.faq-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.faq-button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.faq-button::after {
    content: "FAQ";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.faq-button:hover::after {
    opacity: 1;
    visibility: visible;
}

/* FAQ Modal Styles */
.faq-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.faq-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.faq-modal-header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.faq-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-close:hover {
    color: #ccc;
}

.faq-modal-body {
    padding: 30px;
}

.faq-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .faq-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .faq-modal-body {
        padding: 20px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer {
        font-size: 13px;
    }
}

/* Styles pour les blocs produits uniformes */

/* Styles pour uniformiser les éléments dans .gun_carbine_wrapper */
.gun_carbine_wrapper .row {
    display: flex;
    flex-wrap: wrap;
}

.gun_carbine_wrapper .col-12,
.gun_carbine_wrapper .col-sm-6,
.gun_carbine_wrapper .col-md-4,
.gun_carbine_wrapper .col-lg-4 {
    display: flex;
    flex-direction: column;
}

.gun_carbine_wrapper .carbine_box {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gun_carbine_wrapper .carbine_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gun_carbine_wrapper .carbine_imd_box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f9fa;
    min-height: 150px;
}

.gun_carbine_wrapper .carbine_imd_box img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gun_carbine_wrapper .carbine_content_box {
    padding: 15px;
    background-color: white;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.gun_carbine_wrapper .carbine_content_box p {
    margin: 0;
    margin-bottom: 5px;
}

.gun_carbine_wrapper .carbine_content_box p:last-child {
    margin-bottom: 0;
}

.gun_carbine_wrapper .carbine_content_box a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.gun_carbine_wrapper .carbine_content_box a:hover {
    color: var(--main-color, #007bff);
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gun_carbine_wrapper .carbine_box {
        min-height: 180px;
        margin-bottom: 20px;
    }
    
    .gun_carbine_wrapper .carbine_imd_box {
        min-height: 120px;
        padding: 15px;
    }
    
    .gun_carbine_wrapper .carbine_imd_box img {
        max-height: 100px;
    }
}

@media (max-width: 576px) {
    .gun_carbine_wrapper .carbine_box {
        min-height: 160px;
    }
    
    .gun_carbine_wrapper .carbine_imd_box {
        min-height: 100px;
        padding: 10px;
    }
    
    .gun_carbine_wrapper .carbine_imd_box img {
        max-height: 80px;
    }
    
    .gun_carbine_wrapper .carbine_content_box {
        padding: 10px;
    }
}
.collection-box {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.collection-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.collection-box .main-img {
    border-radius: 10px 10px 0 0;
}

.collection-box .product-title {
    border-radius: 0 0 10px 10px;
    background: #f8f9fa;
}

.collection-box .product-title h4 a {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.collection-box .product-title h4 a:hover {
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .collection-box {
        max-height: 300px !important;
    }
    
    .collection-box .main-img {
        max-height: 200px !important;
    }
    
    .collection-box .product-title {
        min-height: 60px !important;
    }
}

/* Animation pour le hover des images */
.collection-box .hover-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-box:hover .hover-img {
    opacity: 1;
}

/* Style pour le bouton d'action */
.collection-box.action-button {
    background-color: #878245;
    border: none;
}

.collection-box.action-button:hover {
    background-color: #EFD59C;
}

.icons li a svg {
    width: 40px;
    height: 40px;
    display: block;
}
.rotate-90 {
    transform: rotate(90deg);
}

/* E-mail Modal Styles */
.email-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.email-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.email-modal-header {
    background-color: #244a77;
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-modal-body {
    flex: 1;
    background-color: #E5DDD5;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-send-button {
    background-color: #244a77;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.email-send-button:hover {
    background-color: #14244b;
}

.email-send-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.email-input-container {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 8px 15px;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


/* WhatsApp Modal Styles */
.whatsapp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.whatsapp-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.whatsapp-modal-header {
    background-color: #075E54;
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-avatar {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    color: #075E54;
}

.whatsapp-contact-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-contact-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.whatsapp-close {
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.whatsapp-close:hover {
    color: #ccc;
}

.whatsapp-modal-body {
    flex: 1;
    background-color: #E5DDD5;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.whatsapp-message-received {
    align-self: flex-start;
}

.whatsapp-message-sent {
    align-self: flex-end;
}

.whatsapp-message-bubble {
    padding: 8px 12px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
}

.whatsapp-message-received .whatsapp-message-bubble {
    background-color: white;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-message-sent .whatsapp-message-bubble {
    background-color: #DCF8C6;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-message-bubble p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #303030;
}

.whatsapp-message-time {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    padding: 0 8px;
}

.whatsapp-message-sent .whatsapp-message-time {
    text-align: right;
}

.whatsapp-input-area {
    background-color: #F0F0F0;
    padding: 15px 20px;
    border-top: 1px solid #E0E0E0;
}

.whatsapp-input-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 25px;
    padding: 8px 15px;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.whatsapp-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 8px 0;
    background: transparent;
}

.whatsapp-input::placeholder {
    color: #999;
}

.whatsapp-send-button {
    background-color: #075E54;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.whatsapp-send-button:hover {
    background-color: #064E46;
}

.whatsapp-send-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.whatsapp-send-icon {
    width: 18px;
    height: 18px;
    color: white;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    .whatsapp-modal-body {
        padding: 15px;
    }

    .whatsapp-message {
        max-width: 85%;
    }

    .whatsapp-message-bubble p {
        font-size: 13px;
    }
}

.color-btn.active {
    border-color: #a16e0dff !important;
    background-color: #f0f8ff !important;
    font-weight: bold;
}
.color-btn:hover {
    border-color: #a16e0dff !important;
}
.product-actions .btn {
    padding: 12px 24px;
    font-weight: 500;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    color: #878245;
    background-color: #f8f9fa;
    padding-left: 10px;
}

.category-item.active {
    color: #007bff;
    font-weight: bold;
    background-color: #e3f2fd;
    padding: 10px;
    border-radius: 5px;
}

.product-count {
    background: #878245;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.breadcrumb {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-top: 7px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.pagination {
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background-color: #878245;
    border-color: #007bff;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
}

.no-products {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.products {
    margin-bottom: 25px !important;
    height: 450px !important;
    display: flex;
    flex-direction: column;
}

.products figure {
    height: 300px !important;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.products figure img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.list-with-diamond li {
    position: relative;
    padding-left: 50px !important;
}

/* Losange principal (bordure dorée) */
.list-with-diamond li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: 1;
}

/* Image de fond qui remplit le losange */
.list-with-diamond li::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

/* Images personnalisées */
.list-with-diamond li:nth-child(1)::after {
    background-image: url('/assets/images/sliders/equip.png');
}

.list-with-diamond li:nth-child(2)::after {
    background-image: url('/assets/images/sliders/habillement.png');
}

.list-with-diamond li:nth-child(3)::after {
    background-image: url('/assets/images/sliders/materiel_sensible.jpg');
}

.list-with-diamond li:nth-child(4)::after {
    background-image: url('/assets/images/sliders/materiel_roulant.png');
}

/* Responsive */
@media (max-width: 768px) {
    .list-with-diamond li {
        padding-left: 40px !important;
    }

    .list-with-diamond li::before,
    .list-with-diamond li::after {
        width: 24px;
        height: 24px;
        left: 8px;
    }
}

.polaroid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.polaroid-wrapper {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 200px;
    opacity: 0;
    transform: translateY(-250px) rotate(var(--rot)) scale(0.2);
    animation: dropPolaroid 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: var(--delay);
    will-change: transform, opacity;
    transition: transform 0.3s ease, z-index 0s;
    z-index: var(--z);
}

.polaroid-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -35px;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: -1;
    border-radius: 2px;
}

.polaroid-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1px;
}

@keyframes dropPolaroid {
    0% {
        opacity: 0;
        transform: translateY(-250px) rotate(calc(var(--rot) * 3)) scale(0.2);
    }

    60% {
        transform: translateY(8px) rotate(var(--rot)) scale(1.05);
    }

    80% {
        transform: translateY(-3px) rotate(var(--rot)) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(var(--rot)) scale(1);
    }
}

.polaroid-wrapper:hover {
    transform: translateY(-8px) rotate(var(--rot)) scale(1.1) !important;
    z-index: 100 !important;
    transition: transform 0.3s ease;
}

.polaroid-wrapper:hover::before {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

@media (max-width: 992px) {
    .polaroid-wrapper {
        width: 160px;
    }

    .polaroid-wrapper::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -28px;
    }

    .polaroid-wrapper:nth-child(1) {
        --x: 5%;
        --y: 10%;
    }

    .polaroid-wrapper:nth-child(2) {
        --x: 18%;
        --y: 15%;
    }

    .polaroid-wrapper:nth-child(3) {
        --x: 32%;
        --y: 12%;
    }

    .polaroid-wrapper:nth-child(4) {
        --x: 48%;
        --y: 18%;
    }

    .polaroid-wrapper:nth-child(5) {
        --x: 62%;
        --y: 10%;
    }

    .polaroid-wrapper:nth-child(6) {
        --x: 78%;
        --y: 20%;
    }

    .polaroid-wrapper:nth-child(7) {
        --x: 3%;
        --y: 40%;
    }

    .polaroid-wrapper:nth-child(8) {
        --x: 15%;
        --y: 48%;
    }

    .polaroid-wrapper:nth-child(9) {
        --x: 28%;
        --y: 45%;
    }

    .polaroid-wrapper:nth-child(10) {
        --x: 42%;
        --y: 52%;
    }

    .polaroid-wrapper:nth-child(11) {
        --x: 58%;
        --y: 48%;
    }

    .polaroid-wrapper:nth-child(12) {
        --x: 72%;
        --y: 55%;
    }

    .polaroid-wrapper:nth-child(13) {
        --x: 8%;
        --y: 72%;
    }

    .polaroid-wrapper:nth-child(14) {
        --x: 25%;
        --y: 75%;
    }

    .polaroid-wrapper:nth-child(15) {
        --x: 45%;
        --y: 78%;
    }

    .polaroid-wrapper:nth-child(16) {
        --x: 68%;
        --y: 80%;
    }
}

@media (max-width: 768px) {
    .polaroid-wrapper {
        width: 135px;
        transform: translateY(-180px) rotate(var(--rot)) scale(0.3);
    }

    .polaroid-wrapper::before {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -22px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .polaroid-wrapper:nth-child(1) {
        --x: 2%;
        --y: 8%;
        --rot: -8deg;
    }

    .polaroid-wrapper:nth-child(2) {
        --x: 22%;
        --y: 10%;
        --rot: 5deg;
    }

    .polaroid-wrapper:nth-child(3) {
        --x: 45%;
        --y: 12%;
        --rot: -6deg;
    }

    .polaroid-wrapper:nth-child(4) {
        --x: 70%;
        --y: 8%;
        --rot: 10deg;
    }

    .polaroid-wrapper:nth-child(5) {
        --x: 5%;
        --y: 28%;
        --rot: 7deg;
    }

    .polaroid-wrapper:nth-child(6) {
        --x: 25%;
        --y: 32%;
        --rot: -10deg;
    }

    .polaroid-wrapper:nth-child(7) {
        --x: 48%;
        --y: 30%;
        --rot: 12deg;
    }

    .polaroid-wrapper:nth-child(8) {
        --x: 72%;
        --y: 35%;
        --rot: -5deg;
    }

    .polaroid-wrapper:nth-child(9) {
        --x: 3%;
        --y: 50%;
        --rot: -12deg;
    }

    .polaroid-wrapper:nth-child(10) {
        --x: 23%;
        --y: 54%;
        --rot: 8deg;
    }

    .polaroid-wrapper:nth-child(11) {
        --x: 46%;
        --y: 52%;
        --rot: -7deg;
    }

    .polaroid-wrapper:nth-child(12) {
        --x: 70%;
        --y: 58%;
        --rot: 11deg;
    }

    .polaroid-wrapper:nth-child(13) {
        --x: 5%;
        --y: 72%;
        --rot: 9deg;
    }

    .polaroid-wrapper:nth-child(14) {
        --x: 26%;
        --y: 75%;
        --rot: -8deg;
    }

    .polaroid-wrapper:nth-child(15) {
        --x: 48%;
        --y: 78%;
        --rot: 6deg;
    }

    .polaroid-wrapper:nth-child(16) {
        --x: 72%;
        --y: 80%;
        --rot: -10deg;
    }

    @keyframes dropPolaroid {
        0% {
            opacity: 0;
            transform: translateY(-180px) rotate(calc(var(--rot) * 2)) scale(0.4);
        }

        100% {
            opacity: 1;
            transform: translateY(0) rotate(var(--rot)) scale(1);
        }
    }
}

@media (max-width: 480px) {
    .polaroid-wrapper::before {
        bottom: -18px;
    }

    .polaroid-wrapper:nth-child(13),
    .polaroid-wrapper:nth-child(14),
    .polaroid-wrapper:nth-child(15),
    .polaroid-wrapper:nth-child(16) {
        display: none;
    }
}