.wcpp-zone {
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
}
.wcpp-zone.active .wcpp-zone-header:after{
    opacity: .25;
}
.wcpp-zone-header {
    background: #f8f8f8;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wcpp-zone-header .wcpp-price{
    margin-left: 0;
    margin-right: auto;
}
.wcpp-zone-header:after{
    content: '';
    border: 10px solid transparent;
    border-top-color: black;
    border-bottom-width: 0;
    border-radius: 5px;
}

.wcpp-zone-content {
    display: none;
    padding: 12px;
    background: #fff;
}

.wcpp-price {
    font-weight: 400;
    color: #777;
}

/*uppload*/
.wcpp-drop-area {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all .3s ease;
    background-color: #dddce1;
}

.wcpp-drop-area:hover {
    border-color: #000;
    background: #fafafa;
}
.wcpp-drop-inner .wcpp-icon svg{
    width: 50px;
    height: auto;
}
.wcpp-drop-inner{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.wcpp-drop-inner input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.wcpp-preview-wrapper {
    margin-top: 20px;
    position: relative;
    display: none;
    width: 100px;
}

.wcpp-preview-image {
    max-width: 120px;
    border-radius: 8px;
}

.wcpp-check-animation{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1rem;
}

.wcpp-check-animation svg{
    margin-right: 30px;
}
.wcpp-options {
    margin-top: 20px;
}

.wcpp-option-card {
    display: block;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .2s ease;
}

.wcpp-option-card:hover {
    border-color: #000;
}
/* Cache le radio natif */
.wcpp-option-card input[type="radio"] {
    display: none;
}

/* Card */
.wcpp-option-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    margin-bottom: 10px;
    background: #fff;
}

/* Hover */
.wcpp-option-card:hover {
    border-color: #000;
}

/* Contenu */
.wcpp-option-content {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: .9rem;
}

/* X caché par défaut */
.wcpp-remove {
    font-size: 14px;
    transition: all 0.2s ease;
    border: 1px solid black;
    width: 20px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    height: 20px;
    margin-right: 8px;
    color: transparent;
    line-height: 18px;
}

/* Etat actif */
.wcpp-option-card input[type="radio"]:checked + .wcpp-option-content {
    color: #000;
}

.wcpp-option-card input[type="radio"]:checked ~ .wcpp-option-content .wcpp-remove {
    color: black;
}

/* Bordure active */
.wcpp-option-card input[type="radio"]:checked + .wcpp-option-content,
.wcpp-option-card input[type="radio"]:checked {
    border-color: #000;
}

.wcpp-option-card input[type="radio"]:checked + .wcpp-option-content {
    font-weight: 600;
}

/* Active card style */
.wcpp-option-card:has(input:checked) {
    background: #f7f7f7;
}

.wcpp-drop-placeholder{
    position: relative;
}
.wcpp-drop-placeholder .wcpp-drop-loading{
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
/*end upload*/

.wcpp-section-title{
    margin-top: 3rem;
    margin-bottom: 2rem; 
}

.wcpp-section-title + img,
.wcpp-container{
    margin-bottom: 2rem;
}