/* Modern Design Theme - Horizontal Menu Restoration */
:root {
    --primary-blue: #0061ff;
    --primary-gradient: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    --bg-body: #f8fafc;
    --text-main: #334155;

    --header-height: auto;

    --font-stack: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-stack) !important;
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-left: 0 !important;
    /* RESET SIDEBAR PADDING */
    padding-top: 0 !important;
}

/* --- ICONS --- */
.fa,
.fas,
.far,
.fab {
    font: normal normal normal 14px/1 FontAwesome !important;
}

[class^="pe-7s-"],
[class*=" pe-7s-"] {
    font-family: 'Pe-icon-7-stroke' !important;
}

/* --- HEADER FIXO GRADIENTE --- */
.header-v5 {
    background: var(--primary-gradient) !important;
    position: relative !important;
    /* Back to relative or fixed depending on preference, usually relative for standard layout */
    top: auto;
    left: auto;
    width: 100%;
    z-index: 1001;
    padding-bottom: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* White Text in Header */
.header-v5 *,
.header-v5 a,
.header-v5 i,
.welcome-msg,
.header-top a {
    color: #ffffff !important;
}

.header-top {
    background: rgba(0, 0, 0, 0.2) !important;
}

.logo-container img {
    filter: none !important;
    margin-top: 5px;
    max-height: 60px;
    background: transparent !important;
}

/* Search Bar */
.search-form .form-search {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.search-form .form-search input {
    color: white !important;
}

/* === HORIZONTAL MENU RESTORATION === */
.header-menu {
    display: block !important;
    background: rgba(0, 0, 0, 0.1) !important;
    /* Slight dark tint for menu bar */
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    /* Not fixed */
    top: auto !important;
    left: auto !important;
    border: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.header-menu .container {
    width: 1170px !important;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* Menu List - Horizontal */
.nav-main {
    text-align: left;
    /* Or center */
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    height: auto !important;
}

.nav-main>li {
    display: inline-block !important;
    /* Horizontal */
    float: none !important;
    /* Use inline-block for centering capability or float left */
    margin: 0 !important;
    border: none !important;
    position: relative !important;
}

/* Main Links */
.nav-main>li>a {
    display: block !important;
    padding: 15px 20px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    background: transparent !important;
    line-height: 20px;
}

.nav-main>li>a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px;
}

/* Icons in Menu - Optional, hide if standard horizontal menu usually doesn't have them */
.nav-main i {
    display: none !important;
}

/* Hide icons for cleaner top bar */

/* Dropdowns (Standard Hover) */
.nav-main ul.dropdown-menu,
.nav-main ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 4px;
    padding: 10px 0 !important;
    min-width: 200px;
    z-index: 2000;
    border: 1px solid #e2e8f0;
}

.nav-main li:hover>ul.dropdown-menu,
.nav-main li:hover>ul.sub-menu {
    display: block !important;
}

.nav-main ul.dropdown-menu li {
    display: block;
    width: 100%;
    border: none;
}

.nav-main ul.dropdown-menu li a {
    color: #334155 !important;
    /* Dark Text */
    padding: 8px 20px !important;
    display: block;
    font-size: 13px;
    text-transform: capitalize;
}

.nav-main ul.dropdown-menu li a:hover {
    background: #f1f5f9 !important;
    color: var(--primary-blue) !important;
}

/* Buttons */
a[style*="background: green"],
a[style*="background-color: green"],
.prar a {
    background: var(--primary-gradient) !important;
    background-color: transparent !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 6px rgba(0, 97, 255, 0.3) !important;
    border-radius: 50px !important;
    font-weight: bold;
    padding: 8px 15px !important;
}

/* Remove Product Icons */
.product-content .icon-links,
.product-content .li-quickview,
.product-content .btn-quickview,
.product-content .link-wishlist,
.product-content .link-compare {
    display: none !important;
}

/* General */
.magestore-bannerslider,
#after-header,
.main-container {
    margin-top: 20px;
}

.footer-v1 {
    background: #0f172a !important;
    color: #94a3b8;
}