/*===================================================================================
    Electra Electrical Supplies - Premium Dark & Green Custom Stylesheet
===================================================================================*/

:root {
    --primary-color: #63b32e !important;
    --secondary-color: #7a7d80 !important;
    --secondary-light-color: rgba(71, 168, 66, 0.12) !important;
    --white-color: #111517 !important;
    --main-bg: #0f1e2e !important;
    --gray-bg: #0d1012 !important;
    --text-color: #94a3b8 !important;
    --light-gray: #1e293b !important;
    --primary-dark-color: #ffffff !important;
}

/* Base Body Override */
body {
    background-color: var(--main-bg) !important;
    color: var(--text-color) !important;
    font-family: "DM Sans", sans-serif;
}
.single-brand-item img {
    filter: brightness(1.5);
}
/* Scrollbar Customization */
::-webkit-scrollbar {

}

.contact-form-wrapper{
    background: #0f1e2e !important;
}

.contact-info-card{
      background: #0f1e2e !important;
}

::-webkit-scrollbar-track {
    background: #07090a;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 2px solid #07090a;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Headings and Texts */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #ffffff !important;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    color: var(--primary-color) !important;
}

p {
    color: var(--text-color) !important;
}

a {
    color: #ffffff;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color) !important;
}

/* Ensure all vector and font icons are electric green */
i,
[class^="flaticon-"],
[class*=" flaticon-"] {
    color: var(--primary-color) !important;
}

/* Style img-based icons to green via CSS filter */
img[src*="star-3.svg"],
img[src*="icon/"] {
    filter: invert(48%) sepia(79%) saturate(417%) hue-rotate(74deg)
        brightness(97%) contrast(92%) !important;
}

/* Header Area styling */
.header-area {
    background: var(--main-bg) !important;
}

.header-top {
    background: #0d1012 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.header-top .top-left span,
.header-top .top-left > ul > li,
.header-top .top-right ul li {
    color: #94a3b8 !important;
}

.header-navigation {
    /* background: rgba(13, 16, 18, 0.8) !important; */
    /* backdrop-filter: blur(12px) !important; */
    /* -webkit-backdrop-filter: blur(12px) !important; */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.header-navigation.style-two {
    background: var(--main-bg);
    /* backdrop-filter: blur(12px) !important; */
    -webkit-backdrop-filter: blur(12px) !important;
}

.header-navigation .main-menu ul > li > a {
    color: #ffffff !important;
}

.header-navigation .main-menu ul > li > a:hover,
.header-navigation .main-menu ul > li.active > a {
    color: var(--primary-color) !important;
}

.header-navigation .main-menu ul.sub-menu {
    background-color: #111517 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.header-navigation .main-menu ul.sub-menu li a {
    color: #94a3b8 !important;
}

.header-navigation .main-menu ul.sub-menu li a:hover {
    color: var(--primary-color) !important;
    background-color: rgba(71, 168, 66, 0.08) !important;
   
}

/* Nav Dropdown arrow style */
.header-navigation .main-menu ul > li.menu-item.has-children > a:after {
    color: #ffffff !important;
}

/* Preloader */
.preloader {
    background-color: #07090a !important;
}

.preloader .loader img {
    filter: drop-shadow(0 0 10px rgba(71, 168, 66, 0.6)) !important;
}

/* Banner area SVG curves */
.page-banner svg path {
    fill: var(--main-bg) !important;
}

/* Section styling overrides */
.features-section,
.category-section,
.features-products-section,
.banner-section,
.offer-deal-section,
.product-section,
.about-section,
.testimonial-section,
.blogs-section,
.faq-section,
.shop-details-wrapper,
.cart-wrapper,
.checkout-section,
.contact-section {
    background-color: var(--main-bg) !important;
}

/* Alternative background sections */
.testimonial-wrapper-two,
.features-wrapper {
    background-color: var(--main-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

/* Cards & Items styles */
.blog-post-item.style-three,
.accordion-item.style-one,
.cart-sidebar-area .cart-widget {
    background-color: var(--white-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.blog-post-item.style-three:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(71, 168, 66, 0.3) !important;
    box-shadow: 0 10px 30px rgba(71, 168, 66, 0.15) !important;
}

/* Contact Page - Preserved Natural Template Styling */
.single-information-item,
.contact-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Checkout Page - Preserved Natural Template Styling */
.billing-wrapper,
.order-summary-wrapper,
.payment-method-wrapper,
.checkout-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.order-summary-wrapper .list-item,
.order-summary-wrapper .product-item {
    color: #ffffff !important;
}

.order-summary-wrapper .product-item .product-name {
    color: #ffffff !important;
}

.order-summary-wrapper .list-item .total,
.order-summary-wrapper .list-item .subtotal,
.order-summary-wrapper .list-item .shipping {
    color: #ffffff !important;
}

.order-summary-wrapper .product-total,
.order-summary-wrapper .shipping-total {
    color: var(--primary-color) !important;
}

.order-summary-wrapper .list-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Category Item - Preserved Natural Template Styling */
.category-item.style-one,
.category-item.style-two,
.category-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.category-item.style-one .category-img img {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Product Item - Preserved Natural Template Styling */
.product-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.product-item .product-info h4 a,
.product-item .product-info h4.title a {
    color: #ffffff !important;
}

.product-item .product-info h4 a:hover,
.product-item .product-info h4.title a:hover {
    color: var(--primary-color) !important;
}

.product-item .product-price .new-price,
.product-item .product-price .price {
    color: var(--primary-color) !important;
}

.product-item .product-price .prev-price {
    color: #64748b !important;
}

/* Forms & Inputs styling */
input,
textarea,
select,
.nice-select,
.form_control {
    background-color: #161a1d !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
}

input:focus,
textarea:focus,
select:focus,
.nice-select:focus,
.form_control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 12px rgba(71, 168, 66, 0.3) !important;
    background-color: #1a2024 !important;
}

.nice-select .list {
    background-color: #111517 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: rgba(71, 168, 66, 0.15) !important;
    color: var(--primary-color) !important;
}

.nice-select .option {
    color: #ffffff !important;
}

/* Buttons glowing styling */
.theme-btn.style-one,
.theme-btn.style-two {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(71, 168, 66, 0.3) !important;
    transition: all 0.3s ease !important;
    border-radius: 30px !important;
}

.theme-btn.style-one:hover,
.theme-btn.style-two:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 20px rgba(71, 168, 66, 0.6) !important;
}

.theme-btn.style-two {
    background-color: transparent !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.theme-btn.style-two:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Reset search icon and button to normal original styling */
.search-btn,
.nav-right-item .search-btn,
.nav-search .search-btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    outline: none !important;
    cursor: pointer;
}

.search-btn i,
.nav-right-item .search-btn i,
.nav-search .search-btn i {
    color: #ffffff !important;
  
    transition: color 0.3s ease;
}

.search-btn:hover i,
.nav-right-item .search-btn:hover i {
    color: var(--primary-color) !important;
}

/* Category Slider button style */
.category-item.style-one .category-content .category-btn {
    background-color: #1c2327 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.category-item.style-one:hover .category-content .category-btn {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

/* Sidebar Cart styling */
.sidemenu-wrapper-cart {
    background-color: #111517 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.sidemenu-wrapper-cart h4 {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  
}

.sidebar-cart-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.sidebar-cart-item a {
    color: #ffffff !important;
}

.sidebar-cart-item a:hover {
    color: var(--primary-color) !important;
}

.cart-mini-total {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.cart-mini-total strong {
    color: #ffffff !important;
}

/* Footer Section Styling */
.footer-main {
    background-color: var(--gray-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.footer-main svg#footer-svg path {
    fill: var(--main-bg) !important;
}

.footer-widget .widget-title {
    color: #ffffff !important;
    border-bottom: 2px solid var(--primary-color) !important;
}

.footer-widget .widget-content ul.widget-menu li a {
    color: #94a3b8 !important;
}

.footer-widget .widget-content ul.widget-menu li a:hover {
    color: var(--primary-color) !important;
}

.copyright-area {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    background-color: #07090a !important;
}

.copyright-text p,
.copyright-text span {
    color: #94a3b8 !important;
}

.copyright-text a span {
    color: var(--primary-color) !important;
}

/* Glow accent details for premium vibe */
.sub-title {
    color: #fff !important;
    font-weight: 600 !important;
  
    letter-spacing: 2px !important;
}

.divider img {
    filter: invert(48%) sepia(79%) saturate(417%) hue-rotate(74deg)
        brightness(97%) contrast(92%) !important;
}

/* Headline Marquee */
.headline-wrap.style-two {
    background-color: #0d1012 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.marquee-item {
    color: #ffffff !important;
}

.marquee-item b {
    font-weight: 700;
}

/* Back to Top button styling */
.back-to-top {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(71, 168, 66, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.back-to-top i {
    color: #ffffff !important;
 
}

.back-to-top:hover {
    background-color: #59d053 !important;
    box-shadow: 0 6px 18px rgba(71, 168, 66, 0.8) !important;
    transform: translateY(-3px);
}

.back-to-top:hover i {
    color: #ffffff !important;
}

/* Accordions for FAQ page */
.accordion-item.style-one {
    background-color: #111517 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.accordion-item.style-one .accordion-title {
    color: #ffffff !important;
}

.accordion-item.style-one .accordion-title[aria-expanded="true"] {
    color: var(--primary-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.accordion-item.style-one .accordion-body {
    color: #94a3b8 !important;
}

/* Breadcrumbs Page Banner */
.page-banner-content h1 {
    color: #ffffff !important;
}

.page-banner-content .breadcrumb-link li,
.page-banner-content .breadcrumb-link li a {
    color: #94a3b8 !important;
}

.page-banner-content .breadcrumb-link li.active {
    color: var(--primary-color) !important;
}

/* Cart Table overrides */
.cart-wrapper table.table {
    color: #ffffff !important;
}

.cart-wrapper thead th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.cart-wrapper td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}






.slide-img {
  /*  filter: brightness(1.12) contrast(1.02) !important;*/
    object-fit: cover !important;
    object-position: center center !important;
    /* Sharpen rendering on HD/Retina screens */
   
  
}

.arrow {
    background: rgba(17, 21, 23, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.arrow:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(71, 168, 66, 0.5) !important;
}

.dot {
    background: rgba(255, 255, 255, 0.4) !important;
}

.dot.active {
    background: var(--primary-color) !important;
    box-shadow: 0 0 8px var(--primary-color) !important;
}

/* Large screens: keep proportional */


/* Responsive Hero Slider for Tablets & Mobile */


@media (max-width: 767px) {
  

    .slide-img {
        object-fit: cover !important;
        object-position: center !important;
    }

  



 
}


.lang-switch-btn {
    color: #ffffff !important;
}
/* ===== Nav Icon Group (Dark mode override) ===== */
.nav-icon-group {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.nav-icon-divider {
    background-color: rgba(255, 255, 255, 0.15) !important;
}
