/*
Theme Name: Woodmart Child
Theme URI: https://votresite.com
Description: Thème enfant de Woodmart
Author: Votre Nom
Author URI: https://votresite.com
Template: woodmart
Version: 1.0
*/

/* Importation des styles du thème parent */
@import url("../woodmart/style.css");

/* ================= FORM CONTAINER ================= */
.pack-selection-form, .selection-packs-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* ================= PACK ITEM STYLES ================= */
.pack-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pack-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Pack Details Section */
.pack-details {
    padding: 15px;
    border-bottom: 1px solid #eaeaea;
}

.pack-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #0073aa;
}

.pack-summary, .pack-goal, .pack-price {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
}

.pack-thumbnail,
.pack-image {
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block;
}

/* Container pour les images sans swiper */
.pack-image-container {
    margin-bottom: 15px;
}

/* ================= META ITEMS ================= */
.pack-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.meta-item .svg-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    flex-shrink: 0;
    fill: currentColor;
}

/* ================= SWIPER STYLES ================= */
.swiper-container,
.pack-swiper {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

.swiper-button-next, .swiper-button-prev {
    color: #0073aa;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.swiper-button-next {
    right: 15px;
}

.swiper-button-prev {
    left: 15px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: background 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #0073aa;
}

/* ================= BUTTONS & CHECKBOX ================= */
.discover-button {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.discover-button:hover {
    background-color: #005a87;
}

.pack-checkbox {
    margin-top: 20px;
    text-align: right;
}

.pack-checkbox label {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pack-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.continue-button {
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.continue-button:hover {
    background-color: #005a87;
}


.selected-packs-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.selected-pack-item {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 20px);
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pack-image img {
    width: 100%;
    height: auto;
}

.pack-details {
    padding: 15px;
}

.pack-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.pack-category,
.pack-goal,
.pack-summary {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.finalize-campaign-form .finalize-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.finalize-campaign-form .finalize-button:hover {
    background: #005b7f;
}





/* ================= SUCCESS MESSAGE ================= */
.campaign-success-message {
    padding:15px;
    background:#dff0d8;
    color:#3c763d;
    border-left:4px solid #3c763d;
    margin-bottom:20px;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 768px) {
    .pack-item {
        padding: 15px;
    }

    .pack-title {
        font-size: 18px;
    }

    .swiper-button-next, .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .meta-item {
        font-size: 13px;
    }
}


/* ================= PACK CONTAINER ================= */
.pack-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* Assure l'alignement */
}

/* PACK CARD */
.pack-card {
    flex: 1 1 calc(33.33% - 20px); /* 3 colonnes Desktop */
    max-width: calc(33.33% - 20px); /* Forcer largeur */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* HOVER EFFECT */
.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* IMAGE STYLING */
.pack-thumbnail,
.pack-image {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ================= REWARDS ================= */
.rewards-section h6 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.reward-row {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.reward-row input,
.reward-row select {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.tooltip {
    font-size: 0.8em;
    color: #666;
    margin-left: 5px;
    cursor: help;
}

/* ================= MODAL ================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}

/* ================= BUTTONS ================= */
.primary-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.primary-button:hover {
    background-color: #005b8a;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 768px) {
    .pack-card {
        flex: 1 1 calc(50% - 20px); /* 2 colonnes sur tablette */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .pack-card {
        flex: 1 1 100%; /* 1 colonne sur mobile */
        max-width: 100%;
    }
}
/* ================= Ligne separation pack confirmation ================= */
.fine-line {
    border-top: 1px solid #ddd; /* Ligne fine en gris clair */
     margin-top: -15px ; /* Espacement au-dessus et en dessous */
    margin-bottom: 15px;
}

hr.fine-line {
    border: none; /* Supprime la bordure par défaut */
    border-top: 1px solid #ddd; /* Ligne fine en gris clair */
    margin-top: -10px ; /* Espacement au-dessus et en dessous */
    margin-bottom: 15px;
}

.inputA {
    width: 100%;            /* Largeur de 100% du conteneur */
    padding: 8px;           /* Padding intérieur */
    font-size: 16px;        /* Taille de police */
    border: 1px solid #ccc; /* Bordure standard */
    border-radius: 5px;     /* Coins arrondis */
    outline: none;          /* Supprime le contour au focus */
}

.inputA:focus {
    border-color: #007BFF; /* Change la couleur au focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Ombre légère */
}


/* ================= Option contrepartie ================= */

.select_rewards_button {
    padding: 7px 15px !important;
    font-size: 14px;
    font-weight: 400;
    background: #006dd2 !important;
    line-height: 24px;
    border: none;
    color: #fff !important;
}

