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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #FFFFFF;
    color: #1e293b;
    line-height: 1.6;
}

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

button, a.btn {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hotline-badge {
    background-color: #fff0b8;
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #fde68a;
    border-radius: 50%;
}

.header-nav {
    display: none;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 50;
}

.header-nav .nav-link {
    color: #b45309;
    padding: 6px 8px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    font-weight: 600;
}

.header-nav .nav-link:hover { color: #92400e; }
.header-nav .nav-link.active { color: #d97706; border-bottom-color: #d97706; }

.btn-post {
    padding: 0.45rem 0.8rem;
    background: #ef4444;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    border: 1px solid rgba(0,0,0,0.06);
    transition: background 0.15s;
}
.btn-post:hover { background: #dc2626; }

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
}

.header-nav a {
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #1e293b;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.search-box {
    display: none;
    position: relative;
}

@media (min-width: 640px) {
    .search-box {
        display: block;
    }
}

.search-box input {
    width: 18rem;
    height: 2.75rem;
    padding: 0 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s;
}

.btn-secondary {
    border: 1px solid #cbd5e1;
    background-color: white;
    color: #475569;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.btn-primary {
    background-color: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background-color: #d97706;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.hero {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fff3c4 0%, #fef9f0 100%);
    border-radius: 36px;
    box-shadow: 0 28px 80px rgba(251, 191, 36, 0.18);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.6fr 1fr;
        gap: 2.5rem;
    }
}

.hero-content {
    max-width: 42rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(180, 83, 9, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #b45309;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.hero-badge-new {
    background-color: #fde68a;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: #d97706;
}

.hero p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 1.75rem;
    max-width: 36rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Cards Grid */
.hero-cards {
    display: grid;
    gap: 1.25rem;
}

.hero-cards-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .hero-cards-row {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-card {
    background: white;
    padding: 1.25rem;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

/* Large visual on the right side of the hero (matches the provided design) */
.hero-visual {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: block;
    position: relative;
}

.hero-image .sale-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.9);
    padding: 6px 10px;
    border-radius: 9999px;
    font-weight: 700;
    color: #b45309;
    font-size: 0.875rem;
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    opacity: 0.5;
}

.slider-dots .dot.active { opacity: 1; background: #b45309; }

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.card-tag {
    background-color: #fde68a;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.card-tag.hot {
    background-color: #fcd34d;
}

.card-image {
    height: 12rem;
    background: linear-gradient(135deg, #fef9c3 0%, #f7d11c 100%);
    border-radius: 28px;
    padding: 1rem;
    margin-bottom: 0;
}

.card-image.small {
    height: 10rem;
}

.card-image-inner {
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 60%);
    border-radius: 24px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-image-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.card-image-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.card-image-desc {
    font-size: 0.875rem;
    color: #475569;
}

.card-price {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #b45309;
}

/* Categories Section */
.section {
    margin-top: 3rem;
}

.section-header {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title-group {
    flex: 1;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #b45309;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0.75rem;
}

.section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #b45309;
    transition: color 0.2s;
}

.section-link:hover {
    color: #92400e;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    background: linear-gradient(180deg, white 0%, #fff9e5 100%);
    padding: 1.625rem;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.category-icon {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(15,23,42,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.category-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1rem;
}

.category-card p {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 0.5rem;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: white;
    padding: 1.5rem;
    border-radius: 32px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.product-image {
    width: 100%;
    height: 180px;
    background-color: #ffedd5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.125rem;
}

.product-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.product-card p {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 0.5rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #b45309;
}

.btn-buy {
    background-color: #f59e0b;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

.btn-buy:hover {
    background-color: #d97706;
}

/* Contact Section */
.contact-section {
    margin-top: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 36px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}

.contact-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.contact-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.contact-content p {
    font-size: 0.875rem;
    color: #475569;
    margin-top: 0.5rem;
}

.contact-btn {
    text-align: center;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 1.5rem;
    background-color: #1e293b;
    color: #cbd5e1;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-right {
        width: 100%;
        order: 3;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .hero {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
.category-slider .slick-slide {
    padding: 0 8px;
}

.category-slider .slick-list {
    margin: 0 -8px;
}


.category-slider .slick-track {
    display: flex !important;
}

.category-slider .slick-slide {
    height: auto !important;
}

.secondhand-slider .slick-list {
    margin: 0 -8px;
}

.secondhand-slider .slick-track {
    display: flex !important;
    margin-left: 0;
}

.secondhand-slider .slick-slide {
    height: auto !important;
    padding: 0 8px;
}

.secondhand-slider .slick-slide > div {
    height: 100%;
}


.category-slider .slick-prev,
.category-slider .slick-next {
    z-index: 20;
}


.slick-prev:before,
.slick-next:before {
    display: none;
}


