:root {
    --primary: #6B5A4A;
    --primary-dark: #4A3D32;
    --primary-light: #F0EAE0;
    --accent: #C49A6C;
    --accent-dark: #A88565;
    --bg-light: #F5F0EA;
    --text-dark: #2C2C2C;
    --text-muted: #888888;
    --white: #FFFFFF;
    --border: #E0DCD5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.top-notice {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.top-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-notice a {
    color: var(--accent);
    font-weight: 600;
}

.top-notice a:hover {
    color: #fff;
}

.top-actions a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    font-size: 13px;
}

.top-actions a:hover {
    color: #fff;
}

header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-item>a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    padding: 6px 0;
    display: inline-block;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.menu-item>a:hover {
    border-bottom-color: var(--accent);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    border: 1px solid var(--border);
    z-index: 1001;
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-container {
    padding: 16px 0;
}

.dropdown-col ul li {
    padding: 6px 24px;
}

.dropdown-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}

.dropdown-col ul li a:hover {
    color: var(--primary);
}

.dropdown-col ul li a i {
    width: 18px;
    color: var(--accent);
    font-size: 14px;
}

.tea-menu {
    min-width: 260px;
}

.teaware-menu {
    min-width: 220px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid var(--border);
    padding-bottom: 4px;
}

.header-search input {
    border: none;
    padding: 6px 8px;
    width: 160px;
    font-size: 13px;
    outline: none;
    background: transparent;
    letter-spacing: 0.3px;
    color: var(--text-dark);
}

.header-search input::placeholder {
    color: var(--text-muted);
    font-size: 12px;
}

.header-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 16px;
}

.header-search button:hover {
    color: var(--primary);
}

.header-actions .icon-link {
    font-size: 20px;
    color: var(--text-dark);
    transition: color 0.2s;
}

.header-actions .icon-link:hover {
    color: var(--primary);
}

.hero-banner {
    position: relative;
    overflow: hidden;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-btn i {
    margin-left: 8px;
    font-size: 14px;
}

.hero-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(196, 154, 108, 0.45);
}

.hot-teas-section {
    padding: 60px 0 50px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title i {
    color: var(--accent);
    font-size: 26px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    gap: 24px;
}

.carousel-item {
    flex: 0 0 calc(25% - 18px);
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.carousel-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: var(--primary-light);
}

.carousel-item .info {
    padding: 16px 16px 20px;
    text-align: center;
}

.carousel-item .name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.carousel-item .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: all 0.2s;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.category-menu {
    padding: 30px 0 40px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 30px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 12px;
    transition: background 0.2s, transform 0.2s;
    min-width: 80px;
    background: var(--bg-light);
    border: 1px solid transparent;
}

.category-item:hover {
    background: var(--white);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.category-item i {
    font-size: 28px;
    color: var(--primary);
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-col ul li {
    margin-bottom: 6px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-icons a {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.social-icons a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--accent);
}

@media (max-width: 992px) {
    .main-nav {
        gap: 20px;
    }
    .main-nav .menu-item>a {
        font-size: 12px;
    }
    .carousel-item {
        flex: 0 0 calc(33.33% - 16px);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .header-search input {
        width: 120px;
    }
    .hero-content h1 {
        font-size: 42px;
    }
    .logo img {
        height: 70px;
    }
    .hero-banner {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav .menu-item>a {
        font-size: 11px;
    }
    .carousel-item {
        flex: 0 0 calc(50% - 12px);
    }
    .header-actions .header-search input {
        width: 100px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .category-grid {
        gap: 12px;
    }
    .category-item {
        padding: 10px 14px;
        min-width: 60px;
    }
    .category-item i {
        font-size: 22px;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .hero-banner {
        height: 380px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    .logo img {
        height: 60px;
    }
    header .container {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 100%;
    }
    .top-notice .container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    header .container {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .logo img {
        height: 55px;
    }
    .header-actions {
        gap: 12px;
    }
    .hero-content h1 {
        font-size: 26px;
    }
    .hero-banner {
        height: 300px;
    }
}

.detail-grid {
    gap: 60px;
    padding: 40px;
}
.product-gallery {
    position: sticky;
    top: 120px;
    align-self: start;
}
.main-image {
    aspect-ratio: 1 / 1;
    background: #f5f0ea;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e2d8;
}
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}
.thumb-item.active {
    border-color: #C49A6C;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-specs {
    background: #f8f5f0;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #e8e2d8;
}
.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.spec-item:last-child {
    border-bottom: none;
}
.brewing-guide {
    background: #f8f5f0;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #e8e2d8;
}
.brewing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 30px;
}
@media (max-width: 768px) {
    .detail-grid {
        padding: 20px;
        gap: 30px;
    }
    .brewing-grid {
        grid-template-columns: 1fr;
    }
}