/*
 Theme Name:   Hello Child
 Theme URI:    https://dbgweb.net/hello-child/
 Description:  Hello Child Theme
 Author:       YESS Consulting Services
 Author URI:   https://yessconsulting.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         elementor, astra, responsive-layout, accessibility-ready
 Text Domain:  hellochild
*/



/* .db-Exc {} */
.db-head { line-height: 1em; font-size: 2em; }
.db-title { font-size: 1.2em; }
.db-Read { font-size: .8em; }
.db-ava { width: 50px; padding-right: 8px;}

/* Copyright*/
.ftc { 
	color: #FFFFFF63; 
}

/* alignment */
.tac { text-align: center;}
.tal { text-align: left;}
.tar { text-align: right;}
.taj { text-align: justify;}

/* colors */
.text-maroon { color: #b71546; }
.bg-maroon { background-color: #b71546; color: #ffffff;}


.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button {
    background-color: #82042A !important; /* Change to your desired color */
    color: #ffffff !important;           /* Change text color if needed for contrast */
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #82042A !important; /* Color on hover */
}

/* =========================
   HEADER BASE
========================= */

.site-header {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

/* MAIN GRID CONTAINER */
.site-header {
    display: grid;
    grid-template-columns: 1fr;
}

/* INNER WRAPPER (controls width) */
.header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;

    max-width: 1350px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
}

/* =========================
   DESKTOP GRID AREAS
========================= */

.header-top {
    grid-template-areas: "contact nav";
}

.header-bottom {
    grid-template-areas: "branding search";
}

/* ASSIGN AREAS */
.header-contact {
    grid-area: contact;
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.site-navigation {
    grid-area: nav;
    justify-self: end;
}

.site-navigation ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-branding {
    grid-area: branding;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
}

.site-branding img {
    max-height: 55px;
}

/* SUBGRID (progressive enhancement) */
@supports (grid-template-columns: subgrid) {
    .site-branding {
        grid-template-columns: subgrid;
    }
}

.branding-text {
    display: flex;
    flex-direction: column;
}

/* SEARCH */
.dbg-search-section {
    grid-area: search;
    justify-self: end;
}

.dbg-search-section form {
    display: grid;
    grid-template-columns: 1fr auto;
}

.dbg-search-section input[type="search"] {
    height: 42px;
    padding: 0 0.75rem;
    border: 1px solid #ccc;
    border-right: none;
}

.dbg-search-section button {
    height: 42px;
    padding: 0 1.25rem;
    background: #8b0d2f;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* =========================
   MOBILE (ONLY 1 MEDIA QUERY)
========================= */

@media (max-width: 768px) {

    .header-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }

    /* REORDER USING AREAS */
    .header-top {
        grid-template-areas:
            "contact"
            "nav";
    }

    .header-bottom {
        grid-template-areas:
            "branding"
            "search";
    }

    .site-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dbg-search-section {
        justify-self: stretch;
    }

    .dbg-search-section form {
        grid-template-columns: 1fr auto;
        width: 100%;
    }

    .header-contact {
        justify-content: center;
        flex-wrap: wrap;
    }
}