/* Hero Image Section in subsites */
.home-section-1 {
    flex-wrap: wrap;
}

/**
 * Hero Block Styles - Full Width Version
 * Ensures proper layering of background, overlay, and content
 * BREAKS OUT of parent container to be full viewport width
 */

/* Main wrapper - establishes positioning context and breaks out to full width */
.hero-block-wrapper {
    position: relative;
    width: 100vw;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Break out of parent container */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Background image layer - bottom layer */
.hero-block-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay layer - middle layer */
.hero-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Allow clicks to pass through to content */
}

/* Content layer - top layer */
.hero-block-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
    width: 100%;
    max-width: 800px;
}

/* Heading styles */
.hero-block-heading {
    font-size: 48px;
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Text styles */
.hero-block-text {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Button container */
.hero-block-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button styles */
.hero-block-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* First button - orange/primary */
.hero-block-button-1 {
    background-color: #D97941;
    color: #ffffff;
}

.hero-block-button-1:hover {
    background-color: #c06835;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 121, 65, 0.4);
}

/* Second button - orange/primary */
.hero-block-button-2 {
    background-color: #D97941;
    color: #ffffff;
}

.hero-block-button-2:hover {
    background-color: #c06835;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 121, 65, 0.4);
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero-block-heading {
        font-size: 36px;
    }
    
    .hero-block-text {
        font-size: 16px;
    }
    
    .hero-block-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .hero-block-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-block-heading {
        font-size: 28px;
    }
    
    .hero-block-text {
        font-size: 14px;
    }
    
    .hero-block-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-block-button {
        width: 100%;
        max-width: 250px;
    }
}

/* HOME PRODUCTS */
.home-prodcats .product-cat-buttons {
    flex: 1 1 100%;
    margin-top: .25rem;
    margin-left: var(--side-spacing);
    margin-right: var(--side-spacing);
}

.home-prodcats .product-cat-buttons .woocommerce .products li {
}

.home-prodcats .product-cat-buttons .woocommerce .products li a {
    display: block;
    /*background: rgba(255,255,255,0.4);*/
    border: 1px solid #C4C4C4;
    border-radius: 25px;
    font-family: var(--body-font-family,unset);
    font-size: calc(15px + .2vw);
}

.home-prodcats .product-cat-buttons .woocommerce .products li a h2 {
    font-family: var(--body-font-family,unset);
    font-size: calc(15px + .2vw);
    display: inline-block;
}

.home-prodcats .product-cat-buttons .woocommerce .products li a .count {
    font-family: var(--body-font-family,unset);
    font-size: calc(15px + .2vw);
    display: inline-block;
}

.home-prodcats .product-cat-buttons .woocommerce .products li a img {
    display: none !important;
}

/* Mainsite Homepage Stores */
.home .homepage-stores {
    display: grid;
    grid-column-gap: var(--grid-column-gap);
    grid-column-gap: var(--grid-column-gap,30px);
    grid-row-gap: var(--grid-row-gap,30px);
    box-sizing: border-box;
    grid-template-columns: repeat(3,1fr);
    align-items: stretch;
}

.home .homepage-stores .store {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    container-widget-width: calc( (1-var(--container-widget-flex-grow ))* 100%);
    container-widget-height: initial;
    container-widget-flex-grow: 0;
    container-widget-align-self: initial;
    flex-wrap-mobile: wrap;
    align-items: center;
    gap: 10px 10px;
    row-gap: 10px;
    column-gap: 10px;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 0px 0px 2px #0F303C;
    padding-top: 10%;
    padding-bottom: 10%;
    padding-left: 10%;
    padding-right: 10%;
}


