/* =========================================
   GMD Voucher Multiple Price Selector
   ========================================= */

.gmd-vpo-selector {
    width: 100%;
    margin: 15px 0 20px;
}

.gmd-vpo-selector > label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
}

/* Dropdown */

.gmd-vpo-select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d5d9df;
    border-radius: 7px;
    background: #fff;
    color: #222;
    font-size: 15px;
    cursor: pointer;
}

/* Price display */

.gmd-vpo-price-display {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 14px;
}

.gmd-vpo-sale {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #0875ed;
}

.gmd-vpo-retail {
    font-size: 17px;
    color: #777;
}

.gmd-vpo-discount {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 20px;
    background: #e7f7ed;
    color: #167a3e;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Savings */

.gmd-vpo-saving {
    margin: 8px 0 0;
    font-size: 14px;
    color: #444;
}

.gmd-vpo-saving strong {
    font-weight: 700;
    color: #167a3e;
}

/* Error */

.gmd-vpo-error {
    color: #b42318;
    font-size: 14px;
}

/* Mobile */

@media (max-width: 767px) {

    .gmd-vpo-sale {
        font-size: 26px;
    }

    .gmd-vpo-price-display {
        gap: 8px;
    }

    .gmd-vpo-retail {
        font-size: 15px;
    }
}

/* =========================================
   GMD Multiple Prices - Spacing Improvements
   ========================================= */

/* More room around the selector */
.gmd-vpo-selector {
    margin: 20px 0 26px;
}

/* Larger heading */
.gmd-vpo-selector > label {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Larger dropdown */
.gmd-vpo-select {
    min-height: 50px;
    padding: 12px 15px;
    font-size: 16px;
}

/* More space above the prices */
.gmd-vpo-price-display {
    margin-top: 22px;
    gap: 12px 16px;
    align-items: center;
}

/* Bigger discounted price */
.gmd-vpo-sale {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

/* Bigger original price */
.gmd-vpo-retail {
    font-size: 18px;
}

/* Larger discount badge */
.gmd-vpo-discount {
    font-size: 14px;
    padding: 7px 12px;
}

/* Savings line */
.gmd-vpo-saving {
    margin-top: 15px;
    margin-bottom: 8px;
    font-size: 16px;
}

.gmd-vpo-saving strong {
    font-size: 17px;
}

/* Mobile adjustments */
@media (max-width: 767px) {

    .gmd-vpo-sale {
        font-size: 30px;
    }

    .gmd-vpo-retail {
        font-size: 16px;
    }

    .gmd-vpo-price-display {
        gap: 10px;
        margin-top: 18px;
    }

    .gmd-vpo-saving {
        font-size: 15px;
    }
}

/* Hide original pricing on multiple-price vouchers only */

body.gmd-vpo-multiple-enabled .gmd-original-voucher-price {
    display: none !important;
}

/* =========================================
   GMD Voucher Deal Selector
   ========================================= */

.gmd-vpo-selector label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.gmd-vpo-selector select {
    width: 100%;
    min-height: 54px;
    padding: 12px 42px 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                background-color .2s ease;
}

.gmd-vpo-selector select:hover {
    border-color: #64748b;
    background-color: #ffffff;
}

.gmd-vpo-selector select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
    background-color: #ffffff;
}

@media (max-width: 767px) {
    .gmd-vpo-selector select {
        min-height: 56px;
        font-size: 16px;
    }
}
