/* BRAND COLOR (memorată permanent) */
:root {
  --brand-blue: #0f66d7;
}
body {
  font-family: "Poppins", sans-serif;
}
a,
a:hover {
  text-decoration: none;
}

/* MENU */
.nav-item .nav-link {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: black;
}
/* -------------------------
   TOP BLACK BAR
   ------------------------- */
.top-bar {
  background: #000;
  font-size: 14px;
}
.social-icon {
  margin-left: 5px;
  color: white;
  transition: 0.3s all ease-in-out;
}
.social-icon:hover {
  color: #0f66d7;
}
/* -------------------------
   MAIN HEADER
   ------------------------- */
.main-header {
  border-bottom: 1px solid #e6e6e6;
}

/* Logo */
.logo img {
  height: 45px;
}

/* Menu Desktop */
.main-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-menu li a {
  font-size: 15px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  transition: 0.2s;
  text-transform: uppercase;
}
.main-menu li a:hover {
  color: #0f66d7;
}

/* Header icons */
.header-icon {
  height: 22px;
  cursor: pointer;
}

.avatar {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* -------------------------
   HAMBURGER (mobile)
   ------------------------- */
.hamburger {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  background: #000;
  border-radius: 2px;
}

/* FULLSCREEN MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: none; /* inițial ascuns */
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  align-items: center;
  justify-content: center;
}

/* Stare activă (vizibilă + animată) */
.mobile-menu.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* Close button */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 45px;
  cursor: pointer;
}
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 45px;
  cursor: pointer;
}
.mobile-menu-list {
  text-align: center;
  margin-top: 80px;
  list-style: none;
  padding: 0;
}
.mobile-menu-list li {
  margin: 25px 0;
}
.mobile-menu-list a {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
}
/* ----------------------------------------------------
   HOMEPAGE SEARCH BAR (inlocuieste breadcrumbs)
   ---------------------------------------------------- */
.homepage-search-container {
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
}
.homepage-search-container .other-pages-search-container {
  background-image: url("../img/hero-product.svg");
  background-size: cover;
  padding-top: 24px;
  padding-bottom: 24px;
  background-position: right center;
  border-radius: 16px;
  border-bottom: none;
}
.homepage-search-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 650px; /* mai lung, cum ai cerut */
  background: #fff;
  border: 2px solid #0f66d7;
  border-radius: 40px;
  padding: 6px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin: 0 12px;
  position: relative;
}

/* INPUT */
.homepage-search-input {
  flex: 1;
  border: none;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 40px;
  outline: none;
}

/* BUTTON */
.homepage-search-btn {
  background: #0f66d7;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 500;
  white-space: nowrap;
}

.homepage-search-btn:hover {
  background: #000;
}

/* Responsive */
@media (max-width: 576px) {
  .homepage-search-wrapper {
    max-width: 100%;
    padding: 6px 8px;
  }
  .homepage-search-btn {
    padding: 8px 16px;
  }
  .homepage-search-container .other-pages-search-container {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .homepage-search-input,
  .homepage-search-btn {
    font-size: 12px;
  }
}

/* HERO */
.hero-menu .menu-item {
  padding: 10px 0;
  border-bottom: 1px solid #e6e6e6;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  transition: 0.3s all ease-in-out;
}
.hero-menu .menu-item:hover {
  color: #0f66d7;
  padding-left: 14px;
  border-bottom: 1px solid #0f66d7;
}
.hero-menu .menu-item a {
  color: black;
  transition: 0.3s all ease-in-out;
}
.hero-menu .menu-item:hover a {
  color: #0f66d7;
}
.border-btm {
  border-bottom: 1px solid #e6e6e6;
}
.box-shadow-hero {
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.hero-right {
  position: relative;
  background-image: url("../img/hero.jpg"); /* <-- imaginea ta */
  background-size: cover;
  background-position: center right; /* important: focus pe partea dreapta */
  border-radius: 0 20px 20px 0;
  min-height: 520px;
  padding: 60px;
  display: flex;
  align-items: center; /* vertical centering */
}
.rounded-hero {
  border-radius: 20px;
}
/* overlay light albastru (similar figma) */
.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); /* foarte subtil, poate fi 0.10 */
  border-radius: 0 20px 20px 0;
}

/* textul trebuie să fie peste overlay */
.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

/* titlu */
.hero-overlay h1 {
  font-size: 54px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

/* descriere */
.hero-overlay p {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

/* buton magazin */
.hero-btn {
  background: #ffffff;
  color: #0f66d7;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 30px;
  transition: 0.25s ease;
}
.hero-btn:hover {
  background: #000;
  color: #fff;
}

/* ------------------ Responsive ------------------ */

@media (max-width: 992px) {
  .hero-right {
    border-radius: 0 0 20px 20px;
    padding: 40px;
    min-height: 450px;
    background-position: center center;
  }

  .hero-overlay h1 {
    font-size: 42px;
  }
}

/* MOBILE HERO ORDER + STYLE */
@media (max-width: 768px) {
  /* Inversăm ordinea coloanelor (hero image prima) */
  .hero-menu {
    order: 2;
  }
  .hero-right {
    order: 1;
  }

  /* HERO RIGHT (poza) pe mobil */
  .hero-right {
    min-height: 380px;
    border-radius: 20px 20px 0 0; /* rotunjire frumoasă sus */
    padding: 40px 20px;
    background-position: center center;
  }

  .hero-overlay {
    max-width: 100%;
    text-align: center; /* centram textul pe mobil */
    transform: none;
    top: auto;
  }

  .hero-overlay h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-overlay p {
    font-size: 16px;
  }

  .hero-btn {
    margin: 20px auto 0 auto;
    padding: 10px 28px;
    font-size: 16px;
  }

  /* Meniul din stânga (acum dedesubt) */
  .hero-menu {
    background: #ffffff;
    padding: 25px 20px;
  }

  .hero-menu ul {
    padding: 0;
    margin: 0;
  }

  .hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15); /* foarte subtil, poate fi 0.10 */
    border-radius: 20px 20px 0 0;
  }
}
@media (max-width: 576px) {
  .hero-right {
    min-height: 420px;
    padding: 30px 20px;
  }

  .hero-overlay h1 {
    font-size: 32px;
  }

  .hero-btn {
    padding: 10px 26px;
    font-size: 16px;
  }
}
/* SECTION LABELS */
.section-label {
  background: #1b76ff;
  color: #fff;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
}

/* -------------------------------------
   PROMOTIONS SECTION
-------------------------------------- */
.promotions-section {
  background: #fff;
}
/* PROMO CARD */
.promo-card {
  background: #fff;
  position: relative;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.promo-card:hover {
  transform: translateY(-4px);
}

/* Badge Reducere */
.promo-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand-blue);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  z-index: 5;
}

/* Stock indicator */
.promo-stock {
  font-size: 13px;
  color: #2d8a32;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.promo-stock .dot {
  width: 8px;
  height: 8px;
  background: #2d8a32;
  border-radius: 50%;
}
.promo-stock.precomanda {
  color: #0f66d7;
}
.promo-stock.precomanda .dot {
  background: #0f66d7;
}
/* Image */
.promo-img img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  object-fit: contain;
  height: 150px;
}

/* Rating */
.promo-rating {
  color: #ffaa00;
  font-size: 15px;
  display: none;
}

/* Brand */
.promo-brand {
  color: #999;
  font-size: 13px;
  font-weight: 500;
}

/* Title */
.promo-title a {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* LIMITĂ 2 rânduri */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 34px; /* înălțimea exactă pt 2 rânduri */
  line-height: 1.2;
}

.promo-title a:hover {
  color: var(--brand-blue);
}
/* Title area – height equal for all cards */

/* Prices area – also fixed height */
.promo-prices {
  min-height: 51px; /* preț vechi + preț nou */
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-bottom: 5px;
}
/* Prices */
.old-price {
  text-decoration: line-through;
  color: #aaa;
  font-size: 14px;
  margin-right: 6px;
}
.new-price {
  font-size: 17px;
  font-weight: 700;
  color: #000;
}

/* ADD TO CART BUTTON */
.promo-btn-cart {
  width: 100%;
  border: none;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  margin-top: auto; /* împinge butonul jos */
}
.promo-btn-cart:hover {
  background: #000;
}

/* -------------------------------------
   PARTNER LOGOS SLIDER
-------------------------------------- */
.partners-slider-wrapper {
  border-top: 1px solid #eaeaea;
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eaeaea;
}

.partners-slider-wrapper img {
  height: 45px;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.2s;
}
.partners-slider-wrapper img:hover {
  opacity: 1;
}

/* Swiper fix */
.swiper-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* ------------------------------------------------
   FULL-WIDTH BRAND HERO BANNER
-------------------------------------------------- */
.brand-hero-full {
  position: relative;
  width: 100%;
  height: 100px; /* poți ajusta 180, 220 etc */
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

/* Background image full width */
.brand-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo overlay */
.brand-hero-logo-wrap {
  position: absolute;
  top: 50%;
  left: 40px; /* distanța față de marginea stângă */
  transform: translateY(-50%);
  z-index: 2;
}

/* Logo styling */
.brand-hero-logo {
  max-height: 70px; /* ajustează dacă vrei mai mare/mic */
  width: auto;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .brand-hero-full {
    height: 150px;
  }
  .brand-hero-logo-wrap {
    left: 20px;
  }
  .brand-hero-logo {
    max-height: 70px;
  }
}

/* -------------------------------------
   ULTIMELE ARTICOLE SECTION
-------------------------------------- */

.latest-home-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #333;
}

/* Cards */
.article-card {
  background: #fff;
  border-radius: 12px;
  transition: 0.2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Image */
.article-img {
  width: 100%;
  /* height: 180px;
  object-fit: cover; */
}

/* Text */
.article-content {
  background: #fff;
}

.article-text {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.3;

  /* limit to 3 lines with ... */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* BUTTON - Vezi toate articolele */
.articles-btn {
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: 0.25s;
}

.articles-btn:hover {
  background: #000;
}

/* Swiper specific */
.latestArticlesSwiper {
  padding-bottom: 40px;
}

.latestArticlesSwiper .swiper-slide {
  width: 80%;
}

.swiper-pagination-bullet-active {
  background: var(--brand-blue) !important;
}

/* --------------------------------------------------
   FOOTER STYLING
-------------------------------------------------- */

.footer-section {
  background: #f4f7fb;
  /* background-color: black; */
  border-top: 1px solid #e1e7ef;
  /* margin-top: 20px; */
  font-family: "Poppins", sans-serif;
}

.footer-logo {
  height: 60px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0f1f3d;
}

.footer-info {
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.7;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: #4a4a4a;
  text-decoration: none;
  transition: 0.2s;
}

.footer-list a:hover {
  color: #0f66d7;
}

.footer-divider {
  border-top: 1px solid #d2dbe7;
  margin-top: 40px;
}

/* SOCIAL BUTTONS */

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d6d6d6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: 0.3s;
}

.social-btn:hover {
  background: #0f66d7;
  border-color: #0f66d7;
  color: #fff;
}

/* CERTIFICATIONS */

img.footer-cert {
  height: 42px;
  opacity: 0.85;
  filter: grayscale(30%);
  transition: 0.2s;
}

.footer-cert:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* COPY TEXT */
.footer-copy {
  font-size: 14px;
  color: #4a4a4a;
}
/* CONTAINER */
.live-search-results {
  position: absolute;
  background: #fff;
  width: 100%;
  max-width: 700px;
  border: 1px solid #eee;
  border-radius: 8px;
  z-index: 999;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  top: 59px;
  left: 0;
}

/* LISTA */
.live-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ITEM */
.live-search-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #f0f0f0;
}

.live-search-item:hover {
  background: #f8f8f8;
}

/* IMAGINE */
.ls-image {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
}

.ls-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* TITLU + SKU */
.ls-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-sku {
  font-size: 12px;
  color: #999;
}

/* PRET */
.ls-price {
  white-space: nowrap;
  font-weight: 600;
  color: #666;
}

/* FOOTER */
.live-search-footer {
  padding: 10px;
  text-align: center;
  background: #fafafa;
}
.no-results {
  padding: 14px;
}
.live-search-footer a {
  font-weight: 600;
  text-decoration: none;
  color: #007cba;
}
@media (max-width: 768px) {
  .live-search-results {
    max-width: 100%;
    left: 0;
    right: 0;
    border-radius: 0;
  }

  .live-search-item {
    grid-template-columns: 56px 1fr;
    gap: 10px;
  }

  .ls-price {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
    font-size: 14px;
  }

  .ls-image {
    width: 56px;
    height: 56px;
  }
}

/* RESPONSIVE */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  .footer-info,
  .footer-copy {
    font-size: 12px;
  }
  .footer-list li {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .footer-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-divider {
    margin: 14px 0;
  }
}
@media screen and (max-width: 768px) {
  .footer-col {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-payments {
    justify-content: center;
  }
  .latest-home-title {
    font-size: 24px;
  }
  .hero-right {
    justify-content: center;
  }
}
@media screen and (max-width: 576px) {
  .footer-cert {
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 350px) {
  .footer-title {
    font-size: 14px;
  }
}
