:root {
    --color-primary: #1f2937;
    --color-accent: #f5a623;
    --color-sale: #10b981;
    --color-hot: #f43f5e;
    --color-bg: #f3f4f6;
    --color-card: #ffffff;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --radius: 12px;
    --container: 1320px;
    --font: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.top-header {
    background-color: #111827;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.top-header-inner {
    display: flex;
    align-items: center;
    min-height: 56px;
    gap: 20px;
    position: relative;
}

.shop-category {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding-right: 20px;
    border-right: 1px solid #374151;
    white-space: nowrap;
}

.shop-category svg {
    width: 18px;
    height: 18px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #d1d5db;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #fff;
}

.main-nav .active {
    color: var(--color-accent);
}

/* 导航下拉菜单 */
.nav-dropdown {
    position: static;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #d1d5db;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: #fff;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 80px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    padding: 8px;
    min-width: 280px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: #374151;
    font-size: 14px;
    transition: all 0.15s;
    white-space: nowrap;
    border-radius: 6px;
}

.nav-dropdown-menu a:hover {
    background: #f3f4f6;
    color: #111827;
}

.nav-arrow {
    width: 10px;
    height: 10px;
}

.badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}

.badge-sale {
    background-color: var(--color-sale);
    color: #fff;
}

.badge-hot {
    background-color: var(--color-hot);
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.header-actions svg {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    border-radius: var(--radius);
    margin: 16px;
    animation: fadeIn 0.8s ease;
    position: relative;
    overflow: hidden;
}

.hero-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.hero-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    padding: 60px 0;
    min-height: 400px;
}.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content .eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--color-muted);
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-desc {
    font-size: 16px;
    color: var(--color-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
}

.hero-image .img-placeholder {
    width: 100%;
    max-width: 400px;
    height: 350px;
    background: rgba(0,0,0,0.08);
    border-radius: var(--radius);
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.hero-nav-btn {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.hero-nav-btn:hover {
    background: #fff;
    border-color: #fff;
}

.hero-nav-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    width: fit-content;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #374151;
}

.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-card {
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-card .eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.promo-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-card p {
    font-size: 13px;
    color: var(--color-muted);
    max-width: 55%;
}

.promo-card .img-placeholder {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 75%;
    background: rgba(0,0,0,0.05);
}

.bg-blue { background-color: #dbeafe; }
.bg-blue .eyebrow { color: #2563eb; }

.bg-beige { background-color: #f5ebe0; }
.bg-beige .eyebrow { color: #b45309; }

.bg-mint { background-color: #e0f2f1; }
.bg-mint .eyebrow { color: #0f766e; }

.bg-pink { background-color: #fce7f3; }
.bg-pink .eyebrow { color: #be185d; }

/* Services */
.services {
    background-color: #fff;
    padding: 30px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
    flex: 1 1 0;
    min-height: 60px;
}

.service-item svg {
    width: 36px;
    height: 36px;
    stroke: var(--color-primary);
    stroke-width: 1.8;
    fill: none;
}

.service-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.service-item span {
    font-size: 13px;
    color: var(--color-muted);
}

/* 修复Google Translate翻译后的布局问题 */
.service-item strong,
.service-item span {
    display: block;
}

.service-item strong font,
.service-item span font,
.service-item strong font font,
.service-item span font font {
    display: inline !important;
    vertical-align: baseline !important;
}

/* 全局修复Google Translate添加的font标签 */
font[dir="auto"] {
    display: inline !important;
    vertical-align: baseline !important;
}

/* Section headers */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.arrow-controls {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.arrow-btn svg {
    width: 14px;
    height: 14px;
}

/* Categories */
.categories {
    padding: 40px 0 20px;
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.category-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 100px;
}

.category-card span {
    font-size: 14px;
    font-weight: 700;
}

.category-card .img-placeholder {
    width: 60px;
    height: 60px;
    background-color: #f3f4f6;
    border-radius: 8px;
    flex-shrink: 0;
}

.category-nav {
    position: absolute;
    top: 50%;
    left: -16px;
    right: -16px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.category-nav .arrow-btn {
    pointer-events: auto;
}

/* Products */
.featured {
    padding: 30px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.product-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.product-image {
    aspect-ratio: 1 / 1;
    background-color: #f9fafb;
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
}

.product-info {
    padding: 14px;
}

.product-info h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 54px;
    margin-bottom: 8px;
}

.stars {
    color: var(--color-accent);
    font-size: 13px;
    margin-bottom: 8px;
}

.price {
    font-size: 14px;
    font-weight: 700;
}

.price del {
    color: var(--color-muted);
    font-weight: 400;
    margin-right: 6px;
}

/* Large promo cards */
.big-promos {
    padding: 30px 0;
}

.big-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.big-promo-card {
    border-radius: var(--radius);
    padding: 28px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.big-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.big-promo-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.big-promo-icon svg {
    width: 100%;
    height: 100%;
}

.big-promo-dark .big-promo-icon {
    color: #fff;
}

.big-promo-light .big-promo-icon {
    color: var(--color-primary);
}

.big-promo-card .eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--color-muted);
}

.big-promo-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.big-promo-card p {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-top: auto;
}

.big-promo-card .img-placeholder {
    margin-top: auto;
    width: 100%;
    height: 160px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.big-promo-dark {
    background-color: #111827;
    color: #fff;
}

.big-promo-dark .eyebrow,
.big-promo-dark p {
    color: #9ca3af;
}

.big-promo-light {
    background-color: #fff;
    border: 1px solid var(--color-border);
}

/* Special products */
.special {
    padding: 30px 0;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.special-item {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.special-item .img-placeholder {
    width: 90px;
    height: 90px;
    background-color: #f3f4f6;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    flex-shrink: 0;
}

.special-item h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Blog */
.blog {
    padding: 30px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.blog-card {
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
}

.blog-card .meta {
    font-size: 12px;
    color: var(--color-muted);
    margin-bottom: 10px;
}

.blog-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Newsletter & Footer */
.newsletter-footer {
    background-color: #1f2937;
    color: #fff;
}

.newsletter {
    padding: 40px 0;
    border-bottom: 1px solid #374151;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    font-weight: 700;
}

.newsletter-title svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.newsletter-form {
    display: flex;
    flex: 1;
    max-width: 520px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background-color: #374151;
    color: #fff;
    border: 1px solid #4b5563;
    padding: 0 24px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.footer-main {
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
    font-size: 13px;
    color: #d1d5db;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-col svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.copyright {
    padding: 20px 0;
    border-top: 1px solid #374151;
    font-size: 13px;
    color: #9ca3af;
}

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .big-promo-grid { grid-template-columns: repeat(2, 1fr); }
    .special-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-content h1 { font-size: 42px; }
}

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .hero-nav { display: none; }
    
    /* 移动端导航 */
    .menu-toggle { display: block; }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111827;
        flex-direction: column;
        padding: 10px 0;
        border-top: 1px solid #374151;
        z-index: 100;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        padding: 12px 20px;
        width: 100%;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-trigger {
        padding: 12px 20px;
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #1f2937;
        display: none;
    }
    
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu a {
        padding: 10px 30px;
        color: #d1d5db;
    }
    
    .nav-dropdown-menu a:hover {
        background: #374151;
        color: #fff;
    }
    
    .shop-category {
        border-right: none;
        padding-right: 0;
        font-size: 13px;
    }
    
    .lang-switcher {
        margin-left: auto;
    }
    
    .top-header-inner {
        min-height: 48px;
    }
    
    .hero-slide { margin: 8px; }
    .hero-slide-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
        min-height: auto;
    }
    .hero-content { max-width: 100%; padding: 0 10px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content .eyebrow { font-size: 12px; }
    .hero-desc { font-size: 14px; margin-bottom: 20px; }
    .hero-image { max-width: 90%; }
    .hero-image .img-placeholder { height: 200px; }
    .hero-nav { bottom: 15px; }
    .hero-nav-btn { width: 36px; height: 36px; }
    .btn { padding: 12px 24px; font-size: 13px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-info { padding: 10px; }
    .product-info h3 { font-size: 12px; min-height: 40px; margin-bottom: 6px; }
    .price { font-size: 13px; }
    .big-promo-grid { grid-template-columns: 1fr; }
    .big-promo-card { min-height: 200px; padding: 20px; }
    .special-grid { grid-template-columns: 1fr; }
    .special-item { padding: 12px; }
    .special-item .img-placeholder { width: 70px; height: 70px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card { padding: 16px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-card { padding: 12px; min-height: 80px; }
    .category-card .img-placeholder { width: 45px; height: 45px; }
    .services-grid { justify-content: center; }
    .service-item { min-width: 140px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-col { margin-bottom: 10px; }
    .footer-col h4 { font-size: 14px; margin-bottom: 12px; }
    .footer-col li { font-size: 12px; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; }
    .newsletter-form { max-width: 100%; }
    .section-header h2 { font-size: 18px; }
    .container { padding: 0 12px; }
}

@media (max-width: 480px) {
    .hero-slide { margin: 6px; }
    .hero-slide-inner { padding: 20px 0; }
    .hero-content h1 { font-size: 24px; }
    .hero-desc { font-size: 13px; }
    .btn { padding: 10px 20px; font-size: 12px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cards { grid-template-columns: 1fr; }
    .promo-card { min-height: 150px; padding: 16px; }
    .promo-card h3 { font-size: 18px; }
    .promo-card p { font-size: 12px; max-width: 70%; }
}
