:root{
    --vhbn-blue:#0d6efd;
    --vhbn-blue-dark:#0757c7;
    --vhbn-green:#16a34a;
    --vhbn-zalo:#0878ff;
}

body{padding-bottom:82px!important}

.vhbn-fixed-bar{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:99990;
    padding:10px 12px;
    background:rgba(255,255,255,.96);
    border-top:1px solid #e5e7eb;
    box-shadow:0 -5px 22px rgba(15,23,42,.12);
    backdrop-filter:blur(8px);
}
.vhbn-fixed-inner{
    max-width:1180px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:10px;
}
.vhbn-fixed-btn{
    min-height:52px;
    border:0;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:8px 14px;
    color:#fff!important;
    text-decoration:none!important;
    font-size:15px;
    font-weight:800;
    line-height:1.2;
    cursor:pointer;
    transition:transform .15s ease,opacity .15s ease;
}
.vhbn-fixed-btn:hover{transform:translateY(-1px);opacity:.95;color:#fff!important}
.vhbn-buy-btn{background:var(--vhbn-blue)}
.vhbn-call-btn{background:var(--vhbn-green)}
.vhbn-zalo-btn{background:var(--vhbn-zalo)}
.vhbn-fixed-icon{font-size:20px;line-height:1}

.vhbn-modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:999999;
    background:rgba(15,23,42,.58);
    padding:18px;
    align-items:center;
    justify-content:center;
}
.vhbn-modal.is-open{display:flex}
.vhbn-modal-card{
    width:min(520px,100%);
    max-height:92vh;
    overflow:auto;
    position:relative;
    background:#fff;
    border-radius:20px;
    padding:24px;
    box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.vhbn-modal-card h3{margin:0 42px 18px 0;font-size:26px;line-height:1.2}
.vhbn-close{
    position:absolute;
    top:12px;
    right:14px;
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    background:#f3f4f6;
    color:#111827;
    font-size:27px;
    line-height:1;
    cursor:pointer;
}
.vhbn-product-preview{
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px;
    margin-bottom:18px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#f8fafc;
}
.vhbn-product-preview img{width:84px;height:84px;object-fit:cover;border-radius:10px;background:#fff}
.vhbn-product-preview strong{display:block;margin-bottom:5px;font-size:16px;color:#111827}
.vhbn-preview-price{font-weight:900;font-size:18px;color:#e11d48}
.vhbn-field{margin-bottom:14px}
.vhbn-field label{display:block;margin-bottom:7px;font-weight:800;color:#111827}
.vhbn-field input,.vhbn-field select{
    width:100%;
    min-height:48px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    background:#fff;
    color:#111827;
    font-size:16px;
    padding:0 12px;
    box-sizing:border-box;
}
.vhbn-field input:focus,.vhbn-field select:focus{outline:2px solid rgba(13,110,253,.18);border-color:var(--vhbn-blue)}
.vhbn-submit{
    width:100%;
    min-height:50px;
    border:0;
    border-radius:11px;
    background:var(--vhbn-blue);
    color:#fff;
    font-size:17px;
    font-weight:900;
    cursor:pointer;
}
.vhbn-submit:hover{background:var(--vhbn-blue-dark)}
.vhbn-submit:disabled{opacity:.65;cursor:not-allowed}
.vhbn-note{
    margin-top:12px;
    padding:12px 14px;
    border-radius:10px;
    background:#eef6ff;
    color:#334155;
    font-size:14px;
}
.vhbn-message{margin-top:12px;font-weight:800}
.vhbn-message.is-success{color:#15803d}
.vhbn-message.is-error{color:#b91c1c}

/* WooCommerce buttons */
.single_add_to_cart_button,
.vhbn-loop-buy{
    background:var(--vhbn-blue)!important;
    color:#fff!important;
    border:none!important;
    text-decoration:none!important;
}
.single_add_to_cart_button:hover,
.vhbn-loop-buy:hover{background:var(--vhbn-blue-dark)!important;color:#fff!important}

@media(max-width:640px){
    body{padding-bottom:76px!important}
    .vhbn-fixed-bar{padding:7px 7px}
    .vhbn-fixed-inner{gap:6px}
    .vhbn-fixed-btn{min-height:50px;border-radius:11px;padding:6px 6px;font-size:12px;gap:5px}
    .vhbn-fixed-icon{font-size:17px}
    .vhbn-modal{padding:10px}
    .vhbn-modal-card{padding:20px 16px;border-radius:16px}
    .vhbn-modal-card h3{font-size:22px}
    .vhbn-product-preview img{width:72px;height:72px}
}
