
/* =========================================================
   LUXURYWATCH - TRANG CHỦ
   Phong cách: Luxury / Minimal / White + Navy + Champagne
   File: public/assets/css/home.css
   ========================================================= */

/* ---------- 1. Biến giao diện ---------- */
:root {
    --lw-bg: #ffffff;
    --lw-bg-soft: #f7f8fa;
    --lw-bg-cream: #f6f3ed;
    --lw-navy: #17324d;
    --lw-navy-dark: #10263b;
    --lw-gold: #b69a67;
    --lw-gold-light: #d6c29c;
    --lw-text: #202a35;
    --lw-muted: #77818c;
    --lw-border: #e7e9ec;
    --lw-shadow: 0 14px 38px rgba(23, 50, 77, 0.08);
    --lw-radius: 4px;
}

/* ---------- 2. Thiết lập chung ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--lw-bg);
    color: var(--lw-text);
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.lw-home,
.lw-home * {
    box-sizing: border-box;
}

.lw-home {
    width: 100%;
    overflow: hidden;
}

.lw-home img {
    display: block;
    max-width: 100%;
}

.lw-container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.lw-home a {
    text-decoration: none;
}

.lw-home p {
    margin-top: 0;
}

.lw-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--lw-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.8;
}

/* ---------- 3. Nút dùng trong trang chủ ---------- */
.lw-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 13px 23px;
    border: 1px solid var(--lw-navy);
    border-radius: 0;
    background: var(--lw-navy);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.lw-button:hover {
    transform: translateY(-2px);
    border-color: var(--lw-gold);
    background: var(--lw-gold);
    color: #ffffff !important;
}

.lw-button > span {
    font-size: 18px;
    line-height: 1;
}

.lw-button-light {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--lw-navy) !important;
}

.lw-button-light:hover {
    border-color: var(--lw-gold);
    background: var(--lw-gold);
    color: #ffffff !important;
}

/* ---------- 4. Hero - phần giới thiệu chính ---------- */
.lw-hero {
    position: relative;
    padding: 66px 0 72px;
    background:
        radial-gradient(
            ellipse at 80% 42%,
            rgba(214, 194, 156, 0.14),
            transparent 43%
        ),
        linear-gradient(120deg, #ffffff 0%, #fbfaf7 100%);
}

.lw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: 72px;
}

.lw-hero-copy {
    position: relative;
    z-index: 1;
    padding: 15px 0 25px;
}

.lw-hero-copy .lw-eyebrow {
    margin-bottom: 24px;
}

.lw-hero-copy h1 {
    margin: 0 0 24px;
    color: var(--lw-navy-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4.2vw, 60px);
    font-weight: 500;
    letter-spacing: -1.7px;
    line-height: 1.25;
}

.lw-hero-copy h1 span {
    color: var(--lw-gold);
    font-style: italic;
    font-weight: 400;
}

.lw-hero-copy > p {
    max-width: 465px;
    margin-bottom: 31px;
    color: #68727d;
    font-size: 13px;
    line-height: 2;
}

.lw-hero-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 43px;
    color: #89919a;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.lw-note-line {
    display: inline-block;
    width: 38px;
    height: 1px;
    background: var(--lw-gold);
}

/* ---------- 5. Ảnh hero ---------- */
.lw-hero-visual {
    position: relative;
    min-width: 0;
    padding: 0 18px 25px 0;
}

.lw-hero-frame {
    position: relative;
    display: flex;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f0eee9;
}

.lw-hero-frame::before {
    position: absolute;
    z-index: 0;
    inset: 14px;
    border: 1px solid rgba(182, 154, 103, 0.3);
    content: "";
    pointer-events: none;
}

/* SỬA: Không dùng multiply vì có thể làm ảnh đồng hồ tối đi */
.lw-hero-frame img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 460px;
    object-fit: contain;
    object-position: center;
    padding: 24px;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    transition: transform 0.6s ease;
}

.lw-hero-visual:hover .lw-hero-frame img {
    transform: scale(1.035);
}

.lw-hero-caption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    color: #777f87;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.lw-hero-number {
    position: absolute;
    right: -2px;
    bottom: 63px;
    color: var(--lw-gold);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-style: italic;
}

/* ---------- 6. Dải điểm nổi bật ---------- */
.lw-benefits {
    position: relative;
    border-top: 1px solid var(--lw-border);
    border-bottom: 1px solid var(--lw-border);
    background: #ffffff;
}

.lw-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lw-benefit {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px;
}

.lw-benefit + .lw-benefit {
    border-left: 1px solid var(--lw-border);
}

.lw-benefit-icon {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8dfcf;
    border-radius: 50%;
    color: var(--lw-gold);
    font-family: Georgia, serif;
    font-size: 22px;
}

.lw-benefit strong {
    display: block;
    margin-bottom: 3px;
    color: var(--lw-navy);
    font-size: 12px;
    font-weight: 600;
}

.lw-benefit p {
    margin: 0;
    color: var(--lw-muted);
    font-size: 11px;
}

/* ---------- 7. Khu vực bộ sưu tập ---------- */
.lw-collection {
    padding: 92px 0 100px;
    background: #ffffff;
}

.lw-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 36px;
}

.lw-section-heading .lw-eyebrow {
    margin-bottom: 11px;
}

.lw-section-heading h2 {
    margin: 0 0 12px;
    color: var(--lw-navy-dark);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 500;
    letter-spacing: -0.7px;
    line-height: 1.3;
}

.lw-section-heading h2 span {
    color: var(--lw-gold);
    font-style: italic;
}

.lw-section-heading p {
    margin: 0;
    color: var(--lw-muted);
    font-size: 12px;
}

.lw-collection-count {
    flex-shrink: 0;
    padding-bottom: 7px;
    color: #8a9096;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ---------- 8. Lưới sản phẩm ---------- */
.lw-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px 23px;
}

.lw-product-card {
    min-width: 0;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.lw-product-card:hover {
    transform: translateY(-4px);
}

.lw-product-image {
    position: relative;
    display: flex;
    aspect-ratio: 4 / 4.65;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f5f4f1;
    color: var(--lw-navy);
}

.lw-product-index {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 14px;
    color: #898b88;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 13px;
    font-style: italic;
}

/* SỬA: Giữ nguyên màu sắc gốc của ảnh sản phẩm */
.lw-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 15px;
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    transition: transform 0.45s ease;
}

.lw-product-card:hover .lw-product-image img {
    transform: scale(1.06);
}

.lw-view-product {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    background: rgba(23, 50, 77, 0.94);
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.lw-product-card:hover .lw-view-product,
.lw-product-image:focus-visible .lw-view-product {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 9. Thông tin sản phẩm ---------- */
.lw-product-info {
    padding: 18px 2px 0;
}

.lw-product-category {
    display: block;
    margin-bottom: 7px;
    color: var(--lw-gold);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.7;
}

.lw-product-info h3 {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--lw-navy);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lw-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
}

.lw-product-prices strong {
    color: var(--lw-navy-dark);
    font-size: 14px;
    font-weight: 700;
}

.lw-product-prices del {
    color: #9ba1a7;
    font-size: 11px;
}

.lw-product-unavailable {
    margin: 0;
    color: var(--lw-muted);
    font-size: 11px;
}

/* ---------- 10. Banner thương hiệu ---------- */
.lw-editorial {
    position: relative;
    overflow: hidden;
    padding: 78px 0;
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(214, 194, 156, 0.13),
            transparent 35%
        ),
        var(--lw-navy-dark);
    color: #ffffff;
}

.lw-editorial-inner {
    position: relative;
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.lw-editorial .lw-eyebrow {
    margin-bottom: 16px;
    color: var(--lw-gold-light);
}

.lw-editorial h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(32px, 4vw, 47px);
    font-weight: 500;
    line-height: 1.35;
}

.lw-editorial p {
    max-width: 520px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 2;
}

.lw-editorial-mark {
    flex-shrink: 0;
    padding-right: 35px;
    color: rgba(214, 194, 156, 0.16);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(100px, 17vw, 220px);
    font-weight: 500;
    letter-spacing: -12px;
    line-height: 1;
    user-select: none;
}

/* ---------- 11. Responsive - máy tính bảng ---------- */
@media (max-width: 1000px) {
    .lw-container {
        width: min(calc(100% - 44px), 900px);
    }

    .lw-hero {
        padding: 48px 0 55px;
    }

    .lw-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
        gap: 35px;
    }

    .lw-hero-copy h1 {
        font-size: clamp(34px, 4.4vw, 46px);
    }

    .lw-hero-frame {
        min-height: 350px;
    }

    .lw-hero-frame img {
        height: 380px;
    }

    .lw-benefit {
        gap: 11px;
        padding-inline: 12px;
    }

    .lw-benefit-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .lw-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .lw-collection {
        padding: 72px 0 80px;
    }
}

/* ---------- 12. Responsive - điện thoại ---------- */
@media (max-width: 650px) {
    .lw-container {
        width: calc(100% - 32px);
    }

    .lw-hero {
        padding: 38px 0 42px;
    }

    .lw-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .lw-hero-copy {
        padding: 0;
    }

    .lw-hero-copy .lw-eyebrow {
        margin-bottom: 15px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .lw-hero-copy h1 {
        margin-bottom: 16px;
        font-size: clamp(35px, 9vw, 47px);
        letter-spacing: -1px;
        line-height: 1.28;
    }

    .lw-hero-copy > p {
        margin-bottom: 23px;
        font-size: 12px;
        line-height: 1.9;
    }

    .lw-button {
        min-height: 46px;
        gap: 16px;
        padding: 11px 17px;
        font-size: 10px;
    }

    .lw-hero-note {
        margin-top: 25px;
        font-size: 8px;
    }

    .lw-hero-visual {
        padding-right: 10px;
    }

    .lw-hero-frame {
        min-height: 300px;
    }

    .lw-hero-frame img {
        height: 320px;
        padding: 20px;
    }

    .lw-hero-frame::before {
        inset: 10px;
    }

    .lw-hero-caption {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .lw-hero-number {
        right: -1px;
        bottom: 59px;
        font-size: 20px;
    }

    .lw-benefit-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .lw-benefit {
        min-height: 78px;
        justify-content: flex-start;
        padding: 15px 8px;
    }

    .lw-benefit + .lw-benefit {
        border-top: 1px solid var(--lw-border);
        border-left: 0;
    }

    .lw-benefit-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .lw-collection {
        padding: 55px 0 60px;
    }

    .lw-section-heading {
        align-items: flex-start;
        margin-bottom: 25px;
    }

    .lw-section-heading .lw-eyebrow {
        margin-bottom: 8px;
    }

    .lw-section-heading h2 {
        font-size: 31px;
    }

    .lw-section-heading p {
        max-width: 280px;
        font-size: 11px;
    }

    .lw-collection-count {
        padding-top: 7px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .lw-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 13px;
    }

    .lw-product-image {
        aspect-ratio: 4 / 4.7;
    }

    .lw-product-image img {
        padding: 8px;
    }

    .lw-product-index {
        top: 8px;
        left: 9px;
        font-size: 11px;
    }

    .lw-view-product {
        min-height: 35px;
        font-size: 10px;
        opacity: 1;
        transform: none;
    }

    .lw-product-info {
        padding-top: 12px;
    }

    .lw-product-category {
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .lw-product-info h3 {
        min-height: 40px;
        font-size: 11px;
        line-height: 1.7;
    }

    .lw-product-prices {
        gap: 5px;
    }

    .lw-product-prices strong {
        font-size: 12px;
    }

    .lw-product-prices del {
        font-size: 10px;
    }

    .lw-editorial {
        padding: 52px 0;
    }

    .lw-editorial-inner {
        min-height: 0;
        gap: 15px;
    }

    .lw-editorial h2 {
        font-size: 33px;
    }

    .lw-editorial p {
        font-size: 11px;
    }

    .lw-editorial-mark {
        display: none;
    }
}

/* ---------- 13. Điện thoại nhỏ ---------- */
@media (max-width: 380px) {
    .lw-container {
        width: calc(100% - 24px);
    }

    .lw-hero-copy h1 {
        font-size: 32px;
    }

    .lw-section-heading h2 {
        font-size: 27px;
    }

    .lw-collection-count {
        font-size: 7px;
    }

    .lw-product-grid {
        gap: 22px 10px;
    }

    .lw-product-info h3 {
        font-size: 10px;
    }

    .lw-product-prices strong {
        font-size: 11px;
    }
}

/* ---------- 14. Hỗ trợ người dùng giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
    .lw-home *,
    .lw-home *::before,
    .lw-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
