/*************************************************************/

/* === KachoTech Header === */
/* === KachoTech Header v2 === */

/* Container constraint for all header sections */
.ast-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}
button.kt-search-cat-toggle {
    
}
button.kt-search-cat-toggle:hover {
    color: #111111 !important;
}

@media (min-width: 768px) {
	.ast-container {
		padding: 0 24px;
	}
}

/* Dashicons inside header */
span.kt-top-pill-text {
    display: flex;
}
img.custom-logo {
    width: 150px;
}
input.kt-search-input {
    border: 0px !important;
    height: 45px;
}
.kt-header-icon .dashicons,
.kt-search-cat-icon.dashicons,
.kt-search-button-icon.dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 1;
}

/* Make search container relative so suggestions sit under it */
.kt-search-form-wrap {
    position: relative;
}

/* AJAX suggestions dropdown */
.kt-search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 18, 32, 0.16);
    z-index: 60;
    max-height: 360px;
    overflow-y: auto;
    border: 1px solid #e4e6ec;
}

.kt-search-suggestions-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.kt-search-suggestion-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #151821;
    font-size: 13px;
}

.kt-search-suggestion-item a:hover {
    background: #f6f7fa;
}

.kt-search-suggestion-thumb {
    flex-shrink: 0;
}

.kt-search-suggestion-thumb img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #f6f7fa;
}

.kt-search-suggestion-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kt-search-suggestion-title {
    font-weight: 500;
}

.kt-search-suggestion-price {
    font-size: 12px;
    color: #ec234a;
}

/* (keep all previous kt-header / kt-search / kt-nav styles you already added) */



.kt-header {
    background: linear-gradient(180deg, rgba(2,6,23,0.95) 0%, rgba(5,8,22,0.85) 100%);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 998;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.kt-header.hide {
    transform: translateY(-100%);
}

.kt-header.show {
    transform: translateY(0);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Top bar */

.kt-top-bar {
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    display: none;
}

.kt-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 15px;
    gap: 16px;
}

.kt-top-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: #2b1424;
    border: 1px solid #3b2436;
    padding: 4px 12px;
    font-weight: 600;
}

.kt-top-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ff6a00;
    color: #fff;
    font-size: 11px;
    padding: 2px 7px;
    font-weight: 700;
}

.kt-top-pill-sub {
    font-size: 12px;
    opacity: 0.9;
    padding-left: 10px;
    padding-top: 1.5px;
}

.kt-top-info {
    flex: 1;
    text-align: right;
    font-size: 11px;
    opacity: 0.9;
}

/* Main header */

.kt-header-main {
    background: transparent;
    box-shadow: none;
}

.kt-header-main-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    height: 60px;
}

/* Menu toggle (hamburger icon) */
.kt-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin-right: 6px;
    flex-shrink: 0;
}

.kt-menu-toggle span {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.kt-menu-toggle:hover span {
    background: #ff2446;
}

/* Menu toggle open state (transform to X) */
.kt-menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.kt-menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.kt-menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu overlay: show nav when menu is opened */
body.kt-menu-open .kt-nav-bar { display: block !important; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: rgba(2,6,23,0.96); z-index: 9999; overflow:auto; }
/* extra class toggled by JS so we can force visibility regardless of CSS load order */
.kt-nav-bar.kt-open { display: block !important; position: fixed; top: 60px; left: 0; right: 0; bottom: 0; background: rgba(2,6,23,0.96); z-index: 9999; overflow:auto; }
body.kt-menu-open .kt-nav-inner { padding: 18px 15px; }
body.kt-menu-open .kt-primary-menu { flex-direction: column; gap: 12px; padding: 12px 0; }
body.kt-menu-open .kt-primary-menu li a { color: #fff; font-size: 16px; }
.kt-nav-bar.kt-open .kt-primary-menu { flex-direction: column; gap: 12px; padding: 12px 0; }
.kt-nav-bar.kt-open .kt-primary-menu li a { color: #fff; font-size: 16px; }

/* Logo */

.kt-logo-wrap {
    display: flex;
    align-items: center;
    width: auto;
    flex-shrink: 0;
}

.kt-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

.kt-logo-img-wrap img {
    max-height: 150px;
    width: 150px;
}

.kt-logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #333;
}

.kt-logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.kt-logo-kacho {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.16em;
}

.kt-logo-tech {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.4em;
}

/* Search area */

.kt-search-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.kt-search-form {
    width: 100%;
    max-width: 780px;
    overflow: visible;
}

.kt-search-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 28px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
}

/* Category pill */

.kt-search-cat {
    position: relative;
    flex-shrink: 0;
}

.kt-search-cat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    padding: 12px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    height: 100%;
}
.kt-search-cat-toggle:hover {
    color: #ec234a;
    background-color: #02061700;
}
.kt-search-cat-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.kt-search-cat-label {
    white-space: nowrap;
}

.kt-search-cat-caret {
    font-size: 11px;
}

/* Category dropdown */

.kt-search-cat-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    width: 220px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e4e6ec;
    box-shadow: 0 10px 25px rgba(15, 18, 32, 0.12);
    z-index: 1000;
}

.kt-search-cat-menu ul {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.kt-search-cat-menu li {
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.kt-search-cat-menu li:hover {
    background: #f6f7fa;
}

/* Input */

.kt-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 13px;
    color: #ffffff;
}

.kt-search-input:focus {
    outline: none;
}

.kt-search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Search button – red pill on right */

.kt-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    padding: 0 26px;
    background: #ff2446; /* brand red */
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.kt-search-button-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* Icons on right */

.kt-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kt-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}

.kt-header-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.kt-header-icon:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

/* Badges (heart + cart) */

.kt-header-badge {
    position: relative;
    text-decoration: none;
}

.kt-header-badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 20px;
    border-radius: 999px;
    background: #ff2446;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav bar */

.kt-nav-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    display: none;
}

.kt-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 500;
}

/* Menu */

.kt-primary-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.kt-primary-menu li a {
    text-decoration: none;
    color: #151821;
    transition: color .15s ease;
}

.kt-primary-menu li.current a,
.kt-primary-menu li a:hover {
    color: #ff2446;
}

/* Trust line */

.kt-nav-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 10px;
    color: #6b6f76;
}

/* Responsive */

@media (max-width: 1024px) {
    .kt-header-main-inner {
        flex-wrap: wrap;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .kt-top-bar-inner,
    .kt-header-main-inner,
    .kt-nav-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .kt-header-main-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .kt-logo-wrap {
        justify-content: center;
    }

    .kt-search-wrap {
        width: 100%;
    }

    .kt-header-actions {
        justify-content: flex-end;
    }

    .kt-nav-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* --- Search bar layout polish --- */

.kt-search-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
    border-radius: 999px;
    border: 1px solid #e4e6ec;
    background: #ffffff;
    overflow: visible;
}

/* Category pill */
.kt-search-cat {
    position: relative;
    min-width: 190px;
    border-right: 1px solid #e4e6ec;
}

.kt-search-cat-toggle {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
}

.kt-search-cat-icon {
    font-size: 16px;
}

.kt-search-cat-caret {
    margin-left: auto;
    font-size: 11px;
    color: #9ca3af;
}

/* Category menu dropdown */
.kt-search-cat-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 4px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 18, 32, 0.1);
    border: 1px solid #e4e6ec;
    z-index: 1000;
    min-width: 220px;
}

.kt-search-cat-menu ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.kt-search-cat-menu li {
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    color: #111827;
}

.kt-search-cat-menu li:hover {
    background: #f6f7fa;
}

.kt-search-cat-menu li.is-active {
    background: #fff6f8;
    color: #ec234a;
    font-weight: 600;
}

/* Search input */
.kt-search-input {
    border: 0;
    height: 46px;
    padding: 0 16px;
    font-size: 14px;
    color: #111827;
}

.kt-search-input:focus {
    outline: none;
}

/* Search button – no "jump", hover black */
.kt-search-button {
    height: 46px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: #ec234a;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    /* kill movement / shadow animations */
    transition: background-color 0.18s ease, color 0.18s ease;
    box-shadow: none;
    transform: none;
}

.kt-search-button-icon.dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.kt-search-button:hover,
.kt-search-button:focus {
    background: #111111; /* black on hover */
    color: #ffffff;
    box-shadow: none;
    transform: none;
}

/* Remove any hover "lift" from wrapper if present */
.kt-search-form-wrap,
.kt-search-form-wrap:hover {
    box-shadow: none;
    transform: none;
}

/* --- AJAX suggestions styling --- */

.kt-search-form-wrap {
    position: relative;
    overflow: visible;
}

.kt-search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e4e6ec;
    box-shadow: 0 18px 40px rgba(15, 18, 32, 0.12);
    max-height: 360px;
    overflow-y: auto;
    z-index: 80;
}

.kt-search-suggestions-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.kt-search-suggestion-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    font-size: 13px;
}

.kt-search-suggestion-item a:hover {
    background: #f6f7fa;
}

.kt-search-suggestion-thumb img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f9fafb;
    object-fit: contain;
}

.kt-search-suggestion-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kt-search-suggestion-title {
    font-weight: 500;
}

.kt-search-suggestion-price {
    font-size: 12px;
    color: #ec234a;
}

/* Loading & empty state */
.kt-search-loading,
.kt-search-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: #6b7280;
}

.kt-search-spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid #e4e6ec;
    border-top-color: #ec234a;
    animation: kt-spin 0.7s linear infinite;
}

@keyframes kt-spin {
    to { transform: rotate(360deg); }
}

/* ========== SIDEBAR STYLES ========== */

.kt-sidebar-backdrop {
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
}

.kt-sidebar-backdrop.hidden {
    display: none !important;
}

.kt-sidebar-backdrop {
    display: flex;
}

#kt-sidebar {
    background: #020617;
    color: #fff;
    max-height: 100vh;
    overflow-y: auto;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
}

#kt-sidebar-backdrop {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

#kt-sidebar-backdrop.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========== UTILITY CLASSES ========== */

.hidden {
    display: none !important;
}

.rounded-full {
    border-radius: 999px;
}

.rounded-2xl {
    border-radius: 16px;
}

.rounded-3xl {
    border-radius: 24px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 4px;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 12px;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.py-1\.5 {
    padding-top: 6px;
    padding-bottom: 6px;
}

.text-white {
    color: #fff;
}

.text-center {
    text-align: center;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.transition {
    transition: all 0.3s ease;
}

.hover\:text-white:hover {
    color: #fff;
}

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

@media (max-width: 768px) {
    .kt-header-main-inner {
        padding: 8px 12px;
        gap: 8px;
    }

    .kt-search-wrap {
        min-width: 200px;
    }

    .kt-logo-wrap {
        display: none;
    }

    .kt-header-actions {
        gap: 8px;
    }

    .kt-nav-bar {
        display: none;
    }

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

    .kt-open-sidebar {
        display: inline-flex !important;
    }
}

@media (min-width: 769px) {
    .kt-open-sidebar {
        display: none !important;
    }

    #kt-sidebar-backdrop {
        display: none !important;
    }
}

/* ============================================ */
/* MOBILE RESPONSIVE - Clean Responsive Design */
/* ============================================ */

/* Header container - full width background, content with max-width */
.kt-header-main {
    width: 100%;
}

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
    /* Hide desktop search bar on mobile */
    .kt-search-wrap {
        display: none !important;
    }

    /* Make header main row compact and flexible on mobile */
    .ast-container.kt-header-main-inner {
        display: flex;
        justify-content: space-between;
        padding: 12px 16px;
        gap: 0;
        max-width: 100%;
    }

    /* Logo takes priority on mobile - left aligned */
    .kt-logo-wrap {
        flex: 0 1 auto;
        min-width: 0;
        order: 1;
    }

    .kt-logo-wrap img {
        max-width: 100px;
        height: auto;
    }

    .kt-logo-placeholder {
        font-size: 12px;
        font-weight: bold;
    }

    /* Header actions on mobile - right aligned */
    .kt-header-actions {
        display: flex;
        gap: 0;
        flex-shrink: 0;
        order: 4;
        margin-left: auto;
    }

    /* Search icon button on mobile - white color, inside actions */
    .kt-search-icon-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: none;
        cursor: pointer;
        color: white;
        font-size: 20px;
    }

    .kt-search-icon-mobile:hover {
        opacity: 0.7;
    }

    .kt-search-icon-mobile .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 20px;
        color: white;
    }

    .kt-header-icon {
        padding: 8px;
        font-size: 16px;
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .kt-header-icon:hover {
        opacity: 0.8;
    }

    .kt-header-icon .dashicons {
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 20px;
        color: white;
    }

    .kt-header-badge {
        position: relative;
    }

    .kt-header-badge-count {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 10px;
        background: #ff2446;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    /* Search Modal - Mobile with blur background */
    .kt-search-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 60px;
    }

    .kt-search-modal[hidden] {
        display: none !important;
    }

    /* Blur background overlay */
    .kt-search-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1;
    }

    .kt-search-modal-content {
        position: relative;
        z-index: 2;
        background: white;
        width: 90%;
        max-width: 500px;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        animation: slideDown 0.3s ease-out;
    }

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

    .kt-search-modal-close {
        position: absolute;
        top: 12px;
        right: 12px;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #999;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: color 0.2s;
    }

    .kt-search-modal-close:hover {
        color: #333;
    }

    /* Search form mobile styling - simple search only */
    .kt-search-form-mobile {
        margin-top: 10px;
    }

    .kt-search-form-wrap-mobile {
        position: relative;
    }

    .kt-search-inner-mobile {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .kt-search-input-mobile {
        flex: 1;
        padding: 12px 14px !important;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        min-height: 42px;
        font-family: inherit;
        color: #333;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .kt-search-input-mobile::placeholder {
        color: #999;
    }

    .kt-search-input-mobile:focus {
        outline: none;
        border-color: #ff2446;
        box-shadow: 0 0 0 3px rgba(255, 36, 70, 0.1);
    }

    .kt-search-button-mobile {
        padding: 10px 12px;
        background: #ff2446;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        min-width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .kt-search-button-mobile:hover {
        background: #e01a38;
    }

    .kt-search-button-mobile .dashicons {
        width: 18px;
        height: 18px;
        font-size: 18px;
        line-height: 18px;
    }
}



/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Show desktop search on tablet */
    .kt-search-wrap {
        display: flex !important;
        flex: 1;
    }

    /* Hide mobile search icon on tablet */
    .kt-search-icon-mobile {
        display: none !important;
    }

    /* Hide search modal on tablet */
    .kt-search-modal {
        display: none !important;
    }

    .kt-header-main-inner {
        display: flex;
    }

    .kt-logo-wrap {
        flex-shrink: 0;
    }

    .kt-logo-wrap img {
        max-width: 100px;
    }

    .kt-header-actions {
        display: flex;
        gap: 12px;
        flex-shrink: 0;
    }

    .kt-search-button-text {
        display: inline;
    }
}

/* Tablet & Larger: 768px+ */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Show desktop search on tablet */
    .kt-search-wrap {
        display: flex !important;
        flex: 1;
    }

    /* Hide mobile search icon on tablet */
    .kt-search-icon-mobile {
        display: none !important;
    }

    /* Hide search modal on tablet */
    .kt-search-modal {
        display: none !important;
    }

    .kt-header-main-inner {
        display: flex;
        align-items: center;
        max-width: 100%;
    }

    .kt-logo-wrap {
        flex-shrink: 0;
    }

    .kt-logo-wrap img {
        max-width: 100px;
    }

    .kt-search-wrap {
        flex: 1;
        min-width: 0;
    }

    .kt-header-actions {
        display: flex;
        gap: 8px;
        flex-shrink: 0;
    }

    .kt-search-button-text {
        display: inline;
    }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
    /* Show desktop search on desktop */
    .kt-search-wrap {
        display: flex !important;
        flex: 1;
        min-width: 200px;
    }

    /* Hide mobile search icon on desktop */
    .kt-search-icon-mobile {
        display: none !important;
    }

    /* Hide search modal on desktop */
    .kt-search-modal {
        display: none !important;
    }

    .kt-header-main-inner {
        display: flex;
        align-items: center;
        max-width: 100%;
    }

    .kt-logo-wrap {
        flex: 0 0 auto;
        flex-shrink: 0;
    }

    .kt-logo-wrap img {
        max-width: 150px;
    }

    .kt-search-wrap {
        flex: 1;
        min-width: 200px;
    }

    .kt-header-actions {
        display: flex;
        gap: 12px;
        flex-shrink: 0;
        align-items: center;
    }

    .kt-header-icon {
        flex-shrink: 0;
    }

    .kt-header-badge-count {
        min-width: 18px;
        height: 18px;
        top: -5px;
        right: -5px;
    }

    .kt-search-button-text {
        display: inline;
    }
}

/* Print styles */
@media print {
    .kt-header,
    .kt-sidebar-backdrop,
    #kt-sidebar {
        display: none !important;
    }
}

