/* Store Header & Footer Default Styles */

/* Default Header Styles */
.store-navbar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    margin: 0.5rem 1rem !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

/* Default Footer Styles */
.store-footer {
    background: rgba(245, 245, 247, 0.9) !important;
    border-radius: 10px !important;
    margin: 2rem 1rem 0 1rem !important;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.store-footer .container {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.store-footer .row {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.store-footer .row > div {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Footer Dynamic Styles - Applied via JavaScript */
.store-footer[data-bg-color] {
    background-color: var(--footer-bg-color) !important;
}

.store-footer[data-text-color] {
    color: var(--footer-text-color) !important;
}

.store-footer[data-opacity] {
    opacity: var(--footer-opacity) !important;
}

.store-footer[data-border-radius] {
    border-radius: var(--footer-border-radius) !important;
}

.store-footer[data-shadow="none"] {
    box-shadow: none !important;
}

.store-footer[data-shadow="light"] {
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.store-footer[data-shadow="medium"] {
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.15) !important;
}

.store-footer[data-shadow="strong"] {
    box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.2) !important;
}

.store-footer[data-glass="true"] {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Footer Separator Styles */
.store-footer[data-separator="line"] hr {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.store-footer[data-separator="dotted"] hr {
    border-top: 2px dotted rgba(0, 0, 0, 0.1) !important;
}

.store-footer[data-separator="gradient"] hr {
    border-top: 2px solid !important;
    border-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent) 1 !important;
}

/* Footer Column Adjustments */
.store-footer[data-columns="1"] .row > div {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.store-footer[data-columns="2"] .row > div {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.store-footer[data-columns="3"] .row > div {
    width: 33.333333% !important;
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

.store-footer[data-columns="4"] .row > div {
    width: 25% !important;
    flex: 0 0 25% !important;
    max-width: 25% !important;
}

.store-footer[data-columns="5"] .row > div {
    width: 20% !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

.store-footer[data-columns="6"] .row > div {
    width: 16.666667% !important;
    flex: 0 0 16.666667% !important;
    max-width: 16.666667% !important;
}

/* Footer Newsletter Fix */
.store-footer .newsletter-section {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.store-footer .newsletter-form {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .store-navbar {
        border-radius: 8px !important;
        margin: 0.25rem 0.5rem !important;
    }
    
    .store-footer {
        border-radius: 6px !important;
        margin: 1rem 0.5rem 0 0.5rem !important;
        padding: 1rem 0 !important;
    }
    
    /* Mobile column adjustments */
    .store-footer[data-columns] .row > div {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .store-navbar {
        border-radius: 4px !important;
        margin: 0.25rem 0.25rem !important;
    }
    
    .store-footer {
        border-radius: 4px !important;
        margin: 0.5rem 0.25rem 0 0.25rem !important;
        padding: 0.75rem 0 !important;
    }
}

/* Ensure proper z-index for header */
.store-navbar {
    z-index: 1000 !important;
}

/* Ensure proper positioning for footer */
.store-footer {
    position: relative !important;
    z-index: 100 !important;
}
