* {
    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;
}
/* =================== START NAV =================== */



.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;
    margin-right: 15px;
}
.navbar a {
    text-decoration: none;
}





.contact-button{
  display:inline-flex; 
  align-items:center; 
  gap:8px;
  text-decoration:none; 
  background:transparent; 
  color:#fff;
  padding:8px 13px; 
  border:1.5px solid #fff; 
  border-radius:8px;
  font-weight:700; 
  font-size:12px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  margin-right: 15px;
  margin-left: 5px;
}

.contact-icon{ /* svg inherits button text color */
  display:block; width:18px; height:18px; flex:0 0 auto;
}

.contact-button:hover{
  background:#fff; color:#074B48; border-color:#fff;
}






.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: 200px;
        height: 40px;
    }
}

.icons {
    display: flex;
    gap: 90px;
    cursor: pointer;
    position: relative;
    margin-left: 30px;
}

@media (max-width: 950px) {
    .icons {
        gap: 30px;
    }
}
@media (max-width: 768px) {
    .search-bar {
        max-width: 100%;
        height: 40px;
        margin-right: 15px;
        margin-left: 10px;
    }
    .container h1 {
        font-size: 30px;
    }
    header {
        padding: 7px;
    }
    .logo img{
        height: 45px;
        margin-right: 8px;
    }
    .contact-button {
        font-size: 10px;
        padding: 6px 13px;
    }
    .container{
        padding: 30px;
    }
    
    .navbar {
        padding:5px 15px 5px 15px;
       
    }
    .slider {
        display: none !important;
    }
   .menu{
         width: 100%!important;
   }

    .hamburger img{
        margin-top: 6px;
    } 

   .arrow{
    rotate: 90deg!important;


}







}
@media (max-width: 480px) {
    .search-bar {
        max-width: 100%;
        height: 30px;
        border-radius: 6px;
        margin-right: 12px;
        margin-left: 8px;
    }
    .search-bar input{
        font-size: 12px;
    }
    .container h1 {
        font-size: 22px;
    }
    .container {
        padding: 10px!   important;
    }
    .container  h2{
        font-size: 11px;
    }
    .container p {
        font-size: 11px;
    }
    .container ul {
        font-size: 11px;
    }
    .logo img {
        height: 40px;
    }
    .hamburger img{
        margin-top: 6px;
        width: 35px;
        height: 35px;
       } 

    .cart-container h1{
        font-size: 30px;
        margin-top: 20px;
    }
}



@media (max-width: 367px) {
    .cart-container h1{
        font-size: 25px;
    }
}



.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;
}






/* ===== topbar deasupra navbar-ului ===== */
/* culori din paleta site-ului: fundal inchis + text alb */
.topbar{
  width:100%;
  background:#05312F; /* usor mai inchis decat navbar-ul (#074441) */
  color:#ffffff;
  border-radius:10px 10px 0 0; /* colturi doar sus, ca sa se potriveasca cu navbarul dedesubt */
  padding:8px 35px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font: 500 14px/1.2 'Poppins', sans-serif;
}

/* partea stanga: program lucru */
.topbar-left{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap; /* pe ecrane mici se rup pe randul urmator */
}
.tb-item{opacity:.95; white-space:nowrap;}
.tb-item strong{font-weight:700;}
.tb-sep{width:1px;height:16px;background:rgba(255,255,255,.25);}

/* centru: social – minimalist text (inlocuieste cu svg-uri daca doresti) */
.topbar-center{
  display:flex; align-items:center; gap:10px;
}
.tb-social{
  display:inline-flex; align-items:center; justify-content:center;
  width:35px; height:35px; border-radius:50%;
  background:rgba(255,255,255,.15);
  color:#fff; text-decoration:none; font-size:12px; font-weight:700;
  transition:transform .2s ease, background .2s ease;
}
.tb-social:hover{ transform:translateY(-1px); background:rgba(255,255,255,.28); }

/* colturile navbarului jos, ca sa se imbini frumos cu topbarul */
.navbar{
  border-radius:0 0 10px 10px;
}

/* ensures social icons stay white and scale nicely */
.tb-social { color:#fff; }
.tb-social svg { display:block; width:17px; height:17px; fill:currentColor; }

/* keep one-line layout until 769px */
.topbar,
.topbar-left,
.topbar-center{
  flex-wrap: nowrap !important; /* never wrap before 769px */
}
.tb-item{ white-space:nowrap; }

/* base: keep your existing desktop sizes; below we progressively shrink */
@media (max-width: 1200px){
  .topbar{ padding:8px 28px; gap:14px; }
  .topbar-left{ gap:10px; }
  .tb-item{ font-size:14px; }
  .tb-sep{ width:1px; height:14px; }
  .tb-social svg{ width:16.5px; height:16.5px; }
  .tb-social{ width:34px; height:34px; }
}

@media (max-width: 1100px){
  .topbar{ padding:8px 24px; gap:12px; }
  .topbar-left{ gap:8px; }
  .tb-item{ font-size:13.5px; }
  .tb-sep{ height:13px; }
  .tb-social svg{ width:16px; height:16px; }
  .tb-social{ width:33px; height:33px; }

}

@media (max-width: 1024px){
  .topbar{ padding:8px 20px; gap:10px; }
  .topbar-left{ gap:7px; }
  .tb-item{ font-size:13px; }
  .tb-sep{ height:12px; }
  
}

@media (max-width: 950px){
  .topbar{ padding:6px 18px; gap:10px; }
  .topbar-left{ gap:6px; }
  .tb-item{ font-size:12.5px; }
  .tb-sep{ height:11px; }
  .tb-social svg{ width:15.5px; height:15.5px; }
  .tb-social{ width:32px; height:32px; }

}

@media (max-width: 900px){
  .topbar{ padding:6px 16px; gap:8px; }
  .topbar-left{ gap:6px; }
  .tb-item{ font-size:12px; }
  .tb-sep{ height:10px; }
}

@media (max-width: 840px){
  .topbar{ padding:6px 14px; gap:8px; }
  .topbar-left{ gap:5px; }
  .tb-item{ font-size:11.5px; }
  .tb-sep{ height:10px; }
}

@media (max-width: 810px){
  .topbar{ padding:6px 12px; gap:6px; }
  .topbar-left{ gap:5px; }
  .tb-item{ font-size:11px; }
  .tb-sep{ height:9px; }
  .tb-social svg{ width:15px; height:15px; }
  .tb-social{ width:31px; height:31px; }

}

/* last step before hide — tiny squeeze to keep one line at 769–780px */
@media (max-width: 780px){
  .topbar{ padding:5px 10px; gap:6px; }
  .topbar-left{ gap:4px; }
  .tb-item{ font-size:10.8px; }
  .tb-sep{ width:1px; height:9px; }
  .tb-social svg{ width:14.5px; height:14.5px; }
  .tb-social{ width:30px; height:30px; }

}

/* hide at ≤768px as requested */
@media (max-width: 768px){
  .topbar{ display:none !important; }
}

/* keep navbar corners correct relative to visibility */
@media (min-width: 769px){
  .navbar{ border-radius:0 0 10px 10px; }
}
@media (max-width: 768px){
  .navbar{ border-radius:10px; }
}

/* ascundem complet pe desktop */
@media (min-width: 993px){
  .topbar-mobile{display:none!important;}
}





/* =================== END NAV =================== */








@media (max-width: 768px) {

    .icons, .contact-button {
        display: none;
    }
    
}


.hamburger {
    display: none;
    cursor: pointer;
}
.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;
}
@media (max-width: 770px) {
 
    .hamburger {
        display: block;
    }
 
 }

/* Produse Recomandate */

.recommended-products-section {
    margin-top: -10px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.recommended-products-section h2 {
    font-size: 35px;
    font-weight: 700;
    margin-left: 10px;
    position: relative;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
}

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

.recommended-products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.recommended-product-card {
    width: calc(20% - 5px); /* 5 products per row with reduced spacing */
    margin-bottom: 10px; /* Reduced margin-bottom */
    box-sizing: border-box;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-right: 10px;
    margin-left: 10px;
    flex: 0 0 310px; /* Dimensiunea fixă a fiecărui card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px; /* Dimensiune fixă pentru card */
    overflow: hidden; /* Ascunde textul care depășește dimensiunea cardului */
}

.recommended-product-card button a{
    text-decoration: none;
    color: white;
}

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

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

.recommended-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-line-clamp: 4; /* Limitează numărul de linii la 4 */
    -webkit-box-orient: vertical;
}

.recommended-product-card .product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}



.recommended-product-card .add-to-cart {
    background-color: #05312F;
    color: white;
    border: none;
    padding: 10px 50px;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s;
}

.recommended-product-card .add-to-cart:hover {
    background-color: #05312F;
}


@media screen and (max-width: 768px) {
    .recommended-products-section {
        padding: 1px;
    }
    .recommended-product-card {
        flex: 0 0 200px;
        height: 350px;
        margin-left: 2px;
        margin-right: 2px;
    }
    .recommended-product-card h3 {
        font-size: 18px;
    }
    .product-footer .add-to-cart{
        padding: 8px 19px!important;
        font-size: 12px;
    }

    .recommended-products-section h2 {
        font-size: 25px;
        margin-top: 60px;
    }
}
@media screen and (max-width: 408px){
    .recommended-product-card {
        flex: 0 0 180px;
        height: 350px;
    }
}

/* Ensure the styles for .product-card apply to .recommended-product-card as well */
.product-card, .recommended-product-card {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.product-card img, .recommended-product-card img {
    max-width: 100%;
    height: auto;
}

.product-footer .price {
    font-weight: bold;
}

.product-footer .add-to-cart {
    background-color: #05312F;
    color: white;
    border: none;
    padding: 10px 60px;
    cursor: pointer;
}

.product-footer .add-to-cart:hover {
    background-color: #05312F;
}



/* ==================== FOOTER - tot pe o linie, perfect centrat ==================== */

.footer {
  background: #222;
  color: #fff;
  padding: 50px 0 20px;
}

/* containerul principal: coloane pe o linie + responsive */
.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;     /* egalizeaza stanga-dreapta */
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

/* fiecare sectiune din footer */
.footer-section,
.footer-section-map {
  flex: 1 1 0;
  min-width: 230px;
  max-width: 320px;
}

/* logo + social */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.logo-section img {
  width: 150px;
  height: auto;
}

/* text general */
.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  margin: 6px 0;
}

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

/* liste */
.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;
  font-size: 14px;
  transition: 0.3s;
}
.footer-section ul li a:hover {
  color: #59DD97;
}

/* accent in text */
.footer-section p strong {
  color: #59DD97;
}

/* social icons */
.card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.socialContainer {
  width: 52px;
  height: 52px;
  background-color: #25586f;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  transition: 0.3s;
}
.socialContainer:active { transform: scale(0.9); }
.containerOne:hover  { background-color: #d62976; transform: scale(1.15); }
.containerTwo:hover  { background-color: #0072b1; transform: scale(1.15); }
.containerThree:hover{ background-color: #000;    transform: scale(1.15); }

.socialSvg { width: 22px; height: 22px; }
.socialSvg path { fill: #fff; }

/* ==================== HARTA FULL WIDTH (aceeasi pe toate ecranele) ==================== */
.footer-section-map {
  flex: 0 0 100%;                     /* harta pe un rand separat */
  max-width: 100%;
}
.footer-section-map iframe {
  display: block;
  /* intinde vizual harta cat containerul de continut, anuland paddingul de 20px */
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  height: 300px;                      /* pastreaza aceeasi inaltime pe toate ecranele */
  border: 0;
  border-radius: 8px;
}

/* ==================== 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 ==================== */
@media (max-width: 950px) {
  .footer-container {
    gap: 25px;
  }
}

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

  .footer-section,
  .footer-section-map {
    max-width: 500px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p,
  .footer-section ul li a {
    font-size: 13px;
  }

  .socialContainer {
    width: 45px;
    height: 45px;
  }

  /* >>> NU mai compactam harta pe mobil: ramane ca pe desktop <<< */
  .footer-section-map iframe {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    height: 300px; /* poti creste la 340-360px daca o vrei mai inalta pe mobil */
  }
  
}

@media (max-width: 480px) {
  .footer-section h3 {
    font-size: 15px;
  }

  .footer-section p {
    font-size: 12px;
  }

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

  .socialContainer {
    width: 40px;
    height: 40px;
  }

  .socialSvg {
    width: 20px;
    height: 20px;
  }

  .copyright {
    font-size: 11px;
  }

  /* si pe telefoane mici, harta ramane la fel */
  .footer-section-map iframe {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    height: 300px;
  }
}






/* ===== MAP SPACING OVERRIDE (place at the end of your CSS) ===== */
.footer .footer-section-map {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.footer .footer-section-map iframe {
  display: block !important;
  box-sizing: border-box !important;

  /* add a small inset from both sides while keeping the 'bleed' style */
  /* container has 20px padding on each side; we inset by 12px from each edge */
  width: calc(100% + 40px - 24px) !important;         /* 40px (padding L+R) - 24px (12px inset each side) */
  margin-left: calc(-20px + 12px) !important;         /* -container padding + inset */
  margin-right: calc(-20px + 12px) !important;

  height: 320px !important;                           /* keep or change as you like */
  border: 0 !important;
  border-radius: 14px !important;                     /* slightly softer corners */
}

/* keep the same look on ≤768px */
@media (max-width: 480px) {
  .footer .footer-section-map iframe {
    width: calc(100% + 40px - 24px) !important;
    margin-left: calc(-20px + 12px) !important;
    margin-right: calc(-20px + 12px) !important;
    height: 320px !important;
  }
  .footer-container{
    gap: 15px;
  }
}









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

}

/* ---------- Search Suggestions: modern UI ---------- */
:root{
  --fc-primary:#074441;
  --fc-bg:#ffffff;
  --fc-text:#111;
  --fc-muted:#6b7280;
  --fc-border:#e5e7eb;
  --fc-hover:#f5f7f7;
  --fc-shadow: 0 22px 45px rgba(0,0,0,.18), 0 2px 10px rgba(0,0,0,.06);
}

.search-bar { position: relative; } /* deja ai, dar asigurăm contextul */

.search-suggestions{
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  background: var(--fc-bg);
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  box-shadow: var(--fc-shadow);
  max-height: 420px;
  overflow: auto;
  display: none;                 /* control din JS */
  z-index: 9999;
  padding: 6px;
  animation: fcDrop .14s ease-out;
  overscroll-behavior: contain;
}

/* bara “cap” opțională – lipește în JS dacă vrei */
.search-suggestions .ss-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 10px 8px;
  border-bottom:1px solid var(--fc-border);
  font: 600 12px/1.1 'Poppins', sans-serif;
  color: var(--fc-muted);
  letter-spacing:.02em;
}

.suggestion-item{
  display:grid;
  grid-template-columns: 36px 1fr auto;
  gap:12px;
  align-items:center;
  padding:10px 10px;
  border-radius:10px;
  cursor:pointer;
  transition: background .16s ease, transform .04s ease;
}
.suggestion-item:hover{ background: var(--fc-hover); }
.suggestion-item[aria-selected="true"]{
  background: #eef6f5;
  outline: 1.5px solid #d6ebe9;
}

.sug-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #eef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--fc-primary);
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
}

.sug-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.sug-main{
  min-width:0; /* truncate corect */
}
.sug-title{
  font: 600 14px/1.25 'Poppins', sans-serif; color:var(--fc-text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.sug-meta{
  margin-top:4px;
  font: 12px/1.2 'Poppins', sans-serif; color:var(--fc-muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.sug-meta .pill{
  display:inline-block; padding:2px 8px; border-radius:999px;
  border:1px solid var(--fc-border); margin-left:6px; font-weight:600;
}

.sug-go{
  font: 600 12px/1 'Poppins', sans-serif; color: var(--fc-primary);
  opacity:.9;
}

/* “fără rezultate” */
.suggestion-empty{
  padding:18px 12px; text-align:center; color:var(--fc-muted);
  font: 500 13px/1.4 'Poppins', sans-serif;
}

/* scrollbar discret */
.search-suggestions::-webkit-scrollbar{ width:10px; }
.search-suggestions::-webkit-scrollbar-thumb{
  background:#dfe6e5; border-radius:999px; border:2px solid #fff;
}

/* mark + highlight */
.search-suggestions mark{
  background: #fef3c7;
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

/* mică animație de intrare */
@keyframes fcDrop{
  from{ transform: translateY(-6px); opacity:0 }
  to{ transform: translateY(0); opacity:1 }
}

/* mobile – “lipim” de input pentru feeling nativ */
@media (max-width: 768px){
  .search-suggestions{
    top: calc(100% + 6px);
    border-radius: 10px;
    max-height: 60vh;
  }
}




/* fix cookie bar to avoid CLS */
.cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:9999}

/* reserve hero space */
.slider{min-height:360px}
.slide img{aspect-ratio:1100/350;object-fit:cover}

/* stabilize product images */
.product-card img,.recommended-product-card img{aspect-ratio:1/1;object-fit:cover}

/* reduce infinite animations */
.menu-label.hot{animation-iteration-count:1}


/* 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: modern UI ---------- */
:root{
  --fc-primary:#074441;
  --fc-bg:#ffffff;
  --fc-text:#111;
  --fc-muted:#6b7280;
  --fc-border:#e5e7eb;
  --fc-hover:#f5f7f7;
  --fc-shadow: 0 22px 45px rgba(0,0,0,.18), 0 2px 10px rgba(0,0,0,.06);
}

.search-bar { position: relative; } /* deja ai, dar asigurăm contextul */

.search-suggestions{
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  background: var(--fc-bg);
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  box-shadow: var(--fc-shadow);
  max-height: 420px;
  overflow: auto;
  display: none;                 /* control din JS */
  z-index: 9999;
  padding: 6px;
  animation: fcDrop .14s ease-out;
  overscroll-behavior: contain;
}

/* bara “cap” opțională – lipește în JS dacă vrei */
.search-suggestions .ss-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 10px 8px;
  border-bottom:1px solid var(--fc-border);
  font: 600 12px/1.1 'Poppins', sans-serif;
  color: var(--fc-muted);
  letter-spacing:.02em;
}

.suggestion-item{
  display:grid;
  grid-template-columns: 36px 1fr auto;
  gap:12px;
  align-items:center;
  padding:10px 10px;
  border-radius:10px;
  cursor:pointer;
  transition: background .16s ease, transform .04s ease;
}
.suggestion-item:hover{ background: var(--fc-hover); }
.suggestion-item[aria-selected="true"]{
  background: #eef6f5;
  outline: 1.5px solid #d6ebe9;
}

.sug-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #eef2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--fc-primary);
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
}

.sug-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.sug-main{
  min-width:0; /* truncate corect */
}
.sug-title{
  font: 600 14px/1.25 'Poppins', sans-serif; color:var(--fc-text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.sug-meta{
  margin-top:4px;
  font: 12px/1.2 'Poppins', sans-serif; color:var(--fc-muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.sug-meta .pill{
  display:inline-block; padding:2px 8px; border-radius:999px;
  border:1px solid var(--fc-border); margin-left:6px; font-weight:600;
}

.sug-go{
  font: 600 12px/1 'Poppins', sans-serif; color: var(--fc-primary);
  opacity:.9;
}

/* “fără rezultate” */
.suggestion-empty{
  padding:18px 12px; text-align:center; color:var(--fc-muted);
  font: 500 13px/1.4 'Poppins', sans-serif;
}

/* scrollbar discret */
.search-suggestions::-webkit-scrollbar{ width:10px; }
.search-suggestions::-webkit-scrollbar-thumb{
  background:#dfe6e5; border-radius:999px; border:2px solid #fff;
}

/* mark + highlight */
.search-suggestions mark{
  background: #fef3c7;
  color: inherit;
  padding: 0 2px;
  border-radius: 4px;
}

/* mică animație de intrare */
@keyframes fcDrop{
  from{ transform: translateY(-6px); opacity:0 }
  to{ transform: translateY(0); opacity:1 }
}

/* mobile – “lipim” de input pentru feeling nativ */
@media (max-width: 768px){
  .search-suggestions{
    top: calc(100% + 6px);
    border-radius: 10px;
    max-height: 60vh;
  }
}






/* discount section */

.image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.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);
    }
}


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

