.col-md-2.d-flex img,
.product-slider label img,
.tabs .tab,
table.cross-table {
    width: 100%
}

.lef_cat_box,
section.tabs-wrapper {
    margin-top: 25px;
}

.tabs,
.tabs label {
    display: flex;
    width: 100%
}

.custom-tab-content,
.menu-bar>.container-fluid>.custom-tabs>input,
.tabs .tab,
.tabs [type=radio],
input[type=radio] {
    display: none
}

.toggle-accordion .body,
.toggle-accordion .head span {
    transition: .25s ease-in-out
}

.toggle-accordion .head span,
.toggle-accordion input[type=checkbox]:checked~.head i {
    transform: translate(0, -3px) rotate(-180deg)
}

.tabs {
    flex-wrap: wrap
}

.tabs label {
    align-items: center;
    justify-content: center;
    padding: 12px !important;
    margin-right: .0625rem;
    cursor: pointer !important;
    background-color: #fff !important;
    color: #000 !important;
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 600 !important;
    border: 1px solid;
    text-transform: capitalize !important;
    transition: .2s
}

li .head,
table.cross-table tbody tr:first-child td {
    background: #069146;
    color: #fff
}

.tabs label .material-icons {
    margin-right: .3rem
}

.tabs .tab {
    flex-grow: 1;
    height: 100%;
    padding: 20px 0 0;
    color: #000;
    background-color: #fff
}

.tabs .tab>:not(:last-child) {
    margin-bottom: .8rem
}

.tabs [type=radio]:checked+label {
    background-color: #069146 !important;
    color: #fff !important
}

#custom-tab1:checked~.custom-content #custom-content1,
#custom-tab2:checked~.custom-content #custom-content2,
#custom-tab3:checked~.custom-content #custom-content3,
#custom-tab4:checked~.custom-content #custom-content4,
#custom-tab5:checked~.custom-content #custom-content5,
.tabs [type=radio]:checked+label+.tab {
    display: block
}

@media (min-width:768px) {
    body {
        font-size: 1.125rem
    }

    .tabs label {
        order: 1;
        width: auto
    }

    .tabs .tab {
        order: 9
    }

    .tabs [type=radio]:checked+label {
        border-bottom: none
    }
}

@media (min-width:992px) {
    .tabs {
        width: 100%
    }
}

p {
    font-size: 16px
}

li .head {
    color: #fff;
    padding: 7px
}

li .body {
    color: #000
}

li input[type=checkbox]:checked~.head {
    border-bottom: none
}

li input[type=checkbox]:checked~.body {
    border: none
}

.toggle-accordion {
    position: relative;
    width: 100%;
    padding: 0 !important;
    background: #fff;
    list-style: none
}

.toggle-accordion .head {
    display: block;
    cursor: pointer;
    margin-bottom: 10px
}

.toggle-accordion .head i {
    float: right;
    margin-top: 3px
}

.toggle-accordion .body {
    position: relative;
    overflow: hidden;
    cursor: default;
    z-index: 2;
    max-height: 5000px
}

.toggle-accordion input[type=checkbox] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0
}

.toggle-accordion input[type=checkbox]:checked~.body {
    max-height: 0;
    padding: 0 10px
}

.head h4 {
    margin: 0;
    font-size: 30px;
    line-height: 29px;
    font-weight: 700;
    padding: 0 20px
}

ul {
    padding: 0;
    margin: 0
}

i.fa.fa-chevron-down {
    font-size: 14px;
    right: 10px;
    position: relative;
    top: 10px
}

table.undertitle_table {
    font-weight: 700;
    font-size: 15px
}

.custom-tabs label,
.lef_cat_box h4 {
    color: #069146;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 50px;
}

table.undertitle_table tr {
    border-bottom: 1px solid #c3c3c3
}

table.undertitle_table tr td {
    padding: 5px 0
}

.compatible-table tbody tr:first-child td {
    background-color: #bcb8b5;
    color: #000
}

table.compatible-table {
    width: 100%;
    margin-bottom: 10px
}

table.compatible-table td,
table.cross-table td {
    border: 1px solid #069146;
    font-weight: 700;
    padding: 0 10px
}

.custom-tabs label {
    padding: 16px 83px;
    background-color: #26303a;
    cursor: pointer;
    font-size: 18px
}

.custom-tabs input:checked+label,
.custom-tabs label:hover,
.lef_cat_box h4,
.menu-bar li a.active {
}

.custom-content {
    border-top: none
}

.lef_cat_box {
    padding: 0;
    margin-bottom: 40px;
}

.lef_cat_box h4 {
    margin: 0 0 30px;
    padding: 0;
}

.lef_cat_box li {
    list-style: none;
    background-color: #D9D9D9;
    padding: 20px;
}

.lef_cat_box li a {
    text-decoration: none;
    color: #069146;
    font-weight: 500;
    padding: 10px 15px;
    /* display: flex; */
    /* flex-direction: column; */
    line-height:18px;
    
}

.site-wrapper {
    padding: 0
}

.product-slider {
    width: 100%;
    position: relative;
    /* padding-top: 480px */
}

.big-image {
    width: 100%;
    /* Removed fixed height: 470px; Make it responsive */
    aspect-ratio: 1 / 1; /* Adjust this: e.g., 4 / 3 or 16 / 9 based on your images' ratio. Keeps shape consistent without crop */
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    background: #fff; /* Optional: Background color for letterboxing areas */
}

.big-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Key change: Fits full image without cropping */
    object-position: center; /* Centers the image if there's empty space */
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

#img1:checked~.big-image img:first-child,
#img2:checked~.big-image img:nth-child(2),
#img3:checked~.big-image img:nth-child(3),
#img4:checked~.big-image img:nth-child(4) {
    opacity: 1
}

.thumbnails {
    display: flex;
    justify-content: space-between
}

.thumbnails label {
    width: 22%;
    height: 80px; /* Or make this auto if needed */
    border: 2px solid #ccc;
    cursor: pointer;
    transition: border .3s;
    overflow: hidden;
    background: #fff;
}

.thumbnails label img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Same here */
    object-position: center;
}

.thumbnails label:hover {
    border: 2px solid #555
}

input[type=radio]:checked+label {
    border: 2px solid #389141;
}

.product-slider label {
    padding: 0;
    display: inline-block;
    width: 24%;
    margin-top: 102%;
}
@media(max-width:1200px){
    .product-slider label {
    width: 23.5%;
}
}
.product-slider .big-image {
    position: absolute;
    width: 100%;
    top: 0
}

.menu-bar li {
    width: 20%;
    text-align: center;
    list-style: none;
}

.menu-bar li a {
    display: block;
    background-color: #26303a;
    color: #fff;
    text-decoration: none;
    padding: 22px 0;
    text-transform: uppercase;
    
}

@media (max-width: 767px) {
    .big-image {
        aspect-ratio: 4 / 3; /* Example: Taller ratio for mobile */
    }
    .thumbnails label {
        height: 60px; /* Smaller thumbs on mobile */
    }
}
.menu-bar ul {
    display: flex;
    column-gap: 5px;
}

.lef_cat_box ul {display: flex;flex-wrap: wrap;}

.lef_cat_box ul li {
    width: 16.6%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.lef_cat_box li a img {
    display: block;
    margin: 0 auto 10px;
}
li.green-bg {
    background-color: #069146;
}

.lef_cat_box li.green-bg a {
    color: #fff;
}