/*
Theme Name: Clean Agency (Pro Text V5)
Template: hello-elementor
Description: Tema copil V5. Design Alb si Texte Profesionale.
Author: Visual Recipe
Version: 5.0
*/

:root {
    --brand-color: #0056b3;  /* Albastru Corporate Solid */
    --brand-hover: #004494;
    --text-dark: #212529;
    --bg-white: #ffffff;
    --border-soft: #dee2e6;
}

body {
    background-color: #f4f6f9; /* Gri foarte pal pentru fundal general */
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

/* CARDURI PRODUSE - Stil Minimalist */
.woocommerce ul.products li.product {
    background-color: var(--bg-white) !important;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 20px !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--brand-color);
}

.woocommerce ul.products li.product img {
    margin-bottom: 15px !important;
    mix-blend-mode: multiply;
}

.woocommerce ul.products li.product h2 {
    color: var(--text-dark) !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px; /* Aliniere perfecta */
}

.price {
    color: var(--brand-color) !important;
    font-weight: 700;
    font-size: 17px !important;
    margin-bottom: 15px !important;
    display: block;
}

/* ASCUNDE SCURTA DESCRIERE (LINK ASCUNS) */
.woocommerce-product-details__short-description { display: none !important; }

/* BUTONUL PROFI (Agency Style) */
.vr-aff-btn {
    background-color: var(--brand-color) !important;
    color: #fff !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.vr-aff-btn:hover {
    background-color: var(--brand-hover) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

/* Elemente Woo ascunse */
.add_to_cart_button, .single_add_to_cart_button, .quantity { display: none !important; }

/* --- FIX TOTAL MOBIL (Tema Copil) --- */

/* 1. ECRAN FIX (Sa nu mai joace stanga-dreapta) */
html, body {
    overflow-x: hidden !important;
}

/* 2. BUTONUL DE PRODUS - STRICT PENTRU MOBIL */
@media only screen and (max-width: 768px) {
    
    /* Fortam containerul butonului sa fie flexibil si centrat */
    .single-product form.cart,
    .single-product .elementor-widget-woocommerce-product-add-to-cart {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Modificam butonul (Albastru) */
    .single-product .single_add_to_cart_button, 
    .single-product button.button,
    .single-product .product_type_external {
        
        /* DIMENSIUNE: 80% din ecran */
        width: 80% !important; 
        max-width: 300px !important;
        
        /* Design */
        margin: 15px auto !important; /* Centrat */
        display: block !important;
        padding: 12px !important;
        font-size: 14px !important;
        white-space: normal !important; /* Rupe textul lung */
        height: auto !important;
        
        /* Anulam marginile negative care scot butonul din ecran */
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }
}