:root {
    --primary: #a02020;
    --primary-dark: #6b1010;
    --primary-darker: #500001;
    --primary-light: #faeaea;
    --primary-lighter: #fbe7e7;

    --secondary-orange: #8a0719;  
    --secondary-orange-dark: #9c3e10;
    --secondary-orange-light: #fbece0;

    --accent-gold: #c89b3c;   
    --accent-gold-light: #f4e7c8;

    --bg-main: #f5f5f5;  
    --bg-card: #ffffff;
    --bg-gray: #fafafa;

    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-placeholder: #c2c5cd;
    --text-white: #ffffff;

    --border-color: #e5e5e5;
    --border-light: #f0f0f0;

    --success: #58b778;
    --danger: #c9302c;

    --shadow-sm: 0 1px 3px rgba(160, 32, 32, .08);
    --shadow-md: 0 2px 12px rgba(160, 32, 32, .1);
    --shadow-lg: 0 4px 20px rgba(160, 32, 32, .15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --container: 1200px;
    --header-h: 80px;
    --nav-h: 48px;
}
.container {
    width:1200px;
    margin: 0 auto;
}
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    height: 36px;
    line-height: 36px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: rgba(255, 255, 255, .85);
    margin: 0 8px;
}

.top-bar a:hover {
    color: var(--accent-gold);
}

.top-bar .top-left span {
    margin-right: 16px;
}

.top-bar .top-right i {
    color: var(--accent-gold);
    margin-right: 4px;
}
.header {
    background: #fff;
    border-bottom: 2px solid var(--primary);
    padding: 18px 0;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 212px;
}
.logo-icon img{
    width: 100%;
    height: 100%;
}
.logo-text { 
    margin-left: 10px;
}
.logo-text .name {
    font-size: 23px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 2px;
}
.logo-text .slogan {
    font-size: 12px;
    color: var(--text-tertiary);
    letter-spacing: 4px;
    margin-top: 8px;
}

.search-box {
    flex: 1;
    max-width: 620px;
}
.search-body {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
    line-height: 1;
}
.search-body form{
    width: 100%;
    border: 0;
    outline: none;
    display: none;
}
.search-body form.active {
    display: flex;
}
.search-body:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 32, 32, .08);
}
.search-icon {
    width: 18px;
    height: 18px;
    margin-left: 16px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}
.search-input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    border: none;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    background: transparent;
    border-radius: 24px 0 0 24px;
}
.search-input::placeholder { color: var(--text-placeholder); }
.search-type-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 14px;
    border-right: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .2s;
    user-select: none;
}
.search-type-dropdown:hover,
.search-type-dropdown.active { color: var(--primary); }
.search-type-dropdown .arrow {
    font-size: 10px;
    transition: transform .2s;
}
.search-type-dropdown.active .arrow { transform: rotate(180deg); }
.search-type-dropdown .dropdown-menu {
    position: absolute;
    top: 47px;
    right: 0;
    min-width: 100px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    border: 1px solid var(--border-light);
    display: none;
    z-index: 1000;
    overflow: hidden;
    padding: 4px 0;
}
.search-type-dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 24px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
    transform: rotate(45deg);
    z-index: 1;
}
.search-type-dropdown:hover .dropdown-menu,
.search-type-dropdown.active .dropdown-menu { display: block; }
.dropdown-menu .dropdown-item {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item.active {
    background: var(--primary-light);
    color: var(--primary);
}
.search-btn {
    width: 90px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 0 24px 24px 0;
    transition: background .2s;
    flex-shrink: 0;
    cursor: pointer;
    border: none;
    outline: none;
}
.search-btn:hover { background: var(--primary-dark); }

.header-tel { text-align: center; }
.header-tel .label {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
    font-weight: bold;
}
.header-tel .phone {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
    font-family: "DIN Alternate", Arial, sans-serif;
    letter-spacing: 1px;
}
.main-nav {
    background: var(--primary);
    color: #fff;
    height: var(--nav-h);
    line-height: var(--nav-h);
}
.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list {
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: block;
    padding: 0 14px;
    height: var(--nav-h);
    line-height: var(--nav-h);
    color: rgba(255, 255, 255, .95);
    font-size: 14px;
    transition: background .2s;
    white-space: nowrap;
}
.nav-item > a:hover,
.nav-item.active > a {
    background: var(--primary-dark);
    color: var(--accent-gold);
}
.nav-item .icon-home {
    color: var(--accent-gold);
    margin-right: 4px;
    font-size: 13px;
}

