/* ========================================
   Anything U Needy - Signature Boutique
   Aesthetic: Quiet Luxury / Boutique Retail
   Typography: Playfair Display + Plus Jakarta
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* Brand Narrative Colors - Executive Luxury */
    --brand-dark: #000000;
    --brand-gold: #c29c6d;
    --brand-cream: #ffffff;
    --brand-accent: #1e293b;
    --text-primary: #000000;
    --text-secondary: #334155;
    --text-muted: #64748b;

    /* Layout Tokens */
    --section-pad: 140px;
    --container-width: 1300px;
    --radius-pill: 999px;
    --radius-soft: 8px;

    /* Design Language */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --shadow-lux: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--brand-cream);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* --- OVERHAULED TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--brand-sage);
}

.uppercase-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--brand-gold);
    margin-bottom: 2rem;
    display: block;
}

/* --- IMMERSIVE WRAPPER --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- BOUTIQUE HEADER --- */
header {
    background: #ffffff !important;
    border-bottom: 2px solid #eeeeee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 999999;
    display: flex;
    align-items: center;
}

/* --- LOGO STYLING --- */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--brand-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--brand-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 800;
}

.nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--brand-dark);
    letter-spacing: 0.05em;
    transition: 0.3s;
}

/* Mobile-Specific Overrides for Header - EMERGENCY RECOVERY */
@media (max-width: 768px) {
    header {
        height: 60px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999999 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .container {
        padding: 0 15px;
    }

    .nav-links {
        display: none !important;
    }

    .nav-bar {
        justify-content: center !important;
        display: flex !important;
        width: 100%;
        height: 100%;
        align-items: center;
    }

    .brand-logo {
        font-size: 0.95rem !important;
        color: #000000 !important;
        display: flex !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* FORCE 1-COLUMN STABILITY */
    .hero-grid,
    .story-grid,
    .mosaic-grid,
    .footer-top {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .mosaic-item {
        height: auto !important;
        min-height: 350px !important;
    }

    .img-presentation img {
        height: auto !important;
        max-height: 400px !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .hero {
        padding-top: 80px !important;
    }
}

.logo-icon {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
}

/* --- HERO: THE MASTERPIECE --- */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    margin-bottom: 2.5rem;
    color: var(--brand-dark);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.primary-btn {
    background: var(--brand-dark);
    color: white !important;
    padding: 24px 48px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: 0.4s var(--ease-out);
}

.primary-btn:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--brand-gold);
}

.img-presentation {
    position: relative;
}

.img-presentation img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lux);
}

.floating-label {
    position: absolute;
    bottom: 50px;
    left: -50px;
    background: white;
    padding: 30px 40px;
    box-shadow: var(--shadow-lux);
    border-radius: 4px;
}

/* --- BOUTIQUE STORY SECTION --- */
.story-section {
    padding: var(--section-pad) 0;
    background: var(--brand-cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-strip {
    display: flex;
    gap: 40px;
    margin-top: 4rem;
    border-top: 1px solid #eee;
    padding-top: 3rem;
}

.f-item h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.f-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* --- PRODUCT GALLERY CAROUSEL (MOCK) --- */
.collection-section {
    padding: var(--section-pad) 0;
    background: white;
}

.collection-header {
    text-align: center;
    margin-bottom: 6rem;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s var(--ease-out);
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

.mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: white;
}

.mosaic-caption h3 {
    color: white;
    margin-bottom: 0.5rem;
}

/* --- SIGNATURE PRICING: THE CONVERSION BLOCK --- */
.buy-section {
    padding: var(--section-pad) 0;
    background: #161a20;
    color: white;
    -webkit-font-smoothing: subpixel-antialiased;
}

.buy-card {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.buy-info {
    padding: 80px;
}

.buy-info h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.price-tag {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    display: block;
    margin-bottom: 2rem;
    color: var(--brand-gold);
}

.buy-perks {
    list-style: none;
}

.buy-perks li {
    margin-bottom: 1rem;
    color: #99a1b1;
    font-weight: 500;
}

.buy-cta-box {
    padding: 80px;
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- THE ORDER FORM: CLEAN & ELITE --- */
.order-section {
    padding: var(--section-pad) 0;
}

.order-form-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 100px;
    box-shadow: var(--shadow-lux);
}

.form-group {
    margin-bottom: 40px;
}

.label-premium {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

input,
textarea,
select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    font-family: inherit;
    font-size: 1.1rem;
    transition: 0.3s;
    background: transparent;
}

input:focus {
    border-bottom-color: var(--brand-dark);
    outline: none;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.color-item input {
    display: none;
}

.color-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #eee;
    transition: 0.3s;
}

.color-name {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: 0.2s;
}

.color-item input:checked+.color-dot {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--brand-dark);
}

.color-item input:checked~.color-name {
    color: var(--brand-dark);
}

/* --- OPTION TILES: REPLACING DROPDOWNS --- */
.option-tiles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-tiles.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tile-item {
    cursor: pointer;
}

.tile-item input {
    display: none;
}

.tile-box {
    border: 1px solid #eee;
    padding: 24px;
    border-radius: 12px;
    background: white;
    transition: 0.3s var(--ease-out);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-box.best-value {
    border-color: var(--brand-gold);
    background: #fdfaf0;
}

.tile-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--brand-gold);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.tile-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--brand-dark);
}

.tile-price {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand-gold);
}

.tile-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tile-box.payment {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.tile-item input:checked+.tile-box {
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.tile-item input:checked+.tile-box .tile-title,
.tile-item input:checked+.tile-box .tile-sub {
    color: white;
}

.tile-item input:checked+.tile-box .tile-price {
    color: var(--brand-gold);
}

/* --- FOOTER: ESTABLISHED BRAND LOOK --- */
footer {
    padding: 120px 0 60px;
    border-top: 1px solid #eee;
    background: white;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-col h5 {
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2.5rem;
}

.footer-col a {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--brand-dark);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #f1f1f1;
    padding-top: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }

    .hero-grid,
    .story-grid,
    .buy-card {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .img-presentation img {
        height: 400px;
    }

    .order-form-box {
        padding: 60px 30px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .mosaic-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mosaic-item {
        height: 450px;
    }

    .mosaic-caption h3 {
        font-size: 1rem;
    }
}