* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
   }
body{
    font-family: 'Poppins', sans-serif;
    background-color: #F2F2F2;

   }
header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 22px;
    padding-top: 10px;
    padding-bottom: 3px;
  
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #074441;
    padding: 10px 35px 10px 35px;
    border-radius: 10px;
    width: 100%;
}

.logo img {
    display: block;
    height: 55px;
    width: auto;
    padding: 0;
    margin: 0;
}
.navbar a {
    text-decoration: none;
}
.contact-button {
    background-color: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight:600 !important;
    padding: 10px 22px;
    border-radius: 9px;
    margin-left: 15px;
    margin-right: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-color: #ffffff;
    border-style:solid;
    color: #ffffff;
}
.contact-button img {
    margin-right: 5px;
}

.search-bar {
    flex: 1;
    max-width: 650px;
    height: 45px;
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}
.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 400px;
        height: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }
    header {
        padding: 7px;
    }
    .contact-button {
        font-size: 10px;
        padding: 6px 13px;
    }
    .container{
        padding: 30px;
    }
    .navbar {
        padding:5px 15px 5px 15px;
       
    }
}
@media (max-width: 480px) {
    .search-bar {
        max-width: 250px;
        height: 30px;
        border-radius: 6px;
    }
   .poza{
    width: 90%!important;
   }
    .product{
        padding: 10px!important;
        margin-left: 0px!important;
        margin-right: 0px!important;
    } 
    .product-details{
        margin-left: -20% !important;
    }
    .search-bar input{
        font-size: 12px;
    }
    .hamburger img{
     margin-top: 3px;
     width: 30px;
     height: 30px;
    } 
    .container {
        padding: 8px!important;
    }
    .container h1 {
        font-size: 25px;
    }
    .container  h2{
        font-size: 32px!important;
    }
    .container p {
        font-size: 13px!important;
    }
    .container .priceProd {
        font-size: 18px!important;
    }
    .container ul {
        font-size: 11px;
    }
    .logo img {
        height: 35px;
    }
    .cercetas {
        width: 90%!important;
    }
    .cantitatea{
        gap: 4px!important;
    }
    .minus, .plus{
       padding: 1px 8px!important;
       border-radius: 7px!important;
    }
    .cantitatea input{
        width: 50px!important;
        height: 30px!important;
        font-size: 12px!important;
    }
    .adaugaCos-main{
        padding: 8px!important;
        font-size: 14px!important;
        width: 90%!important;
    }
    .carucior{
        width: 15px!important;
        height: 15px!important;
    }
    .product-info h2{
        font-size: 25px!important;
        margin-bottom: 0px!important;
    }
    #product-specifications {
       font-size: small;
    }
    .popular-products-section{
        padding: 10px!important;
    }
    .scroll-button{
        padding: 5px 9px !important;
        font-size: 20px!important;
    }
    .sizes button{
        padding: 7px 11px !important;
        font-size: 2px;
        margin-bottom:5px ;
        border-radius: 5px!important;
        gap: 1px!important;
        margin: 3px 0px!important;
    }
    .sizes{
       margin-bottom: 10px!important;
    }
   
   
}

.icons {
    display: flex;
    gap: 75px;
    cursor: pointer;
    position: relative;
}

.icon-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 28px;
    height: 28px;
}

.tooltip {
    position: absolute;
    top: 35px; /* Poziționează exact sub iconiță */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    margin-top: 5px;
}

.icon-container:hover .tooltip {
    opacity: 1;
}


.hamburger {
    display: none;
    cursor: pointer;
}

/* Afișează hamburger-ul și ascunde iconițele la rezoluții mici */
@media (max-width: 768px) {
    .icons {
        display: none; /* Ascunde iconițele */
    }
    .hamburger {
        display: block; /* Afișează hamburger-ul */
    }
}

.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #05312F;
    color: white;
    padding-top: 20px;
    transition: 0.3s;
    z-index: 22;
}
.side-menu a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}
.side-menu a:hover {
    background-color: #05312F;
}
.side-menu .close-btn {
    position: absolute;
    top: 1px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
}


/* Produsul */

.container {
    max-width: 1700px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
}

.container h2{
    text-align: center;
    font-size: 50px;
}
.cercetas {
    border: 3px solid #05312F;
    width: 450px;
    border-radius: 5px;
    margin: 2px auto 20px;
}

.product {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 50px;
    margin-left: 140px;
    margin-right: 140px;
}
@media (max-width: 1200px) {
    .product {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-left: 30px;
        margin-right: 30px;
    }
    .product-details {
       margin-top: 30px;
       margin-left: 0% !important;
    }
    .product-details h1,  .product-details p {
        margin-bottom: 0%;
    
    }
    .priceProd {
        margin-top: 0px !important;
    }
    .product img {
        width: 98% ;
    }
    
}

.product img {
    width: 450px;
    border-radius: 10px;
    flex-shrink: 0;
}
.product-details {
    flex: 1;
    margin-left: 153px;
}
.sizes button {
    margin: 4px ;
    padding: 9px 14px ;
    border: none;
    background: #ddd;
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px!important;
}
.sizes .active {
    background: #05312F;
    color: white;
}
.priceProd {
    margin-bottom: 30px;
    font-size: 35px;
    font-weight: bold;
    margin-top: 30px;
}
.cantitatea {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 17px;
    margin-bottom: 30px;
}






/* Hide arrows in Chrome, Safari, Edge, and Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    -webkit-appearance: none;  /* Chrome, Safari, Edge */
    appearance: none; /* Standard */
}



.cantitatea input {
    width: 70px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    border: none;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
    border-color: #357a32;
    box-shadow: 0px 0px 5px rgba(70, 144, 67, 0.5);
}

.cantitatea button {
    all: unset;
    border: 3px solid #05312F;
    outline: none;
}

.cantitatea .minus {
    padding: 8px 16px;
    background: #fff;
    color: #05312F;
    cursor: pointer;
    border-radius: 10px;
    font-size: 20px;
}

.cantitatea .plus {
    padding: 8px 15px;
    background: #05312F;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    font-size: 20px;
}

.adaugaCos-main img{
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
}

.adaugaCos-main {
    background: #05312F;
    color: white;
    padding: 12px;
    margin-top: 15px;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    width: 200px;
    text-align: center;
}



/* Asta e doar pentru solicita oferta */
.adaugaCos-main a{
    text-decoration: none;
    color: #ffffff;
}



.adaugaCos-main:hover{
    background: #05312F;
}

.prRecomandate {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/*aici se ncep produsele populare florea si boga sa o suga*/

.popular-products-section {
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.popular-products-section h2 {
    font-size: 35px;
    font-weight: 700;
    margin-left: 10px;
    position: relative;
    display: inline-block;
    margin-top: 40px;
}
@media screen and (max-width: 768px) {
    .recommended-products-section h2 {
        font-size: 28px!important;
        margin-top: 20px;
       }
}
@media screen and (max-width: 768px) {
    .popular-products-section {
        padding: 2px;
    }
    .product-card{
        flex: 0 0 200px!important;
        height: 350px!important;
        margin-right: 5px!important;
    }
    .product-card h3 {
        font-size: 18px!important;
    }
    .popular-products-section h2 {
        font-size: 28px!important;
        margin-top: 20px;
        margin-left: 10px;
    }
    .scroll-button {
      display: none;
    }
    .add-to-cart{
        padding: 10px 20px!important;
        font-size: 13px!important;
    }
}

.popular-products-section h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background-color: #05312F;
    position: absolute;
    bottom: -1px;
    left: 0;
    border-radius: 10px;
}

/* Containerul de produse */
.products-container {
    display: flex;
    overflow-x: auto; /* Activăm scroll-ul orizontal */
    scroll-behavior: smooth;
    margin-top: 20px;
    white-space: nowrap;
    scrollbar-width: none; /* Ascunde scrollbar-ul pe Firefox */
    padding: 10px;
}

.products-container button a{
    text-decoration: none;
    color: white;
}

/* Ascunde scrollbar-ul pe Chrome și alte browsere */
.products-container::-webkit-scrollbar {
    display: none;
}

/* Cardurile de produse */
.product-card {
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-right: 20px;
    flex: 0 0 300px; /* Dimensiunea fixă a fiecărui card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 450px; /* Dimensiune fixă pentru card */
    overflow: hidden; /* Ascunde textul care depășește dimensiunea cardului */
}

.product-card img {
    width: 100%;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 20px;
    margin: 5px 0;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    word-wrap: break-word;        /* Sparge cuvintele dacă sunt prea lungi */
    overflow-wrap: break-word;    /* Alternativ modern pentru word-wrap */
    white-space: normal;          /* Permite textului să treacă pe rândul următor */
}

.product-card p {
    font-size: 12px; /* Dimensiune mai mică pentru text */
    color: #666;
    margin: 3px 0; /* Reduce spațiul dintre p și elementele de mai jos */
    line-height: 1.2; /* Reduce înălțimea liniei pentru a putea adăuga mai mult text */
    overflow: hidden; /* Ascunde textul care depășește dimensiunea cardului */
    text-overflow: ellipsis; /* Adaugă puncte de suspensie pentru textul care depășește */
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.product-card h3 {
    font-size: 20px;
    margin: 5px 0; /* Reduce spațiul dintre h3 și p */
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.product-card p {
    font-size: 14px;
    color: #666;
    margin: 5px 0; /* Reduce spațiul dintre p și elementele de mai jos */
}

.product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}



.add-to-cart {
    background-color: #05312F;
    color: white;
    border: none;
    padding: 13px 40px;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s;
    width: 95%;
}

.add-to-cart:hover {
    background-color: #075551;
}

/* Butoanele de scroll */
.scroll-button {
    position: absolute;
    top: 57%;
    transform: translateY(-50%);
    background-color: #05312F;
    color: white;
    border: none;
    padding-bottom: 2.5px;
    border-radius:100px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: 0.3s;
    width: 50px;
    height: 50px;
}

.scroll-button.left {
    left: 10px;
}

.scroll-button.right {
    right: 10px;
}

.scroll-button:hover {
    background-color: #05312F;
}

/* Ascunde butoanele când nu mai e scroll */
.scroll-button:disabled,
.scroll-button[style*="display: none"] {
    display: none !important;
}


.adaugaCos {
    background: #05312F;
    color: white;
    padding: 15px;
    margin-top: 15px;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 25px;
    width: 100%;
    text-align: center;
}

.adaugaCos img{
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}



.sizes .active {
    background: #05312F;
    color: white;
}





.product-info {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

.product-info h2 {
    margin-bottom: 20px;
    text-align: left;
    font-size: 40px;
}

#product-specifications {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 50px;
}

#product-specifications td {
    border: 1px solid #ddd;
    padding: 8px;
}

#product-specifications tr:nth-child(even) {
    background-color: #f9f9f9;
}

#product-specifications strong {
    color: #000000;
}













/* Footer */
.footer {
    margin-top: 50px;
    background: #222;
    padding: 50px 0 20px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 40px;
    gap: 50px;
}

.footer-section:first-child {
    flex: 1.2;
    max-width: 350px;
}

/* Footer Section */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section .logo-section {
    margin-bottom: 15px;
    margin-left: 54px;
}
.logo-section img{
    width: 150px;
    height: auto;
}


.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Headings */
.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #59DD97;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #59DD97;
}

/* Contact & Work Schedule */
.footer-section p strong {
    color: #59DD97;
}

/* Social Media */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    width: 40px;
    height: 30px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #05312F;
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 14px;
    padding: 15px 0;
    color: #bbb;
    border-top: 1px solid #444;
}

.leeadgrow{
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #bbb;
}

.leeadgrow a{
    text-decoration: none;
    font-weight: 500;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-section .logo-section {
        margin-left: 0;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        margin-bottom: -20px!important;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-right: 0%;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-right: 0%;
    }

    .footer-section {
        margin-bottom: 15px;
    }

    .footer-section h3 {
        font-size: 15px;
    }
    .footer-section:first-child {
        margin-right: 0;
    }

    .footer-section p {
        font-size: 10px;
        color: #fff;
    }

    .footer-section ul li {
        margin: 0px 0;
    }

    .footer-section ul li a {
        font-size: 10px;
    }

    .social-icons a {
        width: 25px;
        height: 25px;
    }
    .socialSvg {
        width: 20px;
    }
    .socialContainer{
        width: 40px !important;
        height: 40px !important;
        
    }
    .recommended-product-card {
        margin-right: 0px;
    }

    .copyright {
        font-size: 12px;
        margin-top: 26px;
    }
    .container {
        padding: 25px;
    }
}

.card {
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }
  
 /* for all social containers*/
 .socialContainer {
    width: 52px;
    height: 52px;
    background-color: #25586f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: 0.3s;
    border-radius: 30px;
  }
  /* instagram */
  .containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }
  
  /* facebook */
  .containerThree:hover {
    background-color: #0072b1;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }

  /* viber */
  .containerTwo:hover {
    background-color: #7F4EA1;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }

  /* whatsapp */
  .containerFour:hover {
    background-color: #128c7e;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }
  
  .socialContainer:active {
    transform: scale(0.9);
    transition-duration: 0.3s;
  }
  
  .socialSvg {
    width: 22px;
  }
  
  .socialSvg path {
    fill: rgb(255, 255, 255);
  }
  
  .socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
  }
  
  @keyframes slide-in-top {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }


/* Responsive Design */
@media (max-width: 675px) {
    .contact-button, .icons {
        display: none;
    }

}


/* AAAAAAALLLLLLLEEEERRRRRRRTTTTTTTTT */

.custom-alert {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4d;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease-in-out;
    z-index: 1000;
}

.custom-alert.success {
    background-color: #59DD97;
    color: #05312F;
}

.custom-alert.show {
    top: 80px;
}




.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 999;
    display: none;
}
  
  .search-suggestions a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }
  
  .search-suggestions a:hover {
    background-color: #f0f0f0;
  }


/* discount section */

  .image-wrapper {
    position: relative;
    display: inline-block;
}

.original-price {
    text-decoration: line-through;
    color: rgb(215, 74, 74);
    font-size: 25px;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #e53935, #ff7043);
    color: white;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    padding: 7px 10px;
    font-size: 16px;
    border-radius: 8px 0 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transform: rotate(-5deg);
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: rotate(-5deg) scale(1);
    }
    50% {
        transform: rotate(-5deg) scale(1.05);
    }
}



/* ================== */









