/* ===============================
   TEMA SLATE a?? suprascrie verde/albastru din skin
   =============================== */
/* Pe mobil: fara scroll orizontal pe toata pagina */
@media (max-width: 991px) {
  body,
  .page-wrapper {
    overflow-x: hidden;
  }
}
::selection {
  background-color: #475569;
}
::-moz-selection {
  background-color: #475569;
}
a {
  color: #475569;
}
a:hover, a:focus {
  color: #334155;
}
.text-primary {
  color: #475569 !important;
}
.bg-primary {
  background-color: #475569 !important;
}
.breadcrumb-item a:hover, .breadcrumb-item a:focus {
  color: #475569;
}
/* Linie si umbra sub breadcrumb */
.breadcrumb-nav {
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.breadcrumb-nav .container,
.breadcrumb-nav .container-fluid {
  padding-bottom: 1.25rem;
  padding-top: 1.25rem;
}
.btn-link {
  color: #475569;
}
.btn-link:hover, .btn-link:focus {
  color: #334155;
  border-color: #475569;
}
.btn-primary {
  color: #fff !important;
  background-color: #475569 !important;
  border-color: #475569 !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
  color: #fff !important;
  background-color: #334155 !important;
  border-color: #334155 !important;
}
.btn-outline-primary, .btn-outline-primary-2 {
  color: #475569;
  border-color: #475569;
}
.btn-outline-primary:hover, .btn-outline-primary-2:hover {
  color: #fff;
  background-color: #475569;
  border-color: #475569;
}
.second-primary-color {
  color: #64748b !important;
}
.header-3 .header-search-extended .btn:hover,
.header-4 .header-search-extended .btn:hover {
  color: #475569;
}
/* Search input + wrapper a?? Slate (fara verde) */
.header-26 .header-search .header-search-wrapper {
  border-color: #475569 !important;
}
.header-search .form-control:focus,
.header-26 .header-search .form-control:focus {
  border-color: #475569 !important;
  box-shadow: 0 0 0 0.2rem rgba(71, 85, 105, 0.25);
}

/* Bara de meniu (HOME, PRODUSE, etc.) ? fundal potrivit cu designul */
.header-26 .header-bottom {
  background-color: #3b4b5b;
}
.header-26 .header-bottom .menu > li > a {
  color: rgba(255, 255, 255, 0.95) !important;
}
.header-26 .header-bottom .menu > li > a:hover,
.header-26 .header-bottom .menu li:hover > a,
.header-26 .header-bottom .menu li.show > a,
.header-26 .header-bottom .menu li.active > a {
  color: #ffffff !important;
}
.header-26 .header-bottom .menu > li > a:before {
  background-color: rgba(255, 255, 255, 0.9) !important;
}
.header-26 .header-bottom .menu > li + li {
  margin-left: 2.5rem;
}
.header-26 .header-bottom .header-right p,
.header-26 .header-bottom .header-right i {
  color: #ffffff !important;
}
.header-26 .header-bottom .container::before,
.header-26 .header-bottom .container::after {
  background-color: rgba(255, 255, 255, 0.35);
}

/* Mobil: zona header (meniu, logo, cos, cautare) ramane lipita sus la scroll */
@media (max-width: 991.98px) {
  .header-26 .header-sticky-top {
    position: sticky;
    top: 0;
    z-index: 1035;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  }
  /* Breadcrumb pagina produs: in flux normal sub header+cautare – fara sticky, ca poza sa nu treaca „sub” el la scroll */
  .product-page-topbar.product-page-topbar--sticky-below-header {
    position: relative;
    top: auto;
    z-index: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: none;
  }
  .product-page-topbar.product-page-topbar--sticky-below-header .container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}

.btn-secondary {
  background-color: #64748b !important;
  border-color: #64748b !important;
}
.btn-secondary:hover, .btn-secondary:focus {
  background-color: #475569 !important;
  border-color: #475569 !important;
}
.btn-white:hover, .btn-white:focus {
  background-color: #475569 !important;
  border-color: #475569 !important;
  color: #fff !important;
}
.alert-primary {
  background-color: #475569;
}
.ratings-primary .ratings-val {
  color: #f0b429;
}

/* Pagina produs a?? paleta Slate (ca pe home) */
.product-details .product-price .new-price {
  color: #334155;
}
.product-details .product-price .old-price {
  color: #94a3b8;
  text-decoration: line-through;
}
.product-details .product-cat a {
  color: #475569;
}
.product-details .product-cat a:hover,
.product-details .product-cat a:focus {
  color: #334155;
  box-shadow: 0 1px 0 0 #475569;
}
.product-details-action .btn-product.btn-cart,
.product-details-action .btn-cart {
  color: #475569 !important;
  border-color: #475569 !important;
}
.product-details-action .btn-product.btn-cart:hover,
.product-details-action .btn-cart:hover,
.product-details-action .btn-product.btn-cart:focus,
.product-details-action .btn-cart:focus {
  background-color: #475569 !important;
  border-color: #475569 !important;
  color: #fff !important;
}
.product-details-tab .nav.nav-pills .nav-link.active {
  color: #475569;
  border-bottom-color: #475569;
}
.product-details-tab .nav.nav-pills .nav-link:hover,
.product-details-tab .nav.nav-pills .nav-link:focus {
  color: #475569;
  border-bottom-color: #475569;
}

/* Zone care mai aveau verde a?? toate pe Slate */
.wishlist a .wishlist-count,
.wishlist .wishlist-count.badge,
.cart-dropdown .cart-count {
  background-color: #475569 !important;
}

/* Dropdown cos – design profesional: titlu, liste cu scroll invizibil, sterge sub pret la hover */
.cart-dropdown .dropdown-menu {
  padding: 0;
  min-width: 320px;
  max-width: 360px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}
.dropdown-cart-inner {
  padding: 1rem 1.25rem;
}
.dropdown-cart-title {
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.dropdown-cart-products-scroll {
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dropdown-cart-products-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.dropdown-cart-product-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  min-height: 4rem;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}
.dropdown-cart-product-row:last-child {
  border-bottom: none;
}
.dropdown-cart-product-row:hover {
  background-color: #f8fafc;
}
.dropdown-cart-product-image-link {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  display: block;
}
.dropdown-cart-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dropdown-cart-product-body {
  flex: 1;
  min-width: 0;
}
.dropdown-cart-product-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.dropdown-cart-product-name:hover {
  color: #475569;
}
.dropdown-cart-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.dropdown-cart-product-qty-price {
  font-size: 1.1rem;
  color: #475569;
  font-weight: 600;
}
.dropdown-cart-remove-form {
  margin: 0 0 0 auto;
}
.dropdown-cart-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  margin: 0 0.5rem 0 0;
  border: 0;
  background: none;
  font-size: 1.1rem;
  color: #dc2626;
  cursor: pointer;
  transition: color 0.2s ease;
}
.dropdown-cart-remove-btn:hover {
  color: #b91c1c;
}
/* Overlay + spinner pe rand la stergere din cos (AJAX) */
.dropdown-cart-row-spinner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.dropdown-cart-row-spinner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-cart-empty {
  padding: 1.25rem 0;
  margin: 0;
  color: #64748b;
  text-align: center;
}
.dropdown-cart-total-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.dropdown-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.dropdown-cart-total-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #334155;
}
.dropdown-cart-total-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #475569;
}
.dropdown-cart-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dropdown-cart-btn-cart,
.dropdown-cart-btn-checkout {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
.dropdown-cart-btn-cart {
  background: #475569;
  border-color: #475569;
  color: #fff;
}
.dropdown-cart-btn-cart:hover {
  background: #334155;
  border-color: #334155;
  color: #fff;
}
.dropdown-cart-btn-checkout {
  border: 1px solid #cbd5e1;
  color: #475569;
  background: #fff;
}
.dropdown-cart-btn-checkout:hover {
  border-color: #475569;
  color: #334155;
  background: #f8fafc;
}

/* Mobil: nu afisa dropdown-ul cos la hover; tap deschide modalul full width */
@media (max-width: 991px) {
  .cart-dropdown .dropdown-menu {
    display: none !important;
  }
  /* Ascunde titlul "Ultimele adaugate" si bara orizontala in modalul/dropdown cos */
  .dropdown-cart-title {
    display: none !important;
  }
}

/* Modal cos (mobil): full width ca modalul de confirmare adaugare in cos */
#cartModal .cart-modal-inner {
  padding: 1rem 1.25rem;
}
@media (max-width: 991px) {
  #cartModal.modal {
    align-items: stretch;
    padding: 0;
  }
  #cartModal .modal-dialog {
    max-width: none;
    width: 100%;
    margin: 0;
    min-height: 100vh;
  }
  #cartModal .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }
  #cartModal .modal-body {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }
  #cartModal .cart-modal-inner {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  #cartModal .dropdown-cart-products-scroll {
    flex: 1;
    max-height: none;
  }
}

.icon-box-icon,
.icon-box-icon.second-primary-color {
  color: #475569 !important;
}
.icon-box-circle .icon-box-icon {
  background-color: #475569 !important;
}
.cta-horizontal-box .btn {
  background-color: #475569 !important;
  border-color: #475569 !important;
  color: #fff !important;
}
.cta-horizontal-box .btn:hover,
.cta-horizontal-box .btn:focus {
  background-color: #334155 !important;
  border-color: #334155 !important;
  color: #fff !important;
}
.intro-price .text-primary,
.intro-slide .intro-price span {
  color: #475569 !important;
}
.header .logo,
.header .logo a {
  color: #475569 !important;
}

/* (am renuntat la override global pe .container pe mobil, pentru a evita
   probleme cu elementele full-width; lasam padding-ul implicit din tema) */

/* ===============================
   PRODUCT TITLE a?? max 3 randuri, inaltime fixa ca cardurile sa fie egale
   =============================== */
.product-title {
  min-height: calc(1.4em * 3);
}
.product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: calc(1.4em * 3);
  max-height: calc(1.4em * 3);
}

/* Suprascrie padding-ul din style.css a?? pastram doar padding stanga/dreapta */
.product .product-body {
  padding: 0 1.5rem;
}

/* Carduri produse a?? inaltime egala: imagine cu raport fix, card full height */
.carousel-equal-height .product {
  height: 100%;
}
.carousel-equal-height .product .product-body {
  flex: 1 1 auto;
  min-height: 0;
}
.carousel-equal-height .product-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.carousel-equal-height .product-media > a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}
.carousel-equal-height .product-media .product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Placeholder imagine in carduri post (aceeasi zona ca .product-image) */
.carousel-equal-height .product-media .product-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

/* Card post: aceeasi structura ca la produse – imagine patrata, body, buton */
.product.post-card .product-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.product.post-card .product-media > a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}
.product.post-card .product-media .product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product.post-card .product-media .product-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

/* Rezumat in card post (sub titlu, acelasi stil ca la produse) */
.product-body .post-card-meta {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.3;
}
.product-body .post-card-meta-sep {
  margin: 0 0.2rem;
}

.product-body .post-excerpt {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #64748b;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagina categorie: aceeasi inaltime egala ca pe home – imagine patrata, butoane aliniate */
.products-grid-equal-height .product {
  height: 100%;
}
.products-grid-equal-height .product .product-body {
  flex: 1 1 auto;
  min-height: 0;
}
.products-grid-equal-height .product-media {
  position: relative;
  width: 100%;
  padding-top: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.products-grid-equal-height .product-media > a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}
.products-grid-equal-height .product-media .product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Pagina categorie: carduri aliniate la stanga, spatiu intre randuri */
.products-grid-equal-height .products-category-row {
  justify-content: flex-start;
}
.products-grid-equal-height .products-category-row > [class*="col-"] {
  margin-bottom: 1.5rem;
}

/* 5 carduri pe rand pe pagina categorie (lg+) */
@media (min-width: 992px) {
  .products-grid-equal-height .row > .col-category-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Wrapper pentru toolbox + descriere: pe mobil ordonarea sub descriere */
.category-header-wrap {
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .category-toolbox-order {
    order: 3;
  }
  .category-page-title.category-banner-order {
    order: 1;
  }
  .category-banner.category-banner-order {
    order: 2;
  }
}

/* H1 categorie deasupra blocului descriere – vizibil pe toate dispozitivele */
.category-page-title {
  margin: 0 0 1rem 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
@media (max-width: 767px) {
  .category-page-title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
  }
}
/* H2 sectiune produse (SEO) */
.category-products-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

/* Banner categorie: descriere (fara imagine) */
.category-banner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
/* Pagina categorie (doar descriere): fara chenar / card */
.category-banner--no-image {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.category-banner-image-wrap {
  flex: 0 0 200px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}
.category-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.category-banner-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
  pointer-events: none;
}
.category-banner-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-banner-placeholder-icon {
  width: 64px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 24 24'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.category-banner-content {
  flex: 1;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.category-banner--no-image .category-banner-content {
  justify-content: flex-start;
  padding: 0;
}
.category-banner-desc-wrap {
  margin-top: 0.5rem;
}
.category-banner-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.7;
  text-align: left;
  letter-spacing: 0.01em;
}
.category-banner-desc-p {
  margin: 0 0 1rem 0;
}
.category-banner-desc-p:last-child {
  margin-bottom: 0;
}
/* 1.4rem = acelasi scara ca body-ul temei Molla (html 62.5% → 1rem=10px, body 1.4rem≈14px) */
.category-banner-desc-html {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.86;
  letter-spacing: 0.01em;
  color: #374151;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.category-banner-desc-html p { margin: 0 0 0.875rem 0; }
.category-banner-desc-html p:last-child { margin-bottom: 0; }
.category-banner-desc-html ul, .category-banner-desc-html ol { margin: 0 0 0.875rem 1.25rem; padding: 0; }
.category-banner-desc-html li { margin-bottom: 0.35rem; }
.category-banner-desc-html a { color: #475569; text-decoration: underline; font-weight: 500; }
.category-banner-desc-html a:hover { color: #334155; }
.category-banner-desc-html strong { font-weight: 600; color: #1f2937; }
.category-banner-desc-html h1,
.category-banner-desc-html h2,
.category-banner-desc-html h3,
.category-banner-desc-html h4 {
  font-family: 'Poppins', sans-serif;
  color: #1f2937;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 1.35rem 0 0.5rem 0;
}
.category-banner-desc-html h1:first-child,
.category-banner-desc-html h2:first-child,
.category-banner-desc-html h3:first-child,
.category-banner-desc-html h4:first-child { margin-top: 0; }
.category-banner-desc-html h1 { font-size: 1.35rem; }
.category-banner-desc-html h2 { font-size: 1.2rem; }
.category-banner-desc-html h3 { font-size: 1.1rem; }
.category-banner-desc-html h4 { font-size: 1.05rem; }
@media (max-width: 767px) {
  .category-banner {
    flex-direction: column;
  }
  .category-banner-image-wrap {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }
  .category-banner-image-wrap .category-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .category-banner-image-wrap::after {
    width: 100%;
    height: 40px;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
  }
  .category-banner-content {
    padding: 1rem 1.25rem;
  }
}

/* Mobil: descriere categorie trunchiata + „Citeste mai mult” (tot HTML-ul ramane in sursa) */
@media (max-width: 767.98px) {
  .category-banner-desc-mobile.is-clamped:not(.is-open) .category-banner-desc-inner {
    max-height: 12rem;
    overflow: hidden;
    position: relative;
  }
  .category-banner-desc-mobile.is-clamped:not(.is-open) .category-banner-desc-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
  }
  .category-banner-desc-mobile.is-clamped.is-open .category-banner-desc-inner {
    max-height: none;
    overflow: visible;
  }
  .category-banner-desc-mobile.is-clamped.is-open .category-banner-desc-inner::after {
    display: none;
  }
  .category-desc-read-more {
    font-size: 1.4rem;
    color: #cc9966;
    text-decoration: none;
    line-height: 1.5;
  }
  .category-desc-read-more:hover,
  .category-desc-read-more:focus {
    color: #bf8040;
    text-decoration: underline;
  }
}

/* Carduri subcategorii pe pagina categoriei parinte */
.category-subcategories {
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}
.category-subcard {
  display: block;
  height: 100%;
  font-size: 1.4rem;
  text-decoration: none;
  color: inherit;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.category-subcard:hover {
  text-decoration: none;
  color: inherit;
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.category-subcard-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
}
.category-subcard-media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.category-subcard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-subcard .category-subcard-title {
  display: block;
  margin: 0;
  padding: 1rem 1rem 1.125rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.86;
  letter-spacing: 0.01em;
  color: #1f2937;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.category-subcard:hover .category-subcard-title {
  color: #cc9966;
}

/* Toolbox categorie: doua randuri – titlu apoi bara de sortare */
.toolbox-category {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
}
.toolbox-category .toolbox-category-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.toolbox-category--no-title {
  justify-content: flex-end;
}
.toolbox-category .toolbox-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: -10px;
}
.toolbox-category .toolbox-sort-label {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: #333;
  white-space: nowrap;
}
/* Dropdown custom pentru sortare – optiuni cu font normal (fara bold) */
.category-sort-custom {
  position: relative;
  min-width: 200px;
}
.category-sort-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  font-size: 1.3rem;
  font-weight: 300;
  font-family: inherit;
  color: #666;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 0.2rem;
  cursor: pointer;
  text-align: left;
  appearance: none;
}
.category-sort-trigger:hover {
  border-color: #ccc;
}
.category-sort-chevron {
  position: absolute;
  right: 1rem;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  pointer-events: none;
}
.category-sort-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 0.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.category-sort-menu.category-sort-menu-open {
  display: block;
}
.category-sort-option {
  padding: 0.6rem 1rem;
  font-size: 1.3rem;
  font-weight: 400;
  font-family: inherit;
  color: #666;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease;
}
.category-sort-option:hover,
.category-sort-option:focus {
  background: #f5f5f5;
  outline: none;
}
.category-sort-option-selected {
  background: #f0f0f0;
  color: #333;
}
@media (max-width: 575px) {
  .toolbox-category {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  /* Ascundem H1 din toolbox doar cand exista H1 deasupra bannerului (mobil) */
  .toolbox-category--has-banner .toolbox-category-title {
    display: none;
  }
  .toolbox-category .toolbox-sort {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-right: 0;
  }
  .toolbox-category .toolbox-sort-label {
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
  }
  .toolbox-category .category-sort-custom {
    flex: none;
    min-width: 0;
    width: 100%;
  }
  .toolbox-category .category-sort-trigger {
    min-width: 0;
    width: 100%;
    padding: 0.95rem 1.1rem;
    min-height: 52px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #444;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 0.35rem;
  }
  .toolbox-category .category-sort-chevron {
    right: 1.1rem;
    border-left-width: 5px;
    border-right-width: 5px;
    border-top-width: 6px;
    border-top-color: #777;
  }
  .toolbox-category .category-sort-menu {
    border-radius: 0.35rem;
    margin-top: 4px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  }
  .toolbox-category .category-sort-option {
    padding: 0.85rem 1.1rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
  }
}

/* Badge reducere pe card a?? procent afisat profesional */
.product-badge-discount {
  left: 0.8rem !important;
  right: auto;
  top: 0.8rem;
  padding: 0.35rem 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff !important;
  background-color: #334155;
  border-radius: 0.25rem;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Rating pe carduri: stele Unicode, suprapunere perfecta, inclusiv stea partiala */
.product-body .ratings-container {
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
.product-body .ratings-container .ratings {
  position: relative !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin-right: 0.5rem !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  font-family: inherit !important;
}
/* Fundal gri: 5 stele, dimensiuni fixe */
.product-body .ratings-container .ratings::before {
  content: "\2605\2605\2605\2605\2605" !important;
  display: block !important;
  color: #d1d5db !important;
  font-size: 1em !important;
  line-height: 1 !important;
  letter-spacing: 0.12em !important;
  font-family: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Strat galben peste: aceleasi dimensiuni, clipat la width % din inline style */
.product-body .ratings-container .ratings-val {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 1.45rem !important;
  overflow: hidden !important;
  font-size: 1.45rem !important;
  line-height: 1 !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}
/* Con?inutul galben = 5 stele la dimensiune naturala (NU width:100% ca sa nu strivim steaua partiala) */
.product-body .ratings-container .ratings-val::before {
  content: "\2605\2605\2605\2605\2605" !important;
  display: block !important;
  color: #f0b429 !important;
  font-size: 1em !important;
  line-height: 1 !important;
  letter-spacing: 0.12em !important;
  font-family: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  width: max-content !important;
}
.product-body .ratings-container .ratings-text {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important;
  vertical-align: middle;
}
.product-body .product-delivery {
  font-size: 1.2rem;
  color: #475569;
}

/* ===============================
   Butoane produs a?? Slate
   =============================== */
.btn-product {
  border-color: #475569 !important;
  color: #475569 !important;
}
.btn-product span {
  color: #475569 !important;
}
.btn-product:hover,
.btn-product:focus {
  background-color: #475569 !important;
  border-color: #475569 !important;
}
.btn-product:hover span,
.btn-product:focus span {
  color: #fff !important;
}
.btn-product-icon {
  border-color: #475569 !important;
  color: #475569 !important;
}
.btn-product-icon:hover,
.btn-product-icon:focus {
  background-color: #475569 !important;
  border-color: #475569 !important;
  color: #fff !important;
}

/* ===============================
   Zona pret + buton Adauga in cos
   =============================== */
.product-action-hawire {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
  /* peste .product-action absolute: resetare pozi?ionare pentru margin-uri */
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: calc(100% - 3rem); /* 1.5rem st?nga + 1.5rem dreapta = 3rem */
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  /* layout coloan? = pre? deasupra, buton dedesubt full width */
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.product-action-hawire form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}
.product-price-hawire {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  line-height: 1.2;
  white-space: nowrap;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 0.75rem;
}
.product-price-hawire .product-price-old {
  font-size: 1.25rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 0.25rem;
}
.product-price-hawire .product-price-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.product-price-hawire .product-price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: #334155;
}
/* Buton Adauga in cos a?? varianta Slate (gri-albastru modern) */
.btn-hawire {
  display: flex;
  align-items: stretch;
  border: none;
  border-radius: 0.5rem;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(71, 85, 105, 0.3);
  transition: box-shadow 0.2s ease, transform 0.1s ease, background-color 0.2s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background-color: #475569;
  color: #fff;
}
.btn-hawire:hover {
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.4);
  background-color: #334155;
}
.btn-hawire:hover .btn-hawire-icon {
  background-color: rgba(0, 0, 0, 0.2);
}
.btn-hawire:active {
  transform: scale(0.99);
}
.btn-hawire-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  padding: 0.55rem 0.8rem;
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
}
.btn-hawire-icon .la {
  font-size: 3rem;
}
.btn-hawire-text {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  background-color: transparent;
  color: #fff;
}

/* Pe mobil: buton Adauga in cos mai compact + stele rating aliniate */
@media (max-width: 767px) {
  .product .btn-hawire {
    font-size: 1.05rem;
  }
  .product .btn-hawire-icon {
    min-width: 2.75rem;
    padding: 0.45rem 0.5rem;
  }
  .product .btn-hawire-icon .la {
    font-size: 2rem;
  }
  .product .btn-hawire-text {
    padding: 0.45rem 0.5rem;
    white-space: nowrap;
  }
}

/* ===============================
   Pagina produs a?? Livrare + Beneficii
   =============================== */
/* Font unitar ca la lista de beneficii: 1.25rem, gri */
.product-details-info .ratings-container,
.product-details-info .ratings-container .ratings-text {
  font-size: 1.35rem;
  font-weight: 400;
  color: #64748b;
}
/* Stele + numar recenzii pe UN singur rand, aliniere la stanga (inclusiv mobil) */
.product-details-info .ratings-container {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  text-align: left !important;
  margin-right: auto !important;
  margin-bottom: 0.5rem;
}
.product-details-info .ratings-container .ratings {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin-right: 0.5rem !important;
  font-size: 2.35rem !important;
  line-height: 2.35rem !important;
  height: 2.35rem !important;
  font-family: inherit !important;
}
/* Fundal gri: 5 stele Unicode, suprapunere perfecta */
.product-details-info .ratings-container .ratings::before {
  content: "\2605\2605\2605\2605\2605" !important;
  display: block !important;
  color: #d1d5db !important;
  font-size: 2.35rem !important;
  line-height: 2.35rem !important;
  letter-spacing: 0.05em !important;
  font-family: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}
.product-details-info .ratings-container .ratings-val {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 2.35rem !important;
  overflow: hidden !important;
  font-size: 2.35rem !important;
  line-height: 2.35rem !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}
.product-details-info .ratings-container .ratings-val::before {
  content: "\2605\2605\2605\2605\2605" !important;
  display: block !important;
  color: #f0b429 !important;
  font-size: 2.35rem !important;
  line-height: 2.35rem !important;
  letter-spacing: 0.05em !important;
  font-family: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  width: max-content !important;
}
.product-details-info .ratings-container .ratings-text {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important;
  line-height: 2.35rem !important;
  height: 2.35rem !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
  text-underline-offset: 0.2rem;
}
.product-delivery-benefits {
  font-size: 1.25rem;
  font-weight: 400;
  color: #64748b;
  padding-left: 0;
  margin-left: 0;
  margin-top: 3rem;
}
@media (min-width: 992px) {
  .product-delivery-benefits {
    padding-left: 4rem;
  }
  /* Titlu si stele aliniate la icoanele de truck (acelasi indent) */
  .product-details-right-col .product-details-title-heading {
    padding-left: 4rem;
  }
  .product-details-info .ratings-container {
    margin-left: 4rem;
  }
}
.product-delivery-benefits .delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.product-delivery-benefits .delivery-option i {
  font-size: 1.75rem;
  color: #64748b;
  margin-top: 0.25em;
  flex-shrink: 0;
}
.product-delivery-benefits .delivery-option strong {
  font-weight: 500;
  color: #475569;
}
.product-delivery-benefits .delivery-option .text-dark {
  color: #475569;
  font-weight: 400;
}
.product-delivery-benefits .delivery-option .text-muted,
.product-delivery-benefits .delivery-option small {
  color: #64748b;
  font-size: 1.25rem;
}
.product-delivery-benefits .benefits-list {
  margin-top: 1.25rem;
  padding-top: 0;
}
.product-delivery-benefits .benefits-list strong {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  color: #475569;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.product-delivery-benefits .benefits-list strong i {
  font-size: 1.35em;
  margin-top: 0.05em;
}
.product-delivery-benefits .benefits-list ul {
  list-style: none;
  padding-left: 2.5rem;
  margin: 0;
  font-size: 1.25rem;
  color: #64748b;
}
.product-delivery-benefits .benefits-list li {
  padding: 0.2rem 0;
  list-style: none;
}
/* Coloana mijlocie a?? stil eMAG: Ridicare personal?, Livrare curier, Informa?ii */
.product-delivery-emag .delivery-option-emag {
  margin-bottom: 1rem;
}
.product-delivery-emag .delivery-option-emag i.text-primary {
  color: #475569 !important;
}
.product-delivery-emag .delivery-info-emag .la-check {
  font-size: 1.2em;
  vertical-align: middle;
  margin-top: 0.1em;
}
.product-delivery-emag .delivery-info-emag > i.la-info-circle {
  margin-top: 0.25em;
}
.product-delivery-emag .delivery-option-emag a.small {
  color: #475569;
}
.product-delivery-emag .delivery-option-emag a.small:hover {
  text-decoration: underline;
}

/* ===============================
   Pagina produs a?? inspiratie eMAG: topbar, card alb, favorite
   =============================== */
/* Mai putin spatiu sus/jos la titlul produsului */
.product-page-topbar {
  margin-bottom: 1rem !important;
}
.product-page-topbar .container {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
@media (max-width: 991px) {
  .product-details-grid {
    gap: 0.5rem;
  }
  .product-details-top .product-title {
    margin: 0;
  }
}
/* Pe mobil: fara spatiul mare sus/jos la blocul titlu + pret + butoane */
@media (max-width: 767px) {
  .product-page-topbar {
    margin-bottom: 0.5rem !important;
  }
  .product-page-topbar .container {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }
  .product-details-top {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }
  .product-details-grid {
    gap: 0.35rem !important;
  }
  .product-details-right-row {
    gap: 0.75rem !important;
  }
  .product-purchase-card {
    padding: 1rem 1.25rem !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .product-details-delivery-cards {
    gap: 0.5rem !important;
  }
  .page-content {
    padding-top: 0 !important;
    padding-bottom: 1rem !important;
  }
}
/* Mai putin spatiu in partea de jos a paginii */
.page-content {
  padding-bottom: 2rem !important;
}
.product-details-tab {
  position: relative;
  margin: 3rem 0 2rem !important;
}
.product-details-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* full-width bar ca la eMAG pe desktop */
  height: 4.25rem;
  background-color: #3b4b5b; /* aceeasi culoare ca bara de meniu */
  z-index: -1;
}

/* Pe mobil evitam overflow orizontal de la bara full-width: o limitam in container */
@media (max-width: 767px) {
  .product-details-tab::before {
    left: 0;
    transform: none;
    width: 100%;
  }
  .product-details-tab .nav.nav-pills {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.product-details-tab .nav.nav-pills {
  justify-content: flex-start !important;
  align-items: center;
  min-height: 4.25rem;
  margin-bottom: 0;
}
.product-details-tab .nav-pills .nav-item {
  display: flex;
  align-items: center;
}
.product-details-tab .nav.nav-pills .nav-link {
  border-radius: 0;
  padding: 0.5rem 1.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9) !important;
  border: none;
  margin: 0;
  background-color: transparent;
}
.product-details-tab .nav-pills .nav-link:hover {
  color: #ffffff !important;
}
.product-details-tab .nav-pills .nav-link.active {
  background-color: #ffffff;
  color: #111827 !important;
  border-radius: 0.5rem;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.18);
}
.product-details-tab .tab-content {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  margin-top: 1.25rem;
}
/* Fara padding suplimentar pe .tab-pane (eliminat din style.css tema) */
.product-details-tab .tab-content .tab-pane {
  padding: 0;
}
.product-details-tab .product-desc-content {
  padding: 0;
  line-height: 1.7;
  color: #4b5563;
  font-size: 0.875rem;
}
/* Descriere cu HTML: tipografie „prose” – full width în tab, ierarhie, Slate */
.product-details-tab .product-desc-content.product-desc-content--html {
  font-size: 1.4rem;
  line-height: 1.65;
  color: #334155;
}
.product-details-tab .product-desc-content p {
  margin-bottom: 0.75rem;
}
.product-details-tab .product-desc-content--html {
  font-family: "Poppins", sans-serif !important;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.65;
  color: #334155;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.product-details-tab .product-desc-content--html * {
  font-family: "Poppins", sans-serif !important;
}
.product-details-tab .product-desc-content--html p,
.product-details-tab .product-desc-content--html li,
.product-details-tab .product-desc-content--html td,
.product-details-tab .product-desc-content--html dd,
.product-details-tab .product-desc-content--html dt,
.product-details-tab .product-desc-content--html blockquote {
  font-size: 1em !important;
  font-weight: 300 !important;
  line-height: 1.65 !important;
}
.product-details-tab .product-desc-content--html th {
  font-size: 1em !important;
  line-height: 1.5 !important;
}
.product-details-tab .product-desc-content--html span {
  font-size: inherit !important;
  font-weight: inherit !important;
}
.product-details-tab .product-desc-content--html small {
  font-size: 0.88em !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.55 !important;
}
.product-details-tab .product-desc-content--html strong,
.product-details-tab .product-desc-content--html b {
  font-weight: 600 !important;
  color: #1e293b;
}
.product-details-tab .product-desc-content--html p {
  margin-bottom: 1.1rem !important;
}
.product-details-tab .product-desc-content--html p:last-child {
  margin-bottom: 0 !important;
}
.product-details-tab .product-desc-content--html h1 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 2.5vw, 2rem) !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em;
}
.product-details-tab .product-desc-content--html h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid #475569;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem) !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
}
.product-details-tab .product-desc-content--html h2:first-child,
.product-details-tab .product-desc-content--html h1:first-child {
  margin-top: 0;
}
.product-details-tab .product-desc-content--html h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
  padding-left: 0.65rem;
  border-left: 3px solid #94a3b8;
  font-size: clamp(1.3rem, 2vw, 1.55rem) !important;
  font-weight: 600 !important;
  color: #334155 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em;
}
.product-details-tab .product-desc-content--html h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  line-height: 1.4 !important;
}
.product-details-tab .product-desc-content--html ul,
.product-details-tab .product-desc-content--html ol {
  margin: 0 0 1.15rem 0;
  padding-left: 1.5rem;
  list-style-position: outside;
}
.product-details-tab .product-desc-content--html ul {
  list-style-type: disc;
}
.product-details-tab .product-desc-content--html ol {
  list-style-type: decimal;
}
.product-details-tab .product-desc-content--html li {
  margin-bottom: 0.65rem;
  display: list-item;
  padding-left: 0.25rem;
}
.product-details-tab .product-desc-content--html li:last-child {
  margin-bottom: 0;
}
.product-details-tab .product-desc-content--html li::marker {
  color: #475569;
  font-weight: 500;
}
/* Iconite/imagini la inceput de punct listă (Word) – fără suprapunere cu bullet */
.product-details-tab .product-desc-content--html li > img:first-child,
.product-details-tab .product-desc-content--html li > a:first-child > img:only-child {
  margin-right: 0.5rem;
  vertical-align: middle;
  max-height: 1.5em;
  width: auto;
}
.product-details-tab .product-desc-content--html table {
  width: 100%;
  max-width: 100%;
  margin: 1.35rem 0;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-size: 1em !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
}
.product-details-tab .product-desc-content--html th,
.product-details-tab .product-desc-content--html td {
  padding: 0.7rem 0.9rem !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  font-size: 1em !important;
  vertical-align: top;
}
.product-details-tab .product-desc-content--html thead th {
  border-bottom: 1px solid #cbd5e1 !important;
}
.product-details-tab .product-desc-content--html th:last-child,
.product-details-tab .product-desc-content--html td:last-child {
  border-right: none !important;
}
.product-details-tab .product-desc-content--html tbody tr:last-child td {
  border-bottom: none !important;
}
.product-details-tab .product-desc-content--html th {
  background: #475569 !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
}
.product-details-tab .product-desc-content--html tbody tr:nth-child(even) td {
  background-color: #f8fafc !important;
}
.product-details-tab .product-desc-content--html tbody tr:nth-child(odd) td {
  background-color: #ffffff !important;
}
.product-details-tab .product-desc-content--html a {
  color: #475569 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-details-tab .product-desc-content--html a:hover,
.product-details-tab .product-desc-content--html a:focus {
  color: #334155 !important;
}
@media (max-width: 767px) {
  .product-details-tab .product-desc-content--html {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 1.35rem;
  }
  .product-details-tab .product-desc-content--html h2 {
    margin-top: 1.75rem;
    padding-left: 0.65rem;
    border-left-width: 3px;
  }
  .product-details-tab .product-desc-content--html h3 {
    margin-top: 1.35rem;
  }
}
/* Pe mobil: textul sa nu iasa din cadru (overflow) */
@media (max-width: 991px) {
  .product-details-right-col,
  .product-title.product-details-title-heading,
  .product-details-tab .product-desc-content,
  .product-details-tab .tab-content {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .product-main-image img,
  .product-gallery img {
    max-width: 100%;
    height: auto;
  }
}
.product-details-tab .product-desc-content h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.product-details-tab .product-desc-content h3:first-child {
  margin-top: 0;
}
.product-details-tab .product-desc-content h3::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background-color: #475569;
}
.main .container .products.mb-5 {
  margin-bottom: 2rem !important;
}
.product-page-topbar .product-topbar-row {
  padding: 0.5rem 0;
}
/* Pe mobil: breadcrumb pe o singura linie cu scroll orizontal (nu taiat); ol = latime continut */
@media screen and (max-width: 991.98px) {
  .product-page-topbar,
  .product-page-topbar .container {
    overflow-x: hidden;
  }
  .product-page-topbar .product-topbar-row {
    flex-wrap: nowrap;
    align-items: center;
    min-width: 0;
    /* Nu overflow:hidden aici – taia scroll-ul din copil pe unele browsere */
    overflow: visible;
  }
  .product-page-topbar .breadcrumb-scroll-wrapper {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .product-page-topbar .breadcrumb-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .product-page-topbar .breadcrumb-scroll-wrapper .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    max-width: none;
    margin-bottom: 0;
    box-sizing: border-box;
  }
  .product-page-topbar .breadcrumb-scroll-wrapper .breadcrumb .breadcrumb-item {
    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }
  .product-page-topbar .breadcrumb-scroll-wrapper .breadcrumb .breadcrumb-item a {
    white-space: nowrap;
  }
}
.product-topbar-right {
  font-size: 1.3rem;
}
.product-topbar-actions a {
  color: #475569;
  text-decoration: none;
  font-size: 1.25rem;
}
.product-topbar-actions a:hover {
  color: #334155;
  text-decoration: underline;
}
.btn-share-emag i {
  margin-right: 0.25rem;
}

/* Card cumparare a?? alb cu umbra (stil eMAG) - full-width ca blocurile de livrare */
.product-purchase-card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  width: 100% !important;
  max-width: 100% !important;
  text-align: left !important;
  box-sizing: border-box;
}
.purchase-card-inner {
  width: 100% !important;
  max-width: 100% !important;
  text-align: left !important;
  box-sizing: border-box;
}
.product-purchase-card .purchase-form {
  text-align: left !important;
  width: 100%;
}
.purchase-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}
.purchase-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.1;
}
.purchase-current-price {
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626;
  letter-spacing: -0.02em;
  margin-top: 0.2em;
}
.purchase-old-price {
  font-size: 1.2rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  order: -1;
  line-height: 1.2;
}
.purchase-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.3rem;
  color: #334155;
  font-weight: 500;
  margin-left: auto;
}
.stock-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.stock-dot.in-stock {
  background: #22c55e;
}
.stock-dot.out-of-stock {
  background: #94a3b8;
}

/* ===============================
   Bara sticky produs (sus, stil eMAG – fără favorite)
   =============================== */
/* Sub header-ul sticky al temei (.sticky-header.fixed are z-index 1040) – doar ≥992px */
@media (max-width: 991.98px) {
  .product-sticky-buybar.product-sticky-buybar--desktop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (min-width: 992px) {
  .product-sticky-buybar.product-sticky-buybar--desktop {
    display: block;
  }
}
.product-sticky-buybar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1038;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
  padding-bottom: 0.5rem;
  transform: translateY(-110%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
  visibility: hidden;
  pointer-events: none;
}
.product-sticky-buybar.product-sticky-buybar--visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.product-sticky-buybar__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
  flex-wrap: nowrap;
}
.product-sticky-buybar__leading {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.product-sticky-buybar__media {
  flex-shrink: 0;
}
.product-sticky-buybar__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.35rem;
  border: 1px solid #e2e8f0;
  display: block;
  background: #f8fafc;
}
.product-sticky-buybar__titleblock {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}
/* Titlu: mărime ca .product-details-title-heading (clasa adăugată în Blade) */
.product-sticky-buybar__title {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  color: #333;
}
.product-sticky-buybar__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  line-height: 1.2;
}
.product-sticky-buybar__rating-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.product-sticky-buybar__stars {
  display: inline-block;
  line-height: 1;
}
.product-sticky-buybar__stars-track {
  position: relative;
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.product-sticky-buybar__stars-bg {
  color: #e5e7eb;
  display: block;
}
.product-sticky-buybar__stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  height: 100%;
}
.product-sticky-buybar__stars-fill-inner {
  color: #f0b429;
  display: block;
}
.product-sticky-buybar__score {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
}
.product-sticky-buybar__reviews-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 992px) {
  .product-sticky-buybar--desktop .product-sticky-buybar__score {
    font-size: 1.35rem;
    font-weight: 400;
    color: #64748b;
  }
  .product-sticky-buybar--desktop .product-sticky-buybar__reviews-link {
    font-size: 1.25rem;
    font-weight: 400;
    color: #64748b;
    text-decoration: underline;
  }
  .product-sticky-buybar--desktop .product-sticky-buybar__stars-track {
    font-size: 1.1rem;
  }
}
.product-sticky-buybar__reviews-link:hover,
.product-sticky-buybar__reviews-link:focus {
  color: #1d4ed8;
}
.product-sticky-buybar__pricing {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  text-align: right;
  min-width: 8rem;
}
/* PRP / preț: clasele .purchase-old-price și .purchase-current-price (ca în card) */
.product-sticky-buybar__prp {
  line-height: 1.2;
}
.product-sticky-buybar__prp .purchase-old-price {
  margin-top: 0;
}
.product-sticky-buybar__action {
  flex-shrink: 0;
}
/* Același buton .btn-hawire ca în cardul de cumpărare — lățime auto în bara fixă */
@media (min-width: 992px) {
  .product-sticky-buybar--desktop .product-sticky-buybar__action .btn-hawire.btn-add-cart-inline {
    width: auto;
    min-width: 16rem;
    max-width: 26rem;
    flex: 0 1 auto;
  }
}
.product-sticky-buybar__action .btn-hawire:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
/* Ancoră recenzii: spațiu sub bara fixă desktop la click */
#recenzii-produs {
  scroll-margin-top: 8.5rem;
}
@media (max-width: 991.98px) {
  #recenzii-produs {
    scroll-margin-top: 5rem;
  }
}

/* Mobil: bară jos – cantitate + buton coș pe același rând */
.product-sticky-mobile-cartbar {
  display: none;
}
@media (max-width: 991.98px) {
  .product-sticky-mobile-cartbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1042;
    padding: 0.75rem 0.75rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    visibility: hidden;
    pointer-events: none;
  }
  .product-sticky-mobile-cartbar.product-sticky-mobile-cartbar--visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  /* Rand: cantitate + buton mai inalt (~58px) decat .product .btn-hawire compact din card */
  .product-sticky-mobile-cartbar__inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
    max-width: 100%;
    min-height: 3.65rem;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__qty.purchase-quantity {
    flex: 0 0 auto;
    margin-bottom: 0;
    max-width: none;
    width: auto;
    height: 3.65rem;
    align-self: stretch;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__qty .qty-btn {
    width: 3rem;
    min-height: 100%;
    font-size: 1.15rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__qty .qty-btn i {
    font-size: 1.1rem;
    pointer-events: none;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__qty .form-control {
    width: 2.75rem;
    font-size: 1.45rem;
  }
  /* Buton mai inalt + zone icon/text mai generoase (suprascrie .product .btn-hawire la <=767px) */
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__hawire-btn.btn-hawire {
    flex: 1 1 0%;
    align-self: stretch;
    min-width: 0;
    width: auto;
    margin: 0;
    min-height: 3.65rem;
    font-size: 1.12rem;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.35);
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__hawire-btn.btn-hawire .btn-hawire-icon {
    min-width: 3.35rem;
    padding: 0.65rem 0.55rem;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__hawire-btn.btn-hawire .btn-hawire-icon .la {
    font-size: 2.35rem;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__hawire-btn.btn-hawire .btn-hawire-text {
    padding: 0.65rem 0.85rem;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__hawire-btn.btn-hawire:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.1);
    box-shadow: none;
  }
  .product-sticky-mobile-cartbar .product-sticky-mobile-cartbar__qty .qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}
@media (min-width: 992px) {
  .product-sticky-mobile-cartbar {
    display: none !important;
  }
}

/* Tablet/desktop îngust: bara de sus poate împacheta rânduri */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .product-sticky-buybar__container {
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    row-gap: 0.5rem;
  }
  .product-sticky-buybar__leading {
    flex: 1 1 100%;
    min-width: 0;
  }
  .product-sticky-buybar__pricing {
    flex: 1 1 auto;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }
  .product-sticky-buybar__action {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

/* Cantitate - [input] + */
.purchase-quantity {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
  max-width: 160px;
  height: 2.25rem;
}
.purchase-quantity .qty-btn {
  width: 3rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
  transition: background 0.2s, color 0.2s;
  border-radius: 0.35rem 0 0 0.35rem;
}
.purchase-quantity .qty-btn i {
  font-size: 1.05rem;
  font-weight: 600;
}
.purchase-quantity .qty-plus {
  border-radius: 0 0.35rem 0.35rem 0;
  border-left-width: 0;
}
.purchase-quantity .qty-btn:hover {
  background: #e2e8f0;
  color: #334155;
}
.purchase-quantity .form-control {
  width: 2.75rem;
  min-width: 0;
  height: 100%;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-left: none;
  border-right: none;
  border-radius: 0;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.25rem 0.15rem;
  background: #fff;
}
.purchase-quantity .form-control:focus {
  box-shadow: none;
  border-color: #cbd5e1;
  outline: none;
}
/* Ascunde sageata nativa (spinner) a input type=number a?? avem deja butoane minus/plus */
.purchase-quantity input[type="number"]::-webkit-outer-spin-button,
.purchase-quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.purchase-quantity input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.purchase-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  gap: 0.75rem;
  width: 100%;
  text-align: left !important;
}
.product-purchase-card .btn-hawire {
  width: 100%;
  text-align: center !important;
  justify-content: center !important;
}
.product-purchase-card .btn-hawire .btn-hawire-text {
  justify-content: center !important;
  text-align: center !important;
}
.product-purchase-card .purchase-quantity-row .purchase-quantity {
  margin-left: 0 !important;
}
.product-purchase-card .purchase-quantity-row .btn-add-cart-inline {
  margin-left: 0 !important;
}
.product-purchase-card .btn-hawire-cart {
  background-color: #ea580c;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}
.product-purchase-card .btn-hawire-cart:hover {
  background-color: #c2410c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}
.product-purchase-card .btn-hawire-whatsapp {
  background: #fff;
  color: #1f2937;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.product-purchase-card .btn-hawire-whatsapp:hover {
  background: #f8fafc;
  border-color: #475569;
  color: #334155;
}
.product-purchase-card .btn-hawire-whatsapp .btn-hawire-icon {
  background: transparent;
  color: #25d366;
}
.product-purchase-card .btn-hawire-whatsapp .btn-hawire-icon .icon-whatsapp {
  font-size: 1.75rem;
}
.product-purchase-card .btn-hawire-whatsapp .btn-hawire-text {
  color: inherit;
}
/* Buton Adauga la Favorite a?? outline (stil eMAG) */
.product-purchase-card .btn-hawire-favorite {
  background: #fff;
  color: #475569;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.product-purchase-card .btn-hawire-favorite:hover {
  background: #f8fafc;
  border-color: #475569;
  color: #334155;
}
.product-purchase-card .btn-hawire-favorite .btn-hawire-icon {
  background: transparent;
  color: #475569;
}
.product-purchase-card .btn-hawire-favorite .btn-hawire-icon .la {
  font-size: 1.75rem;
}
.product-purchase-card .btn-hawire-favorite .btn-hawire-text {
  color: inherit;
}
.product-purchase-card .btn-hawire-favorite:hover .btn-hawire-icon {
  color: #dc2626;
}
/* Aceeasi inaltime pentru Favorite si Whatsapp ? inaltime fixa */
.product-purchase-card .btn-hawire-favorite,
.product-purchase-card .btn-hawire-whatsapp {
  align-items: center;
}
.product-purchase-card .btn-hawire-favorite .btn-hawire-icon,
.product-purchase-card .btn-hawire-whatsapp .btn-hawire-icon {
  min-width: 3.25rem !important;
  width: 3.25rem !important;
  height: 2.5rem !important;
  padding: 0 !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-purchase-card .btn-hawire-favorite .btn-hawire-icon .la,
.product-purchase-card .btn-hawire-whatsapp .btn-hawire-icon .icon-whatsapp {
  font-size: 1.65rem !important;
  line-height: 1;
}

/* ===============================
   Product details a?? titlu full-width desktop; 3 coloane; mobil: imagine a?? titlu a?? rest
   Tot continutul coloanei drepte aliniat la stanga (anulam orice centrare din tema).
   =============================== */
.product-details-top,
.product-details-top .product-details-grid {
  text-align: left !important;
}
.product-details-grid {
  display: grid;
  gap: 1.5rem;
}
/* Titlu produs: pe pagina produs fara min-height de la carduri */
.product-details-top .product-title,
.product-details-title-heading {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  min-height: 0 !important;
  max-height: none;
  -webkit-line-clamp: unset;

}
.product-details-right-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left !important;
  align-items: flex-start !important;
}
.product-details-right-col .product-details-info,
.product-details-right-col .product-details-purchase {
  text-align: left !important;
  align-items: flex-start !important;
  width: 100%;
}
.product-details-right-col .product-details-action,
.product-details-right-col .purchase-price-row {
  justify-content: flex-start !important;
}
.product-details-right-col .product-details-action {
  align-items: flex-start !important;
}
.product-details-right-row {
  display: grid;
  gap: 1.5rem;
  margin-top: 0 !important;
  padding-top: 0 !important;
  justify-items: stretch;
  align-items: start;
  width: 100%;
}
.product-details-right-row > .product-details-info,
.product-details-right-row > .product-details-purchase {
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  justify-self: stretch !important;
  box-sizing: border-box;
}
.product-details-purchase {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .product-details-grid {
    display: grid;
    /* Coloana stanga (imagini) fixa, mai ingusta; dreapta ia restul */
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .product-details-gallery {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }
  .product-details-right-col {
    grid-column: 2;
    grid-row: 1;
  }
  .product-details-right-row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .product-details-delivery-cards {
    display: none;
  }
}
@media (max-width: 991px) {
  .product-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .product-details-gallery { order: 1; }
  .product-details-right-col { order: 2; }
  .product-details-right-row {
    grid-template-columns: 1fr;
  }
  .product-details-delivery-cards { order: 3; }
}

/* Galerie produs a?? thumbnails DEDESUBT, un singur rand cu scroll + sageti; click schimba imaginea mare */
.product-gallery-thumbs-below .row {
  display: flex !important;
  flex-direction: column !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.product-main-image-wrapper {
  position: relative;
  width: 100%;
}
.product-gallery-mobile-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #334155;
  font-size: 1.5rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.product-gallery-mobile-nav:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.product-gallery-mobile-prev {
  left: 0.75rem;
}
.product-gallery-mobile-next {
  right: 0.75rem;
}
@media (min-width: 992px) {
  .product-gallery-mobile-nav {
    display: none !important;
  }
}
.product-gallery-thumbs-below .product-main-image {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.product-thumbs-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
  overflow: hidden;
}
.product-thumbs-scroll-btn {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: background 0.2s, color 0.2s;
}
.product-thumbs-scroll-btn:hover {
  background: #f1f5f9;
  color: #334155;
}
.product-thumbs-scroll-inner {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.product-thumbs-scroll-inner::-webkit-scrollbar,
.product-gallery-thumbs-below .product-thumbs-scroll-inner::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
.product-thumbs-scroll-inner::-webkit-scrollbar-track,
.product-thumbs-scroll-inner::-webkit-scrollbar-thumb {
  display: none !important;
  background: transparent !important;
}
.product-gallery-thumbs-below #product-zoom-gallery.product-image-gallery {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem;
}
.product-gallery-thumbs-below .product-gallery-item {
  flex: 0 0 calc(20% - 0.4rem) !important;
  min-width: calc(20% - 0.4rem) !important;
  max-width: none !important;
  width: auto !important;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}
.product-gallery-thumbs-below .product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 992px) {
  .product-gallery-thumbs-below .row {
    flex-direction: column !important;
  }
  .product-gallery-thumbs-below .product-main-image {
    flex: 0 0 auto !important;
    max-width: 100% !important;
  }
}
@media (max-width: 575px) {
  .product-gallery-thumbs-below .product-gallery-item {
    flex: 0 0 calc(25% - 0.4rem) !important;
    min-width: calc(25% - 0.4rem) !important;
  }
}

/* Rand cantitate + buton Adauga in cos ? acelasi rand, aliniere la stanga */
.purchase-quantity-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start !important;
  gap: 1.25rem;
  margin-bottom: 1rem;
  width: 100%;
  text-align: left !important;
}
.purchase-quantity-row .purchase-quantity {
  margin-bottom: 0;
  flex-shrink: 0;
  height: auto;
  min-height: 2.25rem;
  align-self: stretch;
}
.purchase-quantity-row .btn-add-cart-inline {
  flex: 1;
  min-width: 0;
}

/* Carduri info pe mobil (alb, fara borduri pe mobil) */
.product-details-delivery-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}
@media (max-width: 991px) {
  .product-details-delivery-cards .info-card {
    border: none !important;
    box-shadow: none;
  }
}
.info-card i {
  font-size: 1.75rem;
  color: #475569;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.info-card strong {
  color: #334155;
}
.info-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 1.15rem;
  color: #64748b;
}
.info-card ul li {
  padding: 0.15rem 0;
  padding-left: 1rem;
  position: relative;
}
.info-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: #475569;
  border-radius: 50%;
}

/* Pe mobil: text Beneficii si date livrare la aceeasi marime ca butoanele Favorite / Whatsapp (1.3rem) */
@media (max-width: 991px) {
  .product-details-delivery-cards .info-card-benefits ul,
  .product-details-delivery-cards .info-card-benefits ul li {
    font-size: 1.3rem;
  }
  .product-details-delivery-cards .info-card .text-muted,
  .product-details-delivery-cards .info-card small {
    font-size: 1.3rem !important;
  }
}

/* Mobil a?? card si livrare ok pe ecran mic */
@media (max-width: 767px) {
  .product-details-info .ratings-container {
    font-size: 1.25rem !important;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .product-details-info .ratings-container .ratings {
    flex-shrink: 0 !important;
    font-size: 2rem !important;
    line-height: 2rem !important;
    height: 2rem !important;
    letter-spacing: 0.12em !important;
    width: auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    margin-right: 0.5rem !important;
  }
  .product-details-info .ratings-container .ratings::before {
    font-size: 2rem !important;
    line-height: 2rem !important;
    letter-spacing: 0.05em !important;
  }
  .product-details-info .ratings-container .ratings-val::before {
    font-size: 2rem !important;
    line-height: 2rem !important;
    letter-spacing: 0.05em !important;
  }
  .product-details-info .ratings-container .ratings-val {
    height: 2rem !important;
    font-size: 2rem !important;
    line-height: 2rem !important;
  }
  .product-details-info .ratings-container .ratings-text {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    height: 2rem !important;
    min-height: 2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-underline-offset: 0.15rem;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  .product-delivery-benefits {
    font-size: 1.35rem;
  }
  .product-delivery-benefits .delivery-option i {
    font-size: 1.9rem;
  }
  .product-delivery-benefits .delivery-option .text-muted,
  .product-delivery-benefits .delivery-option small,
  .product-delivery-benefits .delivery-option .text-dark {
    font-size: 1.35rem;
  }
  .product-delivery-benefits .benefits-list ul,
  .product-delivery-benefits .benefits-list strong {
    font-size: 1.35rem;
  }
  .product-details-tab .product-desc-content {
    font-size: 0.9375rem;
  }
  .product-details-tab .product-desc-content h3 {
    font-size: 1.05rem;
  }
  .product-purchase-card {
    padding: 1.25rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .product-details-purchase {
    width: 100% !important;
    max-width: 100% !important;
  }
  .purchase-card-inner {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
  .product-purchase-card .purchase-form {
    width: 100% !important;
    text-align: left !important;
  }
  .purchase-quantity-row {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    width: 100% !important;
  }
  .purchase-quantity-row .purchase-quantity {
    margin-left: 0 !important;
  }
  .purchase-quantity-row .btn-add-cart-inline {
    margin-left: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .purchase-actions {
    align-items: stretch !important;
    text-align: left !important;
    margin-left: 0 !important;
    width: 100% !important;
  }
  .purchase-current-price {
    font-size: 1.75rem;
  }
  .purchase-quantity {
    max-width: 100%;
  }
  .purchase-actions .btn-hawire {
    font-size: 1.3rem;
    justify-content: center !important;
    text-align: center !important;
  }
  .purchase-actions .btn-hawire .btn-hawire-text {
    justify-content: center !important;
    text-align: center !important;
  }
  .purchase-actions .btn-hawire .btn-hawire-icon {
    min-width: 3.5rem;
    padding: 0.6rem 0.75rem;
  }
  .product-purchase-card .btn-hawire-favorite,
  .product-purchase-card .btn-hawire-whatsapp {
    height: 3.25rem !important;
    min-height: 3.25rem !important;
    max-height: 3.25rem !important;
  }
  .product-purchase-card .btn-hawire-favorite .btn-hawire-icon,
  .product-purchase-card .btn-hawire-whatsapp .btn-hawire-icon {
    min-width: 3.25rem !important;
    width: 3.25rem !important;
    height: 2.5rem !important;
    padding: 0 !important;
  }
}

/* ===============================
   Modal "Produs ad?ugat ?n co?"
   =============================== */
.add-to-cart-modal-content {
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.add-to-cart-success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.add-to-cart-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.add-to-cart-icon-check svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #28a745;
}
.add-to-cart-icon-arrow svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #fff;
}

.add-to-cart-product-img-wrap {
  display: flex;
  align-items: center;
  min-height: 100px;
}
.add-to-cart-product-img {
  width: 100px;
  height: 100px;
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 6px;
}
.add-to-cart-product-info {
  min-height: 100px;
  padding-left: 1rem;
}
.add-to-cart-product-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  order: 1;
  margin-top: 0;
  margin-bottom: 0.25rem;
}
.add-to-cart-stars {
  display: inline-flex;
  gap: 3px;
}
.add-to-cart-star {
  color: #ccc;
  font-size: 1.35rem;
  line-height: 1;
}
.add-to-cart-star.filled {
  color: #f0ad4e;
}
.add-to-cart-rating-text {
  font-size: 1.15rem;
  color: #333;
  margin-left: 0.5rem;
}
.add-to-cart-product-name {
  font-weight: 500;
  line-height: 1.4;
  font-size: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  order: 2;
  flex: 0 0 auto;
  margin-bottom: 0 !important;
}
.add-to-cart-product-price-row {
  font-size: 1.25rem;
  order: 3;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
.add-to-cart-total {
  font-size: 1.35rem;
  margin-left: 0.5rem;
}
.add-to-cart-actions .btn-continue-shopping {
  border-width: 1px;
}
.add-to-cart-actions .btn-finalize-order {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border-color: #bd2130;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.add-to-cart-actions .btn-finalize-order:hover {
  background: linear-gradient(135deg, #c82333 0%, #a71d2a 100%);
  border-color: #a71d2a;
  color: #fff !important;
}
#addToCartModal .modal-dialog {
  max-width: 540px;
}
#addToCartModal.add-to-cart-modal--with-upsell .modal-dialog {
  max-width: 720px;
}
@media (max-width: 767px) {
  #addToCartModal.modal {
    align-items: stretch;
    padding: 0;
  }
  #addToCartModal .modal-dialog {
    max-width: none;
    width: 100%;
    margin: 0;
    min-height: 100vh;
  }
  #addToCartModal .modal-content {
    min-height: 100vh;
    border-radius: 0;
  }
  #addToCartModal .modal-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
}
.add-to-cart-upsell-list.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.add-to-cart-upsell-list.owl-carousel .owl-nav button {
  position: absolute;
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.25rem;
  color: #333;
  transition: background 0.2s, border-color 0.2s;
}
.add-to-cart-upsell-list.owl-carousel .owl-nav button:hover {
  background: #f8f9fa !important;
  border-color: #adb5bd !important;
}
.add-to-cart-upsell-list.owl-carousel .owl-nav .owl-prev {
  left: -12px;
}
.add-to-cart-upsell-list.owl-carousel .owl-nav .owl-next {
  right: -12px;
}
.add-to-cart-upsell-title {
  font-weight: 600;
  color: #333;
}
#addToCartUpsellList .add-to-cart-upsell-slide {
  padding: 0 4px;
}
/* Carduri upsell la fel ca pe home: inaltime egala, imagine cu raport fix 1:1 */
#addToCartUpsellList .product {
  height: 100%;
  background: #fff;
}
#addToCartUpsellList .product .product-body {
  flex: 1 1 auto;
  min-height: 0;
}
#addToCartUpsellList .product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
#addToCartUpsellList .product-media > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#addToCartUpsellList .product-media .product-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
#addToCartUpsellList .product-body {
  padding: 0 0.5rem 0.35rem;
}
#addToCartUpsellList .product-action {
  margin-top: auto;
}
#addToCartUpsellList .product-action-hawire {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.75rem;
  width: calc(100% - 1rem);
}
#addToCartUpsellList .product-title {
  line-height: 1.35;
}
#addToCartUpsellList .product-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#addToCartUpsellList .product-price-hawire .product-price-value {
  font-size: 1.35rem;
}
#addToCartUpsellList .product-price-hawire .product-price-currency {
  font-size: 1rem;
}
#addToCartUpsellList .btn-hawire {
  font-size: 1.3rem;
  min-height: 2.5rem;
  padding: 0;
}
#addToCartUpsellList .btn-hawire-icon {
  min-width: 2.5rem;
  padding: 0.35rem 0.5rem;
}
#addToCartUpsellList .btn-hawire-icon .la {
  font-size: 1.4rem;
}

/* Mobil: butoane compacte in modal upsell */
@media (max-width: 575px) {
  #addToCartUpsellList .btn-hawire {
    min-height: 2.5rem;
    font-size: 0.95rem;
  }
  #addToCartUpsellList .btn-hawire-icon {
    min-width: 2.25rem;
    padding: 0.35rem 0.4rem;
  }
  #addToCartUpsellList .btn-hawire-icon .la {
    font-size: 1.25rem;
  }
  #addToCartUpsellList .btn-hawire-text {
    padding: 0.35rem 0.4rem;
    font-size: 0.9rem;
  }
  #addToCartUpsellList .product-action-hawire {
    margin-left: 0.4rem;
    margin-right: 0.4rem;
    margin-bottom: 0.6rem;
    width: calc(100% - 0.8rem);
  }
  .add-to-cart-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .add-to-cart-actions .btn-continue-shopping,
  .add-to-cart-actions .btn-finalize-order {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.65rem 0.5rem;
  }
}

/* ===============================
   Recenzii produs + modal Adauga recenzie
   =============================== */
.product-reviews-section {
  padding: 0;
}
/* Pe mobil adaugam un pic de aer stanga/dreapta ca sa nu fie lipit de marginea ecranului */
@media (max-width: 767px) {
  .product-reviews-section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
.product-reviews-section .title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
}
.reviews-summary-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  grid-template-columns: 1fr;
}
.reviews-summary-block {
  text-align: center;
}
.reviews-average-number {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.reviews-stars {
  margin: 0.35rem 0;
  font-size: 2.25rem;
  letter-spacing: -0.08em;
}
.reviews-star.filled {
  color: #f0b429;
}
.reviews-star:not(.filled) {
  color: #d1d5db;
}
.reviews-count-text {
  font-size: 1.35rem;
  color: #64748b;
}
.reviews-distribution-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reviews-distribution-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  color: #64748b;
}
.reviews-distribution-label {
  min-width: 5rem;
  font-weight: 400;
}
.reviews-distribution-bar-wrap {
  flex: 1;
  height: 10px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}
.reviews-distribution-bar {
  height: 100%;
  background: #475569;
  border-radius: 4px;
  min-width: 0;
  transition: width 0.3s ease;
}
.reviews-distribution-count {
  min-width: 2.5rem;
  text-align: right;
  font-size: 1.35rem;
}
.reviews-cta-block {
  text-align: center;
}
.reviews-cta-question {
  font-weight: 500;
  font-size: 1.35rem;
  color: #475569;
  margin-bottom: 0.35rem;
}
.reviews-cta-text {
  font-size: 1.35rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.btn-review-add {
  background: #ea580c;
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 500;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}
.btn-review-add:hover {
  background: #c2410c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}
.reviews-customer-images {
  margin-bottom: 2rem;
}
.reviews-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 1rem;
}
.reviews-images-carousel.owl-carousel .owl-stage-outer {
  padding: 0 2px;
}
.reviews-images-carousel .reviews-image-item {
  padding: 0 4px;
}
.reviews-image-item {
  text-align: center;
}
.reviews-image-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}
/* Sageti vizibile pe desktop pentru carousel imagini clienti */
.reviews-images-carousel.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.reviews-images-carousel.owl-carousel .owl-nav button {
  pointer-events: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: #475569;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.reviews-images-carousel.owl-carousel .owl-nav button:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155;
}
.reviews-images-carousel.owl-carousel .owl-nav .owl-prev {
  position: absolute;
  left: -0.5rem;
}
.reviews-images-carousel.owl-carousel .owl-nav .owl-next {
  position: absolute;
  right: -0.5rem;
}
@media (max-width: 991px) {
  .reviews-images-carousel.owl-carousel .owl-nav {
    display: none;
  }
}
.reviews-images-carousel.owl-carousel .owl-dots {
  margin-top: 1rem;
}
.reviews-image-stars {
  margin-top: 0.35rem;
  font-size: 1.35rem;
  color: #f0b429;
  letter-spacing: -0.08em;
}
.reviews-image-stars .filled { color: #f0b429; }
.reviews-image-stars span:not(.filled) { color: #d1d5db; }
.reviews-image-author {
  font-size: 1.35rem;
  color: #64748b;
  margin-top: 0.2rem;
}
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* Card recenzie stil eMAG: doua coloane */
.review-card.review-card-emag {
  padding: 0;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.review-card-inner {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .review-card-inner {
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}
.review-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .review-card-left {
    align-items: flex-start;
    text-align: left;
  }
}
.review-card-left .review-author {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.2rem;
}
.review-card-left .review-date {
  font-size: 1.2rem;
  color: #64748b;
}
.review-card-right {
  min-width: 0;
}
.review-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.35rem;
}
.review-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.review-stars {
  font-size: 1.35rem;
  color: #f0b429;
  letter-spacing: -0.08em;
}
.review-stars .filled { color: #f0b429; }
.review-stars span:not(.filled) { color: #d1d5db; }
.review-body {
  font-size: 1.35rem;
  line-height: 1.65;
  color: #374151;
}
.review-image {
  margin-top: 1rem;
}
.review-image img {
  display: block;
  max-width: 100px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}
.review-image img:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* Actiuni: Adauga comentariu | Vezi comentarii */
.review-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 1.25rem;
}
.review-action-item {
  color: #2563eb;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.review-action-item:hover {
  color: #1d4ed8;
  text-decoration: underline;
}
.review-action-divider {
  width: 1px;
  height: 1.2em;
  background: #cbd5e1;
  flex-shrink: 0;
}
.review-action-like.review-action-like--liked {
  color: #1d4ed8;
  cursor: default;
}
.review-action-like.review-action-like--liked:hover {
  text-decoration: none;
}
/* Bloc comentarii (expandabil) */
.review-comments-block {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}
.review-comments-block[hidden] {
  display: none !important;
}
/* Formular Adauga comentariu (fara avatar) */
.review-comment-form-wrap {
  margin-bottom: 1.25rem;
}
.review-comment-form-wrap.review-comment-form-emag {
  display: block;
}
.review-comment-form-body {
  flex: 1;
  min-width: 0;
}
.review-comment-form-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}
.review-comment-form .review-comment-author-input {
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-size: 1.15rem;
  padding: 0.5rem 0.75rem;
}
.review-comment-form .review-comment-textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-size: 1.25rem;
  padding: 0.75rem 1rem;
  resize: vertical;
  display: block;
  margin-bottom: 0;
}
.review-comment-form .form-control {
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-size: 1.25rem;
  padding: 0.6rem 0.75rem;
}
.review-comment-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.review-comment-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.review-comment-form-footer .btn {
  font-size: 1.15rem;
}
.review-comment-form-footer .btn-primary {
  background: #2563eb;
  border-color: #2563eb;
}
.review-comment-form-footer .btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.review-comment-form-footer .btn-outline-primary {
  color: #2563eb;
  border-color: #2563eb;
}
.review-comment-form-footer .btn-outline-primary:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-color: #1d4ed8;
}
.review-comment-chars {
  font-size: 1.1rem;
  color: #64748b;
  margin-left: auto;
}
.review-comment-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-comment-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.review-comment-item:last-child {
  border-bottom: none;
}
.review-comment-content {
  min-width: 0;
}
.review-comment-meta {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}
.review-comment-body {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #374151;
}
.reviews-empty-text {
  color: #64748b;
  font-size: 1.35rem;
}
@media (min-width: 768px) {
  .reviews-summary-row {
    grid-template-columns: minmax(260px, 320px) 1fr minmax(260px, 340px);
    align-items: center;
    gap: 0;
  }
  .reviews-summary-block {
    text-align: center;
    padding-right: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .reviews-distribution-block {
    padding: 0 1.5rem;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .reviews-cta-block {
    text-align: center;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/* Modal Adauga recenzie */
.add-review-modal-content .modal-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
}
.add-review-modal-content .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}
.add-review-modal-content .modal-body {
  padding: 1.25rem;
}
.add-review-modal-content .modal-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.25rem;
}
.review-rating-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.review-rating-btn {
  margin: 0;
  cursor: pointer;
}
.review-rating-btn input { display: none; }
.review-rating-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #4b5563;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.review-rating-btn input:checked + span {
  border-color: #475569;
  background: #475569;
  color: #fff;
}
.review-rating-btn:hover span {
  border-color: #9ca3af;
}
.review-terms-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}
.review-terms-text a { color: #475569; text-decoration: underline; }
.btn-review-submit {
  background: #ea580c;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  border-radius: 0.5rem;
}
.btn-review-submit:hover {
  background: #c2410c;
  color: #fff;
}

/* Paginare mobil: 3 blocuri - Pagina anterioara | X din Y | Pagina urmatoare (stil Molla) */
.pagination-mobile {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2rem;
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.pagination-mobile-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding: 0.6rem 0.5rem;
  font-size: 1.3rem;
  font-weight: 400;
  color: #706f6c;
  background-color: #fff;
  border: 0.1rem solid #ebebeb;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.pagination-mobile-btn:first-child {
  border-right: none;
}
.pagination-mobile-btn:last-child {
  border-left: none;
}
.pagination-mobile-btn:not(.disabled):hover,
.pagination-mobile-btn:not(.disabled):focus {
  color: #c96;
  border-color: #ebebeb;
  background-color: transparent;
  text-decoration: none;
}
.pagination-mobile-btn.disabled {
  color: #eaeaea;
  border-color: #f5f5f5;
  background-color: #fafafa;
  pointer-events: none;
}
.pagination-mobile-current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 4.4rem;
  padding: 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: #c96;
  background-color: #fff;
  border: 0.1rem solid #ebebeb;
  flex-shrink: 0;
}

/* Sageti carousel produse home – vizibile pe desktop */
@media (min-width: 992px) {
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav {
    display: block;
  }
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav .owl-prev,
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #475569;
    font-size: 1.25rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav .owl-prev:hover,
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav .owl-next:hover {
    background: #f8fafc !important;
    border-color: #475569;
    color: #334155;
  }
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav .owl-prev {
    left: -20px;
  }
  .tab-content-carousel .owl-carousel.owl-simple .owl-nav .owl-next {
    right: -20px;
  }
}

/* ========== Meniu mobil – fullwidth pe mobile, fara search, fara scroll orizontal ========== */
@media (max-width: 991px) {
  body.mmenu-active {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  html.mmenu-active {
    overflow-x: hidden !important;
  }
}

.mobile-menu-container.mobile-menu-container--pro {
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: translateX(-100%);
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}
.mmenu-active .mobile-menu-container.mobile-menu-container--pro {
  transform: translateX(0) !important;
}

@media (max-width: 991px) {
  .mobile-menu-container.mobile-menu-container--pro {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .mobile-menu-container--pro .mobile-menu-wrapper {
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }
}

.mobile-menu-container--pro .mobile-menu-wrapper {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.mobile-menu-container--pro .mobile-menu-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-menu-container--pro .mobile-menu-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}
.mobile-menu-container--pro .mobile-menu-close {
  cursor: pointer;
  padding: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-menu-container--pro .mobile-menu-close:hover,
.mobile-menu-container--pro .mobile-menu-close:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.mobile-menu-container--pro .mobile-nav--pro {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-width: 0;
}
.mobile-menu-container--pro .mobile-menu--pro {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-container--pro .mobile-menu--pro > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-menu-container--pro .mobile-menu--pro > li > a {
  display: block;
  padding: 1rem 0.5rem 1rem 0;
  min-height: 2.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.15);
}
.mobile-menu-container--pro .mobile-menu--pro > li > a:hover,
.mobile-menu-container--pro .mobile-menu--pro > li > a:active,
.mobile-menu-container--pro .mobile-menu--pro > li.active > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.mobile-menu-container--pro .mobile-menu-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-menu-container--pro .mobile-menu-footer .social-icons {
  gap: 0.75rem;
}
.mobile-menu-container--pro .mobile-menu-footer .social-icon {
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}
.mobile-menu-container--pro .mobile-menu-footer .social-icon:hover {
  color: #fff;
}

/* Icon user in header: gliful Molla e desenat mai mic, il aducem la aceeasi marime vizuala ca heart/cos */
.header-middle .account-dropdown .icon i.icon-user {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========== Newsletter footer – imagine stanga, formular in tonul temei (bg #222) ========== */
.newsletter-cta-section {
  overflow: hidden;
}
.newsletter-cta-section .row {
  min-height: 280px;
}
.newsletter-cta-image-col {
  min-height: 280px;
}
.newsletter-cta-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #222;
}
.newsletter-cta-form-col {
  background-color: #222;
  display: flex;
  align-items: center;
}
.newsletter-cta-content {
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
}
.newsletter-cta-title {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.newsletter-cta-desc {
  font-family: inherit;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.newsletter-cta-form {
  margin: 0;
}
.newsletter-cta-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1rem;
  width: 100%;
}
.newsletter-cta-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border-radius: 0.4rem;
  border: 1px solid #e2e8f0;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 1.4rem;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
  box-sizing: border-box;
}
.newsletter-cta-input::placeholder {
  color: #94a3b8;
}
.newsletter-cta-input:focus {
  border-color: #475569;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(71, 85, 105, 0.25);
}
.newsletter-cta-btn {
  height: 52px;
  padding: 0 1.5rem;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
  min-width: fit-content;
}
.newsletter-cta-consent {
  font-family: inherit;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.newsletter-cta-gdpr {
  margin-top: 1rem;
  font-family: inherit;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.newsletter-cta-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  margin: 0;
  font-weight: 400;
}
.newsletter-cta-checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
}
.newsletter-cta-policy-link {
  color: #c96;
  text-decoration: underline;
}
.newsletter-cta-policy-link:hover {
  color: #da7;
}
@media (max-width: 991px) {
  .newsletter-cta-section .row {
    flex-direction: column;
    min-height: 0;
  }
  .newsletter-cta-image-col {
    display: none;
  }
  .newsletter-cta-form-col {
    order: 1;
  }
  .newsletter-cta-content {
    padding: 2rem 1.25rem;
    max-width: 100%;
  }
  .newsletter-cta-form {
    width: 100%;
  }
  .newsletter-cta-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
  }
  .newsletter-cta-desc {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .newsletter-cta-fields {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  .newsletter-cta-input {
    max-width: none;
    width: 100%;
    height: 52px;
    padding: 8px 1.25rem;
    font-size: 1.6rem;
    border-radius: 0.5rem;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
  }
  .newsletter-cta-btn {
    width: 100%;
    height: 52px;
    padding: 0 1.5rem;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 0.25rem;
  }
  .newsletter-cta-consent {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  .newsletter-cta-gdpr {
    font-size: 1.15rem;
    margin-top: 0.75rem;
  }
}

/* Footer bottom: copyright + terms in linie cu imaginile SAL/SOL */
.footer-2 .footer-bottom .container {
  flex-direction: column;
}
@media (min-width: 992px) {
  .footer-2 .footer-bottom .container {
    flex-direction: row;
  }
  .footer-bottom .footer-bottom-left .footer-menu {
    margin-left: 1rem;
  }
}

/* Footer pe mobil: Telefon + plati pe acelasi rand; blocuri accordion */
@media (max-width: 991px) {
  .footer-middle .container {
    padding-left: calc(1rem + 1.25rem);
    padding-right: calc(1rem + 1.25rem);
  }
  .footer-bottom .container {
    padding-left: calc(1rem + 1.25rem);
    padding-right: calc(1rem + 1.25rem);
  }
  .footer-about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
  }
  .footer-about-row .footer-about-phone,
  .footer-about-row .footer-about-payments {
    flex: 0 0 auto;
    max-width: none;
  }
  .footer-about-row .footer-about-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .footer-about-row .footer-about-payments {
    padding-left: 0;
  }
  .footer-about-row .footer-about-payments .footer-payments {
    margin: 0;
  }
  /* Blocuri footer: doar titlul vizibil, click deschide */
  .footer-block-details {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.25rem;
  }
  .footer-block-details:last-child {
    border-bottom: none;
  }
  .footer-block-summary {
    list-style: none;
    cursor: pointer;
    padding: 0.4rem 0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    user-select: none;
  }
  .footer-block-summary::-webkit-details-marker,
  .footer-block-summary::marker {
    display: none;
  }
  .footer-block-summary::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: 0.2em;
    transition: transform 0.2s ease;
  }
  .footer-block-details[open] .footer-block-summary::after {
    transform: rotate(-135deg);
  }
  .footer-block-list {
    padding-bottom: 0.5rem;
    margin-top: 0;
  }
  .footer-middle .footer-block-details.widget {
    margin-bottom: 0.25rem;
  }
}
@media (min-width: 992px) {
  .footer-block-details {
    display: block;
  }
  .footer-block-summary {
    cursor: default;
    padding: 0;
  }
  .footer-block-summary::-webkit-details-marker,
  .footer-block-summary::marker {
    display: none;
  }
  .footer-block-summary::after {
    display: none !important;
  }
}

/* Pagini editabile din admin - continut HTML */
.page-body { }
.page-body section { margin-bottom: 2rem; }
.page-body .lead { font-size: 1.15em; margin-bottom: 1.5rem; }
.page-body h2, .page-body .h4 { margin-top: 1rem; margin-bottom: 0.75rem; }
.page-body p { margin-bottom: 1rem; }
.page-body p:last-child { margin-bottom: 0; }
.page-body img { max-width: 100%; height: auto; }

/* Cookie consent banner – GDPR + ePrivacy, Consent Mode v2 */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #222;
  color: #f0f0f0;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  font-size: 0.95rem;
}
.cookie-consent-text {
  color: #f5f5f5;
}
.cookie-consent-banner[hidden] { display: none !important; }
.cookie-consent-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.cookie-consent-text {
  flex: 1 1 300px;
  margin: 0.5rem 0;
  line-height: 1.5;
}
.cookie-consent-text a.cookie-consent-link {
  color: #c96;
  text-decoration: underline;
}
.cookie-consent-text a.cookie-consent-link:hover { color: #da7; }
.cookie-consent-preferences {
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #444;
}
.cookie-consent-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.cookie-consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.cookie-consent-btn { white-space: nowrap; }
@media (max-width: 767px) {
  .cookie-consent-banner {
    padding: 0.5rem 0.75rem;
    font-size: 1.3rem;
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .cookie-consent-text {
    flex: none;
    line-height: 1.4;
    text-align: center;
    font-size: 1.3rem;
  }
  .cookie-consent-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .cookie-consent-banner .cookie-consent-actions .btn,
  .cookie-consent-banner .cookie-consent-actions a.cookie-consent-btn {
    width: 100%;
    padding: 0.5rem 0.9rem;
    font-size: 1.3rem !important;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 575px) {
  .cookie-consent-banner { padding: 0.45rem 0.6rem; }
}

/* Spatiu mic intre elementele din footer (SAL, SOL, Pepita etc.) */
.footer-sal-sol { gap: 0.75rem; }

/* ===============================
   Checkout – pagina profesionala PF/PJ, livrare, plata
   =============================== */
.checkout-page .page-content {
  padding-bottom: 3rem;
}
.checkout-page-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.75rem;
}
.checkout-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.checkout-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.checkout-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.checkout-type-option {
  flex: 1;
  min-width: 140px;
  margin: 0;
  cursor: pointer;
}
.checkout-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkout-type-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-weight: 500;
  color: #475569;
  font-size: 1.25rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.checkout-type-option input:checked + .checkout-type-label {
  border-color: #475569;
  background: #f8fafc;
  color: #334155;
}
.checkout-type-label i {
  font-size: 1.25rem;
}
.checkout-billing-fields .form-label {
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}
.checkout-billing-fields .form-control {
  font-size: 1.25rem;
  border-radius: 0.5rem;
  border-color: #cbd5e1;
}
.checkout-billing-fields .form-control:focus {
  border-color: #475569;
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.15);
}
/* Select2 (Judet, Localitate) acelasi design si marime ca inputurile */
.checkout-page .select2-container--bootstrap-5 .select2-selection,
.checkout-page .select2-container .select2-selection--single {
  min-height: 3.85rem !important;
  height: 3.85rem !important;
  padding: 0.65rem 2.25rem 0.65rem 0.75rem !important;
  font-size: 1.3rem !important;
  line-height: 1.5 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.5rem !important;
  background-color: #fff !important;
  display: flex !important;
  align-items: center !important;
}
.checkout-page .select2-container--bootstrap-5.select2-container--focus .select2-selection,
.checkout-page .select2-container--bootstrap-5.select2-container--open .select2-selection,
.checkout-page .select2-container.select2-container--focus .select2-selection--single {
  border-color: #475569 !important;
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.15) !important;
}
.checkout-page .select2-container--bootstrap-5 .select2-selection__rendered,
.checkout-page .select2-container .select2-selection__rendered {
  padding-left: 0 !important;
  color: #334155 !important;
  font-size: 1.3rem !important;
}
.checkout-page .select2-container .select2-selection__placeholder {
  font-size: 1.3rem !important;
  color: #6b7280 !important;
}
.checkout-page .select2-container .select2-selection__arrow {
  height: 100% !important;
  right: 0.5rem !important;
}
.checkout-page .select2-container .select2-selection__clear {
  margin-right: 1.5rem !important;
  color: #64748b !important;
}
/* Dropdown optiuni Judet/Localitate */
.select2-checkout-dropdown .select2-results__option {
  font-size: 1.3rem !important;
  padding: 0.55rem 0.75rem !important;
  line-height: 1.5 !important;
}
.select2-checkout-dropdown .select2-search__field {
  font-size: 1.3rem !important;
  padding: 0.55rem 0.75rem !important;
}
.select2-checkout-dropdown .select2-results__message {
  font-size: 1.3rem !important;
  padding: 0.55rem 0.75rem !important;
}
/* Spatiere uniforma: fara margin sub inputuri/select ca sa nu se adauge la padding-top */
.checkout-billing-fields .form-control,
.checkout-billing-fields .select2-container {
  margin-bottom: 0 !important;
}
.checkout-billing-fields .row {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 1.25rem;
}
.checkout-billing-fields .row:first-child {
  padding-top: 0;
}
.checkout-billing-fields .checkout-juridica-fields {
  margin-top: 0;
  margin-bottom: 0;
}
.checkout-billing-fields .checkout-juridica-fields .row {
  padding-top: 0;
}
.checkout-billing-fields .select2-container {
  display: block !important;
}
.checkout-billing-fields .row .select2-container + .invalid-feedback {
  margin-top: 0.25rem;
}
/* Pe mobil: acelasi spatiu intre cele doua coloane ca intre celelalte randuri */
@media (max-width: 767px) {
  .checkout-billing-fields .row.checkout-row-judet-localitate .col-md-6:last-child,
  .checkout-billing-fields .row.checkout-row-email-phone .col-md-6:last-child {
    margin-top: 1.25rem;
  }
}
.checkout-section-notes .form-label,
.checkout-section-notes .form-control {
  font-size: 1.25rem;
}
.checkout-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-option-card {
  display: block;
  margin: 0;
  cursor: pointer;
}
.checkout-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkout-option-inner {
  display: block;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.checkout-option-card input:checked + .checkout-option-inner {
  border-color: #475569;
  background: #f8fafc;
}
.checkout-option-title {
  display: block;
  font-weight: 600;
  color: #334155;
  font-size: 1.25rem;
}
.checkout-option-desc {
  display: block;
  font-size: 1.25rem;
  color: #64748b;
  margin-top: 0.25rem;
}
.checkout-option-fee {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: #475569;
  font-size: 1.25rem;
}
.checkout-summary-wrapper {
  position: sticky;
  top: 6.5rem; /* sub header la scroll */
}
.checkout-summary {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.checkout-summary-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.checkout-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkout-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  font-size: 1.25rem;
}
.checkout-summary-item-img-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #fff;
  display: block;
}
.checkout-summary-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.checkout-summary-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.checkout-summary-item-name {
  font-size: 1.15rem;
  line-height: 1.4;
  color: #111827;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.checkout-summary-item-name:hover {
  color: #475569;
  text-decoration: underline;
}
.checkout-summary-item-qty-price {
  font-size: 1.15rem;
  color: #334155;
  font-weight: 500;
}
.checkout-summary-totals {
  width: 100%;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}
.checkout-summary-totals td {
  padding: 0.4rem 0;
  color: #64748b;
}
.checkout-summary-totals td:last-child {
  text-align: right;
  font-weight: 500;
  color: #334155;
}
.checkout-total-row td {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827 !important;
  padding-top: 0.75rem;
  border-top: 2px solid #e2e8f0;
}
.btn-checkout-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  background-color: #475569;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}
.btn-checkout-submit:hover {
  background-color: #334155;
  color: #fff;
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.35);
}
.checkout-summary-note {
  font-size: 1.25rem;
  color: #64748b;
  margin-top: 1rem;
  margin-bottom: 0;
  line-height: 1.5;
}
.checkout-summary-note a {
  color: #475569;
  text-decoration: underline;
}
.checkout-summary-note a:hover {
  color: #334155;
}
@media (max-width: 991px) {
  .checkout-summary-wrapper {
    position: static;
  }
  .checkout-section {
    padding: 1.25rem 1.25rem;
  }
}
@media (max-width: 575px) {
  .checkout-type-options {
    flex-direction: row;
    gap: 0.5rem;
  }
  .checkout-type-option {
    min-width: 0;
    flex: 1;
  }
}

/* Icon categorie: Casa & gradina (casa + frunza, Font Awesome 5 Free) */
i.icon-casa-gradina {
  position: relative;
  display: inline-block;
  width: 1.35em;
  height: 1em;
  vertical-align: -0.1em;
  font-style: normal;
  line-height: 1;
}
i.icon-casa-gradina::before,
i.icon-casa-gradina::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  line-height: 1;
}
i.icon-casa-gradina::before {
  content: "\f015"; /* fa-home */
  font-size: 1em;
  left: 0;
  top: 0;
}
i.icon-casa-gradina::after {
  content: "\f06c"; /* fa-leaf */
  font-size: 0.42em;
  right: -0.15em;
  bottom: -0.05em;
  color: #22c55e;
}
.menu-vertical i.icon-casa-gradina::after,
.sf-menu i.icon-casa-gradina::after {
  color: inherit;
  opacity: 0.85;
}

/* Icon categorie: Decoratiuni casa (sub Casa si gradina) – trafalet + stea decor */
i.icon-decoratiuni-casa {
  position: relative;
  display: inline-block;
  width: 1.3em;
  height: 1em;
  vertical-align: -0.1em;
  font-style: normal;
  line-height: 1;
}
i.icon-decoratiuni-casa::before,
i.icon-decoratiuni-casa::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  line-height: 1;
}
i.icon-decoratiuni-casa::before {
  content: "\f5aa"; /* fa-paint-roller – tapet, pereti, finisaje */
  font-size: 1em;
  left: 0;
  top: 0;
}
i.icon-decoratiuni-casa::after {
  content: "\f005"; /* fa-star – accent decorativ */
  font-size: 0.36em;
  right: -0.1em;
  top: -0.08em;
  opacity: 0.88;
}
.menu-vertical i.icon-decoratiuni-casa::after,
.sf-menu i.icon-decoratiuni-casa::after {
  opacity: 0.7;
}

/* Icon categorie: Baie & bucatarie – cada + tacamuri */
i.icon-baie-bucatarie {
  position: relative;
  display: inline-block;
  width: 1.35em;
  height: 1em;
  vertical-align: -0.1em;
  font-style: normal;
  line-height: 1;
}
i.icon-baie-bucatarie::before,
i.icon-baie-bucatarie::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  line-height: 1;
}
i.icon-baie-bucatarie::before {
  content: "\f2cd"; /* fa-bath */
  font-size: 1em;
  left: 0;
  top: 0;
}
i.icon-baie-bucatarie::after {
  content: "\f2e7"; /* fa-utensils */
  font-size: 0.4em;
  right: -0.12em;
  bottom: 0;
  opacity: 0.9;
}
.menu-vertical i.icon-baie-bucatarie::after,
.sf-menu i.icon-baie-bucatarie::after {
  opacity: 0.75;
}

/* Icon categorie principala: Bricolaje – ciocan + cheie */
i.icon-bricolaje {
  position: relative;
  display: inline-block;
  width: 1.35em;
  height: 1em;
  vertical-align: -0.1em;
  font-style: normal;
  line-height: 1;
}
i.icon-bricolaje::before,
i.icon-bricolaje::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  line-height: 1;
}
i.icon-bricolaje::before {
  content: "\f6e3"; /* fa-hammer */
  font-size: 1em;
  left: 0;
  top: 0;
}
i.icon-bricolaje::after {
  content: "\f0ad"; /* fa-wrench */
  font-size: 0.42em;
  right: -0.08em;
  bottom: -0.02em;
  opacity: 0.92;
}
.menu-vertical i.icon-bricolaje::after,
.sf-menu i.icon-bricolaje::after {
  opacity: 0.78;
}

/* Megamenu: subcategorie fara copii – titlu = link unic (fara dublare) */
.menu-vertical .menu-title.menu-title--single {
  padding-bottom: 1rem;
  border-bottom: 0.1rem solid #eeeeee;
  margin-bottom: 0.7rem;
}
.menu-vertical .menu-title.menu-title--single a {
  color: inherit;
  text-decoration: none;
}
.menu-vertical .menu-title.menu-title--single a:hover,
.menu-vertical .menu-title.menu-title--single a:focus {
  color: #c96;
}
