﻿
.hero-home {
    background: linear-gradient(135deg, #0a1628 0%, #0f3460 55%, #162347 100%);
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-home::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233,69,96,.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-home-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-copy {
    flex: 1;
    min-width: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e94560;
    margin-bottom: 18px;
}

    .hero-eyebrow::before {
        content: '';
        width: 24px;
        height: 2px;
        background: #e94560;
    }

.hero-headline {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

    .hero-headline em {
        font-style: normal;
        color: #e94560;
    }

.hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e94560;
    color: #fff;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(233,69,96,.35);
}

    .btn-hero-primary:hover {
        background: #c73652;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(233,69,96,.4);
    }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: rgba(255,255,255,.85);
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.3);
    transition: all .25s;
}

    .btn-hero-outline:hover {
        border-color: rgba(255,255,255,.7);
        color: #fff;
        transform: translateY(-2px);
    }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.1);
}

    .hero-trust span {
        font-size: 12px;
        color: rgba(255,255,255,.45);
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .hero-trust span i {
            color: #4ade80;
            font-size: 10px;
        }

/* Hero Search Box */
.hero-search-wrap {
    width: 420px;
    flex-shrink: 0;
}

.hero-search-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

    .hero-search-card h3 {
        font-size: 16px;
        font-weight: 700;
        color: #0f3460;
        margin-bottom: 6px;
    }

    .hero-search-card p {
        font-size: 12px;
        color: #94a3b8;
        margin-bottom: 18px;
    }

.hero-search-row {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.hero-search-input-wrap {
    flex: 1;
    position: relative;
}

    .hero-search-input-wrap i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 14px;
    }

.hero-search-input {
    width: 100%;
    padding: 13px 14px 13px 38px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
    color: #1a1a2e;
    transition: border-color .2s;
    box-sizing: border-box;
}

    .hero-search-input:focus {
        border-color: #0f3460;
    }

.hero-search-btn {
    background: #e94560;
    color: #fff;
    border: none;
    padding: 13px 22px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

    .hero-search-btn:hover {
        background: #c73652;
    }

.hero-search-hints {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

    .hero-search-hints span {
        background: #f1f5f9;
        padding: 3px 8px;
        border-radius: 4px;
        cursor: pointer;
        transition: background .15s;
    }

        .hero-search-hints span:hover {
            background: #e2e8f0;
        }

/* Stats Strip */
.stats-strip {
    background: #fff;
    border-bottom: 1px solid #eaeef2;
    padding: 28px 0;
}

.stats-strip-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats-strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 32px;
    border-right: 1px solid #eaeef2;
}

    .stats-strip-item:last-child {
        border-right: none;
    }

    .stats-strip-item:first-child {
        padding-left: 0;
    }

.stats-strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #e94560;
    flex-shrink: 0;
}

.stats-strip-num {
    font-size: 26px;
    font-weight: 900;
    color: #0f3460;
    line-height: 1;
}

.stats-strip-label {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
}

/* Section spacing and headers */
.home-section {
    padding: 72px 0;
}

.home-section-alt {
    background: #f8f9fc;
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e94560;
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: 30px;
    font-weight: 900;
    color: #0f3460;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-head p {
    font-size: 15px;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-head-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

    .section-head-bar::before,
    .section-head-bar::after {
        content: '';
        width: 30px;
        height: 2px;
        background: #e2e8f0;
    }

    .section-head-bar span {
        width: 6px;
        height: 6px;
        background: #e94560;
        border-radius: 50%;
    }

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0f3460;
    text-decoration: none;
    border: 1.5px solid #0f3460;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all .2s;
}

    .section-more:hover {
        background: #0f3460;
        color: #fff;
    }

.section-head-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Brands Grid */
.brands-home-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.brand-home-card {
    aspect-ratio: 3/2;
    border: 1.5px solid #e8ecf0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

    .brand-home-card:hover {
        box-shadow: 0 6px 24px rgba(15,52,96,.12);
        transform: translateY(-3px);
        border-color: #c8d6e8;
    }

    .brand-home-card img {
        max-width: 100%;
        max-height: 50px;
        object-fit: contain;
        filter: grayscale(20%);
        transition: filter .2s;
    }

    .brand-home-card:hover img {
        filter: grayscale(0%);
    }

.brand-home-placeholder {
    font-weight: 800;
    font-size: 14px;
    color: #0f3460;
    letter-spacing: .5px;
    text-align: center;
}

/* Categories Grid */
.cat-home-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.cat-home-card {
    background: #fff;
    border: 1.5px solid #e8ecf0;
    border-radius: 12px;
    padding: 22px 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

    .cat-home-card:hover {
        box-shadow: 0 6px 20px rgba(15,52,96,.1);
        transform: translateY(-3px);
        border-color: #0f3460;
    }

.cat-home-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0f3460;
}

.cat-home-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}

.cat-home-count {
    font-size: 11px;
    color: #94a3b8;
}

/* Hot Products — compact grid, 10 per row */
.hot-home-section {
    padding: 36px 0;
    background: #f8fafb;
}

    .hot-home-section .section-head h2 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .hot-home-section .section-head p {
        font-size: 12px;
    }

    .hot-home-section .section-head {
        margin-bottom: 24px;
    }

.hot-home-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.hot-home-card {
    border: 1px solid #eceff3;
    border-radius: 8px;
    padding: 14px 10px 12px;
    text-align: center;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

    .hot-home-card:hover {
        box-shadow: 0 4px 16px rgba(15,52,96,.1);
        transform: translateY(-2px);
        border-color: #e94560;
    }

.hot-home-img, .hot-home-img-placeholder {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #f8f9fc;
    border-radius: 6px;
    padding: 6px;
    flex-shrink: 0;
}

.hot-home-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #c8d6e8;
}

.hot-home-name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    width: 100%;
}

.hot-home-pn {
    font-size: 11px;
    color: #888;
}

.hot-home-btn {
    width: 100%;
    background: #e94560;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}

    .hot-home-btn:hover {
        opacity: .85;
        color: #fff;
    }

/* Why Us */
.why2-section {
    background: #fff;
    padding: 72px 0;
}

.why2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why2-card {
    background: #f8f9fc;
    border: 1.5px solid #eaeef2;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}

    .why2-card:hover {
        box-shadow: 0 8px 32px rgba(15,52,96,.1);
        transform: translateY(-4px);
        border-color: #e94560;
    }

.why2-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg,#e94560,#c73652);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin: 0 auto 18px;
}

.why2-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f3460;
    margin-bottom: 8px;
}

.why2-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
}

/* News Grid */
.news-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.news-home-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    border: 1.5px solid #eaeef2;
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}

    .news-home-card:hover {
        box-shadow: 0 8px 32px rgba(15,52,96,.14);
        transform: translateY(-4px);
    }

.news-home-cover {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #e8ecf4;
}

.news-home-cover-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg,#e8ecf4,#d0dae8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #b0bfce;
}

.news-home-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-home-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e94560;
    margin-bottom: 8px;
}

.news-home-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-home-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-home-date {
    font-size: 12px;
    color: #aaa;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #0f3460, #162347);
    padding: 72px 0;
    text-align: center;
}

    .cta-banner h2 {
        font-size: 32px;
        font-weight: 900;
        color: #fff;
        margin-bottom: 14px;
    }

    .cta-banner p {
        font-size: 16px;
        color: rgba(255,255,255,.65);
        margin-bottom: 28px;
    }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e94560;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(233,69,96,.4);
}

    .btn-cta:hover {
        background: #c73652;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(233,69,96,.5);
    }

/* Responsive */
@media (max-width: 1100px) {
    .hero-home-inner {
        gap: 40px;
    }

    .hero-search-wrap {
        width: 360px;
    }

    .hero-headline {
        font-size: 34px;
    }

    .brands-home-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cat-home-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hot-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-home-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-search-wrap {
        width: 100%;
        max-width: 480px;
    }

    .hero-sub {
        margin: 0 auto 32px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .stats-strip-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stats-strip-item {
        border-right: none;
        border-bottom: 1px solid #eaeef2;
        padding: 0 0 16px;
    }

    .brands-home-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cat-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hot-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-home {
        padding: 50px 0 60px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-search-card {
        padding: 20px;
    }

    .brands-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cat-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hot-home-grid {
        grid-template-columns: 1fr;
    }

    .why2-grid {
        grid-template-columns: 1fr;
    }

    .news-home-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip-inner {
        grid-template-columns: 1fr 1fr;
    }
}