/** css
* @file: /website/static/main/style.css
*/

body {
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}
body, html {
    height: 100%;
    margin: 0;
}

:root {
    --primary: #ff6700;
    --primary-dark: #a64300;
    --primary-light: #ff8d40;
    --primary-lighter: #ffab73;
    --secondary: #00a287;
    --secondary-dark: #006957;
    --secondary-light: #34d0b6;
    --secondary-lighter: #5ed0bd;
    --text: #333;
    --text-light: #777;
    --text-lighter: #fff;
    --bg: #fff;
    --footer-bg: #222;
    --footer-text: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border: 1px solid #eee;
    --radius: 4px;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Base styles */
.main-menu {
    background: var(--bg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    text-indent: -9999px;
    width: 120px;
    height: 25px;
    background-image: url(/share/static/img/logo-black.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Desktop controls */
.desktop-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.city-selector {
    position: relative;
}

.city-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--radius);
}

.city-toggle:hover {
    background: #f5f5f5;
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    z-index: 100;
    display: none;
}

.city-selector:hover .city-dropdown {
    display: block;
}

.city-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.city-dropdown li {
    padding: 8px 15px;
}

.city-dropdown li.active {
    background: #f9f9f9;
}

.city-dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    text-decoration: none;
}

.city-dropdown svg {
    flex-shrink: 0;
}

.lang-switcher,
.currency-switcher {
    display: flex;
    gap: 10px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: var(--radius);
}

.lang-switcher a,
.currency-switcher a {
    padding: 5px 10px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 2px;
}

.lang-switcher a.active,
.currency-switcher a.active {
    background: var(--primary);
    color: var(--text-lighter);
    font-weight: 500;
}

.lang-switcher a:hover,
.currency-switcher a:hover {
    color: var(--primary-light);
}

/* Mobile controls */
.mobile-lang-switcher {
    display: none;
    gap: 10px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: var(--radius);
}

.mobile-lang-switcher a {
    padding: 5px 10px;
    color: var(--text-light);
    text-decoration: none;
}

.mobile-lang-switcher a.active {
    background: var(--primary);
    color: var(--text-lighter);
    font-weight: 500;
}

/* Menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text);
}

.menu-toggle .close {
    display: none;
}

/* Desktop menu */
.desktop-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.desktop-menu-list li {
    position: relative;
}

.desktop-menu-list a {
    display: block;
    padding: 15px 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.desktop-menu-list li.active a,
.desktop-menu-list a:hover {
    color: var(--primary);
}

.desktop-menu-list li.active a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-city-selector {
    margin-bottom: 20px;
    border-bottom: var(--border);
    padding-bottom: 15px;
}

.mobile-city-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
}

.mobile-city-dropdown {
    display: none;
    padding: 10px 0;
}

.mobile-city-dropdown.open {
    display: block;
}

.mobile-city-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-city-dropdown li {
    padding: 8px 0;
}

.mobile-city-dropdown li.active a {
    color: var(--primary);
}

.mobile-city-dropdown a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    padding: 5px 0;
}

.mobile-currency-switcher {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: var(--border);
}

.mobile-currency-switcher span {
    color: var(--text-light);
    font-size: 14px;
}

.currency-options {
    display: flex;
    gap: 10px;
}

.currency-options a {
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: var(--radius);
    color: var(--text-light);
    text-decoration: none;
}

.currency-options a.active {
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-weight: 500;
}

.mobile-menu-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.mobile-menu-list li {
    border-bottom: var(--border);
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    display: block;
    padding: 15px 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-list li.active a {
    color: var(--primary);
}

.mobile-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-footer-menu li {
    margin-bottom: 10px;
}

.mobile-footer-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
}

.mobile-footer-menu li.active a {
    color: var(--primary);
}

/* Footer */
.main-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    text-indent: -9999px;
    width: 120px;
    height: 25px;
    background-image: url(/share/static/img/logo-while.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;

    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
}

.footer-nav li.active a,
.footer-nav a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
}

.footer-currency-switcher {
    display: flex;
    gap: 10px;
    background: #333;
    padding: 5px;
    border-radius: var(--radius);
}

.footer-currency-switcher a {
    padding: 5px 10px;
    color: var(--footer-text);
    text-decoration: none;
    border-radius: 2px;
}

.footer-currency-switcher a.active {
    background: var(--primary-dark);
    color: white;
}

/* Responsive */
@media (max-width: 1000px) {
    .desktop-controls,
    .desktop-menu-list {
        display: none;
    }

    .mobile-lang-switcher {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle .hamburger {
        display: block;
    }

    .menu-toggle.active .hamburger {
        display: none;
    }

    .menu-toggle.active .close {
        display: block;
        z-index: 1000;
        position: relative;
    }
}

@media (min-width: 1001px) {
    .mobile-menu,
    .mobile-lang-switcher {
        display: none !important;
    }
}