﻿.home-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 12px 35px;
    background: #f5f5f5;
}

.hero-skince {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 22px 0 30px;
}

.hero-text span {
    background: #ffe2bd;
    color: #a86b22;
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 11px;
}

.hero-text h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 18px 0 12px;
}

.hero-text p {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.btn-dark,
.btn-light {
    padding: 12px 22px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
}

.btn-dark {
    background: #000;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}

.hero-img {
    position: relative;
}

    .hero-img img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 12px;
    }

.coupon-box {
    position: absolute;
    left: -18px;
    bottom: 28px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 25px #0002;
    font-size: 13px;
    animation: floatCoupon 1.8s ease-in-out infinite;
}

@keyframes floatCoupon {
    50% {
        transform: translateY(-10px);
    }
}

.banner-slider {
    height: 285px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

    .banner-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .banner-content h2 {
        font-size: 34px;
        font-family: serif;
        margin-bottom: 18px;
    }

    .banner-content h1 {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .banner-content p {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .banner-content a {
        background: #000;
        color: #fff;
        padding: 10px 22px;
        text-decoration: none;
        font-weight: 700;
    }

.home-icons {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

    .home-icons a {
        height: 72px;
        border-radius: 10px;
        background: #eee;
        color: #111;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .home-icons span {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .home-icons p {
        font-size: 12px;
    }

.flash-deals {
    background: #ff7a00;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 36px;
}

.flash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    color: #fff;
}

    .flash-head > div {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .flash-head h2 {
        font-size: 24px;
    }

    .flash-head a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
    }

.flash-time span {
    background: #000;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.flash-grid {
    display: flex;
    gap: 10px;
    overflow: hidden;
    scroll-behavior: smooth;
}
.flash-card {
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    position: relative;
    min-width: 190px;
    max-width: 190px;
    flex: 0 0 190px;
}

    .flash-card img {
        width: 100%;
        height: 135px;
        object-fit: cover;
        display: block;
    }
.sale-tag {
    position: absolute;
    top: 7px;
    right: 7px;
    background: #ff4b00;
    color: #fff;
    padding: 4px 7px;
    border-radius: 4px;
    font-size: 11px;
}

.flash-info {
    background: #fff;
    padding: 8px;
}

    .flash-info p {
        color: #777;
        font-size: 10px;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .flash-info h3 {
        height: 34px;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

.price-row {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 7px;
}

    .price-row strong {
        color: #ff4b00;
        font-size: 14px;
    }

    .price-row del {
        color: #888;
        font-size: 10px;
    }

.sold-bar {
    height: 15px;
    background: #ffd0b5;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .sold-bar span {
        display: block;
        width: 70%;
        height: 100%;
        background: #ff6a00;
    }

    .sold-bar small {
        position: absolute;
        inset: 0;
        color: #fff;
        text-align: center;
        line-height: 15px;
        font-size: 10px;
    }

.why-title {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 18px;
}

    .why-title span,
    .why-title p {
        color: #555;
        font-size: 14px;
    }

    .why-title h2 {
        font-size: 26px;
        margin-top: 5px;
    }

.why-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-bottom: 34px;
}

.why-big,
.img-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
}

.why-big {
    height: 330px;
}

    .why-big img,
    .img-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .why-big > div,
    .img-card > div {
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 22px;
    }

.why-side {
    display: grid;
    gap: 18px;
}

.why-small {
    height: 156px;
    border-radius: 14px;
}

.gold-card {
    background: #f7d7a7;
    text-align: center;
    padding: 28px 20px;
}

    .gold-card span {
        font-size: 34px;
    }

.newsletter {
    background: #000;
    color: #fff;
    border-radius: 14px;
    padding: 36px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

    .newsletter p {
        color: #aaa;
    }

    .newsletter form {
        display: flex;
        height: 46px;
    }

    .newsletter input {
        width: 300px;
        padding: 0 15px;
        border: none;
    }

    .newsletter button {
        border: none;
        background: #fff;
        color: #000;
        padding: 0 22px;
        font-weight: 800;
    }

.home-footer {
    padding-bottom: 20px;
}

.footer-services {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

    .footer-services div {
        text-align: center;
        font-size: 12px;
    }

.footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 30px;
}

    .footer-columns h4 {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .footer-columns a,
    .footer-columns p {
        display: block;
        color: #555;
        text-decoration: none;
        font-size: 13px;
        margin-bottom: 8px;
    }

.map-box {
    height: 110px;
    background: #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-subscribe {
    display: flex;
}

    .footer-subscribe input {
        flex: 1;
        border: none;
        padding: 12px;
    }

    .footer-subscribe button {
        border: none;
        background: #000;
        color: #fff;
        padding: 0 14px;
    }

@media(max-width: 900px) {
    .hero-skince,
    .why-grid,
    .newsletter {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .home-icons,
    .flash-grid,
    .footer-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}
.header-user {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-user-icon,
.logout-icon {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #2d4f2f;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.logout-form {
    margin: 0;
    padding: 0;
}

.logout-icon:hover,
.header-user-icon:hover {
    color: #000;
}
.header-user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2d4f2f;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    max-width: 110px;
}

    .header-user-info span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-user-info i {
        font-size: 22px;
        flex-shrink: 0;
    }/* Nâng cấp trang chủ: ảnh rõ hơn, chống mất hình và tạo cảm giác cao cấp */
.home-page{background:linear-gradient(180deg,#fffaf5 0%,#f7f4ef 45%,#f5f5f5 100%);border-radius:0 0 18px 18px}.hero-skince{background:#fff;border:1px solid #f0e4d8;border-radius:20px;padding:28px 30px;margin-bottom:22px;box-shadow:0 18px 45px rgba(120,80,30,.08)}.hero-text h1{font-size:44px;color:#161616}.hero-img img{box-shadow:0 18px 35px rgba(0,0,0,.12)}.banner-slider{box-shadow:0 18px 40px rgba(0,0,0,.10);background:#ead1ad}.banner-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.08),rgba(255,255,255,.08))}.banner-content{position:absolute;left:55px;top:50%;transform:translateY(-50%);z-index:3;color:#fff;text-shadow:0 3px 15px rgba(0,0,0,.35)}.home-icons a{background:#fff;border:1px solid #f1e8de;box-shadow:0 10px 24px rgba(0,0,0,.04);transition:.25s}.home-icons a:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(0,0,0,.09)}.flash-deals{box-shadow:0 18px 45px rgba(255,122,0,.25)}.flash-card{box-shadow:0 9px 20px rgba(0,0,0,.10);transition:.25s}.flash-card:hover{transform:translateY(-6px)}.flash-card img{background:#f2eee9}.why-big{position:relative;overflow:hidden;border-radius:18px;background:#111;min-height:300px;box-shadow:0 18px 45px rgba(0,0,0,.12)}.why-big img{width:100%;height:100%;min-height:330px;object-fit:cover;display:block;opacity:.82;filter:brightness(.72)}.why-big>div{position:absolute;left:32px;bottom:32px;color:#fff;max-width:520px}.why-big a{color:#fff;font-weight:800;text-decoration:none}.why-small{border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.08)}.why-small.img-card{position:relative}.why-small.img-card img{width:100%;height:150px;object-fit:cover;filter:brightness(.75)}.why-small.img-card div{position:absolute;left:22px;bottom:18px;color:#fff}.gold-card{background:linear-gradient(135deg,#ffe5b8,#ffd18a);padding:32px;text-align:center}.newsletter{box-shadow:0 18px 45px rgba(0,0,0,.12)}

.real-map {
    overflow: hidden;
    border-radius: 14px;
    min-height: 130px;
    background: #eee;
}
.real-map iframe {
    width: 100%;
    height: 150px;
    border: 0;
    display: block;
}
