.ubh, .ubh-nav {
    --ubh-navy: #0f172a;
    --ubh-orange: #ff6600;
    --ubh-orange-dark: #e05a00;
    --ubh-orange-soft: #fff1e8;
    --ubh-ink: #111827;
    --ubh-text: #374151;
    --ubh-muted: #6b7280;
    --ubh-line: #e5e7eb;
    --ubh-soft: #f6f7fb;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.ubh *, .ubh *::before, .ubh *::after, .ubh-nav *, .ubh-nav *::before, .ubh-nav *::after { box-sizing: border-box; }
.ubh ul, .ubh-nav ul { list-style: none; margin: 0; padding: 0; }
.ubh a, .ubh-nav a { text-decoration: none !important; }
.ubh-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ubh-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.ubh-top { background: var(--ubh-navy); color: #cbd5e1; font-size: 12.5px; }
.ubh-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.ubh-usps { display: flex; align-items: center; min-width: 0; overflow: hidden; }
.ubh-usps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; color: #e2e8f0; }
.ubh-usps li + li { margin-left: 18px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.ubh-usps svg { width: 16px; height: 16px; color: var(--ubh-orange); flex: none; }
.ubh-usps b { color: var(--ubh-orange); font-weight: 600; }
.ubh-contact { display: flex; align-items: center; gap: 20px; flex: none; }
.ubh-contact li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ubh-contact svg { width: 15px; height: 15px; color: var(--ubh-orange); flex: none; }
.ubh-contact a { color: #fff !important; font-weight: 500; }
.ubh-contact a:hover { color: var(--ubh-orange) !important; }

/* ---------- Main row ---------- */
.ubh-main { background: #fff; border-bottom: 1px solid var(--ubh-line); }
.ubh-main__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.ubh-burger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ubh-ink) !important; flex: none; }
.ubh-burger svg { width: 24px; height: 24px; }
.ubh-logo { flex: none; display: block; }
.ubh-logo img { display: block; height: 46px; width: auto; max-width: 200px; }

.ubh-search { flex: 1; max-width: 560px; display: flex; align-items: stretch; margin: 0; border: 1.5px solid var(--ubh-line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.ubh-search:focus-within { border-color: var(--ubh-orange); box-shadow: 0 0 0 4px rgba(255, 102, 0, .12); }
.ubh-search input {
    flex: 1; min-width: 0; height: 48px; margin: 0; padding: 0 16px; border: 0 !important; outline: none; box-shadow: none !important;
    background: transparent; font: 400 14.5px 'Poppins', sans-serif; color: var(--ubh-ink);
}
.ubh-search input::placeholder { color: #9ca3af; }
.ubh-search input::-webkit-search-cancel-button { display: none; }
.ubh-search button {
    flex: none; width: 56px; margin: 4px; border: 0; border-radius: 9px; background: var(--ubh-orange); color: #fff;
    display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.ubh-search button:hover { background: var(--ubh-orange-dark); }
.ubh-search button svg { width: 20px; height: 20px; }

.ubh-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; flex: none; }

/* Cart */
.ubh-cart { position: relative; }
.ubh-cart__link { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ubh-ink) !important; padding: 6px 4px; }
.ubh-cart__icon { position: relative; display: block; }
.ubh-cart__icon svg { width: 26px; height: 26px; display: block; }
.ubh-cart__count {
    position: absolute; top: -7px; right: -10px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--ubh-orange); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 19px; text-align: center; border: 2px solid #fff;
}
.ubh-cart__label { font-size: 12px; font-weight: 500; color: var(--ubh-text); }
.ubh-cart__link:hover .ubh-cart__label { color: var(--ubh-orange); }
.ubh-cart__drop {
    position: absolute; right: -10px; top: 100%; width: 320px; padding: 16px; margin-top: 8px; z-index: 1100;
    background: #fff; border: 1px solid var(--ubh-line); border-radius: 14px; box-shadow: 0 20px 48px rgba(16, 24, 40, .16);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.ubh-cart__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ubh-cart:hover .ubh-cart__drop, .ubh-cart:focus-within .ubh-cart__drop { opacity: 1; visibility: visible; transform: none; }
.ubh-cart__items { max-height: 260px; overflow-y: auto; }
.ubh-cart__items li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ubh-line); }
.ubh-cart__items strong { display: block; font-size: 13px; color: var(--ubh-ink); line-height: 1.35; }
.ubh-cart__items span { font-size: 12px; color: var(--ubh-muted); }
.ubh-cart__items b { color: var(--ubh-orange); font-size: 14px; white-space: nowrap; }
.ubh-cart__total { display: flex; justify-content: space-between; padding: 12px 0; font-size: 15px; font-weight: 700; color: var(--ubh-ink); }
.ubh-cart__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ubh-cart__btn { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 10px; border: 1.5px solid var(--ubh-line); color: var(--ubh-ink) !important; font-size: 13px; font-weight: 600; }
.ubh-cart__btn:hover { border-color: var(--ubh-ink); }
.ubh-cart__btn--primary { background: var(--ubh-orange); border-color: var(--ubh-orange); color: #fff !important; }
.ubh-cart__btn--primary:hover { background: var(--ubh-orange-dark); border-color: var(--ubh-orange-dark); }
.ubh-cart__empty { margin: 0; padding: 22px 0; text-align: center; font-size: 14px; color: var(--ubh-muted); }

/* Request a quote */
.ubh-quote {
    display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px;
    background: var(--ubh-orange); color: #fff !important; font-size: 15px; font-weight: 600; white-space: nowrap;
    box-shadow: 0 10px 22px rgba(255, 102, 0, .28); transition: background .2s, transform .2s;
}
.ubh-quote:hover { background: var(--ubh-orange-dark); transform: translateY(-1px); }
.ubh-quote svg { width: 18px; height: 18px; transition: transform .2s; }
.ubh-quote:hover svg { transform: translateX(3px); }
.ubh-quote__short { display: none; }

/* ---------- Nav ---------- */
.ubh-nav { background: #fff; border-bottom: 1px solid var(--ubh-line); position: relative; z-index: 1000; }
.ubh-nav.is-fixed { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 8px 24px rgba(16, 24, 40, .08); animation: ubh-drop-in .25s ease; }
@keyframes ubh-drop-in { from { transform: translateY(-100%); } to { transform: none; } }
.ubh-menu { display: flex; align-items: stretch; justify-content: space-between; }
.ubh-menu > li { position: relative; }
.ubh-menu > li > a {
    position: relative; display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 4px;
    font-size: 15px; font-weight: 500; color: var(--ubh-ink) !important; white-space: nowrap; transition: color .2s;
}
.ubh-menu > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--ubh-orange); transform: scaleX(0); transition: transform .25s;
}
.ubh-menu > li:hover > a, .ubh-menu > li.is-active > a { color: var(--ubh-orange) !important; }
.ubh-menu > li:hover > a::after, .ubh-menu > li.is-active > a::after { transform: scaleX(1); }
.ubh-home { width: 18px; height: 18px; }
.ubh-chev { width: 15px; height: 15px; transition: transform .2s; }
.ubh-menu > li:hover > a .ubh-chev { transform: rotate(180deg); }

/* Dropdown (level 2) */
.ubh-drop {
    position: absolute; left: -14px; top: 100%; min-width: 270px; padding: 10px !important; z-index: 1001;
    background: #fff; border: 1px solid var(--ubh-line); border-radius: 0 0 14px 14px; box-shadow: 0 24px 48px rgba(16, 24, 40, .14);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.ubh-drop--small { min-width: 200px; }
.ubh-has-drop:hover > .ubh-drop, .ubh-has-drop:focus-within > .ubh-drop { opacity: 1; visibility: visible; transform: none; }
.ubh-drop > li { position: relative; }
.ubh-drop a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: var(--ubh-text) !important; transition: background .15s, color .15s;
}
.ubh-drop > li:hover > a { background: var(--ubh-orange-soft); color: var(--ubh-orange) !important; }
.ubh-chev--right { width: 14px; height: 14px; color: #9ca3af; }
.ubh-drop > li:hover .ubh-chev--right { color: var(--ubh-orange); }

/* Products panel (level 3) */
.ubh-sub {
    position: absolute; left: calc(100% + 10px); top: -10px; width: 280px; max-height: 480px; overflow-y: auto; padding: 10px !important;
    background: #fff; border: 1px solid var(--ubh-line); border-radius: 14px; box-shadow: 0 24px 48px rgba(16, 24, 40, .14);
    opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.ubh-sub::before { content: ""; position: absolute; left: -12px; top: 0; bottom: 0; width: 12px; }
.ubh-has-sub:hover > .ubh-sub { opacity: 1; visibility: visible; transform: none; }
.ubh-sub a { font-size: 13.5px; padding: 8px 12px; }
.ubh-sub a:hover { background: var(--ubh-soft); color: var(--ubh-orange) !important; }
.ubh-sub__all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--ubh-line); }
.ubh-sub__all a { color: var(--ubh-orange) !important; font-weight: 600; }
.ubh-sub::-webkit-scrollbar { width: 4px; }
.ubh-sub::-webkit-scrollbar-thumb { background: var(--ubh-orange); border-radius: 4px; }

/* ==========================================================================
   Mobile menu (hamburger drawer) — partials/mobile/navigation.blade.php
   Theme ki classes (mobile-menu-*) se khulta hai; yahan sirf look override hota hai.
   ========================================================================== */
.ubm {
    --ubm-orange: #ff6600; --ubm-orange-dark: #e05a00; --ubm-orange-soft: #fff1e8;
    --ubm-ink: #111827; --ubm-text: #374151; --ubm-muted: #6b7280; --ubm-line: #eef0f3; --ubm-soft: #f6f7fb;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.ubm *, .ubm *::before, .ubm *::after { box-sizing: border-box; }
.ubm ul { list-style: none; margin: 0; padding: 0; }
.ubm a { text-decoration: none !important; }
.ubm .mobile-menu-overlay { background: #0f172a; }
.mmenu-active .ubm .mobile-menu-overlay { opacity: .55; }
/* Page ko side mein dhakelna band — drawer overlay ki tarah upar aata hai */
.mmenu-active .page-wrapper { margin-left: 0 !important; margin-right: 0 !important; }

.ubm .ubm-panel {
    display: flex; flex-direction: column; gap: 16px;
    width: 86vw; max-width: 360px; height: 100%; padding: 18px 18px 22px !important;
    background: #fff !important; box-shadow: 12px 0 40px rgba(15, 23, 42, .25);
    transform: translateX(-105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    overflow-y: auto; overscroll-behavior: contain;
}
.mmenu-active .ubm .ubm-panel { transform: translateX(0); }
/* Lambi list mein search/button sikudne na paayein */
.ubm .ubm-panel > * { flex-shrink: 0; }
.ubm-nav { flex: 1 0 auto; }

.ubm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ubm-line); }
.ubm-logo img { display: block; height: 34px; width: auto; max-width: 170px; }
.ubm .ubm-close {
    position: static !important; opacity: 1 !important; flex: none;
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ubm-soft); color: var(--ubm-ink) !important; transition: background .2s, color .2s, transform .2s;
}
.ubm .ubm-close:hover { background: var(--ubm-orange); color: #fff !important; transform: rotate(90deg); }
.ubm .ubm-close svg { width: 20px; height: 20px; }

.ubm-search { display: flex; margin: 0; border: 1.5px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ubm-search:focus-within { border-color: var(--ubm-orange); box-shadow: 0 0 0 4px rgba(255, 102, 0, .12); }
.ubm-search input {
    flex: 1; min-width: 0; height: 46px; margin: 0; padding: 0 14px; border: 0 !important; outline: none; box-shadow: none !important;
    background: transparent !important; color: var(--ubm-ink) !important; font: 400 14px 'Poppins', sans-serif;
}
.ubm-search input::placeholder { color: #9ca3af; }
.ubm-search input::-webkit-search-cancel-button { display: none; }
.ubm-search button { flex: none; width: 46px; margin: 4px; border: 0; border-radius: 9px; background: var(--ubm-orange); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ubm-search button svg { width: 19px; height: 19px; }

.ubm-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px;
    background: var(--ubm-orange); color: #fff !important; font-size: 15px; font-weight: 600; box-shadow: 0 10px 22px rgba(255, 102, 0, .25);
}
.ubm-cta:hover { background: var(--ubm-orange-dark); }
.ubm-cta svg { width: 18px; height: 18px; }

/* Menu list */
.ubm-list > li + li { border-top: 1px solid var(--ubm-line); }
.ubm-link {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 4px; cursor: pointer; list-style: none;
    font-size: 15px; font-weight: 500; color: var(--ubm-ink) !important; transition: color .2s;
}
.ubm-link::-webkit-details-marker { display: none; }
.ubm-link > svg:first-child {
    width: 36px; height: 36px; padding: 8px; flex: none; border-radius: 10px; background: var(--ubm-soft); color: var(--ubm-orange);
    transition: background .2s, color .2s;
}
.ubm-link span { flex: 1; }
.ubm-link:hover, .ubm-acc[open] > .ubm-link { color: var(--ubm-orange) !important; }
.ubm-link:hover > svg:first-child, .ubm-acc[open] > .ubm-link > svg:first-child { background: var(--ubm-orange); color: #fff; }
.ubm-chev { width: 18px; height: 18px; flex: none; color: #9ca3af; transition: transform .25s, color .2s; }
.ubm-acc[open] > summary > .ubm-chev { transform: rotate(180deg); color: var(--ubm-orange); }
.ubm-acc summary { list-style: none; }
.ubm-acc summary::-webkit-details-marker { display: none; }

/* Level 2: categories */
.ubm-sub { margin: 0 0 12px 48px !important; padding-left: 12px !important; border-left: 2px solid var(--ubm-orange-soft); }
.ubm-acc--inner > summary, .ubm-sub__link {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 6px; cursor: pointer;
    font-size: 14px; font-weight: 500; color: var(--ubm-text) !important; border-radius: 8px;
}
.ubm-acc--inner > summary:hover, .ubm-sub__link:hover, .ubm-acc--inner[open] > summary { color: var(--ubm-orange) !important; background: var(--ubm-orange-soft); }
.ubm-acc--inner .ubm-chev { width: 16px; height: 16px; }
.ubm-sub__all { color: var(--ubm-orange) !important; font-weight: 600; }

/* Level 3: products */
.ubm-prods { margin: 4px 0 8px !important; padding: 6px !important; border-radius: 10px; background: var(--ubm-soft); }
.ubm-prods a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: var(--ubm-text) !important; }
.ubm-prods a:hover { background: #fff; color: var(--ubm-orange) !important; }
.ubm-prods__all a { color: var(--ubm-orange) !important; font-weight: 600; }

/* Bottom help card */
.ubm-help { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: #0f172a; color: #cbd5e1; }
.ubm-help strong { color: #fff; font-size: 15px; }
.ubm-help > span { font-size: 12.5px; color: #94a3b8; }
.ubm-help__mail { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 13.5px; color: #fff !important; word-break: break-all; }
.ubm-help__mail svg { width: 16px; height: 16px; flex: none; color: var(--ubm-orange); }
.ubm-help__chat {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 8px; border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font: 600 14px 'Poppins', sans-serif; cursor: pointer;
}
.ubm-help__chat:hover { background: #fff; color: #0f172a; }
.ubm-help__chat svg { width: 17px; height: 17px; }

/* ---------- Purane header ki global rules jo doosre pages pe kaam aati thin ---------- */
.breadcrumb-nav { padding: 10px 0 !important; margin-bottom: 0 !important; }
.page-wrapper, main.main { margin-top: 0 !important; }

/* ---------- Responsive ---------- */
/* Top bar ko ek line mein fit rakhne ke liye chhoti screens pe kam USPs */
@media (max-width: 1399px) {
    .ubh-usps li:nth-child(4) { display: none; }
}

@media (max-width: 1199px) {
    .ubh-main__inner { gap: 20px; }
    .ubh-usps li:nth-child(3) { display: none; }
    .ubh-menu > li > a { font-size: 14px; }
}

@media (max-width: 991px) {
    .ubh-nav-holder { display: none; }
    .ubh-top__inner { justify-content: center; min-height: 36px; }
    .ubh-contact { display: none; }
    .ubh-usps { position: relative; width: 100%; height: 36px; justify-content: center; }
    .ubh-usps li, .ubh-usps li:nth-child(3), .ubh-usps li:nth-child(4) {
        display: flex; position: absolute; inset: 0; justify-content: center; margin: 0 !important; padding: 0 !important; border: 0 !important;
        opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s;
    }
    .ubh-usps li.is-active { opacity: 1; transform: none; }
    .ubh-main__inner { gap: 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
    .ubh-burger { display: inline-flex; margin-left: -8px; }
    .ubh-logo img { height: 38px; }
    .ubh-actions { gap: 12px; }
    /* Mobile pe search header mein nahi, hamburger menu ke andar hai */
    .ubh-search { display: none; }
    .ubh-cart__label { display: none; }
    .ubh-cart__drop { display: none; }
    .ubh-quote { height: 42px; padding: 0 16px; font-size: 14px; box-shadow: none; }
}

@media (max-width: 575px) {
    .ubh-container { padding: 0 14px; }
    .ubh-main__inner { gap: 10px; }
    .ubh-logo { min-width: 0; flex: 0 1 auto; }
    .ubh-logo img { height: 30px; max-width: 118px; }
    .ubh-actions { gap: 10px; }
    .ubh-quote { height: 40px; padding: 0 14px; font-size: 13px; }
    .ubh-quote svg { display: none; }
    .ubh-quote__long { display: none; }
    .ubh-quote__short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
    .ubh *, .ubh-nav *, .ubh-nav { transition: none !important; animation: none !important; }
}
