.bg-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.bg-box .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bg-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero_area .detail-box {
    position: relative;
    z-index: 2;
}
.out-of-stock {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 53, 69, 0.9); /* red badge */
    padding: 5px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 2;
}
.cart-link {
    position: relative;
    display: inline-block;
    font-size: 22px;
    color: #fff; /* adjust for your navbar bg */
    text-decoration: none;
}
.cart-link .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #dc3545; /* red */
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}
/* Rounded inputs + soft shadows */
.form-control {
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: #9b0000;
    box-shadow: 0 0 8px rgba(255, 126, 95, 0.3);
}
/* Better button styling */
.btn-primary {
    background: linear-gradient(90deg, #9b0000, #feb47b);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    padding: 12px;
    transition: transform 0.2s ease, background 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #9b0000, #ff7e5f);
    transform: translateY(-2px);
}
/* Validation states */
.was-validated .form-control:valid {
    border-color: #28a745;
}
.was-validated .form-control:invalid {
    border-color: #dc3545;
}
.price-badge {
    background: linear-gradient(90deg, #9b0000, #feb47b);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.redBtn {
    background-color: #9b0000 !important;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.0rem !important;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 2.0rem !important;
    }
}
