/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;

    /* Browser scroll bar padding */
    padding-right: 14px;
}
 

a {
    color: white;
    text-decoration: none;
}

form{
    width:100%;
}

input[type="radio"], input[type="checkbox"] {
    height: 16px;
    width: 16px;
}


.addresses-box .address-box:last-child {
    border-bottom: none !important;
}



/* Sidebar */
.sidebar {
    /* height: 100vh; */
    width: 300px;
    max-width: 90%;
    background: #000;
    padding: 0px 0 20px 0px;
    flex-shrink: 0;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 99;
}

    .sidebar h2 {
        color: #f9b62e;
        text-align: center;
        margin-bottom: 10px;
        font-size: clamp(18px, 2vw, 24px);
    }




.main {
    display: flex;
    width: 100%;
}

.logo1 {
    width: 100%;
    height: 60px;
}

.logo2 {
    width:100%;
    max-width: 400px;
    aspect-ratio:2/1;
    margin-top: 5px;
}

.sidebar ul {
    list-style: none;
    overflow: auto;
}

    .sidebar ul li {
        border-bottom: 1px solid white;
        cursor: pointer;
    }

        .sidebar ul li a {
            display: block;
            width: 100%;
        }

            .sidebar ul li a.padding-remove {
                padding: 0 !important;
            }

.item-menu {
    padding: 10px 20px;
    font-size: clamp(14px, 1.5vw, 16px);
    
}

 

    .item-menu:hover {
        background-color: #f9b62e;
        color: #000;
    }

/* Toggle button for mobile */
.toggle-btn {
    display: none;
    position: fixed;
    top: 10px;
    left: 15px;
    background: #f9b62e;
    border: none;
    padding: 8px 14px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
}

/* Content */
.content {
    width: 80%;
    flex: 1;
    position: relative;
    /*   height: 100vh;  */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    /* ✅ smooth scrolling on iOS */
    padding-top: 60px;
}

.logo {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: bold;
    color: #f9b62e;
    text-align: center;
    margin-bottom: 10px;
}

.headline {
    text-align: center;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: bold;
    margin-bottom: 20px;
}

.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

    .products img {
        max-height: 100px;
        padding: 10px;
        border-radius: 8px;
    }

.banner {
    width: 100%;
    margin-bottom: 20px;
}

    .banner img {
        width: 100%;
    }

.about {
    text-align: center;
    max-width: 900px;
    margin: auto;
    line-height: 1.6;
    font-size: clamp(12px, 1.5vw, 16px);
    padding: 10px 0px;
}

.dividerContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .dividerContainer .divider {
        width: 300px;
        height: 2px;
        background-color: #f9b62e;
    }

/* The 3E Difference Section */
.difference {
    margin-top: 30px;
    padding: 0px 60px;
    text-align: center;
}

    .difference h2 {
        font-size: clamp(26px, 6vw, 36px);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.diff-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.diff-item {
    display: flex;
    justify-content: center;
    max-width: 250px;
    font-size: clamp(12px, 1.5vw, 14px);
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.dropdown-custom {
    padding: 0px;
}

/* Dropdown */
.dropdown-menu-custom {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    background: #343a40; /* black-light */
}
    .dropdown-menu-custom.sub-open {
        display: block;
    }

    .dropdown-menu-custom li {
        display: flex;
        align-items: center;
        padding: 10px 20px !important;
        /*  border-bottom: 1px solid white;
       border-top: 1px solid white; */
        font-size: clamp(12px, 1.2vw, 14px);
        width: 100%;
    }


        .dropdown-menu-custom li.non-padding {
            padding: 0px !important;
        }

            .dropdown-menu-custom li.non-padding .dropdown-menu-custom {
                padding-left: 20% !important;
            }

        .dropdown-menu-custom li a {
            display: flex;
            align-items: center;
            width: 100%;
            gap: 5px;
            padding: 10px 20px !important;
        }

        .dropdown-menu-custom li:has( > a) {
            padding: 0 !important;
        }


 
.dropdown-menu-sub > li {
    flex-direction: column;
}

.dropdown-menu-custom li.link:hover {
    background-color: #f9b62e;
    color: #000;
}

.dropdown-menu-custom li.link.active {
    background-color: #f9b62e;
    color: #000;
}

.dropdown-menu-custom li:last-child {
    border-bottom: none;
}

/* Arrow icon */
.drop-btn {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: clamp(14px, 1.5vw, 16px);
    margin: 0;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

.drop-btn-nested {
    font-size: 14px;
    padding:10px 40px;
}

    .drop-btn-nested .middle {
        flex-grow: 1;
        line-height: 15px;
    }


.drop-btn:hover {
    background-color: #f9b62e;
    color: #000;
}

.arrow {
    transition: transform 0.3s;
}

.dropdown-custom.open > p > .arrow {
    transform: rotate(180deg);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}


.productContainer {
    padding: 20px; 
    padding-top:0px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-5px);
    }
    .product-card .product-image{
        position:relative    }
    .product-card .product-image img {
        width: 100%;
        aspect-ratio: 16/16;
        margin-bottom: 10px;
        object-fit: contain;
    }

    .product-card .product-details {
        display: flex;
        flex-direction: column;
        gap: 10px;
        color: #000;
        white-space: nowrap;
        justify-content : space-between;
        flex-grow: 1;
    }

        .product-card .product-details .name {
            font-size: 18px;
            margin: 10px 0 0 0;
            color: #333;
            overflow: hidden;
            grid-column: 1/3;
            text-align: left;
        }

        .product-card .product-details .category {
            font-size: 14px;
            color: #777;
        }

        .product-card .product-details .price {
            font-size: 18px;
            font-weight: bold;
            color: #111;
            text-align: right;
        }

        .product-card .product-details .actions {
            display: flex;
            align-items: center;
            justify-content: end;
            gap: 10px;
            white-space: nowrap;
        }

            .product-card .product-details .actions > span{
                width: 30%;
            }
            .product-card .product-details .actions .dimension {
                width: 70%;
            }

            .product-card .product-details .actions .button {
                width: 100%;
                
            }

/* Products details page */
/* .products-details-page {} */

.products-details-page .title-bar {
    padding: 20px;
}

.products-details-page .details-box {
    padding: 10px 20px;
    display: flex;
    align-items: start;
    gap: 20px;
}

    .products-details-page .details-box img {
        width: 100%;
        max-width: 300px;
        aspect-ratio: 1/1;
        object-fit: contain;
        border: 1px solid #fff;
    }

    .products-details-page .details-box .content-box h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .products-details-page .details-box .content-box p {
        font-size: 16px;
        margin-bottom: 10px;
        max-width: 800px;
    }

    .products-details-page .details-box .content-box .actions {
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        padding-top:10px;
    }

    .products-details-page .details-box .content-box .actions > span {
        width: 30%;
        font-size:16px;
    }

        .products-details-page .details-box .content-box .actions .dimension, .products-details-page .details-box .content-box .actions select {
            width: 70% !important;
        }

    .products-details-page .details-box .content-box .button {
        width: 100%;
    }

/* Contact us page */
/* .contact-us-page {} */

.contact-us-page .branches {
    display: flex;
    justify-content: space-around;
    padding: 30px 20px;
    text-align: left;
}

.contact-us-page .branch {
    flex: 1;
    margin: 0 15px;
}

    .contact-us-page .branch h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-us-page .branch a {
        text-decoration: none;
        font-size: 14px;
    }

        .contact-us-page .branch a:hover {
            text-decoration: underline;
        }


.contact-us-page .contact-form {
    width: 95%;
    max-width: 600px;
    margin: auto;
    padding-bottom: 30px;
}

.contact-us-page .button-box .button {
    width: 95%;
    max-width: 150px;
}


/* Common button css */
.button {
    padding: 7px 20px;
    font-size: 16px;
    background-color: #f0c24b;
    color: #000 !important;
    font-weight: 500;
    border: 1px solid #000;
    line-height:1;
    text-align:center;
    &:hover

{
    color: #f0c24b !important;
    background-color: #000;
    border: 1px solid #f0c24b;
}

&.request {
    color: #fff !important;
    background-color: rgb(92, 184, 92);
}
&.ourBrands {
    color: #fff !important;
    background-color: #0a819c;
}

}

.button-outline {
    
    background-color:transparent;
    
    border: 1px solid #000;
    

}


/* Select box */
.select-box {
    padding: 6.5px 8px;
    font-size: 16px;
    color: #000;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    border: 1px solid #000;
}


    .select-box:hover {
        border: 1px solid #f0c24b;
    }


select.select-box option {
    background: #fff;
    color: #000;
}


/* Form Style */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .form-container .input-box {
        display: flex;
        gap: 4px;
        flex-direction: column;
        margin-top:10px;
        text-align:left;
    }

        .form-container .input-box .label {
            font-size: 16px;
            margin-bottom:0 !important;
        }

        .form-container .input-box .input {
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #000;
            font-size: 14px;
        }
        .form-container .input-box .error-message {
            font-size: 10px;
            color:red;
        }

    .form-container .button-box {
        display: flex;
        justify-content: center;
        padding: 10px 0 0 0;
    }

    .form-container .extra-links {
        font-size: 16px;
        text-align: center;
        margin-top: 5px;
    }

        .form-container .extra-links a {
            color: #0000f0;
        }

 
/* Modal CSS */
.modal-custom {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    place-content: center;
}

/* Modal box */
.modal-content-custom {
    background: #fff;
    color: #000;
    margin: 1% auto;
    padding: 10px;
    border-radius: 10px;
    width: 95%;
    max-width: 600px;
    max-height: 97%;
    overflow: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
}

    .modal-content-custom .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
    }

        .modal-content-custom .header .title {
            font-size: 24px;
            margin:0;
        }

        .modal-content-custom .header .close-btn {
            font-size: 20px;
            width: 30px;
            padding: 0px 5px;
            background: transparent;
            border: 1px solid #000;
            height: 30px;
            border-radius: 5px;
        }

    .modal-content-custom .content-box {
        padding: 10px;
    }
    .modal-content-custom .content-box .button-box{
        display:flex;
        align-items:center;
        gap:10px;
        justify-content:end;
        padding:10px;
    }


/* title-bar */
.title-bar {
    padding: 10px;
}
    .title-bar .title {
        font-size: 32px;
        color: #f9b62e;
        text-align: left;
        margin: 0;
    }

.title-bar-sticky {
   position:fixed;
   top:60px;
   right:0;
   width:calc(100% - 300px);
   z-index:10;
}


/* -- autosearch_completionListElem -- */
#autosearch_completionListElem{
    border-radius:10px !important;
}
    #autosearch_completionListElem li, #autosearch_completionListElem li a {
        font-size: 14px !important;
        padding: 4px !important
    }

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 📱 Responsive */
@media (max-width: 1024px) {
    .logo {
        font-size: clamp(24px, 4vw, 48px);
    }

    .headline {
        font-size: clamp(18px, 2.5vw, 28px);
    }

    .difference h2 {
        font-size: clamp(22px, 5vw, 30px);
    }
}


.site-nav-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 101;
    width: 100% ;
    display:flex;
    align-items:center;
}

.site-nav-container .logo1 {
    max-width:300px;
    height:60px;
}

.site-nav {
    width: 100%;
    height: 60px;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: end;
   
}

.right {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .right a {
        color: white;
        font-size: 16px;
        text-decoration: none;
        transition: color 0.3s;
    }

        .right a:hover {
            color: #f0c24b;
        }

/* SEARCH BOX */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap:4px;
}

    .search-box i {
        font-size: 16px;
        color: white;
        cursor: pointer;
        transition: color 0.3s;
    }

    .search-box input {
        width: 0;
        overflow:hidden;
        opacity: 0;
        border: none;
        border-radius: 3px;
        outline: none;
     
        font-size: 14px;
        background: white;
        color: #111;
        transition: all 0.4s ease;
        padding:0;
    }
        .search-box input:focus {
            padding: 5px 10px;
        }

        /* Hover or Focus expands input */
        .search-box:hover input,
        .search-box input:focus {
            width: 160px;
            opacity: 1;
        }

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        z-index: 110;
    }

        .sidebar.open {
            transform: translateX(0);
        }

    .toggle-btn {
        display: block;
    }

    .site-nav-container { 
        z-index: 99 !important;
    }

        .site-nav-container .logo1 {
            display: none;
        }


    .content {
        width: 100%;
    }

    .products img {
        max-width: 80px;
    }

    .diff-items {
        flex-direction: column;
        align-items: center;
    }

    .title-bar .title {
        font-size: 24px;
    }

    .products-details-page .title-bar {
        padding: 10px;
    }

    .products-details-page .details-box {
        flex-direction: column;
        padding: 10px;
    }

    .title-bar-sticky {
        width: 100%
    }
}



@media (max-width: 480px) {

    .site-nav {
        padding-right: 10px;
    }

        .site-nav .login-button {
            display: none;
        }

    .logo {
        font-size: clamp(20px, 6vw, 32px);
    }

    .headline {
        font-size: clamp(16px, 4vw, 22px);
    }

    .difference h2 {
        font-size: clamp(20px, 7vw, 33px);
        flex-direction:column;
    }

    .about {
        font-size: clamp(12px, 3.5vw, 14px);
    }

    .product-card .product-details .actions {
        display: flex;
        flex-direction:column;
        align-items: start;
        justify-content: start;
        gap: 4px; 
    }

        .product-card .product-details .actions > span {
            width: 100%;
        }

        .product-card .product-details .actions .dimension {
            width: 70%;
        }



    .products-details-page .title-bar {
        padding: 0px;
    }

    .products-details-page .details-box {
        padding: 0px;
    }

    .contact-us-page .branches {
        flex-direction: column;
        gap: 20px;
        padding: 20px 10px;
    }

        .contact-us-page .branches .branch {
            margin: 0;
        }

    .productContainer {
        padding: 0px;
    }
}
