/*
Theme Name: My Maxisil Theme
Theme URI: https://example.com/
Author: Your Name
Description: A lightweight WordPress theme for Maxisil
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: my-maxisil-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

:root {
  /* Font families */
  --font-body: "Roboto", sans-serif;
  --font-secondary: "Geist", sans-serif;

  /* Font sizes */
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */

  /* Font weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line heights */
  --line-height-sm: 1.2;
  --line-height-md: 1.5;
  --line-height-lg: 1.8;

  /* Letter spacing */
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;

  /* List spacing */
  --ul-margin: 1rem 0;
  --li-margin: 0.5rem 0;
  --list-padding-left: 1.5rem;

  --body-color: #0E1116;
  --body-bg: #F6F6F6;
  --primary-color: #C50F3B;
  --primary-light-color: #FF3767;
  --grey-100: #9CA3A8;
  --grey-200: #242527;
  --grey-300: #495058;
}

/* Base typography */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  font-weight: var(--font-weight-regular);
  color: var(--body-color);
  margin: 0;
  background-color: var(--body-bg);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  
  margin: 0 0 0.75rem 0;
}

h1 { font-size: var(--font-size-3xl); font-family: var(--font-secondary); }
h2 { font-size: var(--font-size-2xl); font-family: var(--font-secondary);}
h3 { font-size: var(--font-size-xl); font-family: var(--font-secondary);}
h4 { font-size: var(--font-size-lg); font-family: var(--font-secondary);}
h5 { font-size: var(--font-size-md); font-weight: var(--font-weight-semibold); line-height: 22px; }
h6 { font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); }

/* Lists */
ul {
  margin: var(--ul-margin);
  padding-left: var(--list-padding-left);
  list-style-type: disc;
}

li {
  margin: var(--li-margin);
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  color: var(--body-color);
}

.container {
    max-width: 1256px;
    padding: 0 24px;
    margin: 0 auto;
}

a {
    line-height: 1;
}
 
p {
    margin: 0px !important;
}

.elementor-widget-heading:not(.font-roboto) .elementor-heading-title {
    font-family: var(--font-secondary) !important;
}


.elementor-widget-heading .elementor-heading-title {
    span {
        color: var(--primary-color) !important;
        text-decoration: underline;
    }
}

.elementor-button {
    border-radius: 16px;
}

header {
    background-color: var(--primary-color);

    .desktop-menu {
        display: none;
        @media screen and (max-width: 991px) {
            display: none;
        }
    }
    .mobile-menu {
        display: none;
        @media screen and (max-width: 991px) {
            display: block;
        }
    }
    .top-header  {
        background-color: var(--primary-light-color);
        padding: 14px 0;

        .social-wrap {
            display: flex;
            gap: 26px;
            align-items: center;
            justify-content: flex-end;

            .social-icons {
                display: flex;
                gap: 16px;
                align-items: center;
                justify-content: flex-end;

                img {
                    width: 20px;
                    height: 20px;
                    object-fit: contain;
                }
            }
        }
        ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            align-items: center;
            gap: 16px;
            justify-content: flex-end;

            li {
                line-height: 140%;
                margin: 0;

                a {
                    font-size: 14px;
                    color: white;
                    font-weight: 400;
                    text-decoration: none;
                    font-family: var(--font-body);
                    opacity: 0.7;

                    &:hover {
                        opacity: 1;
                    }
                }
            }
        }
    }
    .flex-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px 0;
        gap: 16px;

        .main-logo {
            max-width: 124px;
            max-height: 24px;
            width: 100%;
        }
        .main-menu{
            ul {
                display: flex;
                list-style: none;
                margin: 0;
                padding: 0;
                align-items: center;
                gap: 16px;

                @media screen and (max-width: 991px) {
                    flex-direction: column;
                    align-items: flex-start;
                    margin-top: 50px !important;
                    margin-bottom: 30px;
                }

                li {
                    line-height: 140%;
                    margin: 0;

                    a {
                        font-size: 16px;
                        color: white;
                        font-weight: 400;
                        text-decoration: none;
                        font-family: var(--font-body);

                        @media screen and (max-width: 991px) { 
                            font-size: 30px;
                        }

                        &:hover {
                            opacity: 0.7;
                        }
                    }
                }
            }
            &.mobile-main-menu {
                position: fixed;
                left: -100%;
                padding: 24px;
                background: var(--primary-color);
                width: 78%;
                height: 100%;
                z-index: 999;
                top: 0;
                transition: all 0.3s ease;

                &.open {
                    left: 0;
                }
            }
        }
    }
}

footer.footer {
    background-color: var(--body-bg);
    padding: 64px 0;

    @media screen and (max-width: 575px) {  
        padding: 48px 0;
    }

    .container {
        max-width: 1312px;
        padding: 0 24px;
        margin: 0 auto;
    }
    .footer-flex-wrap {
        display: flex;
        justify-content: space-between;
        gap: 24px;
        flex-wrap: wrap;
        padding-bottom: 64px;

        @media screen and (max-width: 575px) { 
            flex-direction: column;
        }

        .footer-menu {
            &.footer-menu-address {
                max-width: 244px;

                @media screen and (max-width: 768px) { 
                    max-width: 298px;
                }

                .address-wrap {
                    margin-bottom: 24px;

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }
            .footer-menu-heading {
                margin-bottom: 12px;
                @media screen and (max-width: 768px) { 
                    font-weight: 500;
                }
            }
            .footer-address {
                font-size: 16px;
                line-height: 140%;
                font-weight: 400;
                font-family: var(--font-body);
                color: var(--grey-300);
                p {
                    margin: 0;
                }
            }
            ul.menu {
                list-style: none;
                margin: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
                gap: 4px;

                li {
                    line-height: 140%;
                    margin: 0;

                    a {
                        font-size: 16px;
                        color: var(--grey-300);
                        font-weight: 400;
                        text-decoration: none;
                        font-family: var(--font-body);

                        &:hover {
                           color: var(--primary-color);
                        }
                    }
                }
                li.contact-email {
                    margin-top: 8px;
                }
            }
        }
    }
    .logo-link-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;

        @media screen and (max-width: 768px) {
            gap: 32px;
            flex-direction: column;
            justify-content: start;
            align-items: start;
        }
        .logo-link {
            display: flex;
            align-items: center;
            gap: 24px;

            @media screen and (max-width: 768px) {
                gap: 32px;
                flex-direction: column;
                justify-content: start;
                align-items: start;
            }
            p {
                color: var(--grey-100);
                font-size: 14px;
                font-weight: 400;
                font-family: var(--font-body);
                margin: 0;

                a {
                    color: var(--grey-100);
                    text-decoration: none;
                    
                    &:hover {
                        color: var(--primary-color);
                        text-decoration: underline;
                    }
                }
            }
        }
        .footer-link {
            display: flex;
            align-items: center;
            gap: 24px;

            a {
                color: var(--grey-200);
                text-decoration: none;

                &:hover {
                    color: var(--primary-color);
                }
            }
        }
    }
}

.image-slider .elementor-image-carousel-wrapper .elementor-image-carousel .swiper-slide img {
    width: 100%;
    height: 380px !important;
    object-fit: cover !important;
}

.grid-table .elementor-element.grid-item-image {
    max-height: 100px;
    height: 100%;
}
.grid-table .elementor-element.grid-item-image .elementor-widget-image img {
    max-height: 120px;
    height: 100%;
    width: 36px;
    min-height: 120px;
    margin-top: -50px;
    min-width: 36px;
}

.step-item .step-grid-item {
    position: relative;
}
.step-item .step-grid-item::after { 
    content: '';
    position: absolute;
    top: 50%;
    bottom: auto;
    right: -48px;
    width: 100%;
    height: 42px;
    margin: auto;
    transform: translateY(-50%);
    width: 32px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMzMnIGhlaWdodD0nNDInIHZpZXdCb3g9JzAgMCAzMyA0MicgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBvcGFjaXR5PScwLjYnIGQ9J00zMi4zMzMzIDIxTDAuMzMzMzQ0IDQyTDE2LjMzMzMgMjFMMC4zMzMzNDUgMEwzMi4zMzMzIDIxWicgZmlsbD0nI0M1MEYzQicvPjwvc3ZnPg==");
    @media screen and (max-width: 767px) { 
        right: auto;
        left: 50%;
        bottom: -54px;
        top: auto;
        transform: rotate(90deg) translateY(50%);
    }
}

.image-size img {
    height: 735px !important;
    object-fit: cover;
    @media screen and (max-width: 767px) {  
     height: 380px !important;
    }
}

.tab-items {
    .e-n-tabs {
        .e-n-tabs-heading {
            width: fit-content;
            background-color: rgba(237, 237, 237, 1);
            padding: 4px;
            border-radius: 50px;

            button {
                background-color: transparent !important;
                box-shadow: none !important;
                padding: 8px 16px !important;
                color: rgba(73, 80, 88, 1) !important;
                border-radius: 50px;
                cursor: pointer;
                outline: none;
                border: none;

                &[aria-selected="true"] {
                    color: rgba(36, 37, 39, 1) !important;
                    background-color: white !important;
                }
            }
        }
    }
}

.faq-itmes {
    .e-n-accordion {
        .e-n-accordion-item {
            .e-n-accordion-item-title {
                padding:32px 0;
                border: 0px;
                flex-direction: row-reverse;
                justify-content: space-between;
                border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;

                &[aria-expanded="true"] {
                    padding-bottom: 24px !important;
                     border-bottom: 0px !important;
                }
            }
            .elementor-element {
                padding: 0;
                border: 0;
                
                .e-con-inner {
                    padding: 0 0 32px 0 !important;
                    border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
                }

                p {
                    strong, b {
                        color: white !important;
                    }
                }
            }
        }
    }
}

.image-with-content {
    overflow: hidden;
}
@media screen and (min-width: 1280px) {
    .list-item-image {
        position: absolute !important;
        width: max-content !important;
        overflow: hidden;
    }
    .image-items, .image-items-2, .image-items-3, .image-items-4, .image-items-5, .image-items-6 {
        width: fit-content;
        position: absolute;
    }
    .image-items {
        top: 160px;
        left: 120px;
    }
    .image-items-2 {
        top: 10px;
        right: -730px;
        z-index: 2;
        margin-left: auto;
    }
    .image-items-3 {
        top: 220px;
        right: -850px;
        z-index: 2;
        margin-left: auto;
    }
    .image-items-4 {
        top: -60px;
        right: -860px;
        z-index: 2;
        margin-left: auto;
    }
    .image-items-5 {
        top: -80px;
        right: -150px;
        z-index: 2;
        margin-left: auto;
    }
    .image-items-6 {
        top: -60px;
        right: -50px;
        z-index: 2;
        margin-left: auto;
    }
}

.image-slider .image-slider-swiper .swiper-slide {
    @media screen and (min-width: 1280px) { 
        width: 600px !important;
    }
}
.image-slider .image-slider-swiper .swiper-slide img {
    border-radius: 12px;
    object-fit: cover;
    width: 100% !important; /* slide width */
    height: 380px;
}

body {
    overflow-x: hidden;
}

.location-popup {
  width: 100%;
  height: 100%;
  background: rgba(14, 17, 22, 0.7);
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 99999;
}
.location-popup .popup__content {
  max-width: 1060px;
  background: #F6F6F6;
  color: black;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border-radius: 24px;
  max-height: calc(100% - 60px);
  overflow-y: auto;
  overflow-x: hidden;

  @media screen and (max-width: 1099px) {   
    max-width: 95%;
  }

  &::-webkit-scrollbar {
   display:none;
 }
}
.location-popup .popup__content .close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: rgba(33, 42, 53, 1);
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -3%;
    padding: 16px 24px;

    @media screen and (min-width: 768px) { 
        padding: 12px 20px;
    }

    span {
        font-weight: 500;
    }
}
.location-popup .input-search {
    position: relative;
    display: flex;
    align-items:center;
    justify-content: space-between;
    gap: 8px;
}
.location-popup .input-search .search-icon {
    position: absolute;
    left: 24px;
    top: 22px;
}
.location-popup .input-search input {
    max-width: calc(100% - 144px);
    height: 56px;
    width: 100%;
    border-radius: 50px;
    box-shadow: 0px 8px 12px -6px rgba(0, 0, 0, 0.16);
    background-color: rgba(255, 255, 255, 1);
    color: black;
    line-height: 150%;
    letter-spacing: -3%;
    padding-left: 52px;
    padding-right: 24px;
    outline: 0;
    border: 0;
}
.location-popup .input-search input::placeholder {
    color: rgba(150, 158, 166, 1);
}

.location-popup .input-search button {
   background: rgba(14, 17, 22, 1);
   border: 0;
   height: 50px;
   width: 56px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
}

.location-popup .popup-header {
    position: sticky;
    top: 0;
    background: #f6f6f6;
    z-index: 1;
    padding: 8px;
}

.loaction-map {
    .map-iframe {
        iframe {
            height: 656px;
            border-radius: 16px;
            filter: grayscale(100%) contrast(100%) brightness(95%);
            -webkit-filter: grayscale(100%);
            /* optional smooth transition if you toggle class later */
            transition: filter 0.25s ease;

            &:hover {
                filter: none;
                -webkit-filter: none;
            }
            @media screen and (max-width: 991px) {  
                height: 320px;
            }
        }
    }
}

.loaction-list {
    display: flex;
    gap: 10px;
    padding: 8px;

    @media screen and (max-width: 991px) { 
        flex-direction: column-reverse;
    }

    .loaction-item, .loaction-map {
        width: 50%;

        @media screen and (max-width: 991px) {  
            width: 100%;
        }
    }
    .loaction-item {
        background: #fff;
        border-radius: 16px;
        padding: 8px;
        height: calc(79vh - 122px);
        overflow-y: auto;



        .data-item {
            background-color: white;
            padding: 24px;
            border-radius: 8px;
            margin-bottom: 8px; 
            position: relative;       

            &::after {
                content: "";
                display: block;
                border-bottom: 1px solid #14191F14;
                position: absolute;
                bottom: 0;
                left: 8px;
                height: 1px;
                right: 8px;
            }

            &:hover {
                background-color: #F6F6F6;
                cursor: pointer;
                
                &::after {
                    border-bottom-color: #F6F6F6;
                }
            }

            .stock {
                font-size: 16px;
                line-height: 150%;
                letter-spacing: -3%;
                position: relative;
                padding-left: 16px;
                text-align: left;
                font-weight: 500;

                &::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    width: 8px;
                    height: 8px;
                    border-radius: 50%;
                }
            }
            h4 {
                margin-top: 8px;
                margin-bottom: 16px;
                color: rgba(33, 42, 53, 1);
                text-align: left;
                font-size: 22px;
                line-height: 130%;
            }
            .flex-wraps {
                display: flex;
                align-items: center;
                gap: 12px;
                font-size: 16px;
                line-height: 150%;
                letter-spacing: -3%;
                color: rgba(110, 119, 127, 1);
                margin-bottom: 10px;
                justify-content: flex-start;
                text-align: left;
            }
            .links {
                display: flex;
                align-items: center;
                gap: 16px;
                font-size: 16px;
                line-height: 150%;
                letter-spacing: -3%;
                margin-top: 16px;
                
                .link-items {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    color: rgba(33, 42, 53, 1);
                    text-decoration: none;
                    &:hover {
                        opacity: 0.7;
                    }
                }
            }
        }
    }
    
}

#reset-search {
    display: none;
}


