
:root  {
    /* --primary-color: #007bff; */
    --primary-color: #600e1c;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #ffffff;
    --dark-color: #343a40;
    /* --primary-color-hover: #0056b3; */
    --primary-color-hover: #9d2933;
    --border-form: #c7c5c5;
    --font-text: "Jost", sans-serif;
    --footer-color: #600e1c;
    --visiniu-color: #a53e4c;
    --fundal-color: #f8f2f2;


    --font-base: Georgia, Arial, sans-serif;
    --font-winsome: "Winsome", Arial, sans-serif;
    --font-titluri: "Dancing Script", cursive;
}


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


body  {
    font-family: var(--font-base);
    background-color: var(--light-color);
    color: var(--dark-color);
    min-height: 100vh;
    /* display: flex;
    flex-direction: column; */
    margin: 0;
}
/* Restaurare dimensiuni font default pentru headings */



body h1,
body h2,
body h3,
body h4,
body h5,
body h6  {
    font-weight: bold;
}


body h1  {
    font-size: 2em;
}


body h2  {
    font-size: 1.5em;
}


body h3  {
    font-size: 1.17em;
}


body h4  {
    font-size: 1em;
}


body h5  {
    font-size: 0.83em;
}


body h6  {
    font-size: 0.67em;
}
/* START stiluri pentru HOME */




.poza-home  {
    background-image: url('../images/pozahome.png');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    background-attachment: fixed;
    /* Parallax */

    /* Înălțime corectă */
    min-height: 90vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}



.poza-mare-logo  {
    margin: 0 auto;
    width: 200px;
    margin-top: 2rem;

}


.poza-mare-logo img  {
    width: 100%;
    filter: drop-shadow(20px 10px 15px rgba(0, 0, 0, 1));
}


.video-bg  {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* sau 'contain' dacă vrei să vezi tot video-ul */
    object-position: center;
}


.about-home  {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--fundal-color);
}


.about-nume  {
    color: var(--light-color);
    font-family: var(--font-titluri);
    font-size: 4rem;
    display: block;
    filter: drop-shadow(20px 10px 15px rgba(0, 0, 0, 1));
    text-align: center;
}


.aboutus-sec  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: auto;
}


.about-content  {
    display: grid;
    gap: 1rem;
    place-items: center;
    color: var(--secundary-color)
}


.about-content p  {
    font-style: italic;
    font-weight: 400;
}


.about-img  {
    position: relative;
    top: -80px;
    width: 400px;
    margin: auto;
}


.about-img img  {
    width: 100%;
    margin: auto;
}


.about-ghirlanda  {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.buton-descopera  {
    width: 200px;
    background-color: var(--fundal-color) !important;
    color: var(--visiniu-color) !important;
    font-weight: 800;
    font-family: var(--font-titluri);
    font-size: 2rem;
    height: 70px !important;
}


.about-ghirlanda img  {
    color: var(--visiniu-color);
    mix-blend-mode: color;
    pointer-events: none;
}


.about-ghirlanda::after,
.about-ghirlanda::before  {
    display: inline-block;
    content: '';
    width: 100px;
    height: 2px;
    background-color: var(--visiniu-color);
}


.font-titlu  {
    font-family: var(--font-titluri);
    font-size: 3rem;
    text-align: center;
}


.contact-holder  {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    width: 100%;
    color: var(--secondary-color)
}


.contact-holder-items  {
    display: grid;
    gap: 0.5rem;
    place-items: center;
}


.contact-holder-items i  {
    font-size: 2rem;
}


.contact-holder h2  {
    font-size: 1.8rem;
    color: var(--visiniu-color);
    font-family: var(--font-titluri);
}


.linia-verticala  {
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
    margin: 0 1rem;
}


.crame  {
    display: grid;
    place-items: center;
}


.crama  {
    display: grid;
    place-items: center;
    max-width: 1200px;
    margin: auto;
    height: 400px;
    width: 100%;
}


.crama1  {
    background-color: var(--primary-color);
}


.crama2  {
    background-color: var(--secondary-color);
}


.crama3  {
    background-color: var(--dark-color);
}


.cele-mai-vandute  {
    background-image:
        linear-gradient(rgba(248, 242, 242, 0.6),
            /* culoare #f8f2f2 cu 60% transparență */
            rgba(248, 242, 242, 0.6)),
        url('../images/poza4.jpg');

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    background-attachment: fixed;

    min-height: 80vh;
    padding: 1rem;
    /* display: grid; */
}


.cele-mai-vandute h1  {
    font-family: var(--font-titluri);
    font-size: 3rem;
    color: var(--visiniu-color);
}
/* SFARSIT stiluri pentru HOME */
/* Container card */
/* Stiluri comune pentru ambele pagini (login și register) */
/* Card container */


.log-reg-container  {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    width: 100vw;
    height: 100vh;

}

.login-card  {
    background-color: var(--light-color);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}
/* Logo */

.login-card .logo  {
    text-align: center;
    margin-bottom: 15px;
    background-color: var(--visiniu-color);
    display: flex;
    justify-content: center;
    padding-block: 10px;
}
/* Labels */

.login-card .block  {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}
/* Input fields */

.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"]  {
    width: 100%;
    padding: 12px 15px;
    margin-top: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-form);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}


.login-card input:focus  {
    border-color: var(--visiniu-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--visiniu-rgb, 66, 153, 225), 0.1);
}
/* Terms & Conditions checkbox */


.login-card .terms-checkbox  {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    gap: 10px;
}


.login-card .terms-checkbox input[type="checkbox"]  {
    margin-top: 4px;
    flex-shrink: 0;
}


.login-card .terms-checkbox label  {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}


.login-card .terms-link  {
    color: var(--visiniu-color);
    text-decoration: none;
    transition: color 0.2s;
}


.login-card .terms-link:hover  {
    text-decoration: underline;
    color: #2b6cb0; /* Versiune mai închisă a lui --visiniu-color */
}
/* Butoane */



.login-card .register-button,
.login-card button[type="submit"]  {
    width: auto;
    min-width: 120px;
    padding: 12px 24px;
    background-color: var(--visiniu-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    white-space: nowrap;
}


.login-card .register-button:hover,
.login-card button[type="submit"]:hover  {
    background-color: #2b6cb0; /* Versiune mai închisă */
    transform: translateY(-2px);
}
/* Link-uri */



.login-card .register-link  {
    color: var(--visiniu-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}


.login-card .register-link:hover  {
    text-decoration: underline;
    color: #2b6cb0;
}
/* Validation errors */



.login-card .validation-errors  {
    background-color: #fee;
    border: 1px solid #f99;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}


.login-card .validation-errors ul  {
    margin: 0;
    padding-left: 20px;
}
/* Responsive design */



@media (max-width: 480px)  {
    .login-card {
        padding: 30px 20px;
        margin: 20px;
        max-width: none;
    }

    .login-card .flex.items-center.justify-end {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .login-card .register-button {
        width: 100%;
        margin-left: 0 !important;
    }

    .login-card .register-link {
        text-align: center;
        display: block;
    }
}
/* Spacing between form fields */



.login-card .mt-4  {
    margin-top: 1rem;
}
/* Checkbox styling (for remember me and terms) */



.login-card input[type="checkbox"]  {
    width: 18px;
    height: 18px;
    accent-color: var(--visiniu-color);
    cursor: pointer;
}
/* Message de status (pentru session status) */



.login-card .mb-4.font-medium.text-sm.text-green-600  {
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
/* SFARSIT LOGIN Form */




.icons:hover  {
    cursor: pointer;
}


.icons  {
    font-size: 1.5rem;
    padding: 5px;
}

.mobil-iconite  {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.user-menu  {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    width: fit-content;
    background-color: var(--light-color);
    border: 1px solid var(--border-form);
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 12;
    flex-direction: column;
    padding: 1rem;
}

.user-menu a  {
    white-space: nowrap;
}

.user-menu-wrapper  {
    position: relative;
}

.user-menu-wrapper span  {
    color: var(--light-color);
}

.user-menu-button  {
    display: flex;
    align-items: center;
    gap: 0.5px;
    white-space: nowrap;
    background: none;
    border: none;
}


.user-menu-button:focus  {
    outline: none;
}


.user-menu-button span  {
    margin-left: 0.25rem;
}


.desktop-menu  {
    background-color: black;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}


nav  {
    display: flex;
}


.desktop-menu nav  {
    gap: 1rem;

}


.desktop-menu nav a  {
    position: relative;
    font-weight: 600;
    font: 1rem;
    color: var(--light-color);
    transition: background-color 0.3s ease;
}


.desktop-menu nav a::after  {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--light-color);
    transition: width 0.3s ease;
}


.desktop-menu nav a:hover::after  {
    width: 80%;
}


header i  {
    font-size: 24px;
    color: var(--light-color);
    margin-right: 5px;
    position: relative;
}


.desktop-menu i:hover  {
    cursor: pointer;
}

.container-iconite  {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.container-iconite a  {
    display: grid;
}
/* Meniu mobil */



.mobile-menu  {
    width: 100%;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: black;
}


.mobile-header  {
    display: flex;
    margin-top: 10px;
    width: 100%;
    justify-content: space-evenly;
    margin: 10px auto;
    align-items: center;
}
/* .mobile-header img {
  width: 150px;
} */




.mobile-links  {
    display: grid;
    place-items: center;
    width: 100%;
}


.mobile-menu>nav  {
    display: flex;
    flex-direction: column;
    align-items: left;
    width: 100%;
}


.mobile-menu nav  {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}


.mobile-menu nav a  {
    font-weight: 600;
    font: 1rem;
    color: var(--visiniu-color);
    padding: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}


.search-form  {
    min-width: 200px;
    width: 80%;
    display: flex;
    align-items: center;
    /* dacă ai elemente în interiorul form-ului */
    margin: 0;
    height: 40px;
}

.search-input  {
    width: 100%;
}


.search-wrapper .ri-search-line  {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    pointer-events: none;
    /* să nu blocheze clickul în input */
}


#cart-icon  {
    position: relative;
}


.cart-number,
.wishlist-number  {
    position: absolute;
    background-color: var(--success-color);
    border-radius: 50%;
    left: 15px;
    top: -10px;
    width: 25px;
    height: 25px;
    text-align: center;
    color: var(--light-color);
    font-size: 1.2rem;
}

.opacity-50  {
    opacity: 50;
}


#contactus-form  {
    display: flex;
    flex-direction: column;
    margin: auto;
    max-width: 600px;
    padding: 1rem;
}


#contact-form  {
    display: grid;
    gap: 1rem;
    grid-template-columns: 500px 1fr;
    width: 100%;
    margin: auto;
    padding: 1rem;
}


.client-information  {
    display: flex;
    flex-direction: column;
}


#contact-form h1  {
    margin-block: 1.5rem;
    color: var(--dark-color);
}


.input-container  {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


.input-container input,
.input-container textarea  {
    width: 100%;
    padding: 1.2rem 0.5rem 0.5rem;
    font-size: 1rem;
    border: 2px solid var(--secondary-color);
    font-family: inherit;
    z-index: 1;
    background: none;
    outline: none;
    resize: vertical;
}


.input-container label  {
    position: absolute;
    top: 1rem;
    left: 0.5rem;
    background: var(--light-color);
    padding: 0 0.25rem;
    color: var(--secondary-color);
    font-size: 1rem;
    transition: 0.2s ease all;
    pointer-events: none;
    z-index: 2;
}
/* Plasare sus când inputul e focus sau conține text */



.input-container input:focus+label,
.input-container input:not(:placeholder-shown)+label,
.input-container textarea:focus+label,
.input-container textarea:not(:placeholder-shown)+label  {
    top: -0.6rem;
    font-size: 0.9rem;
    /* color: #333; */
}
/* Efect de „întrerupere” în border */



.input-container input:focus,
.input-container textarea:focus  {
    border-color: var(--primary-color);
}


.input-container input:focus+label,
.input-container textarea:focus+label  {
    background-color: var(--light-color);
}


.input-container button  {
    min-width: 200px;
}
/* Buton */



.button  {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    /* margin-inline: auto; */
    /* margin-bottom: 0.5rem; */
    text-align: center;
    white-space: nowrap;
    height: 40px;
    margin-bottom: 5px;
}


.button:hover  {
    background-color: var(--dark-color);
}


.button.grey  {
    background-color: var(--secondary-color);
}


.button.grey:hover  {
    background-color: var(--dark-color);
}


.button.blue  {
    background-color: var(--info-color);
}


.button.red  {
    background-color: var(--danger-color);
}


.button.blue:hover  {
    background-color: var(--dark-color);
}
/* Stiluri de bază pentru alert-box */
/* Varianta pentru success */



.alert-box.alert-success  {
    background-color: #d1fae5; /* bg-green-100 */
    color: #065f46;           /* text-green-800 */
}
/* Varianta pentru error */



.alert-box.alert-error  {
    background-color: #fee2e2; /* bg-red-100 */
    color: #991b1b;           /* text-red-800 */
}
/* Ascunde alerta */



.alert-box.hidden  {
    display: none;
}


.alert-box  {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-weight: 500;
    max-width: 400px;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
}
/* stiluri acordeon */


.accordion-item  {
    margin-bottom: 1rem;
}


.accordion-item p  {
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}


.accordion-item p::after  {
    content: "▼";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}


.accordion-item.active p::after  {
    transform: translateY(-50%) rotate(180deg);
}


.accordion-content  {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
    padding-left: 1rem;
}


.accordion-item .accordion-content label  {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.3rem;
    gap: 10px;
}


.accordion-item.active .accordion-content  {
    max-height: 500px;
    /* suficient de mare pentru a afișa tot conținutul */
}


.account-actions  {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: baseline;
}


.account-actions button  {
    margin: unset;
}


input[type="checkbox"]  {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
    vertical-align: middle;
    background-color: var(--light-color);
}


input[type="checkbox"]:checked  {
    background-image: none;
    background-color: transparent;
    border: 2px solid #333;
    /* background-color: var(--light-color); */
}


input[type="checkbox"]:checked::after  {
    content: "✔";
    color: var(--primary-color);
    /* background-color: var(--light-color); */
    font-size: 1.5rem;
    position: absolute;
    top: -12px;
}


.filter-form-action  {
    display: grid;
    place-items: center;
}


.filter-form-action>button  {
    width: 100%;
}
/* sfrsit stiluri acordeon */



.shop-sidebar-container  {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-block: 0.5rem;
    gap: 1rem;
}


.shop-main  {
    display: grid;
    margin: auto;
    position: relative;
}


.filterform  {
    width: fit-content;
    position: absolute;
    top: 30px;
    z-index: 1000;
    background-color: var(--light-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}


.alege-filtre  {
    border: 1px solid var(--border-form);
    padding: 0.5rem;
    position: relative;
    white-space: nowrap;
}


.alege-filtre:hover  {
    cursor: pointer;
}


.products  {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px);
    gap: 1rem;
    width: 100%;
    flex-shrink: 0;
    place-content: space-evenly;
}
/* Stiluri existente rămân */



.product  {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--light-color);
    overflow: hidden;
    /* border-radius: 8px; */
    transition: all 0.3s ease;
    height: 100%;
    /* min-height: 250px;  */
}
/* Border animat PE CONTAINERUL CU IMAGINE */



.product-image-container  {
    position: relative;
    width: 100%;
    height: 250px;
    /* Înălțime fixă pentru containerul imaginii */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 0.7rem;
    border: 1px solid var(--border-form);
}


.product img  {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}


.product-image-container:hover img  {
    transform: scale(1.05);
}
/* Border animat */



.product-image-container::before,
.product-image-container::after  {
    content: '';
    position: absolute;
    border: 1px solid transparent;
    width: 0;
    height: 0;
    transition:
        width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        height 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    pointer-events: none;
    z-index: 2;
}
/* Linia de sus + stânga */



.product-image-container::before  {
    top: 0;
    left: 0;
    border-top-color: var(--visiniu-color);
    border-left-color: var(--visiniu-color);
}
/* Linia de jos + dreapta */



.product-image-container::after  {
    bottom: 0;
    right: 0;
    border-bottom-color: var(--visiniu-color);
    border-right-color: var(--visiniu-color);
    transition-delay: 0.4s, 0.4s;
}


.product-image-container:hover::before  {
    width: 100%;
    height: 100%;
}


.product-image-container:hover::after  {
    width: 100%;
    height: 100%;
}
/* Inimioara */



.inimioara  {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    z-index: 3;
}


.inimioara:hover  {
    transform: scale(1.1);
}
/* Container pentru actiuni - ASCUNS inițial */



.product-actions-overlay  {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}
/* Pe hover pe ARTICLE, afișează actiunile */



.product:hover .product-actions-overlay  {
    transform: translateY(0);
}
/* Butoanele din overlay */



.action-btn  {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--visiniu-color);
    transition: all 0.3s ease;
}
/* .action-btn:hover {
    background-color: var(--visiniu-color);
    color: var(--light-color);
} */




.action-btn i  {
    font-size: 24px;
    transition: transform 0.3s ease;
    border: 1px solid var(--visiniu-color);
    border-radius: 50%;
    padding-inline: 5px;
    display: inline-block;
}


.action-btn:hover i  {
    transform: rotate(360deg);
    background-color: var(--visiniu-color);
    color: var(--light-color);
}


.action-btn span  {
    font-size: 0.8rem;
    font-weight: 500;
}
/* Spațiu rezervat pentru overlay - IMPORTANT! */
/* Footer-ul produsului */



.product-footer  {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-left: 0.5rem;
    margin-top: auto;
    /* Împinge footer-ul în jos */
    /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
}


.product .pret  {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark-color);
    white-space: nowrap;
}


.pret-taiat  {
    text-decoration: line-through;
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 0.9rem;
}


.discount_span  {
    color: var(--visiniu-color);
    font-weight: 700;
    display: block;
    font-size: 1.2rem;
    white-space: nowrap;
}


.new-badge  {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: var(--visiniu-color);
    color: white;
    font-weight: bold;
    padding: 6px 30px;
    font-size: 12px;
    z-index: 10;

    /* triunghi în dreapta pentru forma de steag */
    clip-path: polygon(100% 0, 80% 48%, 100% 100%, 0% 100%, 0 50%, 0% 0%);

}


.product-description-span-titlu  {
    color: var(--secondary-color);
    font-size: 1.1rem;
}
/* Butonul original de adăugare în coș - ascuns pe desktop, afișat pe mobil */



.cart-form  {
    display: block;
}


.button-shop  {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    padding: 12px;
    background-color: var(--visiniu-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}


.button-shop:hover  {
    background-color: var(--dark-color);
}



.footer  {
    display: grid;
    place-items: center;
    padding: 1rem;
    background-color: var(--footer-color);
    color: var(--light-color);
    margin-top: auto;
}
/* sectiunea CART */



.cart  {
    display: grid;
    align-items: center;
    margin: auto;
    width: 90%;
}


.checkout-steps  {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 2rem;
}


.checkout-steps__item.done  {
    /* background: #e0ffe0; */
    color: #2d862d;
    border-bottom: 2px solid var(--success-color);
}


.checkout-steps__item.disabled  {
    /* background: #f5f5f5; */
    color: #aaa;
    pointer-events: none;
    opacity: 0.6;
}



.checkout-steps__item  {
    gap: 0.5rem;
    display: flex;
    /* padding-bottom: 1rem; */
    border-bottom: 2px solid transparent;
}


.checkout-steps__item-title,
.checkout-steps__item-number  {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}


.checkout-steps__item-title>em  {
    font-size: 0.875rem;
    font-weight: 400;
    font-style: normal;
    color: var(--secondary-color);
}
/* sfarsit sectiunea CART */
/* sectiunea SHOPPING-CART */





.shopping-cart  {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* align-items: flex-start; */
    /* Important pentru a NU egala înălțimea */
    gap: 1rem;
    width: 100%
}
/* START stiluri table generic */




.tabela_comenzi  {
    border-collapse: collapse;
    min-width: 630px;
    max-width: 1200px;
    overflow-x: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--light-color);
    margin: 10px auto;
}


.tabela_comenzi thead  {
    background-color: var(--primary-color);
    color: var(--light-color);
}


.tabela_comenzi th,
.tabela_comenzi td  {
    padding: 0.5rem;
    text-align: left;
}


.tabela_comenzi th  {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}


.tabela_comenzi tbody tr  {
    border-bottom: 1px solid var(--border-form);
    transition: background-color 0.2s;
}


.tabela_comenzi tbody tr:hover  {
    background-color: var(--border-form);
}
/* SFARSIT TABLE GENERIG */
/* stiluri pentru Table */






.cart-table,
.wishlist-table  {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    text-align: left;
    color: var(--dark-color);
}


.cart-table thead,
.wishlist-table thead  {
    background-color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--light-color);
}


.cart-table th,
.cart-table td,
.wishlist-table th,
.wishlist-table td  {
    padding: 0.5rem;
    /* text-align: left;
  vertical-align: middle; */
}


.cart-table th,
.wishlist-table th  {
    color: var(--light-color);
    font-weight: 600;
    border-bottom: 1px solid var(--secondary-color);
}


.cart-table td,
.wishlist-table td  {
    border-bottom: 1px solid var(--secondary-color);
}


.cart-table img,
.wishlist-table img  {
    width: 100px;
    height: auto;
    object-fit: cover;
}


.shopping-cart__product-item__detail h4  {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}


.shopping-cart__product-item__options  {
    font-size: 0.85rem;
    color: var(--secondary-color);
}


.shopping-cart__product-price,
.shopping-cart__subtotal  {
    font-weight: bold;
}
/* stiluri pentru butonele + si - din cart-ul de cumparaturi */



.qty-control  {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid var(--secondary-color);
  border-radius: 6px; */
    overflow: hidden;
    /* width: fit-content; */
}


.qty-control__number  {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 1rem;
    color: var(--dark-color);
    padding-inline: 0.5rem;
}




.qty-control__reduce,
.qty-control__increase  {
    background-color: var(--primary-color);
    border: none;
    /* padding: 0.5rem; */
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.2s;
    /* height: 20px; */
    /* display: grid; */
    /* place-content: center; */
}


.qty-control__reduce:hover,
.qty-control__increase:hover  {
    background-color: #e2e2e2;
}


.remove-cart  {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #fcebea;
    border-radius: 50%;
    transition: background 0.2s;
}


.remove-cart:hover  {
    background-color: #f8d7da;
}


.remove-cart svg  {
    fill: #e3342f;
}
/* sfarsit stiluri TABLE */
/* stiluri pentru partea din dreapta, TOTAL */





.checkout-form  {
    width: 100%;
}


.shopping-cart__totals-wrapper,
.checkout__totals-wrapper  {
    width: 100%;
    max-width: 300px;
    background: var(--light-color);
    border: 2px solid var(--secundary-color);
    flex-shrink: 0;
    /*ca să nu se "comprime" pe ecrane mai mici.*/
    align-self: flex-start;
    /* Asta împiedică să se alinieze la înălțimea tabelului */
}


.shopping-cart__totals  {
    width: 100%;
}


.shopping-cart__totals h3  {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-form);
    padding-bottom: 0.5rem;
}


.tabela-totaluri  {
    width: 100%;
}


.tabela-totaluri th  {
    display: block;
    white-space: nowrap;
    text-align: left;
    padding-right: 1rem;
}


.tabela-totaluri td  {
    white-space: nowrap;
    text-align: left;
}


.display-only  {
    border: none;
    background: transparent;
    display: inline;
    width: auto;
}


.cart-totals  {
    width: 100%;
    border-collapse: collapse;
}


.cart-totals th,
.cart-totals td  {
    text-align: left;
    padding: 0.3rem 0;
    font-size: 1rem;
    vertical-align: top;
}


.cart-totals th  {
    font-weight: 600;
    width: 40%;
}


.cart-totals td  {
    width: 60%;
}


.form-check  {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    position: relative;
}


.form-check-input  {
    margin-right: 0.5rem;
    transform: scale(1.1);
}


.form-check-label>p  {
    font-weight: 300;
}


.cart-table__wrapper  {
    width: 100%;
}


.button-wrapper  {
    display: flex;
    justify-content: center;
}
/* sfarsit stiluri pentru partea din dreapta, TOTAL */




.checkbox-din-checkout  {
    display: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}


.checkbox-din-checkout input[type="checkbox"]  {
    margin: auto;
    border: 2px solid var(--secondary-color);
}
/* .checkout__order-table th,
.checkout__order-table td {
  color: var(--secondary-color);
} */



.checkout__order-table th  {
    text-align: left;
}


.checkout__order-table td  {
    text-align: right;
    /* white-space: nowrap; */
}
/* sfarsit SHOPPING-CART */



.transport-span-profil  {
    display: flex;
    margin: 2rem;
    justify-content: flex-end;
}


.stock-low  {
    color: var(--danger-color);
    /* font-weight: 600; */
}


.product-category  {
    font-size: 0.7rem;
    color: var(--secondary-color);
}
/* stiluti pentru acordeon din pagina de order checkout*/



.checkout__payment-methods  {
    margin-top: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
}



.form-check:last-child  {
    border-bottom: none;
}


.form-check-input_fill  {
    position: absolute;
    left: 0;
    top: 0;
    /* Aliniază cu titlul metodei */
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}


.form-check-label  {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
    display: block;
    padding-left: 2rem;
    cursor: pointer;
}


.payment-method-title  {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
}


.option-detail  {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-right: 1rem;
}


.form-check-input_fill:checked~.form-check-label .option-detail  {
    max-height: 300px;
    /* Ajustează după conținut */
    margin-top: 0.5rem;
}


.policy-text  {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}


.policy-text a  {
    color: #0066cc;
    text-decoration: underline;
}


.logo-container  {
    display: flex;
    align-items: center;
    /* gap: 5px; */
    /* Spațiu între logo și text */
}


.logo-image  {
    width: 80px;
    /* Ajustează dimensiunea */
    /* height: 40px; */
}


.logo-text  {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--footer-color);
    /* Schimbă culoarea */
}
/* START profilul utiligatorului logat */



.profile-container  {
    max-width: 64rem;
    margin: 1rem auto;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


.profile-container h3  {
    color: var(--light-color);
    background-color: var(--secondary-color);
    padding: 0.5rem;
    font-size: large;
    font-weight: 500;
}
/* sfarsit profilul utilizatorului logat */
/* START pagina detalii produs */








.grid2  {
    display: grid;
    grid-template-columns: 300px 1fr;
    margin: 2rem auto;
    width: 90%;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.short_description  {
    padding: 2rem;
}


.short_description h1  {
    font-size: 2rem;
    font-weight: 500;

}


.short_description p  {
    padding-block: 20px;
}
/* SFARSIT pagina detalii produs */
/* sfarsit stiluri acordeon din pagina de order checkout */
/* START stiluri pentru PAGINATOR */







.pagination-container  {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}


nav[role="navigation"]  {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
}


nav[role="navigation"] .flex  {
    display: flex !important;
    gap: 0.5rem;
    align-items: center;
}


nav[role="navigation"] .sm\:hidden  {
    display: none !important;
    /* Ascunde varianta pentru mobil, dacă nu e necesară */
}


nav[role="navigation"] .sm\:flex-1  {
    display: flex !important;
    /* Forțează afișarea variantei desktop */
    justify-content: space-between;
    align-items: center;
}


nav[role="navigation"] p.text-sm  {
    color: #374151 !important;
    /* Tailwind text-gray-700 */
    font-size: 0.875rem;
    line-height: 1.25rem;
    opacity: 1 !important;
}


nav[role="navigation"] a,
nav[role="navigation"] span  {
    display: inline-flex !important;
    /* padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: #ffffff;
    color: #374151;  */
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
    transition: all 0.15s ease-in-out;
    pointer-events: auto !important;
    -webkit-user-select: auto !important;
    user-select: auto !important;
    opacity: 1 !important;
}


nav[role="navigation"] a:hover  {
    background-color: #f3f4f6;/* Tailwind bg-gray-100 */

    color: #6b7280;/* Tailwind text-gray-500 */

}

.text-gray-500  {
    color: var(--border-form);
}

.text-red-500  {
    color: var(--visiniu-color);
}

nav[role="navigation"] .active span  {
    background-color: var(--primary-color, #2563eb);
    color: #ffffff;
    border-color: var(--primary-color, #2563eb);
}


nav[role="navigation"] .disabled span  {
    color: #d1d5db;
    /* Tailwind text-gray-300 */
    border-color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.5;
}


nav[role="navigation"] svg  {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
    opacity: 1 !important;
}
/* SFARSIT stiluri pentru PAGINATOR */




.product-rating  {
    color: var(--secondary-color);
    font-size: 0.9rem;
}


.back-stars  {
    color: #d1d5db;
    /* gri (text-gray-300) */
    position: relative;
    z-index: 1;
}


.front-stars  {
    color: #facc15;
    /* galben (text-yellow-400) */
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    z-index: 2;
}
/* START pagina de detalii a produsului */



.product-details-container  {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}


.product-details-container .details-description  {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark-color);
}


.details-form  {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    align-items: unset;
}


.details-form [type="number"]  {
    width: 50px;
    border: 1px solid var(--secondary-color);
    text-align: center;
    font-size: 1rem;
    color: var(--dark-color);
    padding-inline: 0.5rem;
}


.details-form button  {
    align-self: unset;
    width: 50%;
}


.detail-picture  {
    position: relative;
    /* border: 1px solid grey;
  border-radius: 10px; */
}


.detail-picture img  {
    width: 100%;
    height: auto;
}


.details-inimioara  {
    position: absolute;
    top: 10px;
    right: 10px;
}
/* SFARSIT pagina de detalii a produsului */
/* stiluri pentru thankyou  */








.order-complete  {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
}


.order-complete__message  {
    text-align: center;
    margin-bottom: 1rem;
}


.order-info  {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}


.order-info__item  {
    flex: 1 1 45%;
    background: #fff;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}
/* .checkout-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
} */




.checkout__totals-wrapper  {
    margin-top: 2rem;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}


body .checkout__totals h3  {
    color: var(--secondary-color);
}


.checkout__totals table  {
    width: 100%;
    border-collapse: collapse;
}


.checkout__totals th,
.checkout__totals td  {
    padding: 0.5rem;
    text-align: left;
}


.checkout-cart-items  {
    width: 100%
}


.checkout-cart-items tr:nth-child(even)  {
    background: #f9f9f9;
}
/* sfarsit stiluri pentru thankyou */
/* START politica retur */







.retur  {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: #111827;
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    padding: 28px;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.6;
}


.retur-section  {
    margin-bottom: 24px;
}


.retur h2  {
    font-size: 18px;
    margin: 16px 0 8px;
    color: var(--primary-color);
}


.retur p  {
    margin-bottom: 12px;
}


.retur-list,
.retur-steps  {
    margin: 8px 0 12px 20px;
}


.retur-list li,
.retur-steps li  {
    margin: 6px 0;
}


.retur-note  {
    background: #fff7ed;
    border-left: 4px solid #f59e0b;
    padding: 12px 14px;
    border-radius: 8px;
    color: #92400e;
    font-size: 15px;
}


.retur-contact  {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    gap: 12px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
}


.retur-contact a  {
    color: var(--primary-color);
    text-decoration: none;
}


.retur-contact a:hover  {
    text-decoration: underline;
}
/* SFARSIT politica retur */



.footer .copyright  {
    display: flex;
}


.footer .copyright a  {
    color: var(--border-form);
    padding-inline: 5px;
}


.footer-menu  {
    display: flex;
    gap: 1rem;
}


.footer-menu a  {
    transition: 0.5s ease all;
    white-space: nowrap;
    color: var(--light-color);
}


.footer-menu a:hover  {
    color: var(--secondary-color)
}
/* START politica de confidentialitate */



.confidentialitate,
.politica  {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: var(--dark-color);
    background: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    padding: 28px;
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.6;
}


.conf-section,
.politica-section  {
    margin-bottom: 24px;
}


.politica h1  {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-color);
    text-align: center;
}


.confidentialitate h2,
.politica h2  {
    font-size: 18px;
    margin: 16px 0 8px;
    color: var(--primary-color);
}


.confidentialitate p,
.politica p  {
    margin-bottom: 12px;
}


.conf-list,
.politica-list  {
    margin: 8px 0 12px 20px;
}


.conf-list li,
.politica-list li  {
    margin: 6px 0;
}


.conf-contact  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px;
}


.conf-contact a  {
    color: var(--primary-color);
    text-decoration: none;
}


.conf-contact a:hover  {
    text-decoration: underline;
}
/* SFARSIT POLITICA DE CONFIDENTIALITATE */
/* START review */






.review-container,
.reviews-list  {
    max-width: 800px;
    margin: auto;
    padding: 2rem;
}


.review-container h2  {
    text-align: center;
    margin-bottom: 1.5rem;
}


.review-form  {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
}


.reviews  {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 1rem;
}


.review  {
    /* margin-bottom: 1rem; */
    border-bottom: 1px solid var(--secondary-color);
}


.star-rating  {
    display: flex;
    position: relative;
    font-size: 1.2rem;
    line-height: 1;
    gap: 5px;
    cursor: pointer;
}


.star  {
    font-size: 2rem;
    color: var(--secondary-color);
}


.star.filled  {
    color: gold;
}


.stars span  {
    color: #ccc;
    /* Gri pentru stelele necompletate */
    font-size: 1.2rem;
}


.stars span.filled  {
    color: gold;
    /* Auriu pentru stelele completate */
}


.stelute  {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}


.header-review  {
    display: flex;
    align-items: center;
    gap: 1rem;
}
/* SFARSIT review */



.cookie-banner  {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 15px;
    z-index: 9999;
    text-align: center;
}


.cookie-banner p  {
    padding-right: 0.5rem;
    margin: auto;
    font-size: 14px;
}


.cookie-buttons  {
    margin-top: 10px;
}

.cookie-modal  {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}


.cookie-modal-content  {
    background: #fff;
    color: #000;
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    border-radius: 8px;
}


.cookie-modal.active  {
    display: flex;
}


.logos-footer  {
    display: flex;
}


.logos-footer img  {
    width: 5rem;
    background-color: white;
    padding: 0.5rem;
    border-radius: 5px;
}
/* START cookies */
/* SFARSIT cookies */
/* whatsapp */







.whatsapp-float  {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: transform 0.3s ease, background 0.3s ease;
}


.whatsapp-float:hover  {
    background-color: var(--success-color);
    transform: scale(1.05);
}


.ri-whatsapp-fill  {
    font-size: 1.5rem;
    color: var(--light-color)
}


.initial  {
    place-content: flex-start;
    padding: 1rem;
}


.last-products-container  {
    width: 100%;
    background-color: var(--light-color);
    padding: 1rem;
}


.last-products-container h1  {
    font-family: var(--font-titluri);
    font-size: 3rem;
    color: var(--visiniu-color);
}


.latest-product  {
    display: grid;
    grid-template-columns: 3fr 5fr;
}


.latest-poza  {
    width: 100px;
    height: unset;
}


.latest-text  {
    position: relative;
}


.products-latest  {
    width: 100%;
    grid-template-columns: repeat(auto-fit, 280px);
    place-content: center;
    justify-content: space-between;
}
/* Responsive styles */



@media (min-width: 900px)  {
    .desktop-menu {
        display: flex;
    }

    #mobile-menu {
        display: none;
    }
}


@media (max-width: 899px)  {
    .cookie-banner a {
        margin: 0.5rem auto;
        display: block;
        width: 100px;
    }

    .desktop-menu {
        display: none;
    }

    #mobile-menu {
        display: grid;
    }

    #contact-form {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }

    .shopping-cart {
        grid-template-columns: 1fr;
    }

    .shopping-cart__totals-wrapper {
        place-self: center;
        max-width: 90%;
        padding: unset;
    }

    .cart-table__wrapper {
        /* width: 90%; */
        place-self: center;
    }

    .cart-table {
        width: 100%;
    }
}


@media(max-width: 600px)  {

    .about-nume {
        font-size: 2.5rem;
    }
    main {
        padding: unset;
    }

    .cele-mai-vandute {
        background-image:
            linear-gradient(rgba(248, 242, 242, 0.6),
                /* culoare #f8f2f2 cu 60% transparență */
                rgba(248, 242, 242, 0.6)),
            url('../images/poza1-mobil.jpg');
    }

    .footer .copyright {
        flex-direction: column;
        place-items: center;
    }

    .cart {
        margin: 0 auto;
    }

    .shopping-cart__subtotal {
        display: block;
    }

    .show-filtre {
        display: grid;
    }

    .product-details-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .review-container,
    .reviews-list {
        padding: 1rem;
    }

    .star {
        font-size: 1.2rem;
    }

    .details-form button {
        align-self: center;
        width: 80%;
    }

    .detail-picture img {
        width: 80%;
        height: auto;
        display: block;
        margin: auto;
    }

    .detail-picture .inimioara {
        right: 12%;
    }

    .alert {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        /* width: 90%; */
    }

    .contact-holder {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-holder-items {
        gap: unset;
    }

    .linia-verticala {
        display: none;
    }

    .about-img {
        width: 100%;
    }

    .products-latest {
        grid-template-columns: 1fr;
    }

    .poza-mare-logo {
        width: 200px;
    }
}


@media (max-width: 500px)  {
    .footer-menu {
        flex-direction: column;
        place-items: center;
        gap: 0.5rem;
    }

    .footer p {
        text-align: center;
    }

    .products {
        grid-template-columns: 1fr 1fr;
    }

    .product img {
        width: 80%;
        height: auto;
    }

    .product-description {
        width: 90%;
        margin: auto;
    }

    .checkout-steps {
        grid-template-columns: 1fr;
    }

    .checkout-steps__item-title {
        width: 70%;
        place-self: center;
    }

    .qty-control {
        margin-left: auto;
    }

    .shopping-cart {
        margin: auto;
        width: 100%;
    }

    .cart-table__wrapper .cart-table__wrapper {
        margin: auto;
        width: 100%;
    }

    /* Ascunde antetul tabelului */
    .cart-table__wrapper .cart-table thead {
        display: none;
    }

    /* Fiecare rând devine block */
    .cart-table__wrapper .cart-table tbody tr {
        display: block;
        border-bottom: 1px solid var(--border-form);
        margin-bottom: 1rem;
        position: relative;
    }

    .cart-table__wrapper .cart-table td {
        border: none;
    }

    /* Toate celulele devin block */
    .cart-table__wrapper .cart-table tbody td:nth-child(4) {
        display: block;
    }

    /* Prima celulă - imaginea */
    .cart-table__wrapper .cart-table tbody td:nth-child(1) {
        float: left;
        margin: 0;
        padding: unset;
        padding-right: 0.5rem;
    }

    .cart-table__wrapper .cart-table tbody td:nth-child(1) img {
        width: 100px;
        height: auto;
        object-fit: cover;
        border-radius: 6px;

    }

    /* Butonul de ștergere */
    .cart-table__wrapper .cart-table td:has(form) {
        position: absolute;
        bottom: 40px;
        right: 0;
        width: auto;
        padding: 0.25rem;
    }

    .cart-table__wrapper .cart-table td:has(form) button {
        padding: 0.5rem;
        font-size: 1rem;
    }


    .checkout__totals-wrapper {
        margin: auto;
        width: 100%;
        padding: 0;
    }

    #contact-form {
        padding: 0;
    }

    .cart-table.checkout__order-table th {
        border: none;
        padding: unset;
    }

    .cart-table.checkout__order-table tr {
        margin-bottom: unset;
    }

    .wishlist-table thead {
        display: none;
    }

    .wishlist-table tr {
        display: grid;
    }

    .wishlist-table img {
        width: 130px;
        margin: auto;
    }

    .filters-active li {
        display: block;
        margin-bottom: 5px;
    }

    .products-latest {
        grid-template-columns: 1fr;
    }

    /* .latest-product {
        grid-template-columns: 1fr;
        place-items: center;

    } */
    .latest-product .product-footer {
        display: grid;
    }

    .discount_span {
        white-space: unset;
    }
}


@media(max-width: 800px)  {
    .aboutus-sec {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* START ultimele stiluri pentru grafice */





.page-title  {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}


.server-dashboard  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    /* max-width: 1200px; */
    margin: 0 auto;
}



.stat-card  {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 25px;
    transition: transform 0.2s ease;
}


.stat-card:hover  {
    transform: translateY(-3px);
}


.stat-card h2  {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #555;
}


.bar-container  {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}


.bar  {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}


.bar.used  {
    background: linear-gradient(90deg, #ff6384, #ff8fa3);
}


.bar.storage  {
    background: linear-gradient(90deg, #36a2eb, #5ec8ff);
}


.stat-info  {
    display: flex;
    justify-content:space-evenly;
    font-size: 0.9rem;
    color: #666;
}


.estimate  {
    font-size: 1rem;
    color: #444;
}


.big-number  {
    display: block;
    font-size: 1.6rem;
    color: #2b7a0b;
    font-weight: bold;
    margin-top: 8px;
}
/* SFARSIT ultimele stiluri pentru grafice */
/* stiluri pentru alerte */







.alert  {
    padding: 12px 20px;
    margin: 20px 0;
    border-radius: 6px;
    text-align: center;
    position: fixed;
    top: 20px;
    right: 0;
    transform: translateX(-50%);
    width: auto;
    max-width: 500px;
    z-index: 9999;
    transition: opacity 0.5s ease;
}


.alert.success  {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}


.alert.error  {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}



a  {
    text-decoration: none;
    color: var(--dark-color);
}


a:hover  {
    cursor: pointer;
}


.admin-container  {
    display: flex;
    flex-direction: row;
    width: 100%;
}


.hidden  {
    display: none;
}


.aside-admin  {
    width: 200px;
    transition: width 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--light-color);
    min-height: 100vh;
    /* overflow: hidden; */
}


.aside-admin.collapsed  {
    width: 60px;
}


.admin-burger  {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    overflow: hidden;
}


.aside-admin header i  {
    color: var(--light-color);
    background: none;
    background-color: transparent;
    font-size: 1.6rem;
}


.aside-admin img  {
    max-width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}
/* Menu list */



.aside-admin ul  {
    list-style: none;
    padding: 0;
    margin: 0;
    /* padding-right: 10px; */
}
/* Icon */



.aside-admin li i  {
    font-size: 1.6rem;
    color: var(--light-color);
    flex-shrink: 0;
    padding-left: 1rem;
}


.aside-admin .sidebar-btn span  {
    padding-right: 10px;
}
/* Stil de tooltip doar când sidebar-ul e collapsed */



.aside-admin.collapsed .sidebar-btn  {
    position: relative;
}


.aside-admin ul li a.sidebar-btn  {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    width: 100%;
    text-align: left;
    /* padding: 0.75rem 1rem; */
    transition: background 0.2s ease;
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
}


.aside-admin ul li a.sidebar-btn:hover  {
    background: var(--dark-color);
}


.aside-admin.collapsed a.sidebar-btn span  {
    opacity: 0;
    pointer-events: none;
    width: 0;
}


.aside-admin.collapsed button  {
    opacity: 0;
    pointer-events: none;
    width: 0;
}
/* Tooltip */



.aside-admin.collapsed a.sidebar-btn::after  {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--light-color);
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    white-space: nowrap;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    margin-left: 0.5rem;
    z-index: 10;
}


.aside-admin.collapsed a.sidebar-btn:hover::after  {
    opacity: 1;
}


.apply-discount-form  {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* padding: 4px;
    border: 2px solid var(--border-form); */
}

.butoane  {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
}

.button-logout  {
    width: 100%;
}
/* Butonul Delete */


.button.delete  {
    background-color: var(--danger-color);
}


.button.delete:hover  {
    background-color: var(--dark-color);
}


.butoane a.icon-button  {
    min-width: unset;
    width: 36px;
}


.per-page-form  {
    display: block;
    white-space: nowrap;
}
/* Stiluri generale pentru tabel */



main  {
    flex: 1;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


h1  {
    color: var(--dark-color);
    font-size: 1.8rem;
}


.ecran-60  {
    width: 60%;
    margin: 0 auto;
}


.ecran-80  {
    width: 80%;
    margin: 0 auto;
}


.tabela_mare  {
    width: 100%;
}


.tabela_mica  {
    width: 50%;
}


.tabela_mare,
.tabela_mica,
.tabela-comenzi  {
    border-collapse: collapse;
    min-width: 600px;
    width: 100%;
    max-width: 1200px;
    overflow-x: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--light-color);
    margin: 1rem auto;
}


.tabela_mare thead,
.tabela_mica thead,
.tabela-comenzi thead  {
    background-color: var(--primary-color);
    color: var(--light-color);
    white-space: nowrap;
}


.tabela_mare th,
.tabela_mare td,
.tabela_mica th,
.tabela_mica td,
.tabela-comenzi th,
.tabela-comenzi td  {
    padding: 0.5rem;
    text-align: left;
}


.tabela_mare th,
.tabela_mica th,
.tabela-comenzi th  {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}


.tabela_mare tbody tr,
.tabela_mica tbody tr,
.tabela-comenzi tbody tr  {
    border-bottom: 1px solid var(--border-form);
    transition: background-color 0.2s;
    /* white-space: nowrap; */
}


.tabela_mare tbody tr:hover,
.tabela_mica tbody tr:hover,
.tabela-comenzi tbody tr:hover  {
    background-color: var(--border-form);
}


.tabela_statistici  {
    min-width: unset;
}


.edit-create-form  {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--light-color);
    min-width: 300px;
}


.input-form  {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

}


.input-form label  {
    font-weight: 500;
    color: var(--dark-color);
}


.input-form input,
.input-form select,
.input-form textarea  {
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    font-size: 1rem;
    border: 2px solid var(--secondary-color);
    font-family: inherit;
}


.input-form textarea  {
    resize: vertical;

}


.input-form input:focus  {
    outline: none;
    border-color: var(--primary-color);
}


.custom-file-upload  {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}


.custom-file-upload:hover  {
    border-color: var(--primary-color);
    background: #f8f9fa;
}


.custom-file-upload input[type="file"]  {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}


.file-upload-text  {
    color: var(--primary-color);
    font-weight: 500;
}


.file-name  {
    color: #666;
    font-size: 0.9rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.image-preview  {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}


.preview-image  {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #ddd;
    padding: 4px;
    object-fit: cover;
    /* Asigură că imaginea se potrivește bine în container */
}


.error  {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


.product-image  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    /* Dimensiune mică pentru div */
    height: 70px;
    overflow: hidden;
}


.thumbnail  {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Imaginea se potrivește în div fără distorsiuni */
    border-radius: 4px;
    border: 1px solid #ddd;
}


.no-image  {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}
/* formularul pentru discount in admin produse */



.admin-actiuni-products  {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    /* align-items: center; */
    margin-bottom: 1rem;
    gap: 1rem;
}


.filter-header  {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-color);
    margin-top: 1rem;
    text-align: center;
    border-top: 2px solid var(--light-color);
    border-bottom: 2px solid var(--light-color);
}
/* sfrsit stiluri acordeon */
/* tabela de produse variant */





.tabela_variante  {
    /* width: 100%; */
    border-collapse: collapse;
    margin: auto;
    background-color: #f9f9f9;
}


.tabela_variante th,
.tabela_variante td  {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
    color: var(--dark-color);
}


.tabela_variante th  {
    background-color: #e0e0e0;
}


.tabela_variante tr:hover  {
    background-color: #f5f5f5;
}


.tabela_mare tr td .tabela_variante  {
    margin-left: 20px;
}


.tabela_variante .butoane  {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
}


.tabela_variante .butoane a.button,
.tabela_variante .butoane button.button  {
    margin: 0;
    padding: 6px 12px;
    font-size: 14px;
}


.tabela_variante .butoane form  {
    margin: 0;
    display: inline-flex;
}


.filters-active  {
    margin: 10px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
}


.filters-active ul  {
    list-style: none;
    padding: 0;
    margin: 0;
}


.filters-active li  {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
}


.toggle-variants  {
    font-weight: 500;
    padding: 0 5px;
    color: var(--primary-color);
}
/* Folosește atributul data-status în loc de valoarea din DOM */



select.status-select[data-status="draft"]  {
    border-color: var(--status-draft);
    border-left: 10px solid var(--status-draft);
}


select.status-select[data-status="pending"]  {
    border-color: var(--status-pending);
    border-left: 10px solid var(--status-pending);
}


select.status-select[data-status="processing"]  {
    border-color: var(--status-processing);
    border-left: 10px solid var(--status-processing);
}


select.status-select[data-status="completed"]  {
    border-color: var(--status-completed);
    border-left: 10px solid var(--status-completed);
}


select.status-select[data-status="cancelled"]  {
    border-color: var(--status-cancelled);
    border-left: 10px solid var(--status-cancelled);
}



button.delete.icon-button  {
    min-width: unset;
    width: 36px;
}


.review-badge  {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}


.review-numar  {
    position: relative;
}



#date-form  {
    display: grid;
    gap: 1rem;
    grid-template-columns: 500px 1fr;
    width: 100%;
    margin: auto;
}


#date-form h1  {
    margin-block: 1.5rem;
    color: var(--dark-color);
}


.date-input  {
    margin-bottom: 1rem;
    display: grid;
}


.date-input input,
.date-input textarea  {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 2px solid var(--secondary-color);
    background: none;
    outline: none;
    resize: vertical;
}


.date-input label  {
    padding: 0 0.25rem;
    color: var(--secondary-color);
    font-size: 1rem;
}
/* draft CRUD */



.button-plus,
.button-minus  {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    padding-inline: 10px;
    font-weight: 600;
}


.button-plus:hover,
.button-minus:hover  {
    background-color: var(--dark-color);
}
/* stiluri acordeon */



.search-wrapper  {
    position: relative;
    width: 100%;
    margin: 0 1rem;
    display: flex;
}



.sidebar  {
    flex-shrink: 0;
}


.filter-form-action>a  {
    width: 100%;
    text-align: center;
}
/* sfrsit stiluri acordeon */




.show-filtre  {
    display: flex;
    gap: 1rem;
    width: fit-content;
    margin-bottom: 1rem;
}


.draft-products  {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    align-items: center;
}


.draft-products .product-description  {
    width: 90%;
    margin: auto;
}


.draft-products .product  {
    display: grid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}


.product-description-span  {
    display: grid;
    width: 90%;
    margin: 0 auto;
    padding-top: 0.3rem;
    flex-grow: 1;
    padding-block: 0.5rem;
}

.draft-discount {
    min-height: 24px;
}



.draft-products .product .cart-form  {
    width: 100%;
}

.draft-products .product .cart-form .button  {
    width: 100%;
}

.draft-products .product img  {
    width: auto;
    height: 100%;
    object-fit: contain;
}


.draft-products .product a  {
    width: 90%;
    margin: auto;
}


.productActions  {
    display: grid;
    /* width: 200px; */
    margin-top: auto;
    place-items: center;
    width: 100%;
}


.productActions button  {
    width: 90%;
    min-width: 150px;
    text-align: center;
}


.productActions a  {
    /* width: 90%; */
    min-width: 150px;
    text-align: center;
}


.order-wrap  {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}


.order-filters  {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
}


.order-tabela  {
    display:grid;
    justify-content: center;
}


@media (max-width: 600px)  {
    .tabela_variante .butoane {
        gap: 4px;
    }

    .tabela_variante .butoane a.button,
    .tabela_variante .butoane button.button {
        padding: 4px 8px;
        font-size: 12px;
    }

    .filters-active li {
        display: block;
        margin-bottom: 5px;
    }
}
/* sfarsit tabela de produse variant */




.variant-row  {
    padding: 10px;
    border: 2px solid var(--secondary-color);
}


.remove-variant  {
    background-color: var(--danger-color);
    color: var(--light-color);
    border: none;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 8px;
}


.remove-variant:hover  {
    background-color: var(--dark-color);
}


.add-variant  {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 8px auto;
    max-width: fit-content;
}


.add-variant:hover  {
    background-color: var(--dark-color);
}
