/* ========================================
   漾菀家居 - 主样式表
   湖北省漾菀传媒科技有限公司
   暖色温馨风 · 高端家具电商
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #C8956C;
    --primary-dark: #A6744D;
    --primary-light: #E8D5C4;
    --primary-bg: #FDF8F3;
    --accent: #D4A574;
    --accent-dark: #B8860B;
    --text: #2C2416;
    --text-light: #6B5E4A;
    --text-muted: #9B8E7A;
    --bg: #FFFBF7;
    --bg-warm: #F5EDE3;
    --bg-cream: #FAF5EE;
    --white: #FFFFFF;
    --border: #E8DED0;
    --border-light: #F0E8DB;
    --shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.06);
    --shadow: 0 4px 20px rgba(44, 36, 22, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 22, 0.12);
    --shadow-xl: 0 20px 60px rgba(44, 36, 22, 0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-heading: 'Georgia', 'Noto Serif SC', 'STSong', serif;
    --font-body: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    --max-width: 1320px;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

/* --- Dynamic Background --- */
.dynamic-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none; overflow: hidden;
}
.dynamic-bg .orb {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
    animation: floatOrb 20s infinite ease-in-out;
}
.dynamic-bg .orb:nth-child(1) {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #E8D5C4, transparent);
    top: -100px; left: -100px;
    animation-delay: 0s;
}
.dynamic-bg .orb:nth-child(2) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #D4C4B0, transparent);
    bottom: -80px; right: -80px;
    animation-delay: -7s;
}
.dynamic-bg .orb:nth-child(3) {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #C8B8A0, transparent);
    top: 50%; left: 60%;
    animation-delay: -14s;
}
@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -40px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(-50px, -30px) scale(1.05); }
}

/* --- Top Bar --- */
.top-bar {
    background: var(--text); color: var(--primary-light); font-size: 13px;
    padding: 8px 0; position: relative; z-index: 1001;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--primary-light); margin-left: 20px; font-size: 13px; }
.top-bar a:hover { color: var(--white); }
.top-bar .top-left { display: flex; align-items: center; gap: 8px; }
.top-bar .top-right { display: flex; align-items: center; }
.top-bar .icon-welcome { font-size: 16px; }

/* --- Header --- */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon {
    width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px; font-weight: bold; font-family: var(--font-heading);
}
.logo-text h1 { font-size: 22px; font-family: var(--font-heading); color: var(--text); font-weight: 700; letter-spacing: 2px; }
.logo-text span { font-size: 11px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; }

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
    padding: 10px 20px; border-radius: 50px; font-size: 15px; font-weight: 500;
    color: var(--text-light); position: relative; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
    background: var(--primary-bg); color: var(--primary);
}
.main-nav a.active::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 3px; background: var(--primary); border-radius: 2px;
}

/* --- Header Actions --- */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-actions .btn-search, .header-actions .btn-cart {
    width: 42px; height: 42px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 20px;
    background: var(--bg-cream); color: var(--text-light); transition: var(--transition);
}
.header-actions .btn-search:hover, .header-actions .btn-cart:hover {
    background: var(--primary); color: white;
}
.cart-badge {
    position: absolute; top: -4px; right: -4px; width: 20px; height: 20px;
    background: var(--accent-dark); color: white; border-radius: 50%;
    font-size: 11px; display: flex; align-items: center; justify-content: center;
    font-weight: 600;
}
.btn-cart-wrap { position: relative; }

/* --- Search Overlay --- */
.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 36, 22, 0.7); backdrop-filter: blur(8px);
    z-index: 2000; display: none; align-items: flex-start; justify-content: center;
    padding-top: 120px;
}
.search-overlay.active { display: flex; }
.search-box {
    background: white; border-radius: var(--radius-xl); padding: 32px;
    width: 90%; max-width: 600px; box-shadow: var(--shadow-xl);
}
.search-box input {
    width: 100%; padding: 16px 24px; border: 2px solid var(--border);
    border-radius: 50px; font-size: 16px; outline: none; transition: var(--transition);
}
.search-box input:focus { border-color: var(--primary); }
.search-results { margin-top: 16px; max-height: 400px; overflow-y: auto; }
.search-results .item {
    display: flex; align-items: center; gap: 16px; padding: 12px;
    border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.search-results .item:hover { background: var(--bg-cream); }
.search-results .item img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; }
.search-results .item .info h4 { font-size: 14px; }
.search-results .item .info .price { color: var(--accent-dark); font-weight: 600; }

/* --- Page Header --- */
.page-header {
    background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
    padding: 60px 0 40px; text-align: center;
}
.page-header h2 { font-size: 36px; font-family: var(--font-heading); color: var(--text); margin-bottom: 8px; }
.page-header p { color: var(--text-muted); font-size: 16px; }

/* --- Breadcrumb --- */
.breadcrumb { padding: 16px 0; background: var(--bg-cream); }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--border); }
.breadcrumb li a { color: var(--text-light); }
.breadcrumb li a:hover { color: var(--primary); }
.breadcrumb li.active { color: var(--primary); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-size: 15px; font-weight: 600;
    transition: var(--transition); cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); color: white; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--text); border: 1px solid var(--border); }
.btn-white:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* --- Section Titles --- */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .label {
    display: inline-block; padding: 6px 20px; background: var(--primary-bg);
    color: var(--primary); border-radius: 50px; font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.section-title h2 { font-size: 32px; font-family: var(--font-heading); color: var(--text); margin-bottom: 8px; }
.section-title p { color: var(--text-muted); font-size: 15px; max-width: 500px; margin: 0 auto; }

/* --- Hero Banner --- */
.hero { position: relative; overflow: hidden; background: var(--text); }
.hero-slider { position: relative; height: 560px; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }
.hero-slide .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(44,36,22,0.5) 0%, rgba(44,36,22,0.1) 100%);
}
.hero-content {
    position: relative; z-index: 2; max-width: 600px;
    padding: 60px; color: white;
}
.hero-content .tag {
    display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); border-radius: 50px; font-size: 13px;
    margin-bottom: 20px; letter-spacing: 1px;
}
.hero-content h2 { font-size: 48px; font-family: var(--font-heading); line-height: 1.2; margin-bottom: 16px; }
.hero-content p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.6; }
.hero-dots {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 3;
}
.hero-dots .dot {
    width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4);
    cursor: pointer; transition: var(--transition);
}
.hero-dots .dot.active { background: white; width: 32px; border-radius: 6px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px); color: white; font-size: 20px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: var(--transition);
}
.hero-arrow:hover { background: rgba(255,255,255,0.4); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* --- Features Bar --- */
.features-bar {
    padding: 40px 0; background: white;
    border-bottom: 1px solid var(--border-light);
}
.features-bar .container { display: flex; justify-content: space-around; gap: 24px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-item .icon {
    width: 52px; height: 52px; border-radius: var(--radius);
    background: var(--primary-bg); display: flex; align-items: center;
    justify-content: center; font-size: 24px; color: var(--primary);
    flex-shrink: 0;
}
.feature-item h4 { font-size: 15px; color: var(--text); margin-bottom: 2px; }
.feature-item p { font-size: 12px; color: var(--text-muted); }

/* --- Product Card --- */
.product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    padding: 0 0 60px;
}
.product-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    position: relative; border: 1px solid var(--border-light);
}
.product-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.product-card .img-wrap {
    position: relative; overflow: hidden; aspect-ratio: 4/3;
    background: var(--bg-cream);
}
.product-card .img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .badges {
    position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2;
}
.badge {
    padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600;
}
.badge-hot { background: #E8553D; color: white; }
.badge-new { background: var(--text); color: white; }
.badge-sale { background: var(--accent-dark); color: white; }
.product-card .actions {
    position: absolute; bottom: 16px; right: 16px; display: flex; gap: 8px;
    opacity: 0; transform: translateY(10px); transition: var(--transition); z-index: 2;
}
.product-card:hover .actions { opacity: 1; transform: translateY(0); }
.product-card .actions button {
    width: 38px; height: 38px; border-radius: 50%; background: white;
    box-shadow: var(--shadow); display: flex; align-items: center;
    justify-content: center; font-size: 16px; color: var(--text-light);
    transition: var(--transition);
}
.product-card .actions button:hover { background: var(--primary); color: white; }
.product-card .info { padding: 20px; }
.product-card .info .category {
    font-size: 12px; color: var(--primary); text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 6px;
}
.product-card .info h3 {
    font-size: 17px; font-weight: 600; margin-bottom: 6px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card .info .desc {
    font-size: 13px; color: var(--text-muted); margin-bottom: 12px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card .info .price-row { display: flex; align-items: baseline; gap: 10px; }
.product-card .info .price {
    font-size: 20px; font-weight: 700; color: var(--accent-dark);
}
.product-card .info .original-price {
    font-size: 14px; color: var(--text-muted); text-decoration: line-through;
}

/* --- Category Section --- */
.category-section { padding: 60px 0; }
.category-tabs {
    display: flex; justify-content: center; gap: 8px; margin-bottom: 40px;
    flex-wrap: wrap;
}
.category-tab {
    padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 500;
    color: var(--text-light); cursor: pointer; transition: var(--transition);
    border: 1px solid var(--border); background: white;
}
.category-tab:hover, .category-tab.active {
    background: var(--primary); color: white; border-color: var(--primary);
}

/* --- Hot Products Strip --- */
.hot-strip { padding: 0 0 60px; }
.hot-strip .product-grid { grid-template-columns: repeat(4, 1fr); }

/* --- Banner Split --- */
.banner-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 0 60px;
}
.banner-split .banner-card {
    position: relative; border-radius: var(--radius-xl); overflow: hidden;
    aspect-ratio: 16/7; cursor: pointer;
}
.banner-split .banner-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.banner-split .banner-card:hover img { transform: scale(1.05); }
.banner-split .banner-card .banner-info {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 40px; background: linear-gradient(transparent, rgba(44,36,22,0.7));
    color: white;
}
.banner-split .banner-card .banner-info h3 { font-size: 28px; font-family: var(--font-heading); margin-bottom: 4px; }
.banner-split .banner-card .banner-info p { font-size: 14px; opacity: 0.9; }

/* --- Brand Story --- */
.brand-story {
    padding: 80px 0; background: white;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.brand-story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.brand-story .story-image {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.brand-story .story-image img { width: 100%; height: 400px; object-fit: cover; }
.brand-story .story-text .label {
    display: inline-block; padding: 6px 16px; background: var(--primary-bg);
    color: var(--primary); border-radius: 50px; font-size: 12px; letter-spacing: 2px;
    margin-bottom: 16px;
}
.brand-story .story-text h2 { font-size: 32px; font-family: var(--font-heading); margin-bottom: 16px; }
.brand-story .story-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }
.brand-story .stats { display: flex; gap: 40px; }
.brand-story .stat h3 { font-size: 36px; font-family: var(--font-heading); color: var(--primary); }
.brand-story .stat p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* --- Footer --- */
.footer {
    background: var(--text); color: var(--primary-light); padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 40px;
}
.footer-col h4 { color: white; font-size: 18px; margin-bottom: 20px; font-family: var(--font-heading); }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 14px; line-height: 2; }
.footer-col a:hover { color: white; }
.footer-col .contact-info p { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-col .contact-info .icon { font-size: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
    text-align: center; font-size: 13px; color: var(--text-muted);
}

/* --- Product Detail Page --- */
.product-detail { padding: 40px 0 80px; }
.product-detail .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.product-gallery .main-image {
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--bg-cream); margin-bottom: 16px;
    aspect-ratio: 4/3;
}
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .thumb-list { display: flex; gap: 12px; }
.product-gallery .thumb {
    width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; border: 2px solid transparent; transition: var(--transition);
    background: var(--bg-cream);
}
.product-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .thumb:hover, .product-gallery .thumb.active { border-color: var(--primary); }

.product-info .category-label {
    display: inline-block; padding: 4px 12px; background: var(--primary-bg);
    color: var(--primary); border-radius: 50px; font-size: 12px;
    letter-spacing: 1px; margin-bottom: 12px;
}
.product-info h1 { font-size: 32px; font-family: var(--font-heading); margin-bottom: 12px; line-height: 1.3; }
.product-info .subtitle { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.product-info .price-box {
    background: var(--primary-bg); padding: 20px 24px; border-radius: var(--radius);
    margin-bottom: 24px; display: flex; align-items: baseline; gap: 16px;
}
.product-info .price-box .current { font-size: 36px; font-weight: 700; color: var(--accent-dark); }
.product-info .price-box .original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.product-info .price-box .discount {
    padding: 4px 12px; background: var(--accent-dark); color: white;
    border-radius: 50px; font-size: 13px;
}
.product-info .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.product-info .meta-item { display: flex; gap: 8px; }
.product-info .meta-item .label { color: var(--text-muted); font-size: 13px; min-width: 60px; }
.product-info .meta-item .value { color: var(--text); font-size: 14px; font-weight: 500; }
.product-info .features-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-info .feature-tag {
    padding: 6px 14px; background: white; border: 1px solid var(--border);
    border-radius: 50px; font-size: 13px; color: var(--text-light);
}
.product-info .actions-row { display: flex; gap: 16px; }
.product-info .qty-input {
    display: flex; align-items: center; border: 1px solid var(--border);
    border-radius: 50px; overflow: hidden;
}
.product-info .qty-input button {
    width: 44px; height: 44px; font-size: 18px; color: var(--text-light);
    background: var(--bg-cream); border: none; cursor: pointer;
}
.product-info .qty-input input {
    width: 60px; height: 44px; text-align: center; border: none; font-size: 16px;
    font-weight: 600; outline: none;
}

/* Product Description Tabs */
.product-tabs { margin-top: 60px; }
.product-tabs .tab-nav {
    display: flex; gap: 0; border-bottom: 2px solid var(--border-light); margin-bottom: 32px;
}
.product-tabs .tab-nav button {
    padding: 14px 32px; font-size: 15px; font-weight: 500; color: var(--text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition);
}
.product-tabs .tab-nav button:hover { color: var(--text); }
.product-tabs .tab-nav button.active {
    color: var(--primary); border-bottom-color: var(--primary);
}
.product-tabs .tab-content { display: none; }
.product-tabs .tab-content.active { display: block; }
.product-tabs .tab-content p { color: var(--text-light); line-height: 2; margin-bottom: 16px; }
.product-tabs .tab-content .spec-table { width: 100%; border-collapse: collapse; }
.product-tabs .tab-content .spec-table td {
    padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.product-tabs .tab-content .spec-table td:first-child {
    color: var(--text-muted); width: 30%; background: var(--bg-cream);
}

/* --- Product List Page --- */
.product-list-page { padding: 40px 0 80px; }
.product-list-page .container { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar .filter-group { margin-bottom: 24px; }
.sidebar .filter-group h4 {
    font-size: 15px; font-weight: 600; margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border-light);
}
.sidebar .filter-group a {
    display: block; padding: 8px 12px; border-radius: var(--radius-sm);
    font-size: 14px; color: var(--text-light); transition: var(--transition);
}
.sidebar .filter-group a:hover, .sidebar .filter-group a.active {
    background: var(--primary-bg); color: var(--primary);
}
.product-list-content .sort-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light);
}
.product-list-content .sort-bar .count { font-size: 14px; color: var(--text-muted); }
.product-list-content .sort-bar .sort-options { display: flex; gap: 8px; }
.product-list-content .sort-bar .sort-options a {
    padding: 8px 16px; border-radius: 50px; font-size: 13px; color: var(--text-light);
    transition: var(--transition);
}
.product-list-content .sort-bar .sort-options a:hover, .sort-bar .sort-options a.active {
    background: var(--primary-bg); color: var(--primary);
}

/* --- Cart Page --- */
.cart-page { padding: 40px 0 80px; }
.cart-empty { text-align: center; padding: 80px 0; }
.cart-empty .icon { font-size: 80px; margin-bottom: 24px; color: var(--border); }
.cart-empty h3 { font-size: 24px; color: var(--text); margin-bottom: 8px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left; padding: 16px; font-size: 13px; color: var(--text-muted);
    border-bottom: 2px solid var(--border); text-transform: uppercase; letter-spacing: 1px;
}
.cart-table td { padding: 20px 16px; border-bottom: 1px solid var(--border-light); }
.cart-table .product-cell { display: flex; align-items: center; gap: 16px; }
.cart-table .product-cell img {
    width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover;
}
.cart-table .product-cell h4 { font-size: 16px; }
.cart-table .qty-cell .qty-input { display: inline-flex; }
.cart-table .remove-btn { color: var(--text-muted); font-size: 18px; cursor: pointer; transition: var(--transition); }
.cart-table .remove-btn:hover { color: #E8553D; }
.cart-summary {
    background: white; border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--shadow); margin-top: 32px;
}
.cart-summary .row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 15px; }
.cart-summary .row.total { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 20px; font-size: 20px; font-weight: 700; }
.cart-summary .row.total .price { color: var(--accent-dark); font-size: 28px; }
.cart-summary .checkout-btn { margin-top: 24px; width: 100%; }

/* --- Checkout Page --- */
.checkout-page { padding: 40px 0 80px; }
.checkout-page .container { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.checkout-form { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.checkout-form h3 { font-size: 20px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-size: 15px; outline: none; transition: var(--transition);
    background: var(--bg-cream);
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: white; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-sidebar { align-self: start; position: sticky; top: 100px; }
.order-summary {
    background: white; border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--shadow-sm);
}
.order-summary h3 { font-size: 18px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.order-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.order-item img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; }
.order-item .info h4 { font-size: 14px; margin-bottom: 4px; }
.order-item .info p { font-size: 13px; color: var(--text-muted); }
.order-item .item-price { font-weight: 600; color: var(--accent-dark); margin-left: auto; }
.order-totals { margin-top: 16px; }
.order-totals .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.order-totals .row.total { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; font-size: 18px; font-weight: 700; }
.order-totals .row.total .price { color: var(--accent-dark); }
.payment-methods { margin-top: 20px; }
.payment-method {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px;
    cursor: pointer; transition: var(--transition);
}
.payment-method:hover, .payment-method.active { border-color: var(--primary); background: var(--primary-bg); }
.payment-method input[type="radio"] { accent-color: var(--primary); }

/* --- Success Page --- */
.success-page { text-align: center; padding: 100px 0; }
.success-page .icon { width: 80px; height: 80px; border-radius: 50%; background: #E8F5E9; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 24px; color: #4CAF50; }
.success-page h2 { font-size: 32px; font-family: var(--font-heading); margin-bottom: 8px; }
.success-page p { color: var(--text-muted); margin-bottom: 32px; }
.success-page .order-info { display: inline-block; background: var(--bg-cream); padding: 16px 32px; border-radius: var(--radius); margin-bottom: 32px; }
.success-page .order-info span { font-weight: 600; color: var(--primary); }

/* --- About Page --- */
.about-page { padding: 40px 0 80px; }
.about-hero {
    border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 48px;
    height: 400px; position: relative;
}
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.about-hero .overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(transparent 50%, rgba(44,36,22,0.7));
    display: flex; align-items: flex-end; padding: 48px;
}
.about-hero .overlay h2 { color: white; font-size: 36px; font-family: var(--font-heading); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h3 { font-size: 28px; font-family: var(--font-heading); margin-bottom: 16px; }
.about-content p { color: var(--text-light); line-height: 2; margin-bottom: 16px; }
.about-content img { border-radius: var(--radius-lg); width: 100%; }

/* --- Contact Page --- */
.contact-page { padding: 40px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-cards { display: grid; gap: 20px; }
.contact-card {
    background: white; border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start;
    border: 1px solid var(--border-light);
}
.contact-card .icon {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    background: var(--primary-bg); display: flex; align-items: center;
    justify-content: center; font-size: 22px; flex-shrink: 0;
}
.contact-card h4 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--text-muted); }
.contact-form-wrap {
    background: white; border-radius: var(--radius-lg); padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form-wrap h3 { font-size: 22px; font-family: var(--font-heading); margin-bottom: 24px; }

/* --- Toast Notification --- */
.toast {
    position: fixed; top: 24px; right: 24px; z-index: 9999;
    background: white; padding: 16px 24px; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
    transform: translateX(120%); transition: transform 0.4s ease;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid #4CAF50; }
.toast.error { border-left: 4px solid #E8553D; }

/* --- Mobile Nav --- */
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text); }
.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: white; z-index: 3000; padding: 24px; overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu .close-btn { font-size: 28px; float: right; cursor: pointer; color: var(--text); }
.mobile-menu nav { margin-top: 60px; }
.mobile-menu nav a {
    display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .banner-split { grid-template-columns: 1fr; }
    .product-detail .container { grid-template-columns: 1fr; gap: 32px; }
    .checkout-page .container { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-toggle { display: block; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-slider { height: 400px; }
    .hero-content { padding: 32px; }
    .hero-content h2 { font-size: 32px; }
    .features-bar .container { flex-wrap: wrap; }
    .product-list-page .container { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .brand-story .container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 320px; }
    .hero-content h2 { font-size: 24px; }
    .section-title h2 { font-size: 24px; }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
