/* Responsive wrapper */
.stock-list .table-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    background: #fff;
    box-shadow: 0 -10px 10px rgba(0, 0, 0, 0.08);
}

.stock-list table {
    width: 100%;
    min-width: 700px;
    /* enables horizontal scroll on small screens */
    border-collapse: collapse;
}

.stock-list thead th {
    background: #ededed;
    color: #76a713;
    text-align: left;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
}

.stock-list tbody td,
.stock-list thead th {
    text-align: center;
}

.stock-list tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #ececec;
    color: #555;
}

.stock-list tbody td:nth-child(2),
.stock-list thead th:nth-child(2) {
    text-align: left;
}

.stock-list tbody tr:last-child td {
    border-bottom: none;
}

.stock-list tbody tr:hover {
    background: #fafafa;
}

/* Column sizing */
.stock-list .sno {
    width: 70px;
    text-align: center;
}

.stock-list .count {
    white-space: nowrap;
}

.stock-list .table-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 20%,
            rgba(255, 255, 255, 0.45) 45%,
            rgba(255, 255, 255, 0.75) 70%,
            rgba(255, 255, 255, 0.95) 90%,
            #fff 100%);
}

/* Badges */
.stock-list .badge.in-stock {
    color: #76a713;
    border: 1px solid #76a713;
    background: #76a7130f;
}

.stock-list .badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

.stock-list .badge.limited {
    color: #ff7800;
    border: 1px solid #ff7800;
    background: #ff78000f;
}

@media (max-width: 768px) {

    .stock-list thead th,
    .stock-list tbody td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .stock-list .badge {
        font-size: 12px;
        padding: 5px 12px;
    }
}

.stock-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.stock-modal.active {
    display: flex;
}

.stock-modal-content {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.close-modal {
    right: 15px;
    top: 10px;
    cursor: pointer;
    background: transparent;
    border: none;
}

.border-none {
    border: none;
    cursor: pointer;
}

.border-left {
    border-left: 1px solid #ececec5e;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.text-primary {
    color: var(--pc) !important;
}

.table-header {
    padding: 16px 20px;
    background: #1e6d00;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 12px;
}

.gap-7 {
    gap: 28px;
}

.svg-box {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.align-center {
    align-items: center;
}

.table-item {
    color: var(--pc) !important;
    font-weight: 600;
}

.footer .footer-form {
    background: none;
    border-radius: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0;
    padding-top: 40px;
}

.footer:after {
    margin-top: -100px;
}

.footer .footer-form:after {
    background: none;
}

.footer-form .svg-box {
    width: 80px;
    height: 80px;
}

.footer .footer-contact {
    margin-left: auto;
    margin-right: auto;
}

.footer .footer-contact li {
    margin-bottom: 12px;
}

.footer .footer-contact li a {
    font-weight: 400;
    font-size: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer .footer-contact li a svg {
    flex-shrink: 0;
}

.p-hero-new .hero-img-plant {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 109px;
    opacity: 0.8;
    margin-left: -64px;
}

.topbar {
    font-size: 16px;
    font-weight: 400;
}

.hidden {
    display: none;
}

.topbar .flex-top-left {
    display: flex !important;
    align-items: center;
}

.topbar .container {
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
}

.call-now-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sc);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
}

.text-black {
    color: #000 !important;
}

.footer {
    margin-top: 150px;
}

.footer .bwe-service-logo img {
    height: 30px;
}

@media (min-width: 768px) {
    .md-border-left {
        border-left: 1px solid #ececec85;
    }

    .md-flex-row {
        display: flex;
        flex-direction: row;
    }

    .md-align-center {
        align-items: center;
    }

    .footer .footer-form {
        margin-bottom: 50px;
    }
}

@media (min-width: 992px) {
    .lg-hidden {
        display: none !important;
    }

    .lg-block {
        display: block !important;
    }
}

@media (min-width: 1200px) {
    .p-hero-new .hero-img-plant {
        margin-left: -24px;
    }
}

@media (max-width: 1023px) {
    .site-banner {
        margin-top: unset !important;
        padding: 20px 0px 60px 0px !important;
    }
}

@media (max-width: 600px) {
    .footer form button {
        font-size: 12px !important;
        padding-inline: 20px !important;
    }
}