/*
Theme Name: storefront child
Theme URL: http://www.bandleadermusic.co.uk
Description: storefront Child Theme
Author: Maili Konczak
Author URL: http://www.bandleadermusic.co.uk
Template: storefront
Version: 1.0.1
Text Domain: storefront-child
*/

/* 09/11/2025 - Revised Feb 2026 */

/* GLOBAL FONT import */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/*--------------------------------------------------------------
# 1. HEADER & NAVIGATION
--------------------------------------------------------------*/

.site-header {
    background-color: #660033 !important;
    box-shadow: 0 0 6px rgba(0,0,0,.7);
    padding-top: 0.75em;
    padding-bottom: 0.0em; 
    margin-bottom: 0;
    color: #9aa0a7;
    position: static; 
    overflow: visible !important; /* FIX: Allows dropdowns to be seen */
    background-image: none !important;
}

.site-header .col-full {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

/* Branding Layout */
.site-branding {
    display: flex !important; 
    align-items: center; 
    float: none; 
}

.site-branding .custom-logo-link {
    margin-right: 15px !important; 
    float: none !important;
    margin-top: 0 !important;
}

.site-branding .site-title a {
    font-family: "Cinzel", serif !important;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 30px !important; /* Consolidated size */
}

.site-branding .site-description {
    font-family: "Cinzel", serif !important;
    color: #F5E6D6 !important;
    font-style: italic;
    font-size: 20px;
}

/* Dropdown Menu Styles */
.storefront-primary-navigation ul li .sub-menu {
    background-color: #660033 !important; 
    border: 1px solid #A03333; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 9999 !important;
}

.storefront-primary-navigation ul li .sub-menu a {
    color: #FFFFFF !important; 
    font-weight: 400 !important;
}

.storefront-primary-navigation ul li .sub-menu a:hover {
    color: #660033 !important; 
    background-color: rgba(160, 51, 51, 0.7) !important; 
}

/* Search and Cart Positioning */
.site-header-cart { float: right; margin-right: 20px; margin-top: 10px; }

.site-header .site-search { 
    float: right; 
    margin-right: 10px; 
    margin-top: 10px; /* Removed -100px conflict */
}

.site-header .storefront-primary-navigation {
    clear: both; 
    background-color: #660033 !important;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

/*--------------------------------------------------------------
# 2. MOBILE NAVIGATION (HANDHELD)
--------------------------------------------------------------*/

.storefront-handheld-footer-bar, 
.storefront-handheld-footer-bar ul {
    background-color: #660033 !important; 
}

.storefront-handheld-footer-bar a {
    color: #FFFFFF !important; 
    background-color: transparent !important;
}

.storefront-handheld-footer-bar a:hover {
    color: #A03333 !important; 
}

/*--------------------------------------------------------------
# 3. TYPOGRAPHY & BUTTONS
--------------------------------------------------------------*/

body, button, input, textarea, select {
    font-family: 'Spectral', sans-serif; 
    color: #000000;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', sans-serif; 
    font-weight: 300;
    color: #131315;
}

.button, button, input[type=submit] {
    background-color: #660033 !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
    padding: .25em .35em;
    font-weight: 600;
}

/*--------------------------------------------------------------
# 4. CUSTOM FOOTER STYLES (ALIGNMENT & BULLET FIX)
--------------------------------------------------------------*/
.site-footer {
    background-color: #333333 !important;
    color: #F5E6D6 !important;
    padding: 40px 0;
    text-align: center;
}

/* 1. FLEX GRID - This puts the 3 areas side-by-side */
.bl-footer-grid {
    display: flex !important;
    flex-direction: row;
    justify-content: space-around; 
    align-items: flex-start;
    flex-wrap: wrap; /* Allows stacking on small screens */
    max-width: 1200px;
    margin: 0 auto !important;
    padding: 0 20px;
}

/* 2. FOOTER BLOCKS - Setting widths */
.footer-block {
    flex: 1;
    min-width: 250px; /* Prevents them from getting too squished */
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-block h3 {
    color: #FFFFFF !important;
    font-size: 1.2em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* 3. BULLET POINT REMOVAL */
.footer-links, 
.social-links, 
.site-footer ul {
    list-style: none !important; /* Removes dots */
    list-style-type: none !important; /* Double-check for dots */
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}

.footer-links li, 
.social-links li {
    list-style: none !important;
    margin-bottom: 8px;
}

/* 4. LINK COLORS */
.footer-links a, 
.social-links a,
.site-footer a {
    color: #F5E6D6 !important;
    text-decoration: none !important;
}

.footer-links a:hover, 
.social-links a:hover {
    color: #A03333 !important;
}

/* 5. MOBILE RESPONSIVENESS */
@media (max-width: 767px) {
    .bl-footer-grid {
        display: block !important; /* Stacks them on phones */
    }
    .footer-block {
        width: 100%;
        margin-bottom: 30px;
    }
}

/*--------------------------------------------------------------
# 5. WOOCOMMERCE & RESPONSIVE
--------------------------------------------------------------*/

@media (max-width: 767px) {
    .site-branding .custom-logo-link { display: none !important; }
    .storefront-primary-navigation { background-color: #7A003D !important; }
    .bl-footer-grid { display: block; }
    .footer-block { width: 100%; margin-bottom: 30px; }
}

@media (min-width: 768px) {
    .content-area { width: 73%; float: left; }
    .widget-area { width: 22%; float: right; }
}

/* Final cleanup for specific pages */
body.page-id-16199 .entry-header, 
body.page-id-16199 .storefront-breadcrumb { display: none !important; }