/* Fișierul _home.css - complet */
@charset "UTF-8";
.btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
  cursor: pointer;
  text-decoration: none;
  width: 44px;
  height: 44px;
  padding: 0;
}
.btn:disabled {
  cursor: not-allowed;
}
@media (min-width: 768px) {
  .btn {
    width: auto;
    height: auto;
    padding: 12px 16px;
  }
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn:active:not(:disabled) {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 2px solid #8b0e0e;
  outline-offset: 2px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #8b0e0e;
  color: #ffffff;
}
.btn-primary:hover:not(:disabled) {
  background-color: #b41414;
}
.btn-primary:active:not(:disabled) {
  background-color: #6b0a0a;
}

.btn-secondary {
  background-color: #d4af37;
  color: #222222;
}
.btn-secondary:hover:not(:disabled) {
  background-color: #e5c158;
}
.btn-secondary:active:not(:disabled) {
  background-color: #a68a1f;
}

.btn-outline {
  background-color: transparent;
  color: #8b0e0e;
  border: 2px solid #8b0e0e;
}
.btn-outline:hover:not(:disabled) {
  background-color: #8b0e0e;
  color: #ffffff;
}
.btn-outline:active:not(:disabled) {
  background-color: #6b0a0a;
  border-color: #6b0a0a;
}

.btn-ghost {
  background-color: transparent;
  color: #222222;
}
.btn-ghost:hover:not(:disabled) {
  background-color: #f8f8f8;
}

.btn-success {
  background-color: #27ae60;
  color: #ffffff;
}
.btn-success:hover:not(:disabled) {
  background-color: #1e8449;
}

.btn-danger {
  background-color: #e74c3c;
  color: #ffffff;
}
.btn-danger:hover:not(:disabled) {
  background-color: #d62c1a;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .btn-sm {
    padding: 8px 12px;
  }
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}
@media (min-width: 768px) {
  .btn-lg {
    padding: 16px 32px;
  }
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .btn-group {
    gap: 12px;
  }
}
.btn-group .btn {
  flex: 0 1 auto;
}
.btn-group .btn.btn-block {
  flex: 1 1 100%;
}

.btn-block {
  width: 100%;
}

.btn-fab {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .btn-fab {
    bottom: 32px;
    right: 32px;
  }
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
}
.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn.loading {
  position: relative;
  color: transparent;
}
.btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 9999px;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.form-group {
  margin-bottom: 24px;
}
.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #222222;
  font-size: 16px;
}
.form-label .required {
  color: #e74c3c;
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background-color: #ffffff;
  color: #222222;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8b0e0e;
  box-shadow: 0 0 0 3px rgba(139, 14, 14, 0.1);
}
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background-color: #f8f8f8;
  color: #999999;
  cursor: not-allowed;
}
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.form-input.success,
.form-select.success,
.form-textarea.success {
  border-color: #27ae60;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}
@media (min-width: 768px) {
  .form-textarea {
    min-height: 150px;
  }
}

.form-text {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #666666;
}

.form-error {
  color: #e74c3c;
  font-weight: 600;
}

.form-success {
  color: #27ae60;
  font-weight: 600;
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
}
.form-checkbox input,
.form-radio input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #8b0e0e;
}
@media (min-width: 768px) {
  .form-checkbox input,
  .form-radio input {
    width: 20px;
    height: 20px;
  }
}
.form-checkbox label,
.form-radio label {
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}
.form-checkbox:last-child,
.form-radio:last-child {
  margin-bottom: 0;
}

.form-checkbox input {
  border-radius: 4px;
}

.form-radio input {
  border-radius: 9999px;
}

.form-checkbox-group,
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .form-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .form-row.form-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .form-row.form-row-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.form-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}
.form-section:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.form-section h3 {
  margin-bottom: 16px;
}

.search-form {
  position: relative;
  display: flex;
  gap: 8px;
}
@media (min-width: 768px) {
  .search-form {
    gap: 12px;
  }
}
.search-form input {
  flex: 1;
  min-width: 0;
}
.search-form button {
  flex-shrink: 0;
}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
input[type=number][type=number] {
  -moz-appearance: textfield;
}

.form-number {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-number input {
  flex: 1;
  text-align: center;
}
.form-number button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #f8f8f8;
  font-weight: 700;
  color: #222222;
  transition: background-color 250ms ease;
}
.form-number button:disabled {
  cursor: not-allowed;
}
.form-number button:hover {
  background-color: #e0e0e0;
}
.form-number button:active {
  background-color: #c4c4c4;
}

.form-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .form-actions {
    gap: 24px;
    justify-content: flex-end;
  }
}
.form-actions button,
.form-actions input[type=submit] {
  flex: 1 1 auto;
}
@media (min-width: 768px) {
  .form-actions button,
  .form-actions input[type=submit] {
    flex: 0 1 auto;
  }
}

.form-floating {
  position: relative;
}
.form-floating label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  pointer-events: none;
  transition: top 250ms ease, font-size 250ms ease, color 250ms ease;
}
.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
  top: -12px;
  font-size: 14px;
  color: #8b0e0e;
  font-weight: 600;
}
.form-floating input {
  padding-top: 16px;
}

.password-toggle {
  position: relative;
}
.password-toggle .toggle-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  cursor: pointer;
  color: #666666;
  transition: color 250ms ease;
}
.password-toggle .toggle-btn:disabled {
  cursor: not-allowed;
}
.password-toggle .toggle-btn:hover {
  color: #222222;
}
.password-toggle .toggle-btn svg {
  width: 20px;
  height: 20px;
}

.card, .product-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.card:hover, .product-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-header,
.card-body,
.card-footer {
  padding: 16px;
}
@media (min-width: 768px) {
  .card-header,
  .card-body,
  .card-footer {
    padding: 24px;
  }
}

.card-header {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}
.card-header h3 {
  margin: 0;
  font-size: 18px;
}
@media (min-width: 768px) {
  .card-header h3 {
    font-size: 20px;
  }
}

.card-body:last-child {
  border-radius: 0 0 12px 12px;
}

.card-footer {
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .card-image {
    height: 250px;
  }
}
@media (min-width: 1024px) {
  .card-image {
    height: 300px;
  }
}

.card-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .card-title {
    font-size: 20px;
  }
}
.card-title a {
  color: #222222;
}
.card-title a:hover {
  color: #8b0e0e;
}

.card-subtitle {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: #666666;
}

.card-text {
  margin: 0 0 12px 0;
  font-size: 16px;
  color: #666666;
  line-height: 1.75;
}
.card-text:last-child {
  margin-bottom: 0;
}

.card-elevated {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card-elevated:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-outline {
  border: 2px solid #8b0e0e;
}

.card-filled {
  background-color: #f8f8f8;
}

.card-dark {
  background-color: #222222;
  color: #ffffff;
  border-color: #333333;
}
.card-dark .card-header {
  background-color: #333333;
  border-color: #666666;
}
.card-dark .card-footer {
  background-color: #333333;
  border-color: #666666;
}
.card-dark .card-title,
.card-dark .card-subtitle {
  color: #ffffff;
}
.card-dark a {
  color: #d4af37;
}
.card-dark a:hover {
  color: #e5c158;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .card-grid {
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1440px) {
  .card-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}
.product-card-image:hover img {
  transform: scale(1.05);
}
.product-card-image .badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.product-card-content {
  padding: 16px;
}
@media (min-width: 768px) {
  .product-card-content {
    padding: 24px;
  }
}

.product-rating {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666666;
}

.product-price {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #8b0e0e;
}
@media (min-width: 768px) {
  .product-price {
    font-size: 24px;
  }
}
.product-price .original-price {
  margin-right: 12px;
  text-decoration: line-through;
  color: #999999;
  font-size: 18px;
}
.product-price .discount {
  display: inline-block;
  padding: 4px 8px;
  background-color: #e74c3c;
  color: #ffffff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  color: #ffffff;
  padding: 48px 16px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero {
    padding: 64px 32px;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 64px 48px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 36px;
    margin-bottom: 24px;
  }
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .hero-actions {
    gap: 24px;
  }
}
.hero-actions .btn {
  flex: 0 1 auto;
  min-width: 140px;
}

.featured-section {
  padding: 32px 16px;
}
@media (min-width: 768px) {
  .featured-section {
    padding: 48px 32px;
  }
}
@media (min-width: 1024px) {
  .featured-section {
    padding: 48px 48px;
  }
}
.featured-section h2 {
  text-align: center;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .featured-section h2 {
    margin-bottom: 48px;
  }
}

/* ── Homepage hero: banner + badges ── */

/*Start testimoniala homepage*/
/* Stiluri de bază (implicit pentru MOBIL - unul sub altul) */
.container_testimoniale {
  display: flex;
  flex-direction: column; /* Pe mobil le așezăm pe verticală */
  width: 98%;
  margin: 20px 1%;
  border-top: 2px solid #dddd;
  font-size: 17px;
  box-sizing: border-box;
}

.container_testimoniale b {
  margin: 0 0 5px 0;
  display: inline-block;
}

/* Țintim doar cele 3 blocuri principale (Delia, Rodica, Maria) */
.container_testimoniale > div {
  padding: 10px 1%;
  text-align: center;
  margin: 10px 0;
  width: 100%; /* Ocupă toată lățimea pe mobil */
  box-sizing: border-box;
}

/* Țintim doar cercul pentru imagine */
.container_testimoniale > div > div {
  width: 150px;
  height: 150px;
  display: block;
  border-radius: 50%; /* 50% asigură un cerc perfect */
  border: 1px solid #ddd;
  margin: 10px auto;
  background-repeat: no-repeat;
  background-size: cover; /* 'cover' decupează poza frumos în cerc fără să o deformeze */
  background-position: center;
}

/* Imagini de fundal */
.container_testimoniale .delia div { background-image: url(../../images/testimoniale/delia.jpg); }
.container_testimoniale .rodica div { background-image: url(../../images/testimoniale/rodica.jpg); }
.container_testimoniale .maria div { background-image: url(../../images/testimoniale/maria.jpg); }


/* ==========================================
   DESKTOP (Ecrane mai mari de 768px)
   ========================================== */
@media (min-width: 768px) {
  .container_testimoniale {
    flex-direction: row; /* Pe desktop le punem inline (pe orizontală) */
    justify-content: space-between; /* Lasă spațiu egal între ele */
  }

  .container_testimoniale > div {
    width: 31%; /* Fiecare testimonial va ocupa aproximativ o treime din ecran */
    margin: 20px 0;
  }
}
 /*End testimoniale homepage*/
.home-hero {
  margin-bottom: 32px;
}

.home-topbanner {
  margin-bottom: 0;
      display: flex;
    flex-direction: column;
}
.home-topbanner img {
  display: block;
  width: 100%;
  height: auto;
}

.home-topbanner figure {
  width: 100%;
}

/* linkuri în badges — stilizate, nu browser-default */
.service-badge .badge-text a {
  color: #8b0e0e;
  text-decoration: none;
  font-weight: 600;
}
.service-badge .badge-text a:hover {
  text-decoration: underline;
}

.woocommerce-page .site-content,
.shop .site-content {
  max-width: 1400px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #d4af37;
  border-radius: 12px;
  text-align: center;
  transition: transform 250ms ease, box-shadow 250ms ease;
  cursor: pointer;
}
@media (min-width: 768px) {
  .category-card {
    padding: 32px;
    gap: 16px;
  }
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.category-card .category-icon {
  font-size: 32px;
}
@media (min-width: 768px) {
  .category-card .category-icon {
    font-size: 36px;
  }
}
.category-card .category-name {
  font-weight: 700;
  color: #222222;
}
.category-card a {
  color: #222222;
}
.category-card a:hover {
  color: #8b0e0e;
}

.products-section {
  padding: 32px 16px;
}
@media (min-width: 768px) {
  .products-section {
    padding: 48px 32px;
  }
}
@media (min-width: 1024px) {
  .products-section {
    padding: 48px 48px;
  }
}
.products-section h2 {
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .products-section h2 {
    margin-bottom: 48px;
  }
}

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
@media (min-width: 480px) {
  .products-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .products-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .products-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1440px) {
  .products-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

.promo-banner {
  padding: 32px 16px;
  text-align: center;
  border-radius: 12px;
  margin: 32px 0;
}
@media (min-width: 768px) {
  .promo-banner {
    padding: 48px 32px;
    margin: 48px 0;
  }
}
.promo-banner h3 {
  color: #222222;
  margin-bottom: 16px;
  font-size: 24px;
}
@media (min-width: 768px) {
  .promo-banner h3 {
    font-size: 28px;
  }
}
.promo-banner p {
  color: rgba(34, 34, 34, 0.8);
  margin-bottom: 16px;
}
.promo-banner .btn {
  background-color: #222222;
  color: #ffffff;
}
.promo-banner .btn:hover {
  background-color: #333333;
}

.testimonials-section {
  padding: 32px 16px;
  background-color: #f8f8f8;
}
@media (min-width: 768px) {
  .testimonials-section {
    padding: 48px 32px;
  }
}
@media (min-width: 1024px) {
  .testimonials-section {
    padding: 48px 48px;
  }
}
.testimonials-section h2 {
  text-align: center;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .testimonials-section h2 {
    margin-bottom: 48px;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.testimonial-card .testimonial-text {
  margin-bottom: 16px;
  color: #666666;
  line-height: 1.75;
  font-style: italic;
}
.testimonial-card .testimonial-text::before {
  content: '"';
  font-size: 32px;
  color: #8b0e0e;
  opacity: 0.3;
  margin-right: 12px;
}
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
}
.testimonial-card .testimonial-author .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
}
.testimonial-card .testimonial-author .author-info .author-name {
  font-weight: 700;
  margin-bottom: 4px;
}
.testimonial-card .testimonial-author .author-info .author-role {
  font-size: 14px;
  color: #666666;
}
.testimonial-card .star-rating {
  color: #ffa500;
  margin-bottom: 12px;
}

.newsletter-section {
  background: #d4af37;
  color: #ffffff;
  padding: 32px 16px;
  text-align: center;
}
@media (min-width: 768px) {
  .newsletter-section {
    padding: 48px 32px;
  }
}
@media (min-width: 1024px) {
  .newsletter-section {
    padding: 48px 48px;
  }
}
.newsletter-section h2 {
  color: #ffffff;
  margin-bottom: 12px;
}
.newsletter-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .newsletter-form {
    flex-wrap: nowrap;
    gap: 12px;
  }
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}
.newsletter-form input::placeholder {
  color: #c4c4c4;
}
.newsletter-form button {
  flex: 0 1 auto;
  min-width: 100px;
}

.top-banner {
  background: #8b0e0e;
  color: #222222;
  padding: 16px 16px;
  text-align: center;
  font-weight: 600;
}
@media (min-width: 768px) {
  .top-banner {
    padding: 16px 32px;
  }
}
@media (min-width: 1024px) {
  .top-banner {
    padding: 16px 48px;
  }
}
.top-banner a {
  color: #222222;
  text-decoration: underline;
}
.top-banner a:hover {
  color: #8b0e0e;
}
.top-banner .banner-close {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

/* ── Service badges / cards ── */
.service-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 0;
  width: 100%;
}

@media (min-width: 480px) {
  .service-badges {
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .service-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 32px 0 0;
  }
}

.service-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 16px 10px;
  background-color: #ffffff;
  border: 1px solid #f0e6e6;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(139, 14, 14, 0.06);
}

.service-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 14, 14, 0.10);
}

.service-badge .badge-icon {
  font-size: 28px;
  color: #8b0e0e;
  line-height: 1;
}

.service-badge .badge-title {
  font-weight: 700;
  font-size: 12px;
  color: #222222;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.service-badge .badge-text {
  font-size: 11px;
  color: #666666;
  line-height: 1.5;
}

.service-badge .badge-text a {
  color: #8b0e0e;
  text-decoration: none;
  font-weight: 500;
}

.service-badge .badge-text a:hover {
  text-decoration: underline;
}

/* Desktop: mărim puțin pentru ecrane mari */
@media (min-width: 1024px) {
  .service-badge {
    padding: 28px 16px;
    gap: 12px;
  }
  .service-badge .badge-icon {
    font-size: 36px;
  }
  .service-badge .badge-title {
    font-size: 14px;
  }
  .service-badge .badge-text {
    font-size: 13px;
  }
}

.recent-posts-section {
  padding: 32px 16px;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .recent-posts-section {
    padding: 48px 32px;
  }
}
@media (min-width: 1024px) {
  .recent-posts-section {
    padding: 48px 48px;
  }
}
.recent-posts-section h2 {
  text-align: center;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .recent-posts-section h2 {
    margin-bottom: 48px;
  }
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .recent-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .recent-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.post-card:hover .post-image img {
  transform: scale(1.05);
}
.post-card .post-image {
  overflow: hidden;
  height: 200px;
}
@media (min-width: 768px) {
  .post-card .post-image {
    height: 250px;
  }
}
.post-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 250ms ease;
}
.post-card .post-content {
  padding: 16px;
}
.post-card .post-content .post-category {
  display: inline-block;
  background-color: #8b0e0e;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-decoration: none;
}
.post-card .post-content .post-category:hover {
  background-color: #5d0909;
}
.post-card .post-content .post-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}
.post-card .post-content .post-title a {
  color: #222222;
  text-decoration: none;
}
.post-card .post-content .post-title a:hover {
  color: #8b0e0e;
}
.post-card .post-content .post-meta {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}
.post-card .post-content .post-meta span {
  margin-right: 12px;
}
.post-card .post-content .post-meta span::after {
  content: " • ";
  margin-left: 12px;
  color: #e0e0e0;
}
.post-card .post-content .post-meta span:last-child::after {
  content: "";
}
.post-card .post-content .post-excerpt {
  font-size: 14px;
  color: #666666;
  line-height: 1.75;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card .post-content .post-link {
  display: inline-block;
  color: #8b0e0e;
  text-decoration: none;
  font-weight: 600;
  transition: color 250ms ease;
}
.post-card .post-content .post-link:hover {
  color: #5d0909;
}
.post-card .post-content .post-link::after {
  content: " →";
  margin-left: 4px;
}

.skeleton-loading, .product-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.product-skeleton {
  height: 250px;
  border-radius: 12px;
  margin-bottom: 16px;
}