/* Footer Styles - Lamsat Hadya Luxury Design */
.store-footer {
    background: var(--dark-bg);
    color: #F9F5EE;
    margin-top: auto;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 5px;
}

.footer-links a i {
    font-size: 12px;
    color: var(--primary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-contact li span {
    direction: ltr;
    unicode-bidi: embed;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}

.footer-contact li a:hover {
    color: var(--primary-light);
}

.footer-whatsapp:hover {
    color: #25D366 !important;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods span {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

.payment-methods i {
    font-size: 28px;
    color: rgba(255,255,255,0.8);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 25px 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Hide about description on tablet */
    .footer-about p {
        font-size: 13px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-contact li {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 20px 0 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Collapsible footer sections on mobile */
    .footer-col {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 15px 0;
    }
    
    .footer-col:last-child {
        border-bottom: none;
    }
    
    .footer-col h4 {
        margin-bottom: 0;
        padding-bottom: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 14px;
    }
    
    .footer-col h4::after {
        position: static;
        width: auto;
        height: auto;
        background: none;
        content: '\F282';
        font-family: 'bootstrap-icons';
        font-size: 12px;
        color: var(--primary-color);
        transition: transform 0.3s;
    }
    
    .footer-col.active h4::after {
        transform: rotate(180deg);
    }
    
    .footer-col .footer-links,
    .footer-col .footer-contact,
    .footer-col > p,
    .footer-col .footer-social {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
        margin: 0;
    }
    
    .footer-col.active .footer-links,
    .footer-col.active .footer-contact {
        max-height: 200px;
        margin-top: 12px;
    }
    
    .footer-col.active > p {
        max-height: 100px;
        margin-top: 10px;
    }
    
    .footer-col.active .footer-social {
        max-height: 50px;
        margin-top: 12px;
    }
    
    /* About section - always visible but compact */
    .footer-about {
        text-align: center;
        padding-bottom: 15px;
    }
    
    .footer-about h4 {
        justify-content: center;
        cursor: default;
    }
    
    .footer-about h4::after {
        display: none;
    }
    
    .footer-about p {
        display: none;
    }
    
    .footer-about .footer-social {
        max-height: 50px;
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 15px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-links a {
        font-size: 13px;
        justify-content: flex-start;
    }
    
    .footer-contact li {
        justify-content: flex-start;
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
    
    .payment-methods span {
        font-size: 12px;
    }
    
    .payment-methods i {
        font-size: 22px;
    }
}
