@charset "UTF-8";

/*
* Start custom side bar categorii
*/
.sidebar-categories li.active > a {
  font-weight: bold;
  color: #0056b3;
}


.list-shop-filter-number {
  font-size: 12px;
  font-weight: bold;
}

.category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  padding: 6px 0;
}

.list-shop-filter > li.category-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  float: none;
  clear: both;
}

.subcategory-list {
  display: none;
  margin-top: 6px;
  margin-left: 1.25rem;
  padding-left: .5rem;
  border-left: 1px solid #eee;
  max-width: 100%;
  float: none;
}

.category-group.is-open .subcategory-list {
  display: block;
}

.arrow-toggle{
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0 0 0 6px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #46778f;
}

.arrow-toggle:focus-visible{
  outline: 2px solid rgba(70, 119, 143, .35);
  border-radius: 4px;
  outline-offset: 2px;
}

.arrow {
  margin-left: 6px;
  font-size: 12px;
  transition:transform .2s ease;
}

.category-group.is-open .arrow {
  transform: rotate(90deg); /* ▶ -> ▼ */
}

.category-group.is-open > .subcategory-list {
  display: block;
}

.subcategory-list li {
  padding: 4px 0;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}
/*
* End custom side bar categorii
*/


/*
* redimensionare imagini pentru modul list de vizualizare
*/
.product-modern-figure img {
  width: 328px;
  height: 330px;
  object-fit: contain;
}


.product-modern-text {
  white-space: pre-line;
}


.title-classic-subtitle {
  white-space: pre-line;
}

.title-classic-heading { 
  display: flex; 
  flex-direction: column;
  flex-shrink: 0;
}

.title-classic-note {
  color: #46778f;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  font-synthesis: none;
  text-transform: none;
  letter-spacing: normal;
  margin: 4px 0 6px 0;
}

.title-classic-title {
  white-space: nowrap;
  hyphens: none;
  overflow-wrap: normal;
}

@media (max-width: 768px) {
  .title-classic-title {
    white-space: normal;
  }
}


/* —— DOAR pe Cere ofertă —— */
.title-classic--offer{
  /* resetăm hack-ul cu margini din varianta globală */
  margin-left: 0;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 420px; /* stânga fluid, dreapta fixă */
  column-gap: 32px;
  align-items: start; /* ambele sus */
}
.title-classic--offer > *{
  margin-left: 0;          /* anulăm .title-classic > * { margin-left:40px } */
}

/* stânga: titlul poate ocupa mai mult, wrap natural */
.title-classic--offer .title-classic-title{
  font-size: 20px;
  white-space: normal;
  overflow: visible;
  display: block;
  line-height: 1.3;
  word-break: break-word;
  hyphens: auto;
}

/* dreapta: coloană stabilă pentru imagine + descriere */
.title-classic--offer .title-classic-subtitle{
  min-width: 0;            /* important în grid/flex ca să nu forțeze overflow */
}

/* imaginea ocupă toată coloana dreaptă */
.title-classic--offer .offer-media img{
  width: 65%;
  display: block;
  object-fit: cover;
}

/* nota sub titlu */
.title-classic--offer .title-classic-note{
  color: #46778f;
  text-transform: none;
  margin: 10px 0 6px 0;
}

/* responsive: pe ecrane mici stivuim pe verticală */
@media (max-width: 992px){
  .title-classic--offer{
    grid-template-columns: 1fr;
    column-gap: 20px;
  }
}


/* —— Câmp cantitate pe Cere ofertă —— */
/* Input-ul e transformat automat de plugin-ul `.stepper` din script.js
   (rulează pe orice input[type=number]). Aici doar îl re-stilizăm ca să
   se încadreze în restul formularului: plat, subliniat, accent teal. */
.offer-qty{
  display: block;
  text-align: left;
  margin: 14px 0 30px;
}

.offer-qty__label{
  display: block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #46778f;
}

.offer-qty__field{
  display: inline-flex;
  align-items: center;
}

/* wrapper generat de plugin: <div class="stepper"> */
.offer-qty .stepper{
  display: inline-block;
  width: auto;
  padding: 0 42px;                 /* spațiu pentru săgețile absolute */
  vertical-align: middle;
}

.offer-qty .stepper input[type="number"]{
  width: 66px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 2px solid #d7d7d7;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2d34;
  transition: border-color .18s ease;
}

.offer-qty .stepper input[type="number"]:focus{
  outline: none;
  border-bottom-color: #46778f;
}

/* săgețile −/+ : pastile rotunde, discrete, în teal */
.offer-qty .stepper-arrow{
  width: 34px;
  height: 34px;
  margin-top: -17px;
  line-height: 30px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 400;
  color: #46778f;
  border: 1px solid rgba(70, 119, 143, .45);
  border-radius: 50%;
  background: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.offer-qty .stepper-arrow:hover{
  background: #46778f;
  color: #fff;
  border-color: #46778f;
}

.offer-qty .stepper-arrow.up{ right: 0; }
.offer-qty .stepper-arrow.down{ left: 0; }

/* înlocuim glyph-urile din fontul de iconițe cu semne simple, sigure */
.offer-qty .stepper-arrow.up::before{ content: "+"; font-family: inherit; }
.offer-qty .stepper-arrow.down::before{ content: "\2212"; font-family: inherit; }

.offer-qty__hint{
  margin-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #9aa9b1;
}


/* —— Mesaje formular (flash succes/eroare + listă erori de validare) —— */
/* bootstrap.css din temă nu are variantele de culoare .alert-*, le definim aici */
.alert{
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 1px solid transparent;
  border-left-width: 4px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.65;
}

.alert p,
.alert li,
.alert a{ color: inherit; }
.alert > p{ margin: 0 0 6px; }
.alert > p:last-child{ margin-bottom: 0; }
.alert ul{ margin: 6px 0 0; padding-left: 18px; }
.alert a{ text-decoration: underline; }

/* succes / informare / „înregistrat, dar e-mailul nu a plecat”
   -> nuanța de albastru Dukron, mesaj bold */
.alert-success,
.alert-info,
.alert-warning{
  color: #3f6b80;
  background: #eef4f6;
  border-color: #46778f;
  font-weight: 600;
}

/* eroare reală (DB, validare) -> roșu neagresiv, font normal */
.alert-danger{
  color: #9a3b3b;
  background: #fbecec;
  border-color: #d98c8c;
  font-weight: 400;
}
