/* =========================================================================
 * MODUL: HEADER BRANDING (Logo, Titel & Tagline)
 * ========================================================================= */

.rm24-header-top {
    padding: 10px 0 15px 0;
}

/* Produktsuche unter dem Logo */
.rm24-header-search {
    width: 100%;
    max-width: 620px;
    margin: 12px auto 0 auto;
}

.rm24-header-search .woocommerce-product-search,
.rm24-header-search .search-form {
    display: flex;
    gap: 8px;
}

.rm24-header-search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 15px;
}

.rm24-header-search button,
.rm24-header-search input[type="submit"] {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    background: var(--rm24-btn-bg, #2b2e34);
    color: var(--rm24-btn-color, #ffffff);
    cursor: pointer;
}

.rm24-site-branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rm24-site-branding .custom-logo-link {
    display: block;
    text-align: center;
    line-height: 0;
}

.rm24-site-branding .custom-logo {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: var(--rm24-logo-width, 360px);
    height: auto;
}

.rm24-site-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.rm24-site-title a {
    color: #777777;
    text-decoration: none;
    text-align: center;
}

.rm24-site-tagline {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
}

/* =========================================================================
 * MODUL: HEADER (Titel-Sichtbarkeit & Rahmen-Entfernung)
 * ========================================================================= */

.rm24-site-header {
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    width: 100%;
    box-sizing: border-box;
}

/* Header-Titel & Slogan wieder lesbar machen */
.rm24-site-title h1,
.rm24-site-header h2,
.rm24-site-header .site-title,
.rm24-site-header .site-title a,
.rm24-site-header .site-description {
    color: #0f2733 !important;
}

/* Feine Umrandungslinien rund um das Hauptlayout entfernen */
.rm24-main-wrapper,
.rm24-site-main,
#site-navigation {
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}