/* ====== Global ====== */
.wol-offer-accordion {
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    overflow: hidden;
    transition: all .25s ease;
}

.wol-offer-title{
    font-size: 2rem;
    text-align:center;
}


/* ====== Header ====== */
.wol-offer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    background: linear-gradient(135deg,#f8fafc,#eef2f7);
}

.wol-offer-header-text{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 12px;
}

.wol-offer-grid h3:first-child {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

/* Price */
.wol-offer-grid h3:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

/* Badge */
.wol-offer-badge {
    grid-column: 1;
    grid-row: 2;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    width: fit-content;
}

.wol-offer-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.wol-toggle {
    font-size: 26px;
    font-weight: bold;
    transition: transform .3s ease;
}

/* Active accordion */
.wol-offer-accordion.active .wol-toggle {
    transform: rotate(45deg);
}

/* ====== Body ====== */
.wol-offer-body {
    display: none;
    padding: 6px;
    border-top: 1px solid #eee;
}

.wol-offer-accordion.active .wol-offer-body {
    display: block;
}

/* ====== Units ====== */
.wol-unit {
    display: flex !important;
    justify-content: space-around;
        align-items: center;
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.wol-unit p {
    margin: 0 0 10px;
    font-weight: 600;
}

.wol-unit-atts{
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: self-end;
    justify-content: space-between;

}

.wol-unit-att{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: self-end;
    margin-inline: 5px;

}

/* ====== Select ====== */
.wol-unit label {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
}

.wol-unit select {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    
}

.wol-unit select:focus {
    
    background-image: none !important;
}

/* ====== Button ====== */
.wol-add-offer {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background .25s ease;
}

.wol-add-offer:hover {
    background: #000;
}


.wol-popup {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.6);
    z-index:9999;
    justify-content: center;
    align-items: center;
}
.wol-popup-content {
    background:#fff;
    padding:20px;
    max-width:800px;
    width:90%;
    position: relative;
    overflow-y:auto;
    max-height:90vh;
}
.wol-popup-close {
    position:absolute;
    top:10px;
    right:15px;
    cursor:pointer;
    font-size:20px;
}

.product-gallery-summary .entry-summary {
    
    z-index: 99;
}
.wol-offer-form-title{
    font-size: 1.25rem;
    margin: 1em 0;
    text-align: center;
}
#wol-offer-form input,
#wol-offer-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

#wol-offer-form button {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: 0;
    cursor: pointer;
}
