/*
Theme Name: JustWOW Jewelry & Cosmetics
Author: JustWOW
Description: Custom Luxury E-Commerce Theme for Artificial Jewelry and Cosmetics. Built for WooCommerce & Elementor.
Version: 1.0.0
Text Domain: justwow
*/

:root {
    --jw-gold: #c59b27;
    --jw-rose: #b76e79;
    --jw-dark: #1a1a1a;
    --jw-light: #fdfbf9;
    --jw-gray: #f4eee8;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--jw-light);
    color: var(--jw-dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
.jw-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Top Announcement Bar */
.jw-topbar {
    background: var(--jw-dark);
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 13px;
    letter-spacing: 0.8px;
}

/* Header & Navigation */
.jw-header {
    background: #ffffff;
    border-bottom: 1px solid #ece4dc;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.jw-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.jw-logo a {
    font-family: 'Georgia', serif;
    font-size: 30px;
    font-weight: bold;
    color: var(--jw-dark);
    letter-spacing: 2px;
}
.jw-logo span { color: var(--jw-rose); }

.jw-menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.jw-menu a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.jw-menu a:hover { color: var(--jw-rose); }

.jw-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.jw-cart-btn {
    background: var(--jw-rose);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}
.jw-cart-btn:hover { background: var(--jw-dark); }

/* Hero Section */
.jw-hero {
    background: linear-gradient(135deg, #fdf3f4 0%, #f5e6d8 100%);
    padding: 90px 20px;
    text-align: center;
    border-bottom: 1px solid #eadcd0;
}

.jw-hero h1 {
    font-family: 'Georgia', serif;
    font-size: 46px;
    color: var(--jw-dark);
    margin-bottom: 15px;
}

.jw-hero p {
    font-size: 18px;
    color: #555;
    max-width: 650px;
    margin: 0 auto 30px;
}

.jw-btn-primary {
    display: inline-block;
    background: var(--jw-dark);
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 600;
}
.jw-btn-primary:hover { background: var(--jw-rose); color: #fff; }

/* Category Boxes */
.jw-section-title {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 32px;
    margin: 60px 0 35px;
}

.jw-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.jw-cat-card {
    background: #fff;
    padding: 35px 25px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid #eee2d8;
    transition: 0.3s;
}
.jw-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(183, 110, 121, 0.12);
    border-color: var(--jw-rose);
}
.jw-cat-card h3 { font-size: 20px; margin-bottom: 8px; font-family: 'Georgia', serif; }
.jw-cat-card p { font-size: 14px; color: #777; }

/* Main Content & WooCommerce Overrides */
.jw-main { padding: 50px 0; min-height: 65vh; }

.woocommerce ul.products li.product {
    background: #fff;
    padding: 15px !important;
    border-radius: 10px;
    border: 1px solid #f0e9e4;
    text-align: center;
    transition: 0.3s;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.woocommerce ul.products li.product .price {
    color: var(--jw-rose) !important;
    font-weight: bold;
    font-size: 16px;
}
.woocommerce a.button, .woocommerce button.button.alt, .woocommerce #respond input#submit.alt {
    background-color: var(--jw-dark) !important;
    color: #fff !important;
    border-radius: 25px !important;
    padding: 12px 24px !important;
    font-weight: 500 !important;
}
.woocommerce a.button:hover, .woocommerce button.button.alt:hover {
    background-color: var(--jw-rose) !important;
}

/* Footer */
.jw-footer {
    background: var(--jw-dark);
    color: #d1d1d1;
    padding: 60px 0 30px;
    margin-top: 70px;
}
.jw-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.jw-footer h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
    font-family: 'Georgia', serif;
}
.jw-footer ul { list-style: none; }
.jw-footer ul li { margin-bottom: 10px; }
.jw-footer ul a:hover { color: var(--jw-rose); }
.jw-copy {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .jw-header-row { flex-direction: column; height: auto; padding: 15px 0; gap: 12px; }
    .jw-menu ul { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .jw-hero h1 { font-size: 32px; }
}