/* ================================
GLOBAL RESET (SAFE)
================================ */
body,
#page {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* ================================
HEADER OVER HERO (OVERLAY MODE)
================================ */
.site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0));
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix admin bar offset */
body.admin-bar .site-header {
    top: 32px !important;
}

/* ================================
HEADER INNER LAYOUT
================================ */
.site-header .col-full {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 2px 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* ================================
NAVIGATION STYLE
================================ */
.storefront-primary-navigation {
    margin: 0 !important;
    padding: 0 !important;
}

.site-header .main-navigation ul li a {
    color: #ffffff !important;
    font-weight: 500;
}

/* Hover color */
.site-header .main-navigation ul li a:hover {
    opacity: 0.85;
}

/* ================================
CART STYLE
================================ */
.site-header-cart {
    margin-left: 20px !important;
}

.site-header-cart .cart-contents {
    color: #ffffff !important;
}

/* Disable annoying hover dropdown */
.site-header-cart .widget_shopping_cart {
    display: none !important;
}

/* ================================
REMOVE STORE FRONT CLUTTER
================================ */
/* Hide breadcrumbs */
.storefront-breadcrumb,
.woocommerce-breadcrumb {
    display: none !important;
}

/* Hide logo area (menu only layout) */
.site-branding {
    display: none !important;
}

/* ================================
CONTENT OFFSET FIX - FIXED VERSION
================================ */
/* Push page title + content below absolute header */
.page:not(.home) .page-title,
.single .page-title,
.archive .page-title,
.page:not(.home) .site-content,
.single .site-content,
.archive .site-content {
    margin-top: 60px !important;
    padding-top: 20px !important;
}

/* Also target main content area */
.page:not(.home) .site-main,
.single .site-main,
.archive .site-main {
    margin-top: 140px !important;
}
================================
HERO FULL WIDTH + TOP EDGE
================================ */
/* Remove ALL spacing from content areas */
.site-content,
.site-main,
#primary,
#content,
.entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Force hero/cover blocks to be full width and start at top */
.home .wp-block-cover,
.home .entry-content > *:first-child {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    position: relative;
    left: 0;
    right: 0;
}

/* Ensure hero starts at absolute top of page */
.home .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ================================
MOBILE FIXES
================================ */
@media (max-width: 768px) {
    .site-header .col-full {
        padding: 15px 20px !important;
    }
    
    body.admin-bar .site-header {
        top: 46px !important;
    }
    
    .page:not(.home) .site-content,
    .single .site-content,
    .archive .site-content {
        padding-top: 80px !important;
    }
}