/*
 Theme Name:   Astra Child
 Template:     astra
 Description:  Child theme for Astra
 Version:      1.0.0
*/


/******************************************************** FRONT PAGE ********************************************************/
.elementor-element-06edc1e p {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #4A4046;  /* gri-mauve cald, foarte elegant */
    margin-top: 10px;
    letter-spacing: 0.2px;
}

.candles-container {
    font-family: "Pacifico", cursive;
    letter-spacing: 0.5px;
    font-size: 3.2rem; /* Mărit de la 2.6rem */
    text-shadow: 0 1px 2px rgba(0,0,0,0.04);
    line-height: 1.3; /* Adăugat pentru spacing mai bun */
} 

.candles-line {
    opacity: 0;
    margin-bottom: 25px; /* Mărit puțin */
}

.candles-question,
.candles-answer {
    display: inline-block;
    opacity: 0;
}

.candles-question{
    color: #3C2B33;
}

.candles-answer {
    background: linear-gradient(90deg, #A565A9 0%, #8B4E97 50%, #BB79B7 100%); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
    font-weight: 400;
    display: inline;
    padding: 0 1px;
}

/* Animation for fading in */
@keyframes fadeInQuestion {
    to {
        opacity: 1;
    }
}

@keyframes fadeInAnswer {
    to {
        opacity: 1;
    }
}

/* First line animations */
.candles-line:nth-child(1) {
    animation: fadeInQuestion 0.5s ease-in 0s forwards;
}

.candles-line:nth-child(1) .candles-question {
    animation: fadeInQuestion 0.5s ease-in 0s forwards;
}

.candles-line:nth-child(1) .candles-answer {
    animation: fadeInAnswer 0.5s ease-in 1s forwards;
}

/* Second line animations */
.candles-line:nth-child(2) {
    animation: fadeInQuestion 0.5s ease-in 2s forwards;
}

.candles-line:nth-child(2) .candles-question {
    animation: fadeInQuestion 0.5s ease-in 2s forwards;
}

.candles-line:nth-child(2) .candles-answer {
    animation: fadeInAnswer 0.5s ease-in 3s forwards;
}

/* Responsive design */
@media (max-width: 992px) {
    .candles-container {
        font-size: 2.4rem; /* Mărit de la 2rem */
    }
    .candles-line {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .candles-container {
        font-size: 2.6rem; /* Mărit de la 2.3rem */
        padding: 30px 15px;
    }
    .candles-line {
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .candles-container {
        font-size: 2rem; /* Mărit de la 1.7rem */
        padding: 20px 10px;
    }
    .candles-line {
        margin-bottom: 25px;
    }
}

/* Buton Elementor - pastel roz */
.elementor-button.elementor-button-link {
    background-color: #E8DCE3 !important;  /* roz pastel */
    border: 2px solid #E8DCE3 !important;
    color: #3C2B33 !important;            /* text închis */
    border-radius: 999px !important;
    padding: 10px 26px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    transition: 0.25s ease-in-out !important;
    text-decoration: none !important;
}

/* Hover */
.elementor-button.elementor-button-link:hover {
    background-color: #D6C7CE !important; /* pastel mai închis */
    border-color: #D6C7CE !important;
    color: #3C2B33 !important;
}


/******************************************************** FRONT PAGE ********************************************************/

/********************************************************** CATEGORIES TEXS STYLE *******************************************/
.widget-image-caption.wp-caption-text {
    font-family: "Lora", serif;          /* elegant, dar clar */
    font-size: 1.1rem;                   /* puțin mai mare = lizibil */
    color: #2B2328;                      /* un negru cald, foarte plăcut */
    text-align: center;
    margin-top: 14px;
    letter-spacing: 0.25px;              /* aer, nu prea mult */
    font-weight: 500;                    /* suficient să fie clar */
}

/********************************************************** CATEGORIES TEXS STYLE *******************************************/


/************************************************* BADGES ************************************************* */
.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 120px;
}

.badge-icon {
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.badge:hover .badge-icon {
    transform: scale(1.1);
}

.badge-icon img {
    width: 50px;
    height: 50px;
    display: block;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 768px) {
    .trust-badges {
        gap: 20px;
    }
    
    .badge {
        max-width: 100px;
    }
    
    .badge-icon img {
        width: 40px;
        height: 40px;
    }
    
    .badge-text {
        font-size: 12px;
    }
}
/************************************************* BADGES ************************************************* /

/************************************************* PAGINATION ************************************************* /

/* Modern WooCommerce Pagination Styling */

/* Reset default WooCommerce pagination styles */
.woocommerce-pagination {
    text-align: center;
    margin: 3em 0;
    clear: both;
}

.woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce-pagination ul li {
    display: inline-block;
    margin: 0;
}

/* Style all pagination links and current page */
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: #ffffff;
    color: #333333;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Hover state for links */
.woocommerce-pagination ul li a:hover {
    background: #f3f4f6;
    border-color: #333333;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Current/active page - this fixes your visibility issue */
.woocommerce-pagination ul li .current {
    background: #333333;
    color: #ffffff;
    border-color: #333333;
    cursor: default;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Previous and Next buttons - make them stand out */
.woocommerce-pagination ul li a.prev,
.woocommerce-pagination ul li a.next {
    font-weight: 600;
    padding: 0 16px;
}

.woocommerce-pagination ul li a.prev:hover,
.woocommerce-pagination ul li a.next:hover {
    background: #333333;
    color: #ffffff;
}

/* Dots/ellipsis styling */
.woocommerce-pagination ul li span.dots {
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: default;
}

.woocommerce-pagination ul li span.dots:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-pagination ul li a,
    .woocommerce-pagination ul li span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .woocommerce-pagination ul {
        gap: 6px;
    }
}

/* Modern WooCommerce Sorting Dropdown Styling */

/* Wrapper for the sorting dropdown */
.woocommerce-ordering {
    margin-bottom: 1.5em;
}

/* The select dropdown */
.woocommerce-ordering select,
.woocommerce-ordering .orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 40px 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 220px;
}

/* Hover state */
.woocommerce-ordering select:hover,
.woocommerce-ordering .orderby:hover {
    border-color: #333333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Focus state */
.woocommerce-ordering select:focus,
.woocommerce-ordering .orderby:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Result count styling */
.woocommerce-result-count {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
    padding: 12px 0;
}

/* Toolbar that contains both result count and ordering */
.woocommerce-ordering,
.woocommerce-result-count {
    display: inline-block;
    vertical-align: middle;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .woocommerce-ordering select,
    .woocommerce-ordering .orderby {
        min-width: 100%;
        font-size: 14px;
        padding: 10px 36px 10px 14px;
    }
    
    .woocommerce-result-count {
        display: block;
        margin-bottom: 1em;
        font-size: 14px;
    }
}

/************************************************* PAGINATION ************************************************* /


/*************************************************** CART ICON MENU (FIXED) *******************************************/

/* ASCUNDE DOAR TEXTUL "Coș", DAR NU ȘI BADGE-UL */
.menu-item-cart > a .ast-menu-label,
.menu-item-cart > a span:not(.cart-count) {
    display: none !important;
}

/* Stilul linkului (fără text, doar iconița PNG) */
.menu-item-cart > a {
    font-size: 0 !important;
    line-height: 1 !important;
    padding: 0 8px !important; /* zona clicabilă, ZERO spațiu lateral în plus */
    display: flex !important;
    align-items: center !important;
}

/* ICONIȚĂ PNG */
.menu-item-cart > a::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url("https://unicorndreamcandles.ro/wp-content/uploads/2025/11/shopping-bag_4715424.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Wrapper for badge */
.menu-item-cart {
    position: relative;
    display: inline-block;
}

/* CART COUNT BADGE — VIZIBIL, FUNCȚIONAL */
.menu-item-cart .cart-count {
    position: absolute;
    top: 3px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #8B4049;
    color: #fff;
    border-radius: 50%;
    font-size: 11px !important;
    font-weight: 700;
    border: 2px solid #ffffff;
    z-index: 10;
    pointer-events: none;
}

/* ASCUNDE badge dacă e gol */
.cart-count:empty {
    display: none !important;
}

/* Desktop icon size */
@media (min-width: 769px) {
    .menu-item-cart > a::before {
        width: 30px;
        height: 30px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .menu-item-cart > a::before {
        width: 26px;
        height: 26px;
    }
}

/*************************************************** END CART ICON MENU *******************************************/



/***************************************** EMPTY CART – FIXED TO ALWAYS FIT **********************************************/

/*****************************************
    EMPTY CART – FINAL, STABLE VERSION
******************************************/

.custom-empty-cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;

    gap: 25px; /* distanță controlată între elemente */
}

/* Imagine mare dar scalabilă */
.custom-empty-cart-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 1/1;

    background-image: url('https://unicorndreamcandles.ro/wp-content/uploads/2025/11/empty-cart-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Text */
.custom-empty-cart-text {
    font-size: 1.35rem;
    color: #444;
    line-height: 1.5;
    max-width: 750px;
}

/* Buton centrat & mai mare */
.return-to-shop {
    width: 100%;
    display: flex;
    justify-content: center;
}

.return-to-shop .button {
    font-size: 1.2rem !important;
    font-weight: 600 !important;

    padding: 16px 46px !important;
    background: #fff !important;
    color: #000 !important;

    border: 2px solid #000 !important;
    border-radius: 12px !important;

    transition: transform 0.25s ease, background 0.25s ease;
}

.return-to-shop .button:hover {
    transform: scale(1.07);
    background: #000 !important;
    color: #fff !important;
}

/*****************************************
    TABLET FIXES
******************************************/
@media (max-width: 1024px) {

    .custom-empty-cart-container {
        padding-top: 30px;
        gap: 20px;
    }

    .custom-empty-cart-image {
        max-width: 350px;
    }

    .custom-empty-cart-text {
        font-size: 1.25rem;
    }
}

/*****************************************
    MOBILE FIXES – REDUCEM GAP-UL
******************************************/
@media (max-width: 600px) {

    .custom-empty-cart-container {
        padding: 20px 15px;
        gap: 18px; /* distanță micșorată între poză și text */
    }

    .custom-empty-cart-image {
        max-width: 260px;
    }

    .custom-empty-cart-text {
        font-size: 1.1rem;
    }

    .return-to-shop .button {
        padding: 12px 25px !important;
        font-size: 1.05rem !important;
    }
}


/***************************************** EMPTY Cart Page **********************************************/

/***************************************** FIX LA DISTANTIERE TEXT SI COLOR SWATCH**********************************************/
/*.woocommerce-variation-selector-wrapper th.label,*/
/*table.variations th.label {*/
/*    min-width: 130px !important;*/
/*    width: 130px !important;*/
/*}*/

/*.wopb-swatch-label-value {*/
/*    display: inline-block !important;*/
/*    min-width: 60px !important;*/
/*    text-align: left !important;*/
/*}*/

table.variations th.label,
.woocommerce-variation-selector-wrapper th.label {
    display: none !important;
}
/*body .wopb-variation-swatches span.wopb-swatch-label.selected {*/
/*    background: #FFC0CB !important;*/
/*    color: #000 !important;*/

/*}*/

/* Stil pentru swatch Neselectat */
body .wopb-variation-swatches span.wopb-swatch-label {
    background-color: #ffffff !important;      /* alb */
    color: #000000 !important;                 /* text negru */
    border: 1px solid #000000 !important;      /* border negru subțire */
    border-radius: 5px !important;             /* colțuri rotunjite */
    padding: 6px 12px !important;              /* spațiere frumoasă */
    transition: all 0.2s ease-in-out !important;
}

/* Stil pe hover (opțional, dar arată premium) */
body .wopb-variation-swatches span.wopb-swatch-label:hover {
    border-color: #555 !important; /* ton mai închis la hover */
}

/* Stil pentru swatch Selectat */
body .wopb-variation-swatches span.wopb-swatch-label.selected {
    background-color: #FFC0CB !important;      /* roz */
    color: #000000 !important;                 /* text negru */
    border: 2px solid #000000 !important;      /* border gros */
    border-radius: 5px !important;             /* colțuri rotunjite */
}

/***************************************** FIX LA DISTANTIERE TEXT SI COLOR SWATCH**********************************************/

/***************************************** DESIGN ARCHIVE PAGE si product page *****************************************************/
/***************************************** DESIGN ARCHIVE PAGE si product page *****************************************************/
/**************************************
   BACKGROUND DOAR PENTRU TAG PAGES
***************************************/
body.tax-product_tag {
    position: relative;
    background: #fff;
    overflow-x: hidden;
}

body.tax-product_tag::before,
body.tax-product_tag::after,
body.tax-product_tag .woocommerce::before,
body.tax-product_tag .woocommerce::after {
    content: '';
    position: absolute;
    background: #EEE5E5;
    z-index: -1;
}

/* Forme mari */
body.tax-product_tag::before {
    top: -100px; right: -50px;
    width: 400px; height: 400px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.8;
}

body.tax-product_tag::after {
    bottom: 100px; left: -80px;
    width: 500px; height: 500px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.7;
}

/* Forme suplimentare */
body.tax-product_tag .woocommerce::before {
    top: 50%; right: -120px;
    width: 350px; height: 350px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.6;
}

body.tax-product_tag .woocommerce::after {
    top: 20%; left: -100px;
    width: 300px; height: 300px;
    border-radius: 70% 30% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.5;
}

/* Ascunde titlul */
body.tax-product_tag .woocommerce-products-header__title,
body.tax-product_tag .page-title,
body.tax-product_tag h1.entry-title {
    display: none !important;
}

/*****************************************
   GRID UNIVERSAL (TAG + ARCHIVE + SHORTCODE)
******************************************/
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center !important;
    position: relative;
    z-index: 2;
}

/*****************************************
   CARD PRODUS – DESIGN UNIFICAT
******************************************/
ul.products li.product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;

    display: grid !important;
    grid-template-rows: auto 1fr auto auto !important;
    height: 100% !important;

    max-width: 260px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-bottom: 15px !important;
}

/* Hover pulse */
ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-5px) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
}

/*****************************************
   IMAGINI — DOAR STYLING, FĂRĂ HEIGHT FIX
******************************************/
ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

ul.products li.product:hover img {
    transform: scale(1.05);
}

/* Badge */
ul.products li.product .onsale {
    position: absolute;
    top: 10px; left: 10px;
    background: #D6C7CE;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 3;
}

/*****************************************
   TITLU / PREȚ / BUTTON — FIX PERFECT
******************************************/

/* TITLU – primul rând perfect aliniat */
ul.products li.product .woocommerce-loop-product__title {
    min-height: 72px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 8px;
    padding: 0 10px;
}

/* PREȚ – aliniere perfectă */
ul.products li.product .price {
    min-height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 12px;
}

/*****************************************
   BUTOANE – FIX FULL WIDTH REAL
******************************************/

/* Cea mai importantă parte — force full width cu padding */
ul.products li.product .button,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
    width: calc(100% - 30px) !important;
    max-width: calc(100% - 30px) !important;
    display: block !important;
    margin-left: 15px !important;
    margin-right: 15px !important;

    background: #D6C7CE ;
    color: #3C2B33 ;
    padding: 10px;
    border-radius: 8px;
    border: none !important;
    box-shadow: none !important;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
}

/* Stil hover */
ul.products li.product .button:hover {
    background: #E2D4DA;
    transform: scale(1.05);
}

/*****************************************
   PAGINARE
******************************************/
.woocommerce-pagination {
    text-align: center;
    margin-top: 40px;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 10px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 6px;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background: #e91e63;
    color: #fff;
    transform: scale(1.1);
}

/*****************************************
   RESPONSIVE
******************************************/
@media (max-width: 1199px) {
    .woocommerce ul.products,
    ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 1023px) {
    .woocommerce ul.products,
    ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

/*****************************************
   MOBILE — 2 PRODUSE PE LINIE
******************************************/
@media (max-width: 767px) {

    /* Grid 2 coloane corect */
    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        justify-content: center !important;
    }

    /* Card FULL WIDTH pe mobil cu grid layout */
    ul.products li.product {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        
        display: grid !important;
        grid-template-rows: auto 1fr auto auto !important;
        height: 100% !important;
    }

    /* Titlu mobile - mai mic min-height */
    ul.products li.product .woocommerce-loop-product__title {
        min-height: 60px !important;
        font-size: 0.9rem !important;
        padding: 0 8px;
    }

    /* Buton cu padding pe mobile */
    ul.products li.product .button {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        font-size: 0.85rem !important;
        padding: 8px !important;
    }
}

/*****************************************
   CARD DESIGN – PREMIUM / APPLE STYLE
******************************************/
ul.products li.product::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: linear-gradient(
        135deg,
        rgba(255, 132, 193, 0.35),
        rgba(198, 140, 255, 0.30) 40%,
        rgba(145, 196, 255, 0.25) 70%
    );
    z-index: -1;
    filter: blur(22px);
    opacity: 0.9;
}

/***************************************** DESIGN ARCHIVE PAGE si product page*****************************************************/

/***************************************** Design Contact Page *****************************************************/
/* Stilizare input-uri WPForms */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form input[type="password"],
.wpforms-form input[type="number"],
.wpforms-form textarea,
.wpforms-form select {
    border-radius: 8px !important;
}

/* Stilizare buton WPForms */
.wpforms-form button[type="submit"],
.wpforms-form .wpforms-submit {
    border-radius: 8px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Container buton - pentru centrare */
.wpforms-form .wpforms-submit-container {
    text-align: center !important;
}

.wpforms-form .wpforms-submit-container button {
    display: inline-block !important;
}
/***************************************** Design Contact Page *****************************************************/

/*****************************************
   PAGINA COȘ WOOCOMMERCE - STYLING MINIMAL
******************************************/

/* Alert transport gratuit */
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message {
    border-radius: 8px !important;
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
}

/* Tabel produse - mai compact */
.woocommerce-cart-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 25px;
}

.woocommerce table.shop_table {
    border: none !important;
}

/* Header tabel - mai subtil */
.woocommerce table.shop_table thead th {
    background: #f8f8f8 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: none !important;
    padding: 12px 10px !important;
}

/* Rânduri tabel - mai compacte */
.woocommerce table.shop_table tbody tr {
    border-bottom: 1px solid #f0f0f0 !important;
    transition: background 0.2s ease;
}

.woocommerce table.shop_table tbody tr:hover {
    background: #fafafa !important;
}

.woocommerce table.shop_table td {
    border: none !important;
    padding: 15px 10px !important;
    vertical-align: middle !important;
    font-size: 0.95rem !important;
}

/* Imaginea produsului - mai mică */
.woocommerce table.shop_table img {
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.2s ease !important;
    max-width: 70px !important;
    height: auto !important;
}

.woocommerce table.shop_table img:hover {
    transform: scale(1.05) !important;
}

/* Butonul X (remove) - mai mic și subtil */
.woocommerce table.shop_table .product-remove a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 24px !important;
    background: #f5f5f5 !important;
    color: #999 !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.woocommerce table.shop_table .product-remove a:hover {
    background: #ff4757 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* Input cantitate - mai mic */
.woocommerce .quantity input.qty {
    width: 60px !important;
    height: 38px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce .quantity input.qty:focus {
    border-color: #999 !important;
    outline: none !important;
}

/* Prețuri - mai discrete */
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal {
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Buton "Actualizează coș" - mai mic */
.woocommerce table.shop_table button[name="update_cart"] {
    background: #f5f5f5 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.woocommerce table.shop_table button[name="update_cart"]:hover {
    background: #e8e8e8 !important;
    border-color: #ccc !important;
}

.woocommerce table.shop_table button[name="update_cart"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Card "Total coș" - mai compact */
.cart-collaterals .cart_totals {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 20px !important;
    border: 1px solid #f0f0f0 !important;
}

.cart-collaterals .cart_totals h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    color: #333 !important;
}

.cart-collaterals .cart_totals table {
    border: none !important;
}

.cart-collaterals .cart_totals th,
.cart-collaterals .cart_totals td {
    border: none !important;
    padding: 10px 0 !important;
    font-size: 15px !important;
}

.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    border-top: 1px solid #e0e0e0 !important;
    padding-top: 15px !important;
    margin-top: 10px !important;
}

/* Buton "Continuă" - styling minimal */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #333 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    margin-top: 15px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: #000 !important;
    transform: translateY(-1px) !important;
}

/* Buton "Continuă cumpărăturile" */
.woocommerce-cart .return-to-shop a,
.woocommerce-cart a.button.wc-backward {
    background: transparent !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.woocommerce-cart .return-to-shop a:hover,
.woocommerce-cart a.button.wc-backward:hover {
    border-color: #999 !important;
    color: #333 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce table.shop_table thead {
        display: none;
    }
    
    .woocommerce table.shop_table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #f0f0f0 !important;
        border-radius: 8px;
        padding: 12px;
    }
    
    .woocommerce table.shop_table td {
        display: block;
        text-align: left !important;
        padding: 8px 0 !important;
    }
    
    .woocommerce table.shop_table td::before {
        content: attr(data-title);
        font-weight: 600;
        display: block;
        margin-bottom: 4px;
        font-size: 0.85rem;
        color: #999;
    }
}


/******************* PRODUSE IN CHECKOUT **************************/
/********************************************
 *  ONLY CHECKOUT – CartFlows cleanup & formatting
 ********************************************/

/* 1. Ascundem meta-datele default CartFlows (doar în checkout) */
body.woocommerce-checkout .cartflows_table .variation {
    display: none !important;
}

/* 2. Atributele noastre compacte – stil minimal */
body.woocommerce-checkout .udc-compact-attrs {
    font-size: 13px !important;
    opacity: 0.85;
    margin-left: 4px;
    display: inline-block;
}

/* 3. Aliniem rândurile mai frumos */
body.woocommerce-checkout .cartflows_table .cart_item td {
    vertical-align: middle !important;
}

/* 4. Eliminăm parantezele „()” afișate de CartFlows lângă cantitate */
body.woocommerce-checkout .product-quantity small,
body.woocommerce-checkout .product-quantity span,
body.woocommerce-checkout .product-quantity i {
    display: none !important;
}

/* 5. Eliminăm orice text gol care creează spațiu */
body.woocommerce-checkout .product-quantity::after {
    content: "" !important;
}

/* 6. Ajustăm un pic spațiul dintre nume și cantitate */
body.woocommerce-checkout .product-quantity {
    white-space: nowrap !important;
}

/* 7. (opțional) micșorează spațiul vertical dintre produse */
body.woocommerce-checkout .cartflows_table tr.cart_item {
    padding: 4px 0 !important;
}
/******************* PRODUSE IN CHECKOUT **************************/


/******************************************* BUTOANE COS **********************************/


/* Wrapper general – input stânga, butoane dreapta */
.quantity,
div.quantity {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

/********************************************
  CASETA CANTITATE (NUMĂR) — FINAL, FIX REAL
********************************************/
.single-product .product .quantity input.qty,
.single-product .product .quantity input[type="number"],
.woocommerce div.product .quantity input.qty,
.woocommerce div.product .quantity input[type="number"],
.quantity input.qty,
.wopb-builder-cart-icon-right input.qty,
.wopb-builder-cart-icon-right input[type="number"] {

    width: 30px !important;
    height: 30px !important;

    border: 1px solid #000 !important;
    border-radius: 10px !important;

    font-size: 18px !important;
    font-weight: 600 !important;

    padding: 0 !important;

    text-align: center !important;
    line-height: 30px !important;  /* <-- AICI E MAGIA */
}

/* Scoate săgețile default */
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}


/********************************************
  BUTOANE (+ / -) — uniform pentru ambele tipuri
********************************************/

/* Wrapper vertical pentru plus/minus */
.qty-button-wrap,
.wopb-builder-cart-icon-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* Stil general butoane (WOWStore + WooCommerce) */
.qty_button.plus,
.qty_button.minus,
.wopb-builder-cart-plus,
.wopb-builder-cart-minus {
    width: 30px !important;
    height: 30px !important;

    border: 1px solid #000 !important;
    border-radius: 10px !important;

    background: #fff !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    cursor: pointer !important;
    padding: 0 !important;

    transition: 0.25s ease !important;
}

/* Icon-uri (WOWStore) */
.wopb-builder-cart-plus svg,
.wopb-builder-cart-minus svg {
    width: 12px !important;
    height: 12px !important;
    stroke: #000 !important;
}

/* HOVER — roz pastel */
.qty_button.plus:hover,
.qty_button.minus:hover,
.wopb-builder-cart-plus:hover,
.wopb-builder-cart-minus:hover {
    background: #ffe6f2 !important;
    border-color: #333 !important;
    transform: scale(1.04);
}
/******************************************* BUTOANE COS **********************************/
.seo-intro {
    position: absolute;
    left: -9999px;
    top: -9999px;
    font-size: 0.1px;
    opacity: 0;
}

.category-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

.category-intro h2 {
  font-size: 20px;
  margin-bottom: 0.75rem;
}

/******************************* STILIZARE TEXT SINGLE PRODUCT PAGE ************************************/
h1.product_title.entry-title.wopb-builder-product-title {
    font-family: "Lora", serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2B2328; /* negru cald, elegant */
    letter-spacing: 0.3px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.woocommerce-product-details__short-description p {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    color: #4A4046; /* gri cald elegant */
    line-height: 1.65;
    margin-top: 10px;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

p.price,
p.price .woocommerce-Price-amount {
    font-family: "Lora", serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #2B2328; /* negru cald elegant */
    letter-spacing: 0.4px;
}

.woocommerce-variation-price .price,
.woocommerce-variation-price .woocommerce-Price-amount {
    font-family: "Lora", serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #2B2328; /* negru cald elegant */
    letter-spacing: 0.4px;
}


.single_add_to_cart_button.wopb-cart-button.button.alt {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background: #D7A4E6; /* mov pastel */
    color: #000000 !important; /* text mereu vizibil */
    padding: 14px 28px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.single_add_to_cart_button.wopb-cart-button.button.alt:hover {
    background: #C48BCE; /* puțin mai închis */
    transform: translateY(-1px);
   
}


.woocommerce-breadcrumb {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #6A5E65; /* gri-mauve cald, foarte elegant */
    letter-spacing: 0.3px;
    margin-bottom: 15px;
}

.woocommerce-breadcrumb a {
    color: #8C7A88; /* link mai deschis, feminin */
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: #A989B0; /* puțin mov pastel la hover */
}

.breadcrumb-separator {
    margin: 0 6px;
    color: #AA96A7;  /* separator pastel mov */
}

/******************************* STILIZARE TEXT SINGLE PRODUCT PAGE ************************************/

/************************************* NAVBAR PE PAGINILE DE PRODUSE *********************************/
/* navigare categorii pe pagini de categorie */
.catnav {
    font-family: "Lora", serif;
    font-size: 1.05rem;
    color: #6A5E65; /* gri-mauve feminin, elegant */
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.25s ease;
    letter-spacing: 0.2px;
}

.catnav:hover {
    color: #A989B0; /* pastel mauve */
    border-bottom-color: #C48BCE; /* linie pastel discretă */
}

/* categoria activă (pagina pe care ești) */
.catnav.active {
    color: #2B2328;
    border-bottom-color: #C48BCE;
    font-weight: 600;
}
/************************************* NAVBAR PE PAGINILE DE PRODUSE *********************************/

/************************************** DROPDOWN CATEGORII ********************************************/
/* Efect modern, fără mișcare la hover */
.main-header-menu .sub-menu a {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #2B2328;
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* underline animat */
.main-header-menu .sub-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #A565A9; /* pastel purple */
    transition: width 0.25s ease;
}

/* hover = doar culoare + underline */
.main-header-menu .sub-menu a:hover {
    color: #A565A9;
}

.main-header-menu .sub-menu a:hover::after {
    width: 100%;
}

/************************************** DROPDOWN CATEGORII ********************************************/

/************************************** MAIN MENU STYLE **************************************************/
/*******************************************************
   🦄 MENIU: DIMENSIUNE ȘI ALINIERE PERFECTĂ VS. LOGO
*******************************************************/

/* Mărim fontul și îl facem puțin mai plin */
.main-header-menu > li > a {
    font-size: 18px !important;   /* creștere subtilă */
    font-weight: 500 !important;
    padding-top: 18px !important;  /* ridică textul */
    padding-bottom: 18px !important;
    line-height: 1 !important;
    color: #2B2328 !important;     /* păstrăm culoarea ta */
}

/* Ajustăm și iconițele (Facebook, Insta, TikTok + Cart) să fie aliniate */
.ast-header-custom-item,
.ast-header-custom-item a,
.ast-header-custom-item svg {
    display: flex !important;
    align-items: center !important;
}

/* Împingem ușor iconițele în jos ca să fie perfect pe mijloc */
.ast-header-custom-item {
    padding-top: 6px !important;
}
/************************************** MAIN MENU STYLE **************************************************/

/************************************** ASCUNDE MESAJ DE LA WOOCOMMERCE CAND STERGI CEVA DIN COS ******************************/
/* Ascunde exclusiv linkul restore-item */
/* ASCUNDE doar mesajele WC care apar când ștergi un produs din coș */

/* ASCUNDE doar mesajele WC care apar când ștergi un produs din coș */
/* Ascunde doar mesajele de tip REMOVE (cele cu restore-item) */
.woocommerce-message .restore-item {
    display: none !important;
}

/* Ascunde TOT mesajul DOAR când conține restore-item (fallback CSS safe) */
.woocommerce-message.remove-msg {
    display: none !important;
}




/************************************** ASCUNDE MESAJ DE LA WOOCOMMERCE CAND STERGI CEVA DIN COS ******************************/

/*********************** MESAJ LEGAT DE STOC **************************/
/* Mesajul custom despre produse handmade */
.udc-custom-stock-msg {
    font-family: "Poppins", sans-serif !important;
    font-size: 1.05rem !important;
    color: #4A4046 !important;
    line-height: 1.65 !important;
    letter-spacing: 0.2px !important;

    /* stilizare finuță */
    background: #fafafa;
    border: 3px solid #ececec;
    border-radius: 6px;
    padding: 14px 18px 14px 48px !important; /* include spațiu pentru icon */
    margin-top: 15px !important;
    margin-bottom: 22px !important;

    display: block;
    position: relative;

    /* aliniere perfectă cu zona din dreapta (WOWStore) */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Iconița înainte de text */
.udc-custom-stock-msg::before {
    content: "✨";
    position: absolute;
    left: 16px;
    top: 13px;
    font-size: 18px;
    opacity: .75;
}

/*********************** MESAJ LEGAT DE STOC, COS, ITEM REMOVAL ETC **************************/
/********************************************
 * FIX WooCommerce message on SINGLE PRODUCT
 ********************************************/

/* Elimină complet verdele injectat de WOPB/WOWSTORE */
.wopb-builder-container .woocommerce-message,
.wopb-builder-container .woocommerce-info,
.wopb-builder-container .woocommerce-error {
    box-shadow: none !important;
}

/* Stil general pentru mesaj */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #fafafa !important;
    border: 1px solid #C7BCC3 !important;
    border-radius: 12px !important;
    padding: 18px 24px !important;

    font-family: "Poppins", sans-serif !important;
    color: #3C2B33 !important;
    font-size: 1rem !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    max-width: 900px !important;
    margin: 40px auto !important;

    /* CRITICAL: Force override on real mobile devices */
    width: calc(100% - 40px) !important;
    box-sizing: border-box !important;
}

/* Scoate iconița default WooCommerce */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none !important;
}

/************* Buton „Vezi coșul” *************/
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    background: transparent !important;
    color: #3C2B33 !important;

    border: 2px solid #3C2B33 !important;
    padding: 8px 22px !important;
    border-radius: 999px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;

    transition: 0.25s ease !important;
    text-decoration: none !important;

    /* Fix pentru mobile */
    flex-shrink: 0 !important;
}

/* Hover pastel */
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
    background: #E8DCE3 !important;
    color: #3C2B33 !important;
}


/****************************************************
  ASCUNDE Flexible Shipping pe pagina de cos
****************************************************/
body.woocommerce-cart .fs-free-shipping-notice-and-button-wrapper,
body.woocommerce-cart .fs-free-shipping-notice-text-and-progress-bar-wrapper,
body.woocommerce-cart .fs-free-shipping-notice-contents,
body.woocommerce-cart .fs-free-shipping-notice-text,
body.woocommerce-cart .fs-free-shipping-notice-continue-shopping-button-wrapper {
    display: none !important;
}

/* Ascunde containerul gol în care FS bagă mesajul */
body.woocommerce-cart .woocommerce-info {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}


/***********************************************
 * RESPONSIVE — versiune EXTREM de strictă
 ***********************************************/
@media (max-width: 900px) {

    /* Forțăm layout vertical */
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        text-align: center !important;
        padding: 20px !important;
        gap: 14px !important;

        width: calc(100% - 30px) !important;
        margin: 20px auto !important;
    }

    .woocommerce-message a.button,
    .woocommerce-info a.button,
    .woocommerce-error a.button {
        width: auto !important;
        margin-top: 8px !important;
    }
}

/*********************************************
 * FONT CONSISTENT PENTRU PAGINA DE COȘ
 * (funcționează 100% cu [woocommerce_cart])
 *********************************************/

/* Headerele tabelului (PRODUS / PREȚ / CANTITATE / SUBTOTAL) */
.woocommerce-cart table.cart th {
    font-family: "Poppins", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #3C2B33 !important;
}

/* Toate celulele din tabel */
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart td a,
.woocommerce-cart table.cart td span,
.woocommerce-cart table.cart td strong {
    font-family: "Poppins", sans-serif !important;
    color: #3C2B33 !important;
    font-size: 0.95rem !important;
}

/* Textul din mini-cart row (produs + text sub imagine) */
.woocommerce-cart .product-name,
.woocommerce-cart .product-name a {
    font-family: "Poppins", sans-serif !important;
    font-size: 1rem !important;
    color: #3C2B33 !important;
}

/* Uniformizează DOAR headerele (coloanele) din tabelul coșului */
.woocommerce-cart table.cart thead th {
    font-family: "Poppins", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #3C2B33 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}



/* Forțează butonul "Continuă" din pagina de coș să fie pastel rose */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward {
    font-family: "Poppins", sans-serif !important;
    font-size: 1.1rem !important;
    background-color: #E8DCE3 !important;   /* roz pastel */
    border: 2px solid #E8DCE3 !important;
    color: #3C2B33 !important;              /* text închis */
    border-radius: 999px !important;        /* rotunjire frumoasă ca restul site-ului */
    padding: 10px 26px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 500 !important;
    transition: 0.25s ease-in-out !important;
}

/* Hover */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward:hover {
    background-color: #D6C7CE !important;  /* pastel puțin mai închis */
    border-color: #D6C7CE !important;
    color: #3C2B33 !important;
}


/* Text extra WooCommerce */
.woocommerce-cart .woocommerce-Price-amount,
.woocommerce-cart .woocommerce-Price-amount span {
    font-family: "Poppins", sans-serif !important;
}






/*********************** MESAJ LEGAT DE STOC **************************/









/* FIX SITE FOOTER TO THE BOTTOM */
.site-footer {
    position: relative;
   
}
/* FIX SITE FOOTER TO THE BOTTOM */
