
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e55a00;
    --primary-dark: #cc5000;
    --primary-light: #ff6b00;
    --secondary: #222;
    --secondary-light: #333;
    --secondary-dark: #111;
    --text: #222;
    --text-light: #666;
    --text-muted: #999;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --light: #f5f5f5;
    --lighter: #fafafa;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.2s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Native app sizing - slightly reduced for better fit */
    --nav-icon-size: 22px;
    --nav-label-size: 12px;
    --header-icon-size: 26px;
    --logo-size: 70px;
}

body {
    font-family: var(--font-family);
    background: #f2f2f7;
    overflow-x: hidden;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TOP BAR - Phone & Email (Desktop only)
   ============================================ */
.top-bar {
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    width: 100%;
    background-color: var(--white);
    margin: 0 auto;
    display: none;
}
@media (min-width: 992px) {
    .top-bar { display: block; }
}

#topBarContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.custom-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.text-left { text-align: left; }
.text-right { text-align: right; }

#contact {
    display: flex;
    align-items: center;
    gap: 10px;
}
#contact span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
#contact span i {
    color: gray;
    font-size: 15px;
}
#contact span h6 {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
}
#contact .separator h6 {
    color: var(--text-muted);
    margin: 0 6px;
}

#top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
#top-bar .top-bar-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
#top-bar .top-bar-link:hover { color: var(--primary); }
#top-bar .separator {
    color: var(--text-muted);
    margin: 0 6px;
}

/* ============================================
   HEADER - Logo + Search + Icons (native)
   ============================================ */
.header {
    background: var(--white);
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}
#headerContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.custom-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.custom-col-6 { flex: 0 0 50%; max-width: 50%; }
.custom-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.align-items-center { align-items: center; }
.gy-3 { gap: 8px 0; }

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}
.logo:hover { color: var(--primary-dark); }
.logo img {
    width: var(--logo-size);
    height: var(--logo-size);
    border-radius: 100%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    transition: transform 0.2s ease;
}
.logo img:hover { transform: scale(1.02); }

/* ============================================
   SEARCH BOX (5px border radius)
   ============================================ */
.search-box { width: 100%; position: relative; }
.search-wrapper { position: relative; width: 100%; }

.search-form {
    display: flex;
    width: 100%;
    border-radius: 50px !important;
    overflow: hidden;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--primary);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-form:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(229, 90, 0, 0.15);
}
.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    font-size: 16px;
    outline: none;
    background: var(--white);
    font-weight: 400;
    color: var(--text);
}
.search-form input::placeholder {
    color: var(--text-muted);
    font-size: 15px;
}
.search-form button {
    background: var(--primary);
    border: none;
    padding: 0 22px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.search-form button:hover { background: var(--primary-dark); }

/* ============================================
   HEADER ICONS - Wishlist & Cart
   ============================================ */
.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    align-items: center;
}
.header-icons a {
    color: var(--text-light);
    font-size: var(--header-icon-size);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}
.header-icons a:hover {
    color: var(--primary);
    transform: scale(1.05);
}
.header-icons a i { vertical-align: middle; }

.count-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--danger);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 40px;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ============================================
   NAVIGATION BAR (Desktop & Tablet)
   ============================================ */
.navbar {
    background: #000000 !important;
    position: relative;
    z-index: 99;
    padding: 0;
    width: 100%;
}
#navContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    background: #000000 !important;
}
.nav-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-scroll-wrapper::-webkit-scrollbar { display: none; }

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    min-width: 100%;
}
.nav-item { position: relative; flex: 0 0 auto; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-link i {
    font-size: 18px;
    color: var(--white);
}
.nav-link:hover {
    background: var(--primary);
    color: var(--white);
}
.nav-link:hover i { color: var(--white); }
.nav-link.active {
    background: var(--primary);
    color: var(--white);
}
.nav-link.active i { color: var(--white); }
/*==============================================
   BOTTOM NAV (Mobile native)
   ============================================ */
.bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.06);
    z-index: 9999;
    padding: 6px 0 10px 0;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}

.bottom-nav .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    gap: 3px;
    min-width: 54px;
    transition: color 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav .bottom-nav-item i {
    font-size: var(--nav-icon-size);
    color: #555;
    display: block;
    margin: 0;
}
.bottom-nav .bottom-nav-item span {
    display: block;
    font-size: var(--nav-label-size);
    color: #666;
    font-weight: 500;
    text-align: center;
}
.bottom-nav .bottom-nav-item.active { color: var(--primary) !important; }
.bottom-nav .bottom-nav-item.active i { color: var(--primary) !important; }
.bottom-nav .bottom-nav-item.active span { color: var(--primary) !important; }

.bottom-nav .bottom-nav-item .count-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--primary);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 40px;
    min-width: 18px;
    text-align: center;
    color: white;
}

/* ============================================
   HIDE bottom nav on desktop/tablet
   ============================================ */
@media (min-width: 769px) {
    .bottom-nav { display: none !important; }
    body { padding-bottom: 0; }
}

/* ============================================
   MOBILE SPECIFIC (max-width: 768px)
   ============================================ */
@media screen and (max-width: 768px) {
    /* Top bar: hide phone/email, show login/register */
    #contact { display: none !important; }
    #nav_home, #nav_brand { display: none !important; }

    .top-bar {
        padding: 4px 0;
        background: #f8f9fa;
        display: block;
        border:none !important;
    }
    #top-bar {
        display: flex;
        justify-content: flex-end;
        padding: 4px 12px;
        width: 100%;
        gap: 8px;
        border: none !important;
    }
    #top-bar .top-bar-link { display: none !important; }
    #top-bar a:not(.top-bar-link) {
        display: inline-block !important;
        font-size: 13px;
        color: #333;
        text-decoration: none;
        padding: 3px 10px;
        font-weight: 500;
    }
    #top-bar .separator { display: none !important; }

    /* Header: only search bar visible */
    .header { 
        padding: 6px 0; 
        background: white !important;
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: none !important;
    }
    #headerContainer { padding: 0 !important; max-width: 100% !important; }
    .header .custom-row { 
        margin: 0 !important; 
        padding: 0 !important; 
        flex-wrap: nowrap !important; 
        gap: 0 !important; 
    }
    .custom-col-2 { display: none !important; }
    .custom-col-4 { display: none !important; }
    .custom-col-6 { 
        flex: 0 0 100% !important; 
        max-width: 100% !important; 
        padding: 0 !important; 
    }

    .search-box { width: 100%; padding-top:5px !important;margin: 0;top:3;}
    .search-wrapper { width: 100%; padding: 0 !important; }
    .search-form {
        display: flex;
        border-radius: 5px !important;
        overflow: hidden;
        border: 2px solid #e97c34;
        background: white;
        height: 35px;
        max-width:90%;
        margin: 0 auto !important;
    }
    .search-form input {
        padding: 5px 16px;
        font-size: 16px;
    }
    .search-form input::placeholder { font-size: 14px; }
    .search-form button {
        padding: 0 18px;
        font-size: 17px;
    }

    /* Top nav (under search) – icon + label */
    .navbar {
        position: relative;
        background: white !important;
        z-index: 100;
        padding: 4px 0;
        border-top: none !important;
        border-bottom:none !important;
        margin-top:0px;
    }
    #navContainer { background: white !important; padding: 0 4px; max-width: 100%; }
    .navbar-nav {
        display: flex;
        flex-direction: row;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0;
        min-width: 100%;
        justify-content: space-around;
    }
    .nav-item { flex: 0 0 auto; }

    .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 10px;
        font-size: 11px;
        color: #333 !important;
        text-decoration: none;
        background: transparent !important;
        gap: 2px;
        white-space: nowrap;
        min-width: 50px;
    }
    .nav-link i {
        font-size: 22px !important;
        color: #555;
        margin: 0 0 2px 0;
        display: block;
    }
    .nav-link span {
        display: block !important;
        font-size: 11px;
        color: gray;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
    }
    .nav-link.active { color: #e55a00 !important; background: transparent !important; }
    .nav-link.active i { color: #e55a00 !important; }
    .nav-link.active span { color: #e55a00 !important; }
    .nav-link:hover { background: transparent !important; color: #e55a00 !important; }
    .nav-link:hover i { color: #e55a00 !important; }
    .nav-link:hover span { color: #e55a00 !important; }

    .dropdown-menu { display: none !important; }
    .separator { display: none; }

    /* Bottom nav */
    .bottom-nav .bottom-nav-item i { font-size: 24px; }
    .bottom-nav .bottom-nav-item span { font-size: 12px; }
}

/* ============================================
   VERY SMALL SCREENS (max-width: 400px)
   ============================================ */
@media screen and (max-width: 400px) {
    .nav-link { padding: 4px 6px; min-width: 40px; }
    .nav-link i { font-size: 18px !important; }
    .nav-link span { font-size: 10px !important; }
    .bottom-nav .bottom-nav-item { padding: 2px 6px; min-width: 38px; }
    .bottom-nav .bottom-nav-item i { font-size: 20px !important; }
    .bottom-nav .bottom-nav-item span { font-size: 10px !important; }
    .search-form { height: 40px; }
    .search-form input { padding: 6px 12px; font-size: 14px; }
    .search-form input::placeholder { font-size: 12px; }
    .search-form button { padding: 0 14px; font-size: 15px; }
    body { padding-bottom: 60px; }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media screen and (max-width: 768px) and (orientation: landscape) {
    body { padding-bottom: 55px; }
    .nav-link { padding: 4px 8px; min-width: 40px; }
    .nav-link i { font-size: 18px !important; }
    .nav-link span { font-size: 10px !important; }
    .bottom-nav .bottom-nav-item i { font-size: 20px !important; }
    .bottom-nav .bottom-nav-item span { font-size: 10px !important; }
    .search-form { height: 40px; }
}

/* ============================================
   TABLET (769px - 991px) – keep desktop nav style
   ============================================ */
@media screen and (min-width: 769px) and (max-width: 991px) {
    .logo img { width: 58px; height: 58px; }
    .search-form { height: 46px; }
    .search-form input { font-size: 15px; }
    .nav-link { padding: 10px 16px; font-size: 14px; }
    .nav-link i { font-size: 16px; }
    .header-icons a { font-size: 24px; }
    .bottom-nav { display: none !important; }
    #top-bar .top-bar-link { display: inline-flex !important; }
    .header-icons { display: flex !important; }
    .logo img { display: inline-block !important; }
    .nav-link {
        flex-direction: row;
        padding: 10px 16px;
        font-size: 14px;
        color: white !important;
        background: transparent !important;
        gap: 6px;
    }
    .nav-link i { font-size: 16px !important; color: white !important; margin: 0 4px 0 0; display: inline-block; }
    .nav-link span { display: inline !important; font-size: 14px; color: white !important; }
    .nav-link.active { background: #e55a00 !important; color: white !important; }
    .nav-link.active i { color: white !important; }
    .nav-link.active span { color: white !important; }
    .nav-link:hover { background: #e55a00 !important; color: white !important; }
    .nav-link:hover i { color: white !important; }
    .nav-link:hover span { color: white !important; }
    #navContainer { background: #000000 !important; }
    #contact { display: flex !important; }
    body { padding-bottom: 0; }
}

/* ============================================
   DESKTOP (992px+)
   ============================================ */
@media screen and (min-width: 992px) {
    .top-bar { display: block; }
    .header { position: relative; top: auto; padding: 0; }
    .search-box { max-width: 100%; }
    .navbar { position: relative; border-top: none; border-bottom: none; background: #000000 !important; }
    body { padding-bottom: 0; }
    .logo img { display: inline-block !important; }
    .nav-link {
        flex-direction: row;
        padding: 14px 20px;
        font-size: 15px;
        color: white !important;
        background: transparent !important;
        gap: 8px;
    }
    .nav-link i { font-size: 18px !important; color: white !important; margin: 0 5px 0 0; display: inline-block; }
    .nav-link span { display: inline !important; font-size: 15px; color: white !important; font-weight: 500; }
    .nav-link.active { background: #e55a00 !important; color: white !important; }
    .nav-link.active i { color: white !important; }
    .nav-link.active span { color: white !important; }
    .nav-link:hover { background: #e55a00 !important; color: white !important; }
    .nav-link:hover i { color: white !important; }
    .nav-link:hover span { color: white !important; }
    .header-icons { display: flex !important; justify-content: flex-end; gap: 28px; align-items: center; }
    #navContainer { background: #000000 !important; }
    #top-bar { justify-content: flex-end; }
    #contact { display: flex !important; }
    .bottom-nav { display: none !important; }
    .header-icons a { color: #333; font-size: 26px; }
    #top-bar .top-bar-link { display: inline-flex !important; }
    .custom-col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .custom-col-6 { flex: 0 0 50%; max-width: 50%; }
    .custom-col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.position-relative { position: relative; }
.text-center { text-align: center; }
.container { padding-left: 15px; padding-right: 15px; max-width: 1200px; margin: 0 auto; width: 100%; }

/* Remove focus ring */
.nav-link:focus,
.dropdown-item:focus,
.search-form input:focus,
button:focus {
    outline: none;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    .nav-link:active {
        background: var(--primary);
    }
    .nav-scroll-wrapper {
        -webkit-overflow-scrolling: touch;
        cursor: grab;
    }
}

.navbar,
.navbar .container,
.navbar-nav,
.nav-scroll-wrapper {
    overflow: visible !important;
}

.navbar .container[style*="background:black"] {
    background: #000 !important;
}
v