.vwalt-footer {
    background-color: #fff;
    color: #333;
    padding: 20px 0 0 0;
    margin-top: auto;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 0 15px rgba(0, 0, 255, 0.3);
}

.footer-contact-content,
.footer-contact-details,
.footer-separator,
.footer-links-section,
.footer-about-separator,
.footer-about-section { 
    max-width: 100rem; 
    margin: auto; 
}

.footer-contact-section {
    color: #000;
    padding: 10px 20px;
    text-align: right; 
    font-size: 14px;
}

.footer-contact-logo {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 50px;
    height: 50px;
    background: rgb(7 125 234);
    background: linear-gradient(220deg, rgb(22 159 248) 0%, rgb(5 107 227) 100%);
    border-radius: 50%;
}

.footer-logo-title {
    margin-right: 10px; 
    font-size: 24px;
    color: #4384F6;
    font-weight: bold;
}

.footer-contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-bottom: 15px;
    padding: 0 10px;
}

.footer-contact-details { 
    padding-bottom: 10px; 
}

.scroll-to-top {
    background-color: #ffffff;
    color: #696969;
    padding: 10px;
    border: 1px solid #e0e3ea;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    flex-direction: row-reverse;
}

.scroll-to-top .scroll-arrow {
    margin: 0 10px 0 -5px;
    display: flex;
    align-items: center;
}

.footer-logo {
    max-width: 50px; 
    height: auto;
}

.footer-separator {
    border: 0;
    height: 0.5px;
    background-color: #ccc;
}

.phone-number, .separator, .contact-hours {
    white-space: nowrap;
    padding: 0 10px;
}

.separator {
    color: #ccc;
}

.footer-links-section {
    color: #333;
    padding: 20px 0;
    text-align: left;
}

.footer-inner {
    display: flex;
    gap: 1em;
    justify-items: right;
    padding: 0 20px;
    justify-content: space-between;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

.footer-links {
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 0 10px;
}

.footer-links a {
    color: #606473;
    margin: 5px 0;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 30px;
    padding: 10px;
}

.social-links a {
    display: inline-flex;
}

.social-icon {
    width: 40px;
    height: 40px;
    fill: #a1a3a9;
}

.social-icon-path {
    fill: rgb(161, 163, 169);
}

.footer-about-section {
    color: #333;
    padding: 20px;
    text-align: right;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-images-container {
    margin-left: 30px;
    flex-shrink: 0;
    margin-top: -20px;
}

.about-images {
    display: flex;
    gap: 30px;
}

.footer-about-arrow {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 5px;
    vertical-align: sub;
}

.footer-about-arrow svg {
    width: 100%;
    height: 100%;
    fill: #007bff;
}

.up-arrow svg {
    transform: rotate(180deg);
}

.down-arrow svg {
    transform: rotate(0deg);
}

.image-container {
    width: 75px;
    height: 75px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

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

.about-text-wrapper {
    position: relative;
    max-height: 10em;
    overflow: hidden;
    flex-grow: 1;
    margin-left: 30px;
}

.footer-about-title,
.about-text, 
.read-more, 
.more-text {   
    font-size: 13px;
}

.about-text-wrapper.expanded {
    max-height: none;
    font-size: 13px;
}

.more-text a:hover {
    color: #1493f3;
}

.about-text-wrapper:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    transition: opacity 0.5s ease;
}

.about-text-wrapper.expanded:after {
    opacity: 0;
}

.footer-about-section .read-more {
    color: #005eff;
    cursor: pointer;
}

.footer-about-separator, .footer-copyright-separator {
    border: 0;
    height: 0.5px;
    background-color: #ccc;
    margin: 10px auto;
    width: 100%;
}

.footer-copyright-section {
    background-color: #fff;
    color: #666;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
}

#mobile-nav,
.menu-backdrop, 
.vwalt-mobile-menu,
.contact-icon-one,
.contact-icon-two {
    display: none;
}


@media (max-width: 1024px) {
    .vwalt-footer {
       border-top: 0.5px solid #ccc;
       border-radius: 0;
       box-shadow: none;
    }
    
    .footer-contact-logo {
        margin-bottom: 0;
    }

    .footer-contact-content {
        padding: 0;
    }    
    
    .footer-separator, .separator {
        display: none;
    }
    
    .footer-contact-details {
        border-bottom:  0.5px solid #ccc;
        padding-bottom: 15px;
        display: flex;
        flex-direction: column;
    }
    
    #contact-footer-one {
        padding-bottom: 15px;
        margin: -10px 35px -10px 0;
    }

    .contact-icon-one, .contact-icon-two {
        display: inline-block;
        width: 25px;
        height: 25px;
        margin-left: 10px; 
        vertical-align: middle;
        margin-top: 30px;
    }
    
    #contact-footer-two {
        margin: -10px 35px 5px 0;
    }
    
    .phone-number, .separator, .contact-hours {
        padding: 0;
    }

    .phone-number {
        display: flex;
        align-items: center;
    }    
    
    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0em;
        padding: 0;
    }

    .footer-column {
        width: 100%;
        border-bottom: 0.5px solid #ccc;
    }

    .footer-column:nth-child(4) {
        order: 1; /* همراه باشید! */
    }
    .footer-column:nth-child(1) {
        order: 2; /* دسترسی سریع */
    }
    .footer-column:nth-child(3) {
        order: 3; /* راهنمای خرید وی‌والت */
    }
    .footer-column:nth-child(2) {
        order: 4; /* خدمات مشتری */
    }

    .footer-title {
        cursor: pointer;
        border-bottom: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        width: 100%;
        padding: 5px 0;
    }

    .footer-links {
        display: none;
        transition: max-height 0.3s ease;
        flex-direction: column;
        width: 100%;
        padding: 0;
        font-size: 13px;
        padding: 0 0 15px 0;
    }

    .footer-column.active .footer-links {
        display: flex;
    }

    .footer-title::after {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iYmxhY2siPjxwYXRoIGQ9Ik0xMiAxNmwtNi02IDEuNDEtMS40MUwxMiAxMy4xN2w0LjU5LTQuNThMMTggMTB6Ii8+PC9zdmc+');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .footer-column.active .footer-title::after {
        transform: rotate(180deg);
    }
    
    .footer-title.no-arrow::after {
        content: none;
    }
    
    .no-arrow {
        margin: 0;
        padding: 0;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
    }  
    
    .social-links {   
        gap: 20px;
    }

   .footer-links-section {
        padding: 10px 0;
    }
    
    .footer-about-section {
        padding: 20px 0;
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
    
    .footer-about-separator {
        display: none;
    }
    
    .about-images {
        display: flex;
        gap: 30px;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        padding-bottom: 10px;
    }

    .image-container {
        width: 20vw;
        height: 20vw;
        padding: 1vw;
        border: 1px solid #ccc;
        border-radius: 10px;
        max-width: 84px;
        max-height: 84px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
    }
    
    .about-text-wrapper {
        max-height: 7em;
    }

    #mobile-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        position: sticky; 
        justify-content: space-around; 
        bottom: 10px;
        left: 0;
        right: 0;
        margin: 10px;
        padding: 10px 0;    
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 255, 0.3);
        border-radius: 20px;
        z-index: 8;
    }

    #mobile-nav .nav-item {
        text-align: center;
        color: #666;
        font-size: 12px;
        flex: 1 0 auto;
        padding: 0 10px;
    }

    #mobile-nav .nav-icon {
        display: block;
        margin: 0 auto 0 auto;
        width: 24px;
        height: 24px;
    }

    #mobile-nav .nav-label {
        display: block;
    }

    #mobile-nav .home-link .active-icon {
        display: none;
    }

    #mobile-nav .home-link.active .default-icon {
        display: none;
    }

    #mobile-nav .home-link.active .active-icon {
        display: block;
    }

    #mobile-nav .home-link.active .nav-label {
        color: #000;
    } 

/* CSS for the mobile menu */
.vwalt-mobile-menu {
    position: fixed;
    display: block;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    transition: bottom 0.3s ease;
    z-index: 15;
   }
   
.footer-copyright-section {
    margin-bottom: 50px;
   }   
}

@media (max-height: 275px) { 
    .vwalt-mobile-menu {
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.5s linear;
    }
    .vwalt-mobile-menu.open {
        visibility: visible;
        opacity: 1;
    }
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 20px;
    flex-shrink: 0; 
    position: sticky;
    top: 0;
    background-color: #fff; 
    z-index: 16;
}

.menu-logo-link {
    display: flex;
    align-items: center;
}

.menu-logo {
    width: 40px;
    height: auto;
    margin-left: 10px;
    background: rgb(7 125 234);
    background: linear-gradient(220deg, rgb(22 159 248) 0%, rgb(5 107 227) 100%);
    border-radius: 50%;
}

.menu-title {
    font-size: 18px;
    font-weight: bold;
    color: #026bff;
}

.vwalt-menu-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.close-menu, .vwalt-copy-link-container {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #000;
    background: #e4e6ed;
    padding: 3px;
    border-radius: 50px;
    margin: 0 10px 0 0;
}

.vwalt-mobile-menu ul {
    list-style: none;
    padding: 0 20px;
    text-align: right;
    max-height: 100%;
    flex-grow: 1;
    overflow-y: auto;
    margin: 0;
}

.vwalt-mobile-menu ul li {
    margin: 10px 0;
}

.vwalt-mobile-menu ul li a {
    color: #333;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-right: 10px;
}

.menu-arrow {
    display: inline-block;
    margin-left: 10px;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.5303 5.46967C10.8232 5.76256 10.8232 6.23744 10.5303 6.53033L5.81066 11.25H20C20.4142 11.25 20.75 11.5858 20.75 12C20.75 12.4142 20.4142 12.75 20 12.75H5.81066L10.5303 17.4697C10.8232 17.7626 10.8232 18.2374 10.5303 18.5303C10.2374 18.8232 9.76256 18.8232 9.46967 18.5303L3.46967 12.5303C3.17678 12.2374 3.17678 11.7626 3.46967 11.4697L9.46967 5.46967C9.76256 5.17678 10.2374 5.17678 10.5303 5.46967Z" fill="%23ccc"/></svg>');
}

.no-scroll {
    overflow: hidden;
}

.footer-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: none;
}
.footer-menu-backdrop.open {
    display: block;
}

.vwalt-mobile-menu.open {
    bottom: 0;
    height: 50vh;
    overflow-y: auto;
    padding-bottom: 30px;
}

.menu-backdrop.open {
    display: block;
}

 .vwalt-mobile-menu ul li.has-submenu > a {
    position: relative;
}

.vwalt-mobile-menu ul li.has-submenu > a::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgOWw2IDYgNi02IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+');
}

.vwalt-mobile-menu ul li.has-submenu.open > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.submenu {
    display: none;
    padding-right: 15px;
}

.submenu li a {
    font-size: 12px;
    padding-right: 30px;
}

.vwalt-mobile-menu ul li.has-submenu.open .submenu {
    display: block;
    padding: 5px 40px 10px 0;
}


.mobile-footer-cart-icon {
    position: relative;
}

.mobile-footer-cart-count {
    position: absolute;
    top: 45%;
    transform: translate(100%, -50%);
    background-color: #007bff;
    box-shadow: 0 0 0 2px #fff;
    color: white;
    border-radius: 5px;
    width: 17px;
    height: 17px;
}

.mobile-footer-cart-number {
    font-size: 10px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*****************/
/*popup feedback*/
/***************/

.feedback-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.feedback-popup.hidden {
    display: none;
}

.feedback-popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.feedback-popup-content textarea {
    width: 100%;
    height: 100px;
    margin: 15px auto;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    resize: none;
    font-size: 17px;
    box-sizing: border-box;
}

.feedback-popup-content .feedback-submit-button {
    background-color: #2a64f6;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: block;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.feedback-popup-content .feedback-submit-button:hover {
    background-color: #004dff;
}

.feedback-popup-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.feedback-popup-content .close-feedback-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.feedback-popup-content .close-feedback-popup:hover {
    color: black;
}
