/**
 * Custom Header Styles - Design professionnel et alignement parfait
 * Classes préfixées .ch- pour éviter les conflits
 */

:root {
    --ch-accent: #ff5564;
    --ch-accent-hover: #ff6b78;
    --ch-text: #333;
    --ch-text-light: #666;
    --ch-border: #e0e0e0;
    --ch-bg-light: #f8f8f8;
    --ch-white: #fff;
}

/* Custom icons using fontello2 */
.icon-plus:before {
    font-family: "fontello2";
    content: '+';
    font-weight: bold;
    font-style: normal;
}

.icon-user:before {
    font-family: "fontello2";
    content: '\e814'; /* Using icon-comment as fallback */
    font-style: normal;
    font-weight: normal;
}

/* ======================================
   ALIGNEMENT VERTICAL GLOBAL
   Tous les éléments du menu alignés à 36px de hauteur
   ====================================== */

.primary-menu-container {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    flex-wrap: nowrap;
    padding-inline: 15px;
    width: 100%;
}

/* ======================================
   DEFAULT LAYOUT - Menu centré avec côtés égaux
   ====================================== */
.default .primary-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.default .default-left-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.default .default-left-section > :first-child {
    margin-left: -12px !important;
}

.default .menu-primary-navigation-container {
    flex-shrink: 0;
}

.default .default-right-section {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
}

/* Forcer l'alignement des éléments natifs du thème */
.toggle-menu,
.menu-primary-navigation-container,
.menu-primary-navigation-container nav,
.primary-nav {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.primary-nav li {
    display: inline-flex;
    align-items: center;
}

.primary-nav li a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    line-height: 1;
}

/* ======================================
   MENU CATÉGORIES (Départements)
   ====================================== */

.ch-categories {
    display: inline-flex;
    align-items: center;
}

.ch-categories.icon-only .ch-cat-toggle {
    padding: 0 8px;
    gap: 4px;
}

.ch-categories.icon-only .ch-cat-toggle span {
    display: none;
}

.ch-cat-dropdown {
    position: relative;
}

.ch-cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px;
    background: var(--ch-white);
    border: 1px solid var(--ch-border);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--ch-text);
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}

.ch-cat-toggle:hover {
    border-color: var(--ch-accent);
    color: var(--ch-accent);
}

.ch-cat-toggle i:first-child {
    font-size: 16px;
}

.ch-cat-toggle i:last-child {
    font-size: 10px;
    transition: transform 0.2s;
}

.ch-cat-dropdown.active .ch-cat-toggle i:last-child {
    transform: rotate(180deg);
}

.ch-cat-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--ch-white);
    border: 1px solid var(--ch-border);
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.ch-cat-dropdown.active .ch-cat-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ch-cat-menu ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.ch-cat-menu li {
    margin: 0;
}

.ch-cat-menu a {
    display: block;
    padding: 6px 10px;
    color: var(--ch-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
}

.ch-cat-menu a:hover {
    background: var(--ch-bg-light);
    color: var(--ch-accent);
}

.ch-cat-menu ul ul a {
    padding-left: 22px;
    font-size: 13px;
    text-align: left;
}

/* ======================================
   BOUTON RECHERCHE
   ====================================== */

.ch-search-wrapper {
    display: inline-flex;
    align-items: center;
}

.ch-search-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: var(--ch-white);
    border: 1px solid var(--ch-border);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--ch-text);
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}

.ch-search-toggle:hover,
.ch-search-block.active + .primary-menu-container .ch-search-toggle {
    border-color: var(--ch-accent);
    color: var(--ch-accent);
    background: var(--ch-bg-light);
}

.ch-search-toggle i {
    font-size: 16px;
}

/* ======================================
   BOUTONS CTA
   ====================================== */

.ch-cta-buttons {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.ch-btn-post-ad {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 20px;
    background: var(--ch-accent);
    color: var(--ch-white);
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s;
    white-space: nowrap;
}

.ch-btn-post-ad i {
    margin: 0;
}

.ch-btn-post-ad.icon-only {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    justify-content: center;
}

.ch-btn-post-ad.icon-only i {
    font-size: 18px;
    margin: 0;
}

.ch-btn-post-ad:hover {
    background: var(--ch-accent-hover);
    color: var(--ch-white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 85, 100, 0.3);
}

.ch-btn-post-ad i {
    font-size: 14px;
}

/* Liens Connexion/Inscription */
.ch-auth-links {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 36px;
    font-size: 14px;
}

.ch-link-login,
.ch-link-register {
    color: var(--ch-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    line-height: 1;
    white-space: nowrap;
}

.ch-link-login:hover {
    color: var(--ch-accent);
}

.ch-link-register {
    color: var(--ch-accent);
    font-weight: 600;
}

.ch-link-register:hover {
    color: var(--ch-accent-hover);
}

.ch-separator {
    color: var(--ch-border);
    font-weight: 300;
}

/* Auth Icon-only */
.ch-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--ch-white);
    border: 1px solid var(--ch-border);
    border-radius: 50%;
    color: var(--ch-text);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.ch-auth-icon:hover {
    border-color: var(--ch-accent);
    color: var(--ch-accent);
    background: var(--ch-bg-light);
}

.ch-auth-icon i {
    font-size: 16px;
    margin: 0;
}

/* ======================================
   BLOC RECHERCHE FULL-WIDTH
   ====================================== */

.ch-search-block {
    display: none;
    position: relative;
    width: 100%;
    background: var(--ch-white);
    border-top: 1px solid var(--ch-border);
    border-bottom: 1px solid var(--ch-border);
    box-shadow: none;
    z-index: 999;
    animation: slideDown 0.3s ease;
}

.ch-search-block:not(.mode-dropdown) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.ch-search-block.style-gray {
    background: var(--ch-bg-light);
    border-top-color: #ddd;
    border-bottom-color: #ddd;
}

.ch-search-block.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ch-search-block-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    position: relative;
}

.ch-search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ch-text-light);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 5px;
}

.ch-search-close:hover {
    color: var(--ch-accent);
}

.ch-search-form {
    width: 100%;
}

.ch-search-fields {
    display: grid;
    grid-template-columns: 200px 1fr 150px auto;
    gap: 15px;
    align-items: end;
}

.ch-search-block:not(.mode-dropdown) .ch-search-fields {
    grid-template-columns: 200px 220px 120px 160px;
}

.ch-search-block:not(.mode-dropdown) .ch-search-field-main {
    max-width: 220px;
}

.ch-search-block:not(.mode-dropdown) .ch-search-form {
    max-width: 1100px;
    margin: 0 auto;
}

/* Desktop: 1025px and up - center form */
@media (min-width: 1025px) {
    .ch-search-block:not(.mode-dropdown) .ch-search-form {
        max-width: none;
        display: flex;
        justify-content: center;
    }
}

.ch-search-block.mode-dropdown .ch-search-fields {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: stretch;
}

/* Empêche le dropdown de coller aux bords sur petits écrans */
.ch-search-block.mode-dropdown {
    max-width: calc(100vw - 30px);
    box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	border: 1px solid var(--ch-border);
}

/* Force 15px gutters on narrow viewports, ignore inline left/width */
@media (max-width: 640px) {
    .ch-search-block.mode-dropdown {
        left: 15px !important;
        right: 15px !important;
        width: auto !important;
    }
}

/* Limite le padding latéral du bloc dropdown */
.ch-search-block.mode-dropdown .ch-search-block-content {
    padding-left: 15px;
    padding-right: 15px;
}

.ch-search-block.mode-dropdown .ch-search-submit {
    align-self: stretch;
    height: 100%;
    min-height: 48px;
}

/* Desktop 1025px+ for dropdown: 2 cols, submit spans full row */
@media (min-width: 1025px) {
    .ch-search-block.mode-dropdown .ch-search-fields {
        grid-template-columns: 1fr 1fr;
        grid-auto-flow: row;
        gap: 14px;
    }

    .ch-search-block.mode-dropdown .ch-search-submit {
        grid-column: 2;
        width: 100%;
        min-height: 46px;
        height: 46px;
        align-self: flex-end;
    }
}

/* Tablet 769–1024px for dropdown: 2 cols, button same height */
@media (min-width: 769px) and (max-width: 1024px) {
    .ch-search-block.mode-dropdown .ch-search-fields {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .ch-search-block.mode-dropdown .ch-search-submit {
        grid-column: 2;
        width: 100%;
        min-height: 46px;
        height: 46px;
        align-self: flex-end;
    }
}

.ch-search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ch-search-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ch-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ch-search-field label i {
    font-size: 14px;
    color: var(--ch-accent);
}

.ch-search-field select,
.ch-search-field input[type="search"] {
    padding: 12px 16px;
    border: 1px solid var(--ch-border);
    border-radius: 4px;
    font-size: 15px;
    color: var(--ch-text);
    background: var(--ch-white);
    transition: all 0.2s;
    line-height: 1.4;
    height: 46px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ch-search-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.ch-search-field select:focus,
.ch-search-field input[type="search"]:focus {
    outline: none;
    border-color: var(--ch-accent);
    box-shadow: 0 0 0 3px rgba(255, 85, 100, 0.1);
}

.ch-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--ch-accent);
    color: var(--ch-white);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
    white-space: nowrap;
}

.ch-search-block.mode-dropdown .ch-search-submit {
    width: 100%;
}

.ch-search-submit:hover {
    background: var(--ch-accent-hover);
    transform: translateY(-1px);
}

.ch-search-submit i {
    font-size: 16px;
}

/* Responsive - Search Block */
@media (max-width: 768px) {
    .ch-search-block-content {
        padding: 20px 15px;
    }
    
    .ch-search-fields {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .ch-search-block:not(.mode-dropdown) .ch-search-fields {
        grid-template-columns: 1fr !important;
    }
    
    .ch-search-block:not(.mode-dropdown) .ch-search-field-main {
        max-width: 100%;
    }
    
    .ch-search-field select,
    .ch-search-field input[type="search"] {
        width: 100%;
    }
    
    .ch-search-submit {
        width: 100%;
        padding: 14px 24px;
    }
    
    .ch-search-close {
        top: 10px;
        right: 10px;
    }
}

/* Tablet landscape: 769px–1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .ch-search-block-content {
        padding: 24px 16px;
    }

    .ch-search-fields {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .ch-search-block:not(.mode-dropdown) .ch-search-fields {
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .ch-search-block:not(.mode-dropdown) .ch-search-field-main {
        max-width: none !important;
        width: auto !important;
    }

    .ch-search-field {
        grid-column: auto !important;
        width: auto !important;
    }

    .ch-search-field select,
    .ch-search-field input[type="search"] {
        width: 100% !important;
    }

    .ch-search-submit {
        grid-column: auto !important;
        width: 100% !important;
        padding: 12px 24px !important;
        height: auto !important;
        align-self: flex-end;
    }

    /* Keep layout comfortably within viewport */
    .ch-search-block:not(.mode-dropdown) .ch-search-form {
        max-width: 980px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .ch-search-block-content {
        padding: 15px 10px;
    }
    
    .ch-search-field label {
        font-size: 12px;
    }
    
    .ch-search-field select,
    .ch-search-field input[type="search"] {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .ch-search-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ======================================
   SECTION PROMO - Design moderne
   ====================================== */

.ch-promo {
    background: linear-gradient(135deg, #ff5564 0%, #ff7a87 50%, #ff5564 100%);
    color: var(--ch-white);
    padding: 20px 0;
    margin-bottom: 30px;
}

.ch-promo.layout-logo-below {
    margin-top: -30px !important;
}

.ch-promo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Titre Promo */
.ch-promo-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.promo-layout1 .ch-promo-title {
    margin-bottom: 12px;
}

.promo-layout2 .ch-promo-title {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .ch-promo-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .promo-layout1 .ch-promo-title,
    .promo-layout2 .ch-promo-title {
        margin-bottom: 10px;
    }
}

@media (max-width: 1060px) {
    .ch-promo.layout-logo-below {
        margin-top: -15px !important;
        margin-bottom: 15px;
    }
}

/* Ligne 1 */
.ch-promo-row1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.promo-layout1 .ch-promo-row1 {
    margin-bottom: 12px;
}

.ch-promo-counter {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.ch-promo-tagline {
    font-size: 17px;
    margin: 0;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.2;
    max-width: 250px;
}

.promo-layout2 .ch-promo-tagline {
    max-width: none;
}

.ch-promo-form {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
	margin-bottom: 0em;
}

.ch-promo-form select,
.ch-promo-form input[type="email"] {
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    background: var(--ch-white);
    color: var(--ch-text);
    line-height: 1;
}

.ch-promo-form select {
    min-width: 130px;
    font-weight: 500;
}

.ch-promo-form input[type="email"] {
    min-width: 220px;
}

.ch-promo-form input[type="email"]::placeholder {
    color: var(--ch-text-light);
}

.ch-promo-form button {
    padding: 12px 32px;
    background: #333;
    color: var(--ch-white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ch-promo-form button:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

/* Ligne 2 */
.ch-promo-row2 {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.promo-layout1 .ch-promo-row2 {
    margin-bottom: 0;
}

/* ======================================
   LAYOUT 2 - VERTICAL
   ====================================== */

.ch-promo-row1-l2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ch-promo-counter-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.promo-layout2 .ch-promo-counter {
    flex-shrink: 0;
    font-size: 24px;
    display: inline;
}

.promo-layout2 .ch-promo-tagline {
    display: inline;
    margin: 0;
}

.ch-promo-form-l2 {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ch-promo-form-l2 select,
.ch-promo-form-l2 input[type="email"],
.ch-promo-form-l2 button {
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    background: var(--ch-white);
    color: var(--ch-text);
    line-height: 1;
}

.ch-promo-form-l2 select {
    min-width: 130px;
    font-weight: 500;
    color: var(--ch-text);
}

.ch-promo-form-l2 input[type="email"] {
    min-width: 220px;
}

.ch-promo-form-l2 input[type="email"]::placeholder {
    color: var(--ch-text-light);
}

.ch-promo-form-l2 button {
    padding: 12px 32px;
    background: #333;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--ch-white);
}

.ch-promo-form-l2 button:hover {
    background: #1a1a1a;
    transform: scale(1.05);
}

.ch-promo-row2-l2 {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 0;
}

.ch-promo-include-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.2;
    position: relative;
    padding-left: 18px;
}

.ch-promo-include-item::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

/* ======================================
   MARGES CONDITIONNELLES AVEC PROMO
   ====================================== */

.site-header.has-promo {
    margin-bottom: 0;
}

.site-header:not(.has-promo) {
    margin-bottom: 16px;
}

.ch-promo {
    margin-top: 0;
}

/* ======================================
   SPLIT MENU CUSTOM LAYOUT (2 rows)
   ====================================== */

.split-menu-custom-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.split-menu-row-1 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 0px 0;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.split-menu-left-section {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
}

.split-menu-left-section > :first-child {
    margin-left: -12px !important;
}

.split-menu-center-section {
    display: flex;
    justify-content: center;
    justify-self: center;
}

.split-menu-right-section {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.split-menu-row-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--ch-border);
    padding-top: 0px;
    margin-top: 5px;
}

/* Logo Below Nav - Center menu */
.logo-below-nav .primary-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-below-nav .logo-below-left-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.logo-below-nav .logo-below-left-section > :first-child {
    margin-left: -12px !important;
}

.logo-below-nav .menu-primary-navigation-container {
    flex-shrink: 0;
}

.logo-below-nav .logo-below-right-section {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
}

/* Logo Left Menu - All on one line */
.logo-left-menu-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    flex-wrap: nowrap;
    padding-inline: 15px;
    width: 100%;
}

.logo-left-menu-wrapper .ruki-logo {
    flex-shrink: 0;
}

.logo-left-menu .logo-left-spacer {
    flex: 1;
}

/* Logo wrapper for Logo Left Menu layout - no left margin */
.logo-left-menu .logo-wrapper:not(.mobile-logo) {
    margin-left: 0px;
}

/* Right group: All elements with proper spacing */
.logo-left-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-left-right-group .menu-primary-navigation-container {
    flex-shrink: 0;
}

.logo-left-right-group .ch-categories {
    flex-shrink: 0;
}

.logo-left-right-group .ch-search-toggle {
    flex-shrink: 0;
}

.logo-left-right-group .ch-cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ch-promo-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1;
}

.ch-promo-feature i {
    font-size: 18px;
}

/* ======================================
   RESPONSIVE
   ====================================== */

@media (max-width: 1200px) {
    .primary-menu-container {
        gap: 8px;
    }
    
    .ch-cat-toggle,
    .ch-search-toggle {
        padding: 0 12px;
    }
}

@media (max-width: 1024px) {
    .ch-search-fields {
        grid-template-columns: 1fr 1fr;
    }
    
    .ch-search-field-main {
        grid-column: 1 / -1;
    }
    
    .ch-promo-row1 {
        flex-wrap: wrap;
    }
    
    .ch-promo-row2 {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .ch-auth-links,
    .ch-search-toggle span,
    .ch-cat-toggle span {
        display: none;
    }
    
    .ch-search-toggle,
    .ch-cat-toggle {
        padding: 0 10px;
    }
    
    .ch-search-fields {
        grid-template-columns: 1fr;
    }
    
    .ch-promo-row1 {
        flex-direction: column;
        gap: 15px;
    }

    .promo-layout2 .ch-promo-row1-l2 {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ch-promo-row2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .promo-layout2 .ch-promo-row2-l2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .ch-promo-counter {
        font-size: 28px;
    }

    .promo-layout2 .ch-promo-counter {
        font-size: 26px;
    }
    
    .ch-promo-tagline {
        font-size: 15px;
        text-align: center;
    }

    .promo-layout2 .ch-promo-tagline {
        font-size: 15px;
        text-align: left;
    }
    
    .ch-promo-form {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
		border-radius: 25px;
    }

    .ch-promo-form-l2 {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
		border-radius: 25px;
    }
    
    .ch-promo-form select,
    .ch-promo-form input[type="email"],
    .ch-promo-form button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .ch-promo-row2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promo-layout2 .ch-promo-row2-l2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promo-layout2 .ch-promo-row1-l2 {
        gap: 12px;
    }
}
