/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.7
 Text Domain:  woodmart
*/
/* Containerul principal al descrierii */
.woocommerce-product-details__short-description {
    position: relative;
    overflow: hidden;
    transition: height 0.4s ease-in-out;
    /* NOU: Adaugam un pic de spatiu jos pentru a nu se suprapune textul cu butonul */
    padding-bottom: 20px; 
}

/* Efectul de gradient (fade-out) */
.woocommerce-product-details__short-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, white); /* ATENTIE: Schimba 'white' cu culoarea de fundal a paginii */
    transition: opacity 0.4s ease;
    opacity: 1;
    pointer-events: none;
}

/* Ascunde gradientul cand sectiunea este extinsa */
.woocommerce-product-details__short-description.expanded::after {
    opacity: 0;
}

/* NOU: Containerul pentru buton, responsabil pentru centrare */
.toggle-button-wrapper {
    width: 100%;
    text-align: center; /* Centreaza elementele din interior (butonul) */
    position: relative;
    z-index: 2;
    margin-top: -35px; /* Trage butonul in sus peste zona de fade */
}

/* MODIFICAT: Stilul butonului - centrat si mai subtil */
.toggle-description-button {
    display: inline-block; /* Permite centrarea si dimensionarea automata */
    padding: 8px 25px; /* Spatiu interior (sus/jos si stanga/dreapta) */
    border: 2px solid rgb(242, 133, 87);
    border-radius: 8px;
    background-color: #ffffff;
    color: rgb(242, 133, 87); /* Textul are culoarea de brand */
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* MODIFICAT: Noul efect la hover */
.toggle-description-button:hover {
    /* Folosim RGBA pentru a seta culoarea de brand cu 10% opacitate */
    background-color: rgba(242, 133, 87, 0.1); 
    color: rgb(242, 133, 87);
}

/* --- Hide the Q&A Icons --- */

/* This targets both the question (?) and answer (💬) icons */
.cr-qna-block .cr-qna-list-q-icon {
    display: none !important;
}

/* This targets the small person (👤) icon next to 'store manager' */
.cr-qna-block .cr-qna-list-v-icon {
    display: none !important;
}

/* Container - add spacing and make it block level */
.wc-price-history.prior-price.lowest {
    margin-top: 12px;
    display: block;
    clear: both;
}

/* Target the price ONLY inside the history container */
.wc-price-history .woocommerce-Price-amount.amount {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
}

/* The raw value span */
.wc-price-history .wc-price-history-lowest-raw-value {
    font-size: 14px !important;
    color: #333 !important;
}

/* Currency symbol */
.wc-price-history .woocommerce-Price-currencySymbol {
    font-size: 14px !important;
    color: #333 !important;
}