/* ============================================
   HEADER STYLES — SHED CITY USA
   Overrides Hello Elementor native header to match header.png
   Font sizes, colors and spacing sourced from live site (shedcityusa.com)
   ============================================ */

/* ---- Container: 1400px centred, white background spans full width ---- */
.site-header {
    background: #ffffff !important;
    max-width: 1400px !important;
    width: 100% !important;
    margin-inline: auto !important;
    padding: 8px 12px 3px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    box-sizing: border-box !important;
    border-bottom: none;
}

/* Branding: natural width, stays at left edge */
.site-header .site-branding {
    flex: 0 0 auto;
}

/* Nav: margin-left:auto pushes it to the far right.
   Using only ONE auto margin avoids the two-auto-margin centering problem. */
.site-header .site-navigation {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    margin-left: auto !important;
}

/* ---- Logo: Cinzel 38px / 700 / #BF3E3E — no text-transform (natural small caps) ---- */
.site-header .site-branding .site-title,
.site-header .site-branding .site-title a {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    font-weight: 700;
    color: #BF3E3E !important;
    text-decoration: none;
    margin: 0;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
}

.site-header .site-branding .site-title a:hover,
.site-header .site-branding .site-title a:focus {
    color: #000000 !important;
}

/* Hide tagline */
.site-header .site-description {
    display: none !important;
}

/* ---- Nav: 12px / 500 / uppercase / #212529 ---- */
.site-header .site-navigation ul.menu {
    flex-wrap: nowrap !important;
    align-items: center;
    border-top: 2px dashed #e9ecef;
}

.site-header .site-navigation ul.menu > li > a {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.25rem;
    color: #212529 !important;
    text-decoration: none;
    padding-left: 7px;
    padding-right: 7px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.site-header .site-navigation ul.menu > li > a:hover,
.site-header .site-navigation ul.menu > li.current-menu-item > a {
    color: #000000 !important;
}

/* ---- Cart item (menu-item-928): hide "Cart" text, show FA shopping-cart icon ---- */
/* Menu Icons plugin is not installed locally; replicate via CSS + Font Awesome (loaded by Elementor) */
.site-header .site-navigation ul.menu > li.menu-item-928 > a {
    font-size: 0 !important;    /* hide text */
    padding-left: 10px;
    padding-right: 4px;
}

.site-header .site-navigation ul.menu > li.menu-item-928 > a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f07a";           /* fa-shopping-cart */
    font-size: 16px;
    color: #212529;
    display: inline-block;
}

.site-header .site-navigation ul.menu > li.menu-item-928 > a:hover::before {
    color: #000000;
}

/* ---- Mobile hamburger: red ---- */
.site-navigation-toggle-holder .site-navigation-toggle {
    background-color: #BF3E3E;
    color: #ffffff;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .site-header .site-branding .site-title,
    .site-header .site-branding .site-title a {
        font-size: 37px;
    }

    .site-header .site-navigation ul.menu > li > a {
        font-size: 10px;
        letter-spacing: 0.1px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .site-header .site-navigation ul.menu > li.menu-item-928 > a {
        font-size: 0 !important;
    }
}

@media (max-width: 767px) {
    .site-header {
        flex-wrap: wrap !important;
    }

    .site-header .site-branding .site-title,
    .site-header .site-branding .site-title a {
        font-size: 30px;
    }
}
