/*
 Theme Name: LUMIÈRE Child
 Theme URI: https://www.mhairdryer.com/
 Description: Child theme for GeneratePress — LUMIÈRE beauty & personal-care appliance OEM/ODM landing site. Rose red & rose gold visual identity.
 Template: generatepress
 Author: LUMIÈRE
 Version: 1.0.0
 License: GPL-2.0-or-later
 Text Domain: lumiere-child
*/

/* ==================================================================
   LUMIÈRE · Beauty / Personal-Care Appliance OEM-ODM
   Visual: Rose Red & Rose Gold  (ported from design source)
================================================================== */

:root {
    --rose: #E8428A;
    --rose-light: #F0559B;
    --rose-dark: #C82E72;
    --gold: #C9A063;
    --gold-light: #E4C79A;

    --ink: #2B2B33;
    --ink-soft: #6B6B76;
    --line: #EFE4EC;

    --bg: #FFFFFF;
    --bg-soft: #FBF6F9;
    --bg-pink: #FDEFF6;
    --dark: #1C1B22;

    --wa: #25D366;

    --grad-rose: linear-gradient(135deg, #F0559B 0%, #E8428A 55%, #C82E72 100%);
    --grad-soft: linear-gradient(135deg, #FDEFF6 0%, #FBF6F9 100%);
    --grad-gold: linear-gradient(135deg, #E4C79A 0%, #C9A063 100%);

    --shadow-sm: 0 2px 10px rgba(200, 46, 114, .06);
    --shadow-md: 0 10px 30px rgba(200, 46, 114, .10);
    --shadow-lg: 0 20px 50px rgba(200, 46, 114, .16);

    --radius: 16px;
    --radius-sm: 10px;
    --container: 1200px;
    --header-h: 72px;

    --font: "PingFang SC", "Helvetica Neue", -apple-system, "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------------- Sections ---------------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--rose);
    margin-bottom: 12px;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.section-desc { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }

/* ---------------- Buttons ---------------- */
.btn-primary, .btn-ghost {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .3s ease;
}
.btn-primary {
    background: var(--grad-rose);
    color: #fff;
    box-shadow: 0 8px 22px rgba(232, 66, 138, .35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(232, 66, 138, .45); }
.btn-ghost {
    background: rgba(255, 255, 255, .7);
    color: var(--rose-dark);
    border: 1.5px solid var(--rose);
}
.btn-ghost:hover { background: var(--rose); color: #fff; transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------------- Top Bar ---------------- */
.top-bar {
    background: var(--dark);
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.top-bar-msg { opacity: .9; }
.top-bar-right { display: flex; align-items: center; gap: 10px; }

/* Polylang language switcher inside top bar */
.lang-switcher { display: inline-block; }
.lang-switcher .pll-switcher { display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; }
.lang-switcher .pll-switcher li { list-style: none; }
.lang-switcher .pll-switcher li a {
    display: inline-flex; align-items: center; gap: 5px;
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px; padding: 2px 10px; font-size: 12.5px;
    transition: all .25s;
}
.lang-switcher .pll-switcher li a:hover { color: #fff; border-color: var(--rose-light); }
.lang-switcher .pll-switcher li.current-lang a {
    color: #fff; background: var(--grad-rose); border-color: transparent;
}

/* ---------------- Header ---------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.main-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { font-size: 26px; }
.logo-text {
    display: flex; flex-direction: column; line-height: 1.1;
    font-size: 22px; font-weight: 800; letter-spacing: .5px;
    background: var(--grad-rose); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-text small {
    font-size: 10px; font-weight: 500; letter-spacing: 2px;
    color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft);
}

.main-nav { display: flex; gap: 30px; }
.nav-link {
    position: relative; font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0;
    transition: color .25s;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--grad-rose); border-radius: 2px; transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: var(--rose); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-wa-nav {
    background: var(--grad-rose); color: #fff; padding: 10px 22px; border-radius: 40px;
    font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px rgba(232, 66, 138, .3);
    transition: all .3s;
}
.btn-wa-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232, 66, 138, .42); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(240, 85, 155, .18), transparent 42%),
        radial-gradient(circle at 12% 85%, rgba(201, 160, 99, .16), transparent 46%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
    padding: 84px 24px 96px;
}
.hero-badge {
    display: inline-block; background: rgba(232, 66, 138, .1); color: var(--rose-dark);
    font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 30px; margin-bottom: 22px;
}
.hero-text h1 { font-size: 52px; font-weight: 800; line-height: 1.18; color: var(--ink); letter-spacing: -.5px; }
.hero-sub { margin: 22px 0 32px; font-size: 17px; color: var(--ink-soft); max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: var(--ink-soft); }
.hero-trust span { font-weight: 500; }

.hero-visual { position: relative; height: 420px; }
.hero-card {
    position: absolute; background: rgba(255, 255, 255, .75); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .8); border-radius: 20px; padding: 22px 24px;
    box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 4px; min-width: 190px;
    animation: floatCard 5s ease-in-out infinite;
}
.hero-card .hc-emoji { font-size: 40px; }
.hero-card b { font-size: 17px; color: var(--ink); margin-top: 6px; }
.hero-card small { color: var(--ink-soft); font-size: 13px; }
.hero-card-1 { top: 20px; left: 20px; animation-delay: 0s; }
.hero-card-2 { top: 150px; right: 10px; animation-delay: .8s; }
.hero-card-3 { bottom: 20px; left: 70px; animation-delay: 1.6s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------------- Stats ---------------- */
.stats { background: var(--dark); color: #fff; padding: 54px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item b {
    display: block; font-size: 46px; font-weight: 800;
    background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item span { color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ---------------- Products ---------------- */
.products { background: var(--bg); }
.prod-tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 42px; }
.prod-tab {
    padding: 10px 26px; border-radius: 30px; border: 1.5px solid var(--line); background: #fff;
    color: var(--ink-soft); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .25s;
}
.prod-tab:hover { border-color: var(--rose); color: var(--rose); }
.prod-tab.active { background: var(--grad-rose); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(232, 66, 138, .3); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: all .35s ease; cursor: pointer; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(232, 66, 138, .35); }
.pc-media {
    position: relative; height: 190px; display: flex; align-items: center; justify-content: center;
    font-size: 74px; line-height: 1; background: var(--grad-soft);
}
.pc-tag {
    position: absolute; top: 12px; left: 12px; background: var(--grad-rose); color: #fff;
    font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px;
}
.pc-body { padding: 18px 18px 22px; }
.pc-body h3 { font-size: 17px; font-weight: 700; color: var(--ink); }
.pc-body p { margin: 8px 0 14px; color: var(--ink-soft); font-size: 13.5px; min-height: 38px; }
.pc-moq { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.pc-moq .moq { color: var(--gold); font-weight: 700; }
.pc-moq .more { color: var(--rose); font-weight: 600; }

/* ---------------- OEM Steps ---------------- */
.oem { background: var(--bg-soft); }
.oem-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.oem-step {
    background: #fff; border-radius: var(--radius); padding: 28px 18px; text-align: center;
    border: 1px solid var(--line); position: relative; transition: all .3s;
}
.oem-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.oem-num {
    width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%;
    background: var(--grad-gold); color: #fff; font-weight: 800; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(201, 160, 99, .35);
}
.oem-step .oem-ico { font-size: 30px; display: block; margin-bottom: 10px; }
.oem-step h4 { font-size: 15px; font-weight: 700; color: var(--ink); }
.oem-step p { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* ---------------- Certs ---------------- */
.certs { background: var(--bg); }
.cert-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cert-item {
    background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 14px; text-align: center; transition: all .3s;
}
.cert-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-ico { font-size: 38px; display: block; margin-bottom: 10px; }
.cert-item b { display: block; font-size: 17px; color: var(--ink); }
.cert-item small { color: var(--ink-soft); font-size: 12.5px; }

/* ---------------- Cases ---------------- */
.cases { background: var(--bg-soft); }
.case-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.case-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    height: 90px; display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 16px; font-weight: 700; color: var(--ink-soft);
    filter: grayscale(1); opacity: .7; transition: all .3s;
}
.case-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-4px); box-shadow: var(--shadow-sm); color: var(--rose); }
.case-item .case-emoji { font-size: 24px; }

/* ---------------- FAQ ---------------- */
.faq { background: var(--bg); }
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: rgba(232, 66, 138, .3); }
.faq-q {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 22px; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 15.5px;
}
.faq-q .faq-icon { font-size: 22px; color: var(--rose); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 22px; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 320px; padding: 0 22px 20px; }

/* ---------------- Contact ---------------- */
.contact { background: var(--grad-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .section-head { text-align: left; margin: 0 0 26px; }
.contact-info .section-tag { display: inline-block; }
.contact-list { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.contact-list li span:first-child { font-size: 18px; }
.btn-wa-big {
    display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff;
    padding: 14px 28px; border-radius: 40px; font-weight: 600; box-shadow: 0 8px 20px rgba(37, 211, 102, .3);
    transition: all .3s;
}
.btn-wa-big:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(37, 211, 102, .42); }

.contact-form {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14.5px; color: var(--ink); background: var(--bg-soft);
    transition: all .25s; outline: none;
}
.contact-form textarea { margin-bottom: 18px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--rose); background: #fff; box-shadow: 0 0 0 3px rgba(232, 66, 138, .1);
}
.form-tip { margin-top: 12px; font-size: 13.5px; text-align: center; min-height: 18px; }
.form-tip.ok { color: var(--wa); }
.form-tip.err { color: var(--rose-dark); }

/* ---------------- Footer ---------------- */
.main-footer { background: var(--dark); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 44px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a, .footer-contact li { color: rgba(255, 255, 255, .68); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--rose-light); }
.footer-contact li { margin-bottom: 11px; }
.footer-brand .logo-light .logo-text { -webkit-text-fill-color: #fff; color: #fff; background: none; }
.footer-brand p { margin: 16px 0 20px; font-size: 14px; line-height: 1.75; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.social-icon {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08);
    display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .8); transition: all .3s;
}
.social-icon:hover { background: var(--grad-rose); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.copyright { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13.5px; color: rgba(255, 255, 255, .6); transition: color .2s; }
.footer-links a:hover { color: var(--rose-light); }

/* ---------------- Floating ---------------- */
.back-to-top {
    position: fixed; right: 24px; bottom: 94px; z-index: 998;
    width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--rose); }

/* ---------------- Reveal Animation ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================================================================
   RTL (Arabic)
================================================================== */
[dir="rtl"] .top-bar-inner,
[dir="rtl"] .header-inner,
[dir="rtl"] .footer-bottom .container { direction: rtl; }
[dir="rtl"] .hero-trust,
[dir="rtl"] .contact-list li { direction: rtl; }
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .pc-tag { left: auto; right: 12px; }
[dir="rtl"] .back-to-top { right: auto; left: 24px; }
[dir="rtl"] .contact-info .section-head { text-align: right; }

/* ==================================================================
   Responsive
================================================================== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .oem-steps { grid-template-columns: repeat(3, 1fr); }
    .cert-grid, .case-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-text h1 { font-size: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-title { font-size: 26px; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: rgba(255, 255, 255, .98); backdrop-filter: blur(14px);
        flex-direction: column; gap: 0; padding: 10px 24px 20px;
        box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .35s ease;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
    .nav-toggle { display: flex; }
    .btn-wa-nav { display: none; }

    .hero-inner { grid-template-columns: 1fr; padding: 54px 24px 70px; }
    .hero-text h1 { font-size: 38px; }
    .hero-visual { height: 340px; margin-top: 20px; }
    .hero-card { min-width: 160px; padding: 18px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
    .stat-item b { font-size: 38px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .oem-steps { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
    .case-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .top-bar-msg { display: none; }
    .top-bar-inner { justify-content: flex-end; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-text h1 { font-size: 31px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; text-align: center; }
    .product-grid { grid-template-columns: 1fr; }
    .oem-steps { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .pc-media { height: 160px; font-size: 60px; }
}
