

:root {
    --mob-brand:        var(--main-color-one);   /* brand green — adjust to match yours */
    --mob-accent:       var(--main-color-one);   /* coral / badge colour */
    --mob-text:         #1a1a1a;
    --mob-muted:        #666;
    --mob-border:       #e8e8e3;
    --mob-bg:           #ffffff;
    --mob-footer-bg:    #fafaf8;
    --mob-overlay:      rgba(0, 0, 0, 0.48);
    --mob-header-h:     58px;
    --mob-panel-w:      82vw;       /* max 340px clamped below */
    --mob-radius:       10px;
    --mob-transition:   0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Hide desktop header on mobile ── */
@media (max-width: 991.98px) {
    .header-style-01 .navbar-area {
        display: none !important;
    }
    .header-style-01 .topbar-area {      /* adjust selector to match your topbar wrapper */
        display: none !important;
    }
    
    .header-top{
         display: none !important;
        
        
    }
    
    .mob-oc__auth{
        
        display: none !important;
    }
    
    .mob-oc__footer .mob-oc__divider{
        
        display: none !important;
    }
    
    .mob-icon-btn{
        
        display: none !important;
        
    }
}

/* ── Mobile sticky header bar ── */
.mobile-header {
    display: none;             /* shown via d-flex d-lg-none utility */
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
    height: var(--mob-header-h);
    background: var(--mob-bg);
    border-bottom: 1px solid var(--mob-border);
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.mobile-header__logo img {
    max-height: 36px;
    width: auto;
    display: block;
}

.mobile-header__right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icon buttons in header */
.mob-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mob-text);
    font-size: 18px;
    text-decoration: none;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.mob-icon-btn i {
    font-size: 18px;
    line-height: 1;
}

/* Badge count */
.mob-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--mob-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* Hamburger button */
.mob-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.mob-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--mob-text);
    border-radius: 2px;
    transition: transform var(--mob-transition), opacity var(--mob-transition);
    transform-origin: center;
}

/* Hamburger → X animation when open */
.mob-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mob-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mob-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Overlay ── */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: var(--mob-overlay);
    opacity: 0;
    transition: opacity var(--mob-transition);
    -webkit-tap-highlight-color: transparent;
}

.mob-overlay.is-visible {
    display: block;
}

.mob-overlay.is-open {
    opacity: 1;
}

/* ── Off-canvas panel ── */
.mob-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1055;
    width: min(var(--mob-panel-w), 340px);
    height: 100%;
    background: var(--mob-bg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--mob-transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.mob-offcanvas.is-open {
    transform: translateX(0);
}

/* Panel header */
.mob-oc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--mob-border);
    flex-shrink: 0;
}

.mob-oc__logo img {
    max-height: 32px;
    width: auto;
    display: block;
}

.mob-oc__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f2ef;
    border: none;
    cursor: pointer;
    color: var(--mob-text);
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.mob-oc__close:hover {
    background: #e8e8e3;
}

/* Nav list */
.mob-oc__nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.mob-oc__nav ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

/* Override any inherited li/a styles from main stylesheet */
.mob-oc__nav ul li {
    border-bottom: 1px solid var(--mob-border);
    margin: 0 !important;
    padding: 0 !important;
}

.mob-oc__nav ul li a,
.mob-oc__nav ul li > span {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--mob-text) !important;
    text-decoration: none !important;
    background: none !important;
    transition: background 0.15s, color 0.15s;
    line-height: 1.3;
}

.mob-oc__nav ul li a::after,
.mob-oc__nav ul li > span::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #bbb;
    border-top: 1.5px solid #bbb;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-left: 8px;
    transition: border-color 0.15s;
}

.mob-oc__nav ul li a:hover,
.mob-oc__nav ul li > span:hover {
    background: #f7f7f5 !important;
}

.mob-oc__nav ul li.current-menu-item > a,
.mob-oc__nav ul li.active > a {
    color: var(--mob-brand) !important;
    font-weight: 500 !important;
}

.mob-oc__nav ul li.current-menu-item > a::after,
.mob-oc__nav ul li.active > a::after {
    border-color: var(--mob-brand);
}

/* Sub-menu accordion */
.mob-oc__nav ul ul {                /* sub-menu */
    padding: 0 !important;
    background: #f9f9f7;
    display: none;
}

.mob-oc__nav ul li.menu-item-has-children > a {
    position: relative;
}

.mob-oc__nav ul li.menu-item-has-children.sub-open > ul {
    display: block;
}

.mob-oc__nav ul ul li {
    border-bottom: 1px solid #efefeb;
}

.mob-oc__nav ul ul li a {
    padding-left: 32px !important;
    font-size: 14px !important;
    color: var(--mob-muted) !important;
}

/* ── Footer / Topbar info ── */
.mob-oc__footer {
    flex-shrink: 0;
    border-top: 1px solid var(--mob-border);
    background: var(--mob-footer-bg);
    padding: 14px 18px;
}

/* Auth buttons */
.mob-oc__auth {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.mob-oc__auth-btn {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    border-radius: var(--mob-radius);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.mob-oc__auth-btn--outline {
    border: 1.5px solid var(--mob-brand);
    color: var(--mob-brand) !important;
    background: transparent;
}

.mob-oc__auth-btn--outline:hover {
    background: rgba(107, 158, 120, 0.08);
}

.mob-oc__auth-btn--fill {
    background: var(--mob-brand);
    color: #fff !important;
    border: 1.5px solid var(--mob-brand);
}

.mob-oc__auth-btn--fill:hover {
    background: #5a8f68;
    border-color: #5a8f68;
}

/* Divider */
.mob-oc__divider {
    height: 1px;
    background: var(--mob-border);
    margin: 12px 0;
}

/* Contact rows */
.mob-oc__contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--mob-muted);
    margin-bottom: 7px;
}

.mob-oc__contact-row svg {
    flex-shrink: 0;
    color: var(--mob-accent);
}

.mob-oc__contact-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Bottom row: language + social */
.mob-oc__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Language switcher — scope overrides */
.mob-oc__footer .language-switcher select,
.mob-oc__footer .nice-select {
    font-size: 12px !important;
    height: 30px !important;
    line-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 20px !important;
    background: #f0f0ec !important;
    border: none !important;
    color: var(--mob-text) !important;
    min-width: 90px;
}

/* Social icons */
.mob-oc__social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mob-oc__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mob-accent);
    color: #fff !important;
    font-size: 11px;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.mob-oc__social a:hover {
    opacity: 0.85;
}

/* ── Body scroll lock when panel open ── */
body.mob-no-scroll {
    overflow: hidden;
}

/* ── Only show mobile components on small screens ── */
@media (min-width: 992px) {
    .mobile-header,
    .mob-overlay,
    .mob-offcanvas {
        display: none !important;
    }
}


