/* 全局样式 */
:root {
    --primary-color: #b22e25;
    --secondary-color: #faf0e2;
    --text-color: #333;
    --accent-color: #e7b368;
    --light-color: #fff;
    --dark-color: #222;
    --border-color: #e0cca6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'SimSun', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* 促销条幅样式 */
.promo-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fffaeb 0%, #fff3e0 100%);
    border: 2px solid #ffe58f;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
}

.promo-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.promo-content {
    flex: 1;
}

.promo-title {
    font-size: 1.4rem;
    color: #d48806;
    margin-bottom: 5px;
}

.promo-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .promo-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .promo-title {
        font-size: 1.2rem;
    }
    
    .promo-text {
        font-size: 0.9rem;
    }
}

/* 按钮样式 */
.cta-button, .order-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover, .order-link:hover {
    background-color: #901f18;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wechat-button {
    background-color: #2aae67;
    margin-left: 15px;
}

.wechat-button:hover {
    background-color: #238c53;
}

.order-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.order-btn:hover {
    background-color: #d5a55c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 语言切换 */
.language-switcher {
    display: flex;
    gap: 10px;
    z-index: 100;
}

.language-btn {
    background-color: transparent;
    border: 1px solid var(--light-color);
    color: var(--light-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-btn.active {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.language-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 导航栏样式 */
nav {
    background-color: var(--dark-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.logo {
    width: 100px;
    /* height: auto; */
    /* vertical-align: middle; */
    /* display: block; */
    /* padding: 5px 0; */
}

.menu {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    flex: 1;
}

.menu li {
    position: relative;
}

.menu li a {
    color: var(--light-color);
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 15px 20px;
    text-align: center;
}

.menu li a:hover, .menu li a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.menu li a.order-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    margin: 8px 0;
    border-radius: 30px;
    padding: 8px 20px;
}

.menu li a.order-btn:hover {
    background-color: #d5a55c;
    color: var(--dark-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    padding: 15px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 3px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    color: var(--light-color);
    text-align: center;
    padding: 30px 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/menu1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}

@keyframes subtle-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-content {
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
    animation: fade-in 1s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: 15px;
    position: relative;
}

.hero-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.hero-title h1 {
    font-size: 2.8rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--light-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-title .slogan {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.hero-content h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--light-color);
    font-weight: 600;
    margin-top: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    color: #f8f8f8;
}

.hero-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-description p {
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
    font-size: 1.2rem;
}

.hero-description p:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 关于我们部分样式 */
.about-section {
    padding: 40px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 20px;
}

.about-story, .about-values {
    flex: 1;
    min-width: 300px;
}

.about-story h3, .about-values h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-story h3::after, .about-values h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
}

.about-story p, .about-values p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 菜单区域样式 */
.menu-section {
    padding: 40px 0;
    background-color: var(--secondary-color);
    background-image: url('images/cloud-pattern.png');
    background-repeat: repeat-x;
    background-position: top, bottom;
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.menu-category {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.menu-category:hover {
    transform: translateY(-10px);
}

.menu-category h3 {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 12px;
    font-size: 1.4rem;
}

.menu-item {
    padding: 12px 15px;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 10px;
}

.item-price.hot::after {
    content: "🌶️";
    margin-left: 5px;
}

.item-description {
    font-size: 0.9rem;
    color: #777;
    margin-top: 5px;
}

.menu-options {
    padding: 20px;
    margin-top: 15px;
}

.menu-options h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.menu-options p {
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 1rem;
}

/* 学生特惠样式 */
.menu-category:has(h3 span[lang="zh"]:contains("学生特惠")) {
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.menu-category:has(h3 span[lang="zh"]:contains("学生特惠"))::before {
    content: "特惠";
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.en .menu-category:has(h3 span[lang="en"]:contains("Student Special"))::before {
    content: "SPECIAL";
}

.menu-category:has(h3 span[lang="zh"]:contains("学生特惠")) .menu-item {
    background-color: rgba(231, 179, 104, 0.1);
}

.menu-category:has(h3 span[lang="zh"]:contains("学生特惠")) .item-price {
    color: #e74c3c;
    font-weight: bold;
}

/* 店铺位置区域样式 */
.location-section {
    padding: 40px 0;
    background-color: var(--light-color);
}

.location-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.address, .phone {
    display: flex;
    align-items: flex-start;
    font-size: 1.2rem;
}

.address-details {
    display: flex;
    flex-direction: column;
}

.location-note {
    margin-top: 8px;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(231, 179, 104, 0.15);
    padding: 5px 10px;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
}

.footer-location-note {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-style: italic;
}

.address i, .phone i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

/* 联系我们区域样式 */
.contact-section {
    padding: 40px 0;
    background-color: var(--secondary-color);
    background-image: url('images/cloud-pattern.png');
    background-repeat: repeat-x;
    background-position: bottom;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    background-color: var(--light-color);
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
}

.contact-info-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-header h3 {
    margin: 0;
    color: var(--light-color);
    font-size: 1.5rem;
}

.contact-info-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-detail i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-person {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.contact-note {
    font-size: 1rem;
    color: #666;
    margin: 15px 0;
    text-align: center;
}

.contact-note.highlight {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(231, 179, 104, 0.15);
    padding: 8px 15px;
    border-radius: 6px;
}

.info-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.contact-item .qrcode-container {
    margin-top: auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

.contact-qrcode {
    max-width: 180px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.contact-qrcode:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-item:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-item:last-child {
        grid-column: 1;
    }
    
    .contact-qrcode {
        max-width: 150px;
    }
    
    .contact-info-header {
        padding: 15px;
    }
    
    .contact-info-header i {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .contact-info-content {
        padding: 15px;
    }
    
    .contact-detail {
        font-size: 1rem;
    }
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact .order-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 多语言内容 */
[lang="en"] {
    display: none;
}

.en [lang="zh"] {
    display: none;
}

.en [lang="en"] {
    display: block;
}

.en span[lang="en"], .en a[lang="en"], .en div[lang="en"], .en p[lang="en"] {
    display: inline-block;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content {
        padding: 25px;
        max-width: 600px;
    }
    
    .hero-title h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .menu li a {
        padding: 15px 15px;
    }
}

@media (max-width: 768px) {
    .nav-right {
        margin-right: 60px;
        z-index: 1001;
    }
    
    .cart-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .cart-text {
        display: none;
    }
    
    .language-switcher {
        margin-right: 0;
        margin-left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-left {
        width: 100%;
        justify-content: space-between;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 70px;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        margin-left: 0;
        z-index: 999;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu li {
        width: 100%;
    }
    
    .menu li a {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-content {
        padding: 15px;
        max-width: 95%;
    }
    
    .hero {
        padding: 25px 0;
    }
    
    .hero-title h1 {
        font-size: 2.2rem;
    }
    
    .hero-title .slogan {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-top: 8px;
    }
    
    .hero-description p {
        font-size: 1rem;
        padding-left: 12px;
    }
    
    .menu-section, .location-section, .contact-section, .about-section {
        padding: 30px 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-item:last-child {
        grid-column: 1;
    }
    
    .contact-item .qrcode-container {
        justify-content: center;
    }
    
    .item-name, .item-price {
        font-size: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-story, .about-values {
        min-width: 100%;
    }
    
    .wechat-qrcode {
        max-width: 180px;
    }
}

@media (max-width: 576px) {
    .nav-right {
        position: absolute;
        top: 15px;
        right: 60px;
        gap: 10px;
    }
    
    .cart-btn {
        padding: 5px 8px;
    }
    
    .language-switcher {
        position: static;
    }
    
    .language-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .header-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-title h1 {
        font-size: 2.2rem;
    }
    
    .hero-title .slogan {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .wechat-button {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 15px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .menu-container {
        grid-template-columns: 1fr;
    }
    
    .wechat-qrcode {
        max-width: 150px;
    }
    
    .hero-description p {
        font-size: 1rem;
        padding-left: 12px;
    }
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background-color: #901f18;
    transform: translateY(-3px);
}

.cart-count {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 0.8rem;
    margin-left: 8px;
}

/* 菜单项"加入购物车"按钮 */
.add-to-cart-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.add-to-cart-btn:hover {
    background-color: #901f18;
    transform: translateY(-2px);
}

/* 购物车弹窗样式 */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: auto;
}

.cart-modal.active {
    display: block;
}

.cart-content {
    position: relative;
    background-color: var(--light-color);
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: modal-appear 0.3s ease;
}

@keyframes modal-appear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.quantity-btn {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}

.quantity-value {
    margin: 0 10px;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--primary-color);
}

.cart-empty {
    text-align: center;
    padding: 20px 0;
    color: #888;
    font-style: italic;
}

.cart-total {
    display: flex;
    justify-content: flex-end;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0;
}

.total-price {
    color: var(--primary-color);
    margin-left: 10px;
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-clear, .cart-checkout {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-clear {
    background-color: #f8f8f8;
    color: var(--text-color);
    border: 1px solid #ddd;
}

.cart-clear:hover {
    background-color: #eee;
}

.cart-checkout {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 30px;
}

.cart-checkout:hover {
    background-color: #901f18;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 响应式购物车样式 */
@media (max-width: 768px) {
    .cart-content {
        margin: 15% auto;
        width: 95%;
        padding: 15px;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .cart-item-info {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cart-item-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-clear, .cart-checkout {
        width: 100%;
    }
}

/* 菜品选择按钮 */
.select-combo-btn {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 10px;
    font-weight: bold;
}

.select-combo-btn:hover {
    background-color: #d5a55c;
    transform: translateY(-2px);
}

/* 菜品选择弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow: auto;
}

.modal.active {
    display: block;
}

.modal-content {
    position: relative;
    background-color: var(--light-color);
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: modal-appear 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    margin-bottom: 20px;
}

.combo-info {
    margin-bottom: 20px;
    background-color: rgba(231, 179, 104, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.combo-info h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 8px;
}

.combo-info p {
    margin: 0;
    color: var(--text-color);
}

.dish-selection {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    background-color: #fafafa;
}

.meat-selection {
    border: 1px solid rgba(178, 46, 37, 0.3);
}

.veg-selection {
    border: 1px solid rgba(42, 174, 103, 0.3);
}

.drink-selection {
    border: 1px solid rgba(52, 152, 219, 0.3);
    margin-top: 20px;
}

.dish-selection h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.selection-hint {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

.dish-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.dish-option {
    position: relative;
}

.dish-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.dish-option label {
    display: block;
    padding: 10px 15px;
    background-color: var(--light-color);
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dish-option label:hover {
    background-color: #f0f0f0;
}

.dish-option input[type="checkbox"]:checked + label {
    background-color: rgba(231, 179, 104, 0.2);
    border-color: var(--accent-color);
    font-weight: bold;
}

.meat-options .dish-option input[type="checkbox"]:checked + label {
    background-color: rgba(178, 46, 37, 0.1);
    border-color: var(--primary-color);
}

.veg-options .dish-option input[type="checkbox"]:checked + label {
    background-color: rgba(42, 174, 103, 0.1);
    border-color: #2aae67;
}

.drink-options .dish-option input[type="checkbox"]:checked + label {
    background-color: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.dish-option.disabled label {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.error-message {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    min-height: 20px;
}

.add-combo-to-cart {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-combo-to-cart:hover {
    background-color: #901f18;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-combo-to-cart:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 组合餐点餐说明样式 */
.combo-instructions {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(231, 179, 104, 0.1);
    border-radius: 8px;
}

.combo-instructions h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.combo-instructions ol {
    margin: 0;
    padding-left: 25px;
}

.combo-instructions li {
    margin-bottom: 8px;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
    
    .dish-options {
        grid-template-columns: 1fr;
    }
}

/* 语言选择器样式 */
[lang="en"] {
    display: none;
}

.en [lang="zh"] {
    display: none;
}

.en [lang="en"] {
    display: block;
}

/* 对于购物车按钮中的div元素特殊处理 */
.cart-btn div[lang="zh"], .cart-btn div[lang="en"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.en .cart-btn div[lang="zh"] {
    display: none;
}

.en .cart-btn div[lang="en"] {
    display: flex;
}

html:not(.en) .cart-btn div[lang="en"] {
    display: none;
}

html:not(.en) .cart-btn div[lang="zh"] {
    display: flex;
}

/* 菜品SEO优化描述样式 */
.dish-seo-description {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff9e6;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.meat-dish-descriptions, .veg-dish-descriptions {
    margin-bottom: 30px;
}

.dish-seo-description h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--border-color);
    text-align: center;
}

.dish-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.dish-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1e5cb;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dish-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--accent-color);
}

.meat-dish:before {
    background-color: var(--primary-color);
}

.veg-dish:before {
    background-color: #2aae67;
}

.dish-card h5 {
    font-size: 1.1rem;
    color: #8c3a2b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #f1e5cb;
    padding-bottom: 8px;
}

.dish-card h5::before {
    content: "🍽️";
    margin-right: 10px;
    font-size: 1.4rem;
}

.dish-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
    flex-grow: 1;
}

.meat-dish h5::before {
    content: "🥩";
}

.veg-dish h5::before {
    content: "🥬";
}

/* 特殊菜品图标 */
.dish-tomato-egg h5::before {
    content: "🍳" !important;
}

.dish-mapo-tofu h5::before {
    content: "🌶️" !important;
}

.dish-broccoli h5::before {
    content: "🥦" !important;
}

@media (max-width: 992px) {
    .dish-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 768px) {
    .dish-seo-description {
        padding: 15px;
        margin-top: 30px;
    }
    
    .dish-seo-description h4 {
        font-size: 1.3rem;
    }
    
    .dish-cards-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .dish-card {
        padding: 12px;
    }
    
    .dish-card h5 {
        font-size: 1rem;
    }
    
    .dish-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .dish-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dish-card {
        padding: 15px;
    }
    
    .dish-card h5 {
        font-size: 1.1rem;
    }
    
    .dish-card h5::before {
        font-size: 1.4rem;
    }

    .dish-image {
        height: 250px;
    }
}

.promo-banner.delivery-promo {
    background-color: #e6f7ff;
    border: 2px dashed #1890ff;
    margin-bottom: 30px;
    animation: pulse-delivery 2s infinite;
}

@keyframes pulse-delivery {
    0% { background-color: #e6f7ff; }
    50% { background-color: #bae7ff; }
    100% { background-color: #e6f7ff; }
}

.delivery-promo .promo-icon {
    background-color: #1890ff;
    color: white;
}

.homepage-promos {
    margin-bottom: 30px;
    width: 100%;
}

.home-promo {
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.home-promo .promo-title, .home-promo .promo-text {
    color: #333;
}

.customer-info {
    margin: 25px 0 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.customer-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.compact-notices {
    width: 100%;
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    border-radius: 4px;
}

.notice-item {
    display: flex;
    align-items: center;
    padding: 3px 0;
    color: #fff;
}

.notice-icon {
    font-size: 1rem;
    margin-right: 8px;
    flex-shrink: 0;
}

.notice-text {
    font-size: 1.2rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .compact-notices {
        padding: 5px;
    }
    
    .notice-item {
        padding: 3px 0;
    }
    
    .notice-icon {
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .notice-text {
        font-size: 1.2rem;
    }
}

.dish-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
}

.dish-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dish-photo:hover {
    transform: scale(1.05);
}

.dish-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 图片查看器样式 */
.image-viewer {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-viewer-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-image-viewer {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-image-viewer:hover,
.close-image-viewer:focus {
    color: var(--accent-color);
    text-decoration: none;
}

#image-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* 添加鼠标指针样式，表明图片可点击 */
.dish-photo {
    cursor: pointer;
}

@media (max-width: 768px) {
    .image-viewer-content {
        max-width: 95%;
    }
    
    .image-viewer {
        padding-top: 60px;
    }
    
    .close-image-viewer {
        top: 10px;
        right: 25px;
        font-size: 30px;
    }
}