/* WV Pincode Delivery Checker - Frontend Styles */

.wvpc-widget{
    max-width: 420px;
    margin: 16px 0;
    font-family: inherit;
}

.wvpc-widget-row{
    display: flex;
    align-items: center;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s ease;
}
.wvpc-widget-row:focus-within{
    border-color: #d6336c;
}

.wvpc-pin-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #999;
    flex-shrink: 0;
}

.wvpc-pincode-input{
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 6px;
    font-size: 14px;
    min-width: 0;
    background: transparent;
}

.wvpc-check-btn{
    flex-shrink: 0;
    border: none;
    background: #222;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .3px;
    padding: 0 20px;
    height: 44px;
    cursor: pointer;
    transition: background .2s ease;
    text-transform: uppercase;
}
.wvpc-check-btn:hover{
    background: #d6336c;
}
.wvpc-check-btn:disabled{
    opacity: .6;
    cursor: not-allowed;
}

.wvpc-result{
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13.5px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.wvpc-result.wvpc-available{
    background: #eafaf0;
    color: #1e7e42;
    border: 1px solid #b7ebc6;
}

.wvpc-result.wvpc-unavailable{
    background: #fdecec;
    color: #b32d2e;
    border: 1px solid #f5c2c2;
}

.wvpc-result.wvpc-invalid{
    background: #fff8e5;
    color: #8a6100;
    border: 1px solid #ffe6a3;
}

.wvpc-result .wvpc-result-icon{
    flex-shrink: 0;
    margin-top: 1px;
}

@media(max-width: 480px){
    .wvpc-widget{ max-width: 100%; }
    .wvpc-check-btn{ padding: 0 14px; font-size: 12px; }
}

/* Add to Cart disabled state jab pincode par delivery available nahi ho */
.single_add_to_cart_button.wvpc-disabled{
    opacity: .5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}
