/* ==========================================
   Top Bar & Language Switcher
   ========================================== */
.top-bar {
    background: var(--dark-bg, #111827);
    color: #e5e7eb;
    padding: 10px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-right-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-social {
    display: flex;
    gap: 12px;
}

.top-social a {
    color: #9ca3af;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.top-social a:hover {
    background: var(--primary-color, #d9381e);
    color: #fff;
}

/* Custom Google Translate Dropdown Styling */
.gt-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.gt-wrapper .gt-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #d1d5db;
    white-space: nowrap;
}

/* Dropdown Wrapper & White Arrow Icon */
.gt-select-box {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.gt-select-box .gt-arrow {
    position: absolute;
    right: 8px;
    color: #ffffff !important;
    font-size: 11px;
    pointer-events: none;
    z-index: 2;
}

#google_translate_element {
    display: inline-block;
    line-height: 1;
}

/* Hide Default Google UI Artifacts & Top Banner Gap */
.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
}

.goog-te-gadget span, 
.goog-te-gadget-icon,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Styled Select Box Reset */
.goog-te-gadget .goog-te-combo,
#google_translate_element select {
    margin: 0 !important;
    padding: 4px 26px 4px 10px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
    
    /* Cross-browser default arrow remove */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.goog-te-gadget .goog-te-combo:hover,
#google_translate_element select:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.goog-te-gadget .goog-te-combo option,
#google_translate_element select option {
    background-color: #111827 !important;
    color: #ffffff !important;
    padding: 6px !important;
}

/* ==========================================
   Main Navigation Header
   ========================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    width: 275px;
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-text h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color, #d9381e);
    line-height: 1.1;
    margin: 0;
}

.brand-text p {
    font-size: 0.82rem;
    color: var(--text-muted, #6b7280);
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-color, #1f2937);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color, #d9381e);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    position: relative;
    background: #f3f4f6;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cart-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-color, #d9381e);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-toggle { 
        display: block; 
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
    }
    .nav-menu.show { 
        display: flex; 
    }
}
/* Mobile Responsive for Top Bar & Header */
@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-info {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .top-right-wrap {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .gt-wrapper {
        border-left: none;
        padding-left: 0;
        margin-top: 5px;
    }
}