/*
 Theme Name:   Nonno Alberto Custom (SPA)
 Template:     hello-elementor
 Description:  Tema ultra leggero disaccoppiato per WooCommerce Suite Pro
 Version:      1.0.0
*/

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

:root {
    --org-green: #7A9C59; /* Il verde salvia tipico di Organic */
    --org-green-hover: #638048;
    --org-dark: #2b2b2b;
    --org-gray: #777777;
    --org-bg-light: #f9f9f6; /* Sfondo panna/crema leggerissimo */
    --org-border: #efefef;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif;
    
    --radius: 12px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
}

body {
    font-family: var(--font-body);
    color: var(--org-gray);
    background-color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--org-dark);
    margin-bottom: 15px;
}

/* Bottone stile Organic */
.org-btn {
    display: inline-block;
    background-color: var(--org-green);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px; /* Bordo arrotondato tipico */
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.org-btn:hover {
    background-color: var(--org-green-hover);
}

/* Homepage - Layout Hero + Sezione prodotti */
.org-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.org-hero {
    background-color: var(--org-bg-light);
    padding: 80px 0;
    border-radius: 0 0 40px 40px; /* Bordo inferiore morbido */
    margin-bottom: 60px;
}
.org-hero .org-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.org-hero-text { flex: 1; }
.org-hero-img { flex: 1; }
.org-hero-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.subtitle {
    color: var(--org-green);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
}
.org-hero-text h1 { font-size: 3.5rem; line-height: 1.1; }

/* Product Grid */
.org-section-title { text-align: center; margin-bottom: 40px; }
.org-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* Product Card - Replica esatta WoodMart Organic */
.org-product-card {
    text-align: center;
    transition: transform 0.3s ease;
}
.org-product-card:hover {
    transform: translateY(-5px);
}
.product-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 15px;
    background: #f5f5f5;
}
.product-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.org-product-card:hover .product-img img { transform: scale(1.05); }
.product-badges {
    position: absolute;
    top: 10px; left: 10px;
}
.badge-sale {
    background: #e74c3c; color: white;
    padding: 3px 8px; border-radius: 4px;
    font-size: 12px; font-weight: bold;
}
.product-info .category {
    font-size: 12px; text-transform: uppercase;
    color: #999; letter-spacing: 1px;
}
.product-info h3 { font-size: 1.1rem; margin: 5px 0; cursor: pointer; }
.product-info h3:hover { color: var(--org-green); }
.price { color: var(--org-green); font-weight: 600; font-size: 1.1rem; }
.price del { color: #ccc; font-weight: 400; margin-right: 5px; font-size: 0.9rem; }

/* Pulsante Aggiungi (Minimal) */
.add-to-cart-btn {
    display: block; width: 100%;
    background: none; border: 1px solid var(--org-border);
    padding: 10px; margin-top: 15px;
    border-radius: 30px; cursor: pointer;
    font-family: var(--font-body); font-weight: 600;
    transition: all 0.3s;
}
.add-to-cart-btn:hover {
    background: var(--org-green); border-color: var(--org-green); color: white;
}


/* Shop -/* Replica esatta WoodMart Organic */
.org-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr; /* 260px Sidebar, resto griglia */
    gap: 40px;
}

/* Widget Sidebar Stile WoodMart */
.widget { margin-bottom: 40px; }
.widget-title {
    font-size: 1.1rem;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--org-border);
}
.org-filter-list {
    list-style: none; padding: 0; margin: 0;
}
.org-filter-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}
.org-filter-list a {
    text-decoration: none;
    color: var(--org-gray);
    transition: all 0.2s ease;
}
/* Effetto Slide-right tipico dei filtri WoodMart */
.org-filter-list a:hover {
    color: var(--org-green);
    transform: translateX(5px); /* Sposta il testo leggermente a destra */
}
.org-filter-list .count {
    color: #bbb;
    font-size: 0.9rem;
}

/* Shop Top Bar */
.shop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--org-border);
}
.custom-select {
    padding: 8px 15px;
    border: 1px solid var(--org-border);
    border-radius: 4px;
    font-family: var(--font-body);
    color: var(--org-dark);
}

/* Responsive per il Negozio (Mobile) */
@media (max-width: 991px) {
    .org-shop-layout {
        grid-template-columns: 1fr; /* Su mobile la sidebar scompare o va sopra */
    }
    .org-hero .org-container {
        flex-direction: column;
        text-align: center;
    }
    .org-hero-text h1 { font-size: 2.5rem; }
}

/* Esempio veloce per style.css */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--color-bg-light); /* Il tuo bianco caldo / crema */
}
.header-left, .header-center, .header-right {
    flex: 1; /* Divide lo spazio equamente in 3 */
}
.header-center {
    display: flex;
    justify-content: center;
}
.header-right .header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}