.banner-layer-middle {
    top: 25%;
    transform: translateY(-50%);
}
.home-slide h2 {
    line-height: 40px;
}
.welcome-section .banner img {
    width: 200px;
}
.banner {
    position: relative;
}
.banner-layer a h2 {
    font-size: 4rem;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background-color: #99afd3;
    text-align: center;
    color: #152136;
}

.border-dark {
    border: 2px solid #99afd3 !important;
    border-radius: 10px !important;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.product-default {
    border: 2px solid #18253a !important;
    border-radius: 10px !important;
}
.product-details {
    background: #18253a;
    color: #fff;
    padding: 5px !important;
}
.product-details a {
    color: #fff;
}

.single-product-details table {
    width: 100%;
    border-collapse: collapse;
}

.single-product-details td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
}

/* First row: Equal width columns on desktop */
.single-product-details tr:first-child td {
    width: 33.33%;
}

/* Make images responsive inside td */
.single-product-details img {
    max-width: 100%;
    height: auto;
}
.third-col {
    position: relative;
}
/* .barcode {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: auto;
} */
/* .barcode p {
    position: absolute;
    bottom: 0;
    left: 10px;
} */

.barcode {
    display: flex;
    flex-direction: column; /* stack top to bottom */
    align-items: center;   /* center horizontally */
    justify-content: space-between; /* push logo to top, barcode to bottom */
    height: 100%; /* makes it stretch */
}

.logo-text p {
    margin: 0;
    font-weight: bold;
}

.barcode-img img {
    max-width: 100%;
    height: auto;
}


/* Responsive layout */
@media (max-width: 768px) {
    .single-product-details table,
    .single-product-details tbody,
    .single-product-details tr,
    .single-product-details td {
        display: block;
        width: 100%;
    }

    .single-product-details td {
        margin-bottom: 15px;
    }

    .single-product-details tr:first-child td {
        width: 100%;
    }
    .barcode {
        height: 300px;
    }
}

@media (min-width: 576px) {
    .banner-layer-middle {
        top: 10%;
    }
    .home-slide h2 {
        font-size: 4rem;
        margin-bottom: 0;
    }
    .home-slide {
        width: 100%;
        height: 50vh;
    }
}
@media (min-width: 768px) {
    .banner-layer-middle {
        top: 20%;
    }
    .banner-layer a h2 {
        font-size: 2rem;
    }
}
@media (min-width: 1024px) {
    .banner-layer-middle {
        top: 30%;
    }
    .banner-layer a h2 {
        font-size: 1rem;
    }
}
@media (min-width: 1200px) {
    .home-slide h2 {
        font-size: 6rem;
        margin-bottom: 10px;
    }
    .home-slide {
        width: 100%;
        height: 70vh;
    }
    .banner-layer a h2 {
        font-size: 1.3rem;
    }
}
