/*
 Theme Name:   Notes Essence Premium
 Theme URI:    https://notesessence.ae
 Description:  Astra Child Theme with Premium Aesthetic for Notes Essence Perfumes
 Author:       Developer
 Template:     astra
 Version:      1.0.2
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --ne-gold: #d4af37;
    --ne-gold-light: #f5e6b3;
    --ne-dark: #1a1a1a;
    --ne-light: #fafafa;
    --ne-gray: #757575;
    --ne-font-primary: 'Outfit', sans-serif;
    --ne-font-heading: 'Playfair Display', serif;
    --ne-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --ne-shadow-hover: 0 15px 40px rgba(0,0,0,0.1);
}

body {
    font-family: var(--ne-font-primary);
    color: var(--ne-dark);
    background-color: var(--ne-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .site-title {
    font-family: var(--ne-font-heading);
    font-weight: 600;
}

/* Header Styling */
.site-header {
    background: rgba(250, 250, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.site-title a { color: var(--ne-dark) !important; font-size: 28px; text-transform: uppercase; letter-spacing: 2px; }
.main-header-menu a { color: var(--ne-dark) !important; font-weight: 500; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
.main-header-menu a:hover { color: var(--ne-gold) !important; }

/* Buttons */
button, .button, .ast-button, input[type="submit"] {
    background-color: var(--ne-dark) !important;
    color: #fff !important;
    font-family: var(--ne-font-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    padding: 15px 30px !important;
    border: 1px solid var(--ne-dark) !important;
    border-radius: 0 !important;
    transition: var(--ne-transition);
}
button:hover, .button:hover, .ast-button:hover, input[type="submit"]:hover {
    background-color: transparent !important;
    color: var(--ne-dark) !important;
}

/* Fix Astra Container for Front Page */
.home .site-content { padding: 0 !important; display: block; }
.home .ast-container { max-width: 100%; padding: 0; }

/* Custom Homepage CSS */
.ne-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: #111;
    color: #fff;
    margin-top: -90px;
    overflow: hidden;
    z-index: 1;
}
.ne-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: -1;
}
.ne-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
}
.ne-hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--ne-gold);
    margin-bottom: 20px;
    display: block;
}
.ne-hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
}
.ne-hero .button {
    background-color: var(--ne-gold) !important;
    border-color: var(--ne-gold) !important;
    color: #fff !important;
    margin-top: 20px;
    display: inline-block;
}

/* Featured Products Section */
.ne-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: var(--ne-light);
}
.ne-section-title {
    text-align: center;
    margin-bottom: 60px;
}
.ne-section-title h2 { font-size: 36px; margin-bottom: 15px; }
.ne-section-title p { color: var(--ne-gray); font-size: 16px; }

/* WooCommerce Overrides */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 20px;
    transition: var(--ne-transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.woocommerce ul.products li.product:hover {
    box-shadow: var(--ne-shadow-hover);
    transform: translateY(-5px);
}
.woocommerce ul.products li.product img {
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--ne-font-heading);
    font-size: 20px;
    color: var(--ne-dark);
    margin-bottom: 10px;
}
.woocommerce ul.products li.product .price {
    color: var(--ne-gold);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}
.woocommerce ul.products li.product .button {
    margin-top: auto;
    width: 100%;
}

@media (max-width: 768px) {
    .woocommerce ul.products { grid-template-columns: 1fr !important; }
    .ne-hero-title { font-size: 2.5rem; }
}
