/* Structural styles for Sticky Header widget */
.sh-2dfae919-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.admin-bar .sh-2dfae919-container {
    top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
    body.admin-bar .sh-2dfae919-container {
        top: 46px;
    }
}

.sh-2dfae919-container.sh-2dfae919-scrolled.sh-2dfae919-shrink-enabled {
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sh-2dfae919-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sh-2dfae919-brand {
    display: flex;
    align-items: center;
}

.sh-2dfae919-logo-text {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.sh-2dfae919-logo-img {
    max-height: 50px;
    width: auto;
    transition: max-height 0.3s ease;
}

.sh-2dfae919-container.sh-2dfae919-scrolled.sh-2dfae919-shrink-enabled .sh-2dfae919-logo-img {
    max-height: 40px;
}

.sh-2dfae919-desktop-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.sh-2dfae919-menu-link {
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.sh-2dfae919-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sh-2dfae919-cta {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.sh-2dfae919-cta:hover {
    transform: scale(1.05);
}

/* Hamburger menu button */
.sh-2dfae919-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    z-index: 10001;
}

.sh-2dfae919-hamburger-line {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Overlay Menu */
.sh-2dfae919-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #F3ECDD; /* Default background matching context */
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

body.admin-bar .sh-2dfae919-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

.sh-2dfae919-overlay.sh-2dfae919-active {
    opacity: 1;
    pointer-events: auto;
}

.sh-2dfae919-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    color: #355E3B;
    cursor: pointer;
}

.sh-2dfae919-mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sh-2dfae919-overlay-link {
    font-size: 24px;
    font-weight: 700;
    color: #355E3B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sh-2dfae919-overlay-link:hover {
    color: #E8863F;
}

.sh-2dfae919-mobile-cta {
    margin-top: 10px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .sh-2dfae919-desktop-menu {
        display: none;
    }
    .sh-2dfae919-hamburger {
        display: flex;
    }
    .sh-2dfae919-actions .sh-2dfae919-cta {
        display: none; /* Hide desktop CTA in favor of mobile menu CTA or show both */
    }
}
