/*
Theme Name: Nails Luxe
Theme URI: https://example.com/
Author: OpenAI
Description: A modern luxury WooCommerce-ready WordPress theme for nail brands, featuring gel nails, press-on nails and custom nail services. Includes 5 demo products on activation when WooCommerce is active.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: nails-luxe
Tags: e-commerce, beauty, nails, woocommerce, luxury, responsive, custom-logo
*/

:root {
    --nl-ink: #171318;
    --nl-plum: #3d2233;
    --nl-plum-2: #6d3d56;
    --nl-rose: #d98ba8;
    --nl-rose-soft: #f2d6df;
    --nl-champagne: #e9d6b3;
    --nl-ivory: #faf6f1;
    --nl-white: #ffffff;
    --nl-muted: #736c73;
    --nl-line: rgba(61, 34, 51, 0.13);
    --nl-shadow: 0 20px 60px rgba(35, 20, 28, 0.12);
    --nl-radius: 24px;
    --nl-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--nl-ivory);
    color: var(--nl-ink);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--nl-max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--tight { padding: 58px 0; }
.section__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--nl-plum-2); }
.section__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__title { margin: 14px 0 12px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.section__intro { max-width: 680px; color: var(--nl-muted); }
.text-center { text-align: center; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(250, 246, 241, .86);
    border-bottom: 1px solid rgba(61,34,51,.08);
}
.header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
    width: 42px; height: 42px; border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, var(--nl-white), var(--nl-champagne) 40%, var(--nl-rose) 75%, var(--nl-plum) 100%);
    box-shadow: 0 8px 24px rgba(61,34,51,.18);
}
.brand__name { font-family: "Playfair Display", Georgia, serif; font-size: 25px; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14px; font-weight: 700; opacity: .86; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--nl-rose); opacity: 1; }
.header__cta { display: inline-flex; align-items: center; gap: 9px; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--nl-plum); margin: 5px 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
    font-size: 14px; font-weight: 800; transition: .25s ease;
}
.btn--primary { background: var(--nl-plum); color: var(--nl-white); box-shadow: 0 12px 30px rgba(61,34,51,.22); }
.btn--primary:hover { transform: translateY(-2px); background: #2e1926; }
.btn--ghost { border-color: var(--nl-line); background: rgba(255,255,255,.44); }
.btn--ghost:hover { border-color: var(--nl-rose); transform: translateY(-2px); }

.hero { position: relative; overflow: hidden; padding: 64px 0 86px; }
.hero::after {
    content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -140px;
    background: radial-gradient(circle, rgba(233,214,179,.65), rgba(233,214,179,0) 70%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.hero__title { margin: 20px 0 18px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(54px, 7vw, 92px); line-height: .95; letter-spacing: -.045em; }
.hero__title em { color: var(--nl-rose); font-style: normal; }
.hero__copy { max-width: 620px; color: var(--nl-muted); font-size: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; font-size: 13px; font-weight: 800; }
.hero__visual { position: relative; min-height: 560px; }
.hero-card { position: absolute; border-radius: 34px; box-shadow: var(--nl-shadow); overflow: hidden; }
.hero-card--main { inset: 30px 24px 0 0; background: linear-gradient(145deg,#ffffff,#f4dfe6 52%,#d0a5b8); }
.hero-card--main::before {
    content: ""; position: absolute; inset: 9% 12%; border-radius: 46% 54% 49% 51% / 38% 43% 57% 62%;
    background: radial-gradient(circle at 34% 28%, #fff 0 9%, transparent 10%),
        linear-gradient(150deg, rgba(255,255,255,.92), rgba(233,214,179,.78) 34%, rgba(217,139,168,.65) 70%, rgba(61,34,51,.25));
    transform: rotate(-10deg); box-shadow: inset -16px -18px 34px rgba(61,34,51,.1);
}
.hero-card--main::after {
    content: "LUXE"; position: absolute; left: 36px; bottom: 28px; font-size: 12px; font-weight: 900; letter-spacing: .28em; color: rgba(61,34,51,.55);
}
.hero-card--small { right: 0; bottom: 46px; width: 190px; height: 220px; background: var(--nl-plum); padding: 24px; color: var(--nl-white); }
.hero-card--small .mini-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.hero-card--small strong { display: block; margin-top: 18px; font-family: "Playfair Display", Georgia, serif; font-size: 46px; line-height: .95; }

.marquee { border-block: 1px solid var(--nl-line); overflow: hidden; white-space: nowrap; background: var(--nl-white); }
.marquee__track { display: inline-flex; gap: 42px; padding: 15px 0; font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; animation: marquee 24s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-35%); } }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.product-card { background: var(--nl-white); border: 1px solid var(--nl-line); border-radius: var(--nl-radius); overflow: hidden; transition: .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--nl-shadow); }
.product-card__media { aspect-ratio: 1 / 1; padding: 24px; background: linear-gradient(145deg, #f9e9ee, #ead6b3); }
.product-art { width: 100%; height: 100%; border-radius: 30px; background: linear-gradient(160deg, #fff, #f2d6df 50%, #c887a6); position: relative; overflow: hidden; }
.product-art::before, .product-art::after { content:""; position:absolute; border-radius: 48% 52% 47% 53%; }
.product-art::before { width: 54%; height: 75%; left: 19%; top: 9%; background: linear-gradient(145deg,#ffffff 5%,#e9d6b3 30%,#d98ba8 70%,#6d3d56 100%); transform: rotate(-11deg); box-shadow: 24px 20px 50px rgba(61,34,51,.16); }
.product-art::after { width: 34%; height: 34%; right: 7%; bottom: 7%; background: radial-gradient(circle at 35% 30%,#fff 0 7%,transparent 8%), linear-gradient(145deg,#d98ba8,#3d2233); opacity:.6; transform: rotate(20deg); }
.product-card__content { padding: 22px; }
.product-card__tag { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--nl-rose-soft); color: var(--nl-plum); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { margin: 14px 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 26px; }
.product-card p { margin: 0 0 16px; color: var(--nl-muted); font-size: 14px; }
.product-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-weight: 900; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-panel { min-height: 430px; padding: 42px; border-radius: 30px; position: relative; overflow: hidden; }
.feature-panel--dark { background: linear-gradient(145deg, #2a1723, #5f334c); color: var(--nl-white); }
.feature-panel--light { background: linear-gradient(145deg, #fff, #f2d6df); }
.feature-panel h3 { max-width: 500px; margin: 14px 0; font-family: "Playfair Display", Georgia, serif; font-size: 44px; line-height: 1.02; }
.feature-panel p { max-width: 540px; opacity: .78; }
.feature-panel__shape { position: absolute; width: 330px; height: 330px; border-radius: 50%; right: -95px; bottom: -95px; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(233,214,179,.7) 26%, rgba(217,139,168,.6) 50%, rgba(61,34,51,.1) 75%); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step { padding: 28px; border: 1px solid var(--nl-line); border-radius: 22px; background: rgba(255,255,255,.58); }
.step__number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--nl-plum); color: #fff; font-size: 13px; font-weight: 900; }
.step h4 { margin: 18px 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--nl-muted); font-size: 14px; }

.testimonial { background: var(--nl-plum); color: var(--nl-white); border-radius: 34px; padding: 56px; position: relative; overflow: hidden; }
.testimonial::before { content:"“"; position:absolute; right:34px; top:-28px; font-family:Georgia, serif; font-size:220px; color:rgba(255,255,255,.06); }
.testimonial__quote { max-width: 800px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(30px, 4vw, 50px); line-height: 1.12; }
.testimonial__name { margin-top: 22px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--nl-champagne); }

.cta { padding: 38px; border-radius: 28px; background: linear-gradient(135deg, #e8b7c7, #f3e6dc 48%, #e9d6b3); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h3 { margin: 0 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 38px; }
.cta p { margin: 0; color: var(--nl-muted); }

.site-footer { margin-top: 90px; padding: 58px 0 22px; border-top: 1px solid var(--nl-line); background: #f5eee8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-title { margin: 0 0 12px; font-size: 13px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 7px; color: var(--nl-muted); font-size: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--nl-line); display:flex; justify-content: space-between; gap: 20px; color: var(--nl-muted); font-size: 12px; }

.content-area { padding: 80px 0; }
.content-area .entry-title { font-family: "Playfair Display", Georgia, serif; font-size: clamp(42px, 6vw, 72px); line-height: 1; }
.entry-content { max-width: 820px; }
.entry-content a { color: var(--nl-plum-2); text-decoration: underline; text-underline-offset: 3px; }

.woocommerce .site-main, .woocommerce-page .site-main { padding-bottom: 80px; }
.woocommerce ul.products { margin-top: 34px; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background:#fff; border:1px solid var(--nl-line); border-radius:24px; padding:14px; overflow:hidden; transition:.25s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow:var(--nl-shadow); }
.woocommerce ul.products li.product img { border-radius:18px; background:linear-gradient(145deg,#faeaf0,#ebd9bc); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family:"Playfair Display", Georgia, serif; font-size:22px; }
.woocommerce ul.products li.product .price { color:var(--nl-plum); font-weight:900; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius:999px; background:var(--nl-plum); color:#fff; font-weight:800; padding:12px 18px; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background:#2e1926; color:#fff; }
.woocommerce span.onsale { background:var(--nl-rose); min-width:48px; min-height:48px; line-height:48px; padding:0; }

@media (max-width: 900px) {
    .header__cta { display:none; }
    .menu-toggle { display:block; }
    .main-nav { display:none; position:absolute; left:20px; right:20px; top:78px; padding:18px; background:rgba(250,246,241,.98); border:1px solid var(--nl-line); border-radius:20px; box-shadow:var(--nl-shadow); flex-direction:column; align-items:stretch; }
    .main-nav.is-open { display:flex; }
    .hero__grid, .feature-split { grid-template-columns:1fr; }
    .hero__visual { min-height:480px; }
    .product-grid, .steps { grid-template-columns:1fr 1fr; }
    .footer-grid { grid-template-columns:1.5fr 1fr 1fr; }
}

@media (max-width: 620px) {
    .container { width:min(var(--nl-max), calc(100% - 28px)); }
    .section { padding:70px 0; }
    .hero { padding-top: 42px; }
    .hero__title { font-size: 56px; }
    .hero__visual { min-height: 390px; }
    .hero-card--main { inset: 10px 18px 0 0; }
    .hero-card--small { width: 145px; height: 170px; padding: 18px; }
    .hero-card--small strong { font-size: 35px; }
    .product-grid, .steps, .footer-grid { grid-template-columns:1fr; }
    .testimonial { padding: 34px 26px; }
    .cta { flex-direction:column; align-items:flex-start; padding:28px; }
    .footer-bottom { flex-direction:column; }
}
