body {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
    color: #181C14;
    background-color: #F5F6FA;
}


a {
    text-decoration: none;
}


.row {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

:root {
    --grey: #f5f7f8;
    --stroke: #EAEAEA;
    --lightGrey: #F5F6FA;
    --background: #DFF9E4;
    --primary: #3DCD58;
    --darkgrey: #979797;
    --lightPrimary: #E2F1E7;
    --medium: 500;
    --semibold: 600;
    --bold: 700;

}
.text-color-1{
    color:#3DCD58;
}
.background-color-1{
    background-color:#3DCD58;
    color: white;
}
.hover-text-white:hover {
    color: #fff !important;
  }
  .hover-lift:hover {
    transform: translateY(-3px);
  }
  .transition-150 {
    transition: all 0.15s ease-in-out;
  }

.fw-semi-bold {
    font-weight: var(--semibold);
}

section {

    width: 100%;
    /* padding-right: var(--bs-gutter-x, 1rem);
        padding-left: var(--bs-gutter-x, 1rem); */
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 100px;


}

.bg-lightGrey {
    background-color: var(--lightGrey);
}

h1 {
    font-size: 60px;
    font-weight: var(--bold);
    color: var(--primary);
}

h2 {
    font-size: 40px;
    font-weight: var(--semivar(--bold));

}

h3 {
    font-size: 20px;
    font-weight: var(--semivar(--bold));

}

.fs-10 {
    font-size: 10px;
}

.fs-8 {
    font-size: 10px;
}

.fs-12 {
    font-size: 12px;
}

p {
    margin: 0px;
}

.navbar {
    --bs-navbar-padding-x: 0 !important;
    --bs-navbar-padding-y: 0 !important;
}

#hero {
    background-image: url('../assets/Images/background_home.png');
    height: 1000px;
    background-size: cover;
}

.bg-pri {
    background-color: #DFF9E4;
}

.bg-sec {
    background-color: var(--primary);
}

.bg-sec:hover {

    border: 1px solid var(--primary);
    color: var(--primary) !important;
}

.pad1030 {
    padding: 20px 30px;
}

.navbar-toggler {
    font-size: 12px;
}



i {
    margin-right: 5px;
    margin-left: 5px;
}

.col-sec {
    color: var(--darkgrey);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
    color: #ffc107;
}

.rating-badge {
    background-color: #2d3748;
    width: fit-content;
}

.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next {
    background-color: rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.img-thumbnail {
    cursor: pointer;
    transition: opacity 0.3s;
}

.img-thumbnail:hover {
    opacity: 0.7;
}

.cta-buttons .btn {
    transition: transform 0.2s;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    padding-top: 150px;
}
.pd-10{
    padding-top:100px;
}
.radius-circle{
    border-radius: 100%;
}
.button1 {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 10px 20px;
}

.button2 {
    background-color: var(--primary);
    color: white;

    border-radius: 10px;
    padding: 10px 20px;
    border: 1px solid transparent;

}

.button3 {
    background-color: var(--lightPrimary);
    color: var(--primary);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
}

.button2:hover {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 10px 20px;
}

.button1:hover {
    background-color: var(--primary);
    color: white;
    border: 1px solid #3dcd57af;
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.111);

}

.hero-img-row {
    margin-top: 40px;
}

.hero-img-container {
    background-color: #f5f7f8;
    border-radius: 10px;
    padding: 10px;
    padding-bottom: 100px;
    max-height: 100%;
}

.mt-50 {
    margin-top: 100px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    padding: 150px;
    gap: 10px;
}

.about-container h2 {
    margin-top: 40px;
}

.about-container span {
    color: var(--primary);
}

.about-container p {
    color: var(--darkgrey);
}

.about-a {
    color: var(--primary);
    text-decoration: none;

}

.best-selling-img-container {
    padding: 10px;
}

.best-selling-img-container h4 {
    font-size: 20px;
    font-weight: var(--semivar(--bold));
    margin-top: 5px;
}

.best-selling-container {
    padding: 20px 60px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.best-selling-card-container {
    margin-top: 40px;
}

.rating-and-reviews-container {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: white;
    border-radius: 10px;
    flex: 0 0 15%;
    padding: 0px 5px;

}

.reviews p {
    flex: 0 0 85%;
    color: var(--darkgrey);
}

.price-container {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.price-container .price {
    font-weight: var(--semibold);
    font-size: 20px;
}

.price-container .off-price {

    font-size: 18px;
    color: var(--darkgrey);
    text-decoration: line-through;
}

.price-container .discount {

    font-size: 14px;
    color: var(--primary);
}

.why-electriverse-container {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

.why-electriverse-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 10px;
}

.why-electriverse-card .head {
    font-size: 20px;
    font-weight: var(--bold);
}

.why-electriverse-card .para {
    font-size: 14px;
    color: var(--darkgrey);
}

.what-customers-say-container {
    position: relative;
    padding: 30px;
}

.what-customers-say-row-left p {
    color: var(--darkgrey);
}

.what-customers-say-row-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.what-customers-say-row-right-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--darkgrey);
    border-left: 10px solid var(--darkgrey);
}

.what-customers-say-row-right-card .author {
    color: var(--darkgrey);
    font-size: 12px;
}

.underlay-comma {
    position: absolute;
    right: 20px;
    top: 20px;
}

.translate {
    transform: translate(-150px);
    border-left: 10px solid var(--primary);

}

.sustainable-future-right {
    padding: 10px;
}

.sustainable-future-right p {
    color: var(--darkgrey);
}

.sustainable-future-right a {
    color: var(--primary);
}

.underlay-2 {
    position: absolute;
    left: -28px;
    top: 20%;
}

.cta {
    background: url('../assets/Images/cta-bg.png');
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    color: white;
}

.cta-container {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.cta-container p {
    color: #c7c7c7;
}

.cta-container a {
    color: var(--primary);

}

footer {
    background-color: white;

    padding: 20px 40px;

}

.social-links a {
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #28a745 !important;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: black;
}

/* a:hover {
    color: #28a745;
} */

.newsletter p {
    font-size: 12px;
    margin-bottom: 20px;
}


footer a {
    color: black
}

footer li {
    margin-top: 10px;
}

footer h5 {
    font-size: 14px;

    color: var(--darkgrey);
}

.product-card {
    padding: 10px;
    border: 0.5px solid rgba(149, 157, 165, 0.2);

    border-radius: 12px
}

.residential_lightning {
    margin-top: 20px;
}

.productPreview-image-container {

    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ebebeb;
    border-radius: 10px;

}

.type-container {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;

}

.type {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    padding: 10px;

    border: 1px solid var(--grey);
}

.type-name {
    position: absolute;
    bottom: -20px;
    text-wrap: none;
    font-size: 12px;
    color: var(--darkgrey);
    white-space: nowrap;
    /* Prevents the text from wrapping */
    text-overflow: ellipsis;
    /* Optional: Adds "..." if the text overflows */
    overflow: hidden;
}

.type-name-active {
    position: absolute;
    bottom: -20px;
    text-wrap: none;
    font-size: 12px;
    white-space: nowrap;
    /* Prevents the text from wrapping */
    text-overflow: ellipsis;
    /* Optional: Adds "..." if the text overflows */
    overflow: hidden;

}

.type-active {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border: 1px solid var(--darkgrey);
}

.productDetail {
    padding-top: 40px;
    height: 100%;
    overflow: none;

}

.product-detail-container {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    padding: 20px;
    height: 80vh;
    overflow-y: scroll;
    scroll-behavior: smooth;

}

.reviews-product-card {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid var(--lightGrey);

}

.reviews-product-card span {
    color: var(--darkgrey);
    font-size: 12px;
}

.reviews-product-card p {

    font-size: 14px;
}

.reviewImages {
    height: 100px;
    width: 100px;
    background-color: var(--darkgrey);
}

.close_icon {
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 20px;



}

.rating-and-reviews-images {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 5px;

}

.star-label {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
    color: #dee2e6;
}

.star-label:hover {
    transform: scale(1.1);
    color: #ffd700;
}

.star-label .bi-star-fill {
    position: absolute;
    opacity: 0;
    color: #ffd700;
}

input:checked~.star-label .bi-star-fill,
input:hover~.star-label .bi-star-fill {
    opacity: 1;
}

.file-upload-label {
    border: 2px dashed #e9ecef;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: rgba(233, 236, 239, 0.3);
    border-color: #adb5bd;
}

#charCount {
    color: #495057;
    font-weight: 500;
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.file-preview:hover {
    background: rgba(0, 0, 0, 0.05);
}

.rating-badge {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Rating Color Logic */
.rating-badge[data-rating="1"] {
    background: #fff0f0;
    color: #dc3545;
    border-color: #ffe0e0;
}

.rating-badge[data-rating="2"] {
    background: #fff4e5;
    color: #fd7e14;
    border-color: #ffeed9;
}

.rating-badge[data-rating="3"] {
    background: #fff9db;
    color: #ffc107;
    border-color: #fff3c8;
}

.rating-badge[data-rating="4"] {
    background: #e3f2fd;
    color: #1976d2;
    border-color: #d1e4f7;
}

.rating-badge[data-rating="5"] {
    background: #e8f5e9;
    color: #28a745;
    border-color: #d4edda;
}

.image-thumbnail {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-thumbnail:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.object-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info {
    flex-grow: 1;
    font-size: 0.9rem;
}

.file-remove {
    cursor: pointer;
    color: #dc3545;
    transition: opacity 0.2s;
}

.file-remove:hover {
    opacity: 0.8;
}

.loginImage {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.register-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 40px;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px 40px;
}

#registerForm {
    /* background-color: var(--lightGrey); */
    /* border:1px solid var(--lightGrey);    */
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */

    padding: 40px 40px;
    border-radius: 10px;
    width: 100%;
}

#registerForm label {

    color: var(--darkgrey);
}

#registerForm input:focus {
    outline: none;
    /* Removes the default outline */
    box-shadow: none;
    /* Removes the focus shadow */
}


#registerForm input[type="text"],
#registerForm input[type="email"],
#registerForm input[type="tel"],
#registerForm input[type="password"] {
    padding: 10px 20px;
}

#loginForm {
    /* background-color: var(--lightGrey); */
    /* border:1px solid var(--lightGrey);    */
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */

    padding: 40px 40px;
    border-radius: 10px;
    width: 100%;
}

#loginForm label {

    color: var(--darkgrey);
}

#loginForm input:focus {
    outline: none;

    box-shadow: none;

}


#loginForm input[type="text"],
#loginForm input[type="email"],
#loginForm input[type="tel"],
#loginForm input[type="password"] {
    padding: 10px 20px;
}

.sidenav {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-color: white;
    color: var(--primary);
    padding-top: 20px;
}

.sidenav .nav-item {
    padding: 10px 20px;
}

.sidenav .nav-link {
    color: var(--darkgrey);
    text-decoration: none;
    padding: 10px 20px;
    transition: 0.2s ease-in;
}

.sidenav .nav-link:hover {
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    transition: 0.2s ease-in;
}

.sidenav .bi {
    margin-right: 10px;
}

.side-nav-img {
    padding: 20px;
}

.heading {
    border-bottom: 1px solid var(--grey);
    padding: 10px;
}

#clear-filters {
    font-size: 12px;
    border-radius: 30px;
    padding: 5px 10px !important;
}

td {
    font-size: 12px;
    padding: 5px 20px !important;
    text-align: left;
    /* Align content to the left */
    vertical-align: middle;
    /* Vertically center content */
}

/* Table header styling */
th {
    font-weight: normal;
    padding: 10px 20px !important;

    font-size: 12px;
    text-align: left;
    /* Align headers to the center */
    vertical-align: middle;
    /* Vertically center content */
}

/* Optional: Adding some spacing and borders for a polished look */
table {
    border-collapse: collapse;
    width: 100%;
    /* Ensure table spans full container width */
}

table th,
table td {
    border-bottom: 1px solid #ddd;
    /* Light border for clarity */
}

.edit_form-container input,
.edit_form-container select,
.edit_form-container label {
    font-size: 14px;

}

.filter-container input,
.filter-container select {
    font-size: 12px;
    border-radius: 30px;
}

.button4 {
    font-size: 12px;
    border-radius: 30px;
    padding: 5px 15px !important;
}

.img-edit-product {
    display: block;
    height: 100px;
    width: 100px;
    object-fit: contain;
}

th {
    display: table-cell;
    /* Ensure it's displayed as a table cell */
    white-space: nowrap;
}

table {
    width: 100%;
}

.product-name {
    margin: 0;
}

.product-name h3 {
    font-size: 20px;
    margin: 0;

}

.slick-carousel .card-img-top {
    border-radius: 8px;
}

.slider-for img,
.slider-nav img {
    border-radius: 8px;
}

.slider-nav .slick-slide {
    margin: 0 5px;
}

.cart-icon {
    position: relative;

}

.badge {
    font-size: 10px;
    font-weight: normal;
    background-color: var(--primary);
    color: white;
    border-radius: 100%;
    position: absolute;
    right: 0;
    top: 0;
}
 .badge1 {
            display: inline-block;
            padding: 0.35em 0.65em;
            font-size: 0.75rem;
            font-weight: 500;
            line-height: 1;
            color: #fff;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 0.375rem;
        }

        .badge1.bg-primary {
            background-color: #0d6efd;
        }

        .badge1.bg-success {
            background-color: #198754;
        }
         .address-card {
            transition: all 0.2s ease-in-out;
            border: 1px solid transparent;
        }

        .address-card:hover {
            border-color: rgba(var(--bs-primary-rgb), 0.3);
            background-color: rgba(var(--bs-primary-rgb), 0.05);
        }

        .hover\:border-primary-secondary:hover {
            border-color: rgba(var(--bs-primary-rgb), 0.3) !important;
        }

        .hover\:bg-soft-light:hover {
            background-color: rgba(0, 0, 0, 0.03);
        }

        .transition-all {
            transition: all 0.2s ease-in-out;
        }

        .bg-soft-primary {
            background-color: rgba(var(--bs-primary-rgb), 0.05);
        }

        .form-check-input:checked {
            background-color: var(--bs-primary);
            border-color: var(--bs-primary);
        }
